/* ПФтул — тёмный холст, оранжевый сниппет, бумажный калькулятор */
:root {
  --void: #0b0b0c;
  --void-2: #161618;
  --void-3: #1e1e21;
  --paper: #f3f2ee;
  --paper-2: #e7e5de;
  --ink: #141414;
  --ink-soft: #2a2a2e;
  --muted: #6d6d73;
  --muted-on-dark: #b4b4ba;
  --line: #d8d5cd;
  --line-dark: #2c2c30;
  --slab: #ff4e2a;
  --slab-deep: #d93a18;
  --slab-ink: #3b0d06;
  --mark: #d8ff3e;
  --ok: #1f8a4c;
  --radius: 28px;
  --radius-sm: 16px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--mark);
  color: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
button, input { font: inherit; }
:focus-visible {
  outline: 3px solid var(--mark);
  outline-offset: 3px;
}

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 18% -8%, rgba(255, 78, 42, 0.22), transparent 55%),
    radial-gradient(50% 40% at 92% 8%, rgba(216, 255, 62, 0.07), transparent 50%);
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 1100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--slab);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 78, 42, 0.28);
}
.btn--primary:hover { background: var(--slab-deep); }
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: #000; }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-dark);
}
.btn--ghost:hover { background: var(--void-3); }
.btn--block { width: 100%; }
.section__cta { margin: 28px 0 0; }

/* Header */
.mast {
  position: fixed;
  top: max(15px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 1001;
  pointer-events: none;
}
.mast__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 32px);
  height: 50px;
  margin: 0 auto;
  padding: 0 6px 0 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  animation: mastDrop 0.7s var(--ease) both;
  transition: box-shadow 0.4s var(--ease), height 0.3s var(--ease), padding 0.3s var(--ease), gap 0.4s var(--ease);
}
@keyframes mastDrop {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: none; }
}
.mast.is-compact .mast__bar {
  height: 44px;
  gap: 6px;
  padding: 0 5px 0 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
  flex: 0 0 auto;
}
.orb {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.orb svg { display: block; width: 28px; height: 28px; }
.orb__spin,
.orb__core,
.orb__spark,
.orb__dot { transform-box: fill-box; }
.orb__spin {
  transform-box: view-box;
  transform-origin: 16px 16px;
  animation: orbSpin 10s linear infinite;
}
.orb__core {
  transform-origin: 14px 17px;
  animation: orbBreathe 3.4s ease-in-out infinite;
}
.orb__spark {
  transform-origin: 21px 12px;
  animation: orbSpark 2.6s ease-in-out infinite;
}
.orb__dot {
  transform-origin: 11px 22px;
  animation: orbDot 3.8s ease-in-out infinite;
}
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbBreathe { 50% { transform: scale(0.9); } }
@keyframes orbSpark {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2px, 3px) scale(1.12); }
}
@keyframes orbDot { 50% { transform: translate(2px, -2px); } }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 420px;
  overflow: hidden;
  opacity: 1;
  transition: max-width 0.55s var(--ease), opacity 0.28s var(--ease), margin 0.4s var(--ease);
}
.mast.is-compact .nav {
  max-width: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
.mast.is-compact .mast__bar:hover .nav,
.mast.is-compact:focus-within .nav {
  max-width: 420px;
  opacity: 1;
  pointer-events: auto;
}
.nav a {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: var(--paper-2);
}
.mast__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 4px;
}
.mast__enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.mast__enter:hover {
  background: var(--ink);
  color: #fff;
}
.mast__short { display: none; }
.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.menu-btn__bars {
  display: grid;
  gap: 3px;
  width: 14px;
}
.menu-btn__bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.nav-lock { overflow: hidden; }

/* Hero */
.nowrap { white-space: nowrap; }

.hero {
  position: relative;
  z-index: 1;
  padding: 92px 0 16px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  min-height: min(70vh, 680px);
}
.slab {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--slab);
  color: #fff;
  border-radius: var(--radius);
  animation: slabIn 0.85s var(--ease) both;
}
@keyframes slabIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.slab__copy {
  position: relative;
  z-index: 2;
}
.slab h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.slab__lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.slab__cta {
  position: relative;
  z-index: 3;
  margin: 28px 0 0;
}
.slab__cta .btn--ink {
  background: #141414;
  color: #fff;
}
.slab__watermark {
  position: absolute;
  left: auto;
  right: 10px;
  bottom: 8px;
  z-index: 0;
  width: 42%;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-align: right;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.slab__art {
  float: right;
  width: min(260px, 42%);
  aspect-ratio: 1.08;
  margin: 0 0 12px 20px;
  shape-outside: margin-box;
  pointer-events: none;
  opacity: 0.55;
}
.serp-stack { position: relative; height: 100%; }
.serp-card {
  position: absolute;
  left: 0;
  right: 8%;
  height: 42%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}
.serp-card--3 {
  bottom: 0;
  opacity: 0.35;
  transform: translate(18px, 18px) scale(0.92);
  animation: cardLift 7s var(--ease) infinite;
}
.serp-card--2 {
  bottom: 12%;
  opacity: 0.55;
  transform: translate(10px, 8px) scale(0.96);
  animation: cardLift 7s 0.18s var(--ease) infinite;
}
.serp-card--1 {
  bottom: 28%;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(59, 13, 6, 0.18);
  animation: cardLift 7s 0.36s var(--ease) infinite;
}
.serp-card__url,
.serp-card__title,
.serp-card__snip {
  display: block;
  border-radius: 6px;
}
.serp-card__url {
  width: 42%;
  height: 8px;
  background: var(--slab);
}
.serp-card__title {
  width: 78%;
  height: 12px;
  margin-top: 12px;
  background: var(--ink);
}
.serp-card__snip {
  width: 58%;
  height: 8px;
  margin-top: 10px;
  background: var(--line);
}
.serp-card__click {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.7);
  animation: clickPulse 2.4s ease-out infinite;
}
.serp-card__click::before,
.serp-card__click::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 2px;
}
.serp-card__click::before {
  width: 14px;
  height: 3px;
  transform: translate(-50%, -50%);
}
.serp-card__click::after {
  width: 3px;
  height: 14px;
  transform: translate(-50%, -50%);
}
@keyframes cardLift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes clickPulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(216, 255, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}

.calc {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 560px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  animation: slabIn 0.85s 0.08s var(--ease) both;
}
.calc__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slab);
}
.calc__sum {
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc__sum.is-tick { animation: sumTick 0.35s var(--ease); }
@keyframes sumTick {
  0% { transform: translateY(6px); opacity: 0.5; }
  100% { transform: none; opacity: 1; }
}
.calc__sum span { font-size: 0.42em; letter-spacing: -0.03em; }
.calc__sum .calc__from {
  display: inline-block;
  margin-right: 0.12em;
  font-size: 0.38em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: 0.42em;
  color: var(--muted);
}
.calc__sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.calc__label {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.chip[data-calc-chip="custom"] { grid-column: span 2; }
.chip {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.chip:hover { transform: translateY(-1px); }
.chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.calc__range { margin-top: 22px; }
.calc__range input[type="range"] {
  width: 100%;
  height: 28px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.calc__range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--slab) var(--p, 12%), var(--line) var(--p, 12%));
  border-radius: 99px;
}
.calc__range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--slab);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 78, 42, 0.45);
}
.calc__range input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 99px;
}
.calc__range input[type="range"]::-moz-range-progress {
  height: 4px;
  background: var(--slab);
  border-radius: 99px;
}
.calc__range input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slab);
  border: 3px solid #fff;
}
.calc__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.calc__custom {
  display: none;
  margin-top: 12px;
}
.calc__custom.is-on { display: block; animation: fitIn 0.3s var(--ease); }
.calc__custom input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.calc__custom input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.calc__cta { margin-top: auto; padding-top: 22px; }

/* Sections */
.section { padding: 80px 0; position: relative; z-index: 1; }
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section__head { max-width: 46rem; margin-bottom: 32px; }
.section__head h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.section__head p { margin: 12px 0 0; color: var(--muted-on-dark); font-size: 18px; }
.section--paper .section__head p { color: var(--muted); }
.guide-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slab);
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px 0 4px;
  position: relative;
  z-index: 1;
}
.rail__item {
  padding: 22px 22px 20px;
  background: var(--void-2);
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rail__item:hover {
  transform: translateY(-3px);
  border-color: #3d3d44;
}
.rail__item:first-child {
  background: var(--void-3);
  border-color: rgba(255, 78, 42, 0.35);
}
.rail__item b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.04em;
}
.rail__item span { color: var(--muted-on-dark); font-size: 14px; }

.term {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 36px 40px;
  background: var(--void-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.term__kicker {
  margin: 0 0 8px;
  color: var(--mark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.term h2 { margin: 0 0 14px; }
.term__def {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: var(--paper);
}
.term__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.term__links a {
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted-on-dark);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.term__links a:hover {
  color: var(--ink);
  background: var(--mark);
  border-color: var(--mark);
}
.term__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  /* kicker 13px × 1.55 + 8px — первая строка справа совпадает с H2 */
  padding-top: calc(1.55em * 13 / 17 + 8px);
  min-width: 0;
}
.term__aside article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.term__aside article:first-child { padding-top: 0; }
.term__aside article:last-child { border-bottom: 0; padding-bottom: 0; }
.term__aside h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.term__aside p { margin: 0; color: var(--muted-on-dark); font-size: 15px; line-height: 1.45; }

.why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 12px;
}
.why article {
  padding: 28px 24px;
  background: var(--void-2);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  transition: transform 0.25s var(--ease);
}
.why article:hover { transform: translateY(-4px); }
.why article:first-child {
  background: var(--paper);
  color: var(--ink);
  border: 0;
}
.why h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.04em;
}
.why p { margin: 0; color: var(--muted-on-dark); }
.why article:first-child p { color: var(--muted); }
.why__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slab);
}

.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.path li {
  list-style: none;
  position: relative;
  padding: 8px 22px 8px 0;
  counter-increment: step;
}
.path li:last-child { padding-right: 0; }
.path li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 36px;
  right: 8px;
  height: 2px;
  background: var(--line);
}
.path li:last-child::before { display: none; }
.path b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--slab);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.path b::before { content: counter(step); }
.path h3 { margin: 0 0 8px; }
.section--paper .path p { color: var(--muted); }

.buy {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: stretch;
}
.buy__main,
.buy__side {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
}
.buy__main { background: var(--void-2); border: 1px solid var(--line-dark); }
.buy__side { background: var(--mark); color: var(--ink); }
.buy h3 { margin: 0 0 10px; font-family: var(--display); letter-spacing: -0.04em; font-size: 26px; }
.buy p { margin: 0; color: var(--muted-on-dark); }
.buy__side p { color: var(--ink-soft); margin-top: auto; padding-top: 18px; }
.buy__figure {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 8px 0;
}
.buy table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 15px;
}
.buy th, .buy td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}
.buy tbody tr { transition: background 0.2s; }
.buy tbody tr:hover td { color: #fff; }
.buy th { color: var(--muted-on-dark); font-weight: 600; }

.ticket {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  position: relative;
}
.ticket__body,
.ticket__stub {
  padding: 32px;
}
.ticket__body {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius) 0 0 var(--radius);
}
.ticket__stub {
  background: var(--void-2);
  border: 1px dashed #3a3a40;
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--void);
}
.ticket__stub::before { top: -10px; }
.ticket__stub::after { bottom: -10px; }
.ticket ul { margin: 12px 0 0; padding-left: 18px; }
.ticket__stub p { color: var(--muted-on-dark); }
.ticket__note { margin-top: 14px; }
.ticket h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.check { display: grid; gap: 8px; }
.check label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.check label:hover { border-color: var(--ink); }
.check input { margin-top: 4px; accent-color: var(--slab); width: 18px; height: 18px; }
.check strong { display: block; }
.check p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.check label.is-on {
  background: #fff7f3;
  border-color: var(--slab);
  box-shadow: inset 0 0 0 1px var(--slab);
}
.check-meter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  min-height: 52px;
}
.check-meter__status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.check-meter .btn[hidden] { display: none !important; }
.check-meter .btn:not([hidden]) { animation: fitIn 0.4s var(--ease); }
@keyframes fitIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.week article {
  padding: 18px 16px;
  background: var(--void-2);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  transition: transform 0.25s var(--ease);
}
.week article:hover { transform: translateY(-3px); }
.week .is-hot {
  background: var(--slab);
  border-color: transparent;
  transform: translateY(-6px);
}
.week .is-hot:hover { transform: translateY(-8px); }
.week .is-hot p { color: rgba(255, 255, 255, 0.88); }
.week small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slab);
  margin-bottom: 8px;
}
.week .is-hot small { color: var(--mark); }
.week h3 { margin: 0 0 6px; font-size: 16px; }
.week p { margin: 0; color: var(--muted-on-dark); font-size: 14px; }

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.board article {
  padding: 22px;
  background: #fff;
  border-radius: 20px;
  transition: transform 0.25s var(--ease);
}
.board article:hover { transform: translateY(-3px); }
.board h3 { margin: 0 0 8px; font-family: var(--display); letter-spacing: -0.04em; }
.board p { margin: 0; color: var(--muted); }

.brief {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.brief__lede {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: var(--paper);
}
.brief__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brief article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}
.brief article:first-child { padding-top: 0; }
.brief article:last-child { border-bottom: 0; padding-bottom: 0; }
.brief h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.brief p { margin: 0; color: var(--muted-on-dark); line-height: 1.5; }

.plain p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-on-dark);
}
.plain strong { color: #fff; }

.longread {
  max-width: 46rem;
}
.longread__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.longread__lead {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.longread__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.longread__toc a {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.longread__toc a:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--ink);
}
.longread__clip {
  position: relative;
  margin-top: 28px;
}
.longread.is-ready:not(.is-open) .longread__clip {
  max-height: 22rem;
  overflow: hidden;
}
.longread.is-ready:not(.is-open) .longread__clip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 242, 238, 0), var(--paper) 88%);
}
.longread__body h3 {
  margin: 28px 0 10px;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.04em;
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.longread__body h3:first-child { margin-top: 0; }
.longread__body p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.longread__body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(20, 20, 20, 0.28);
  text-underline-offset: 3px;
}
.longread__body a:hover { text-decoration-color: currentColor; }
.longread__actions {
  margin: 22px 0 0;
}
.longread__actions .btn[hidden] { display: none !important; }

@media print {
  .longread.is-ready:not(.is-open) .longread__clip {
    max-height: none;
    overflow: visible;
  }
  .longread.is-ready:not(.is-open) .longread__clip::after,
  .longread__actions { display: none !important; }
}

.faq__lead {
  margin: 12px 0 0;
  max-width: 46rem;
  font-size: 18px;
  color: var(--muted-on-dark);
}
.faq details {
  border-bottom: 1px solid var(--line-dark);
}
.faq summary {
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}
.faq summary h3 {
  display: inline;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted-on-dark);
  border-bottom: 2px solid var(--muted-on-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq details[open] summary { color: #fff; }
.faq details p,
.faq details ul {
  margin: 0 0 18px;
  max-width: 46rem;
  color: var(--muted-on-dark);
  animation: fitIn 0.3s var(--ease);
}
.faq details ul {
  padding-left: 1.15em;
}
.faq details li { margin: 0 0 6px; }

.closing {
  padding: 48px 36px;
  border-radius: var(--radius);
  background: var(--slab);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--mark);
  opacity: 0.18;
  animation: orbBreathe 5s ease-in-out infinite;
}
.section--closing { padding: 48px 0 20px; }
.closing p { color: rgba(255, 255, 255, 0.9); position: relative; }
.closing h2 { position: relative; }
.closing__cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  position: relative;
}
.closing .btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.closing .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 32px;
  color: var(--muted-on-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}
.footer strong { color: #fff; display: block; margin-bottom: 8px; }
.footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer a:hover { color: #fff; text-decoration-color: currentColor; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 14px;
}

.sticky-cta {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-top {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}
.back-top:hover { transform: translateY(-2px); }
.back-top.is-visible { display: grid; place-items: center; }

.page-lite .lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 0 48px;
}
.lost__card {
  width: min(520px, 100%);
  padding: 40px 32px;
  background: var(--slab);
  border-radius: var(--radius);
  animation: slabIn 0.7s var(--ease) both;
}
.lost__kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mark);
}
.page-lite .lost h1 {
  font-family: var(--display);
  font-size: clamp(56px, 10vw, 96px);
  letter-spacing: -0.07em;
  margin: 0;
  line-height: 0.9;
}
.page-lite .lost p { color: rgba(255, 255, 255, 0.9); }

/* Reveals */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1200px) {
  .slab, .calc { min-height: 0; }
  .calc { padding: clamp(18px, 2.4vw, 28px); }
}

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    z-index: 1002;
    inset: auto 16px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    max-width: none;
    max-height: min(70vh, 480px);
    overflow: auto;
    opacity: 1;
    animation: fitIn 0.3s var(--ease);
  }
  .nav.is-open { display: flex; }
  .mast.is-compact .nav {
    max-width: none;
    opacity: 1;
    margin: 0;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 16px;
    font-size: 16px;
  }
  .why,
  .path,
  .brief,
  .term,
  .rail,
  .buy,
  .week,
  .ticket,
  .board,
  .footer__grid { grid-template-columns: 1fr; }
  .term__aside { padding-top: 12px; }
  .rail { grid-template-columns: 1fr 1fr; }
  .path li::before { display: none; }
  .path li { padding-right: 0; padding-bottom: 18px; }
  .ticket__body { border-radius: var(--radius) var(--radius) 0 0; }
  .ticket__stub {
    border: 1px dashed #3a3a40;
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .ticket__stub::before { left: -10px; top: -10px; }
  .ticket__stub::after { left: auto; right: -10px; top: -10px; bottom: auto; }
  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .sticky-cta .btn { width: 100%; }
  .footer { padding-bottom: 96px; }
  .mast__full { display: none; }
  .mast__short { display: inline; }
  .back-top { display: none !important; }
  .week .is-hot { transform: none; }
}

@media (max-width: 720px) {
  .hero__grid { grid-template-columns: 1fr; }
  .slab { min-height: 0; }
  .slab__art {
    width: min(200px, 46%);
    margin: 0 0 10px 14px;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 16px, 1180px); }
  .chips { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: 1fr; }
  .term { padding: 24px 20px; }
  .section { padding: 56px 0; }
  .section--closing { padding: 32px 0 8px; }
  .hero { padding-top: 84px; }
  .closing { padding: 32px 20px; }
  .slab__art { display: none; }
  .slab__watermark { right: 12px; font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mast,
  .mast__bar,
  .slab,
  .calc,
  .reveal,
  .serp-card,
  .serp-card__click,
  .orb__spin,
  .orb__core,
  .orb__spark,
  .orb__dot,
  .closing::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .btn:hover,
  .chip:hover,
  .why article:hover,
  .week article:hover,
  .board article:hover,
  .rail__item:hover {
    transform: none;
  }
}
