/* ==========================================================================
   TheEchelon.AI — corporate landing page. Zero JavaScript.
   Interactions are CSS-only: radio tabs, <details>, checkbox toggles, and
   a @property-driven animation for the hero console.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0e0d0c;
  --bg-alt: #121110;
  --surface: #141311;
  --surface-2: #151412;
  --surface-active: #1a1917;

  --line-1: #1f1d1b;
  --line-2: #24221f;
  --line-3: #2a2724;
  --line-4: #2e2b27;
  --line-5: #34312c;
  --line-6: #3a3733;

  --text-1: #ece8e1;
  --text-2: #e2ddd4;
  --text-3: #d4cfc6;
  --text-4: #c6c1b8;
  --text-5: #aea89e;
  --text-6: #9d978d;
  --text-7: #8a847a;

  --accent: #d8c49a; /* Champagne. Alternates: Platinum #c9cdd2, Oxblood #c9877a */
  --accent-hover: #f1e3c2;
  --on-accent: #0e0d0c;
  --error: #c9877a;

  --font-display: "Bodoni Moda", serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

button, input { font: inherit; color: inherit; }

em { font-style: italic; color: var(--accent); }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

section[id] { scroll-margin-top: 72px; }

/* Visually hidden but focusable (used by CSS-only controls) */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nowrap { white-space: nowrap; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-5);
}

.mono-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-nav { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

.btn-sm { padding: 9px 14px; font-size: 13px; font-weight: 400; }
.btn-xs { padding: 8px 12px; font-size: 12px; font-weight: 400; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-outline { background: transparent; border-color: var(--line-6); color: var(--text-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 13, 12, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--text-1); }
.logo span,
.card__logo span,
.site-footer__logo span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.site-nav a:not(.btn) { color: var(--text-3); }
.site-nav a:not(.btn):hover { color: var(--text-1); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 32px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 64px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 30px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-5);
}
.kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.26s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__lede {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-3);
  font-weight: 300;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.link-underline {
  color: var(--text-1);
  padding: 16px 4px;
  font-size: 15px;
  border-bottom: 1px solid var(--line-6);
  white-space: nowrap;
}
.link-underline:hover { color: var(--accent-hover); }

.hero__visual { position: relative; padding-top: 56px; }
.hero__card {
  position: absolute;
  top: 0;
  right: 0;
  width: min(62%, 340px);
  transform: rotate(6deg);
  z-index: 0;
}

/* ---------- Membership card (hero + membership section) ---------- */
.card {
  position: relative;
  aspect-ratio: 1.586;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d1c1a 0%, #0a0908 55%, #1a1816 100%);
  border: 1px solid var(--line-5);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__logo { font-family: var(--font-display); font-size: 19px; color: var(--text-1); }
.card__member { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-5); }
.card__chip {
  width: 44px;
  height: 32px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), #6f6350);
  opacity: 0.85;
}
.card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.card__meta { display: flex; flex-direction: column; gap: 6px; }
.card__number { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.22em; color: var(--text-2); }
.card__invite { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-5); }
.card__since { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--text-5); text-align: right; }

/* ---------- Hero console (CSS-only animation) ----------
   One registered integer property --t counts ticks 0..219 (45ms each, ~9.9s loop):
     0-68    type the query, one character per tick
     69-108  "thinking" steps
     109+    results appear 10 ticks apart, then hold, then restart
   Every element derives its state from --t with clamp(); no JS involved.
   Browsers without @property support simply show the finished state. */
@property --t {
  syntax: "<integer>";
  inherits: true;
  initial-value: 0;
}
@keyframes tick { from { --t: 0; } to { --t: 219; } }

.console {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line-4);
  border-radius: 10px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  font-size: 14px;
  animation: tick 9855ms steps(219, end) infinite;
}

.console__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-6);
}
.console__status { display: grid; color: var(--accent); }
.console__status > span { grid-area: 1 / 1; justify-self: end; }
.s-listen   { opacity: clamp(0, 69 - var(--t), 1); }
.s-analyze  { opacity: calc(clamp(0, var(--t) - 68, 1) * clamp(0, 109 - var(--t), 1)); }
.s-complete { opacity: clamp(0, var(--t) - 108, 1); }

.console__query {
  padding: 22px 20px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 84px;
}
.console__prompt { font-family: var(--font-mono); color: var(--accent); padding-top: 2px; }
.console__typed { font-size: 17px; line-height: 1.5; color: var(--text-1); }
.console__typed b { font-weight: inherit; }
.console__typed i { font-style: normal; opacity: clamp(0, var(--t) - var(--i), 1); }

/* Solid caret while typing; blinking afterwards. Both layers share the same box and colour. */
.caret {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
}
.caret::before,
.caret::after { content: ""; position: absolute; inset: 0; background: var(--accent); }
.caret::before { opacity: clamp(0, 69 - var(--t), 1); z-index: 1; }
.caret::after { animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.console__think {
  overflow: hidden;
  opacity: clamp(0, 109 - var(--t), 1);
  max-height: calc(clamp(0, 109 - var(--t), 1) * 240px);
}
.console__think-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-5);
}
.step {
  display: flex;
  gap: 10px;
  opacity: clamp(0, var(--t) - (68 + 12 * var(--j)), 1);
}
.mark { display: inline-grid; color: var(--accent); }
.mark > span { grid-area: 1 / 1; }
.mark__dots {
  opacity: calc(clamp(0, var(--t) - (68 + 12 * var(--j)), 1) * clamp(0, (81 + 12 * var(--j)) - var(--t), 1));
}
.mark__check { opacity: clamp(0, var(--t) - (80 + 12 * var(--j)), 1); }

.console__results li {
  overflow: hidden;
  opacity: clamp(0, var(--t) - (108 + 10 * var(--k)), 1);
  max-height: calc(clamp(0, var(--t) - (108 + 10 * var(--k)), 1) * 480px);
}
.result {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
}
.result__firm { font-weight: 500; font-size: 15px; }
.result__fit { font-family: var(--font-mono); color: var(--accent); }
.result__why { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; color: var(--text-4); }
.result__src {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-7);
}

/* ---------- Live signals ticker ---------- */
.ticker {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-alt);
}
.ticker__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}
.ticker__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.ticker__viewport { min-width: 0; flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.ticker__group { display: flex; gap: 40px; padding-right: 40px; }
.ticker__group li { flex: none; display: flex; gap: 10px; font-size: 14px; white-space: nowrap; color: var(--text-2); }
.ticker__type { font-family: var(--font-mono); font-size: 11px; color: var(--text-6); padding-top: 2px; }

/* ---------- Image band ---------- */
.band {
  position: relative;
  min-height: clamp(420px, 62vw, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 12, 0.55) 0%, rgba(14, 13, 12, 0) 30%, rgba(14, 13, 12, 0) 55%, rgba(14, 13, 12, 0.92) 100%);
}
.band__content {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.band__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.band__quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.06;
  max-width: 760px;
  color: var(--text-1);
  text-wrap: balance;
}

/* ---------- Method ---------- */
.method { border-top: 1px solid var(--line-2); background: var(--bg-alt); }
.method__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.method__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  align-items: end;
}
.method__head-left { display: flex; flex-direction: column; gap: 20px; }

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  text-wrap: balance;
}
.method__lede { font-size: 17px; line-height: 1.65; color: var(--text-4); max-width: 500px; text-wrap: pretty; }

/* Tabs: radios (.sr) come first so sibling selectors can reach tablist + panes */
.tabs { position: relative; display: flex; flex-direction: column; gap: 48px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-3);
  border: 1px solid var(--line-3);
}
.tab {
  flex: 1 1 200px;
  background: var(--bg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid transparent;
  cursor: pointer;
}
.tab__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tab__num { font-family: var(--font-display); font-size: 28px; color: var(--text-7); }
.tab__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-5); }
.tab__title { font-size: 17px; font-weight: 500; color: var(--text-4); }

#m1:checked ~ .tablist label[for="m1"],
#m2:checked ~ .tablist label[for="m2"],
#m3:checked ~ .tablist label[for="m3"],
#m4:checked ~ .tablist label[for="m4"] {
  background: var(--surface-active);
  border-top-color: var(--accent);
}
#m1:checked ~ .tablist label[for="m1"] .tab__num,
#m2:checked ~ .tablist label[for="m2"] .tab__num,
#m3:checked ~ .tablist label[for="m3"] .tab__num,
#m4:checked ~ .tablist label[for="m4"] .tab__num { color: var(--accent); }
#m1:checked ~ .tablist label[for="m1"] .tab__title,
#m2:checked ~ .tablist label[for="m2"] .tab__title,
#m3:checked ~ .tablist label[for="m3"] .tab__title,
#m4:checked ~ .tablist label[for="m4"] .tab__title { color: var(--text-1); }

#m1:focus-visible ~ .tablist label[for="m1"],
#m2:focus-visible ~ .tablist label[for="m2"],
#m3:focus-visible ~ .tablist label[for="m3"],
#m4:focus-visible ~ .tablist label[for="m4"] { outline: 2px solid var(--accent); outline-offset: -2px; }

.pane { display: none; padding-top: 8px; }
#m1:checked ~ .pane-1,
#m2:checked ~ .pane-2,
#m3:checked ~ .pane-3,
#m4:checked ~ .pane-4 { display: block; }

.pane__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px;
  align-items: center;
}
.pane__stack { display: flex; flex-direction: column; gap: 40px; }
.pane__text { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.pane__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.pane__text h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  text-wrap: balance;
}
.pane__text p:last-child { font-size: 16px; line-height: 1.65; color: var(--text-4); text-wrap: pretty; }

/* Mock surfaces */
.mock { background: var(--surface-2); border: 1px solid var(--line-3); border-radius: 8px; overflow: hidden; }
.mock--sm { font-size: 13px; }
.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-3);
}
.mock__head h4 { font-size: 13px; font-weight: 500; }
.mock__foot { padding: 12px 20px; font-family: var(--font-mono); font-size: 10px; color: var(--text-7); }

/* I · firms (<details name="firm"> is an exclusive accordion) */
.firm { border-bottom: 1px solid var(--line-1); }
.firm[open] { background: var(--surface-active); }
.firm summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.firm summary::-webkit-details-marker { display: none; }
.firm summary:focus-visible { outline-offset: -2px; }
.firm__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr) 56px;
  gap: 12px;
  align-items: center;
}
.firm__name { color: var(--text-1); font-weight: 500; }
.firm__seat { color: var(--text-4); }
.firm__fit { text-align: right; font-family: var(--font-mono); color: var(--accent); }
.firm__bar { display: block; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.firm__bar span { display: block; height: 100%; background: var(--accent); }
.firm__why { padding: 0 20px 16px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.firm__why-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-6);
}

/* II · approve / undo */
.draft { padding: 22px 20px; font-size: 14px; line-height: 1.7; color: var(--text-2); display: flex; flex-direction: column; gap: 12px; }
.draft__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--line-3);
  background: var(--bg-alt);
}
.draft__status { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.btn-row { display: flex; gap: 8px; }
.when-on { display: none; }
#approve:checked ~ .draft__foot .when-off { display: none; }
#approve:checked ~ .draft__foot .when-on { display: inline; }
#approve:checked ~ .draft__foot .draft__toggle { background: transparent; color: var(--accent); }
#approve:focus-visible ~ .draft__foot .draft__toggle { outline: 2px solid var(--accent); outline-offset: 2px; }

/* III · communication center */
.due { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.due-1, .due-0 { display: none; }
.mock--comms:has(#done1:checked) .due-2,
.mock--comms:has(#done2:checked) .due-2 { display: none; }
.mock--comms:has(#done1:checked):not(:has(#done2:checked)) .due-1,
.mock--comms:has(#done2:checked):not(:has(#done1:checked)) .due-1 { display: inline; }
.mock--comms:has(#done1:checked):has(#done2:checked) .due-0 { display: inline; }

.comm {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-1);
  align-items: center;
}
.comm__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.comm__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.comm__name { font-weight: 500; font-size: 14px; color: var(--text-1); }
.comm__firm { font-size: 12px; color: var(--text-5); }
.comm__status { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
.comm__status--urgent { color: var(--accent); }
.is-done { display: none; }
.comm:has(input:checked) .is-todo { display: none; }
.comm:has(input:checked) .is-done { display: inline; }
.comm:has(input:checked) .comm__status--urgent { color: var(--text-6); }
.comm:has(input:checked) .comm__btn { background: transparent; border-color: var(--line-4); color: var(--text-6); }
.comm:has(input:focus-visible) .comm__btn { outline: 2px solid var(--accent); outline-offset: 2px; }

/* IV · performance */
.kpis { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line-3); border-bottom: 1px solid var(--line-3); }
.kpi { flex: 1 1 150px; background: var(--surface-2); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.kpi dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-6); }
.kpi__value { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--text-1); }
.kpi__delta { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
.kpi__delta--up { color: var(--accent); }

.perf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 1px;
  background: var(--line-3);
}
.perf__cell { background: var(--surface-2); padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.perf__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-6);
}
.funnel { display: grid; grid-template-columns: 120px minmax(0, 1fr) 36px; gap: 12px; align-items: center; font-size: 13px; }
.funnel__stage { color: var(--text-4); }
.funnel__track { display: block; height: 8px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.funnel__track span { display: block; height: 100%; background: var(--accent); }
.funnel__n { text-align: right; font-family: var(--font-mono); color: var(--text-1); }

.actions { display: flex; flex-direction: column; gap: 14px; }
.actions li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.actions__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.actions strong { display: block; font-size: 14px; font-weight: 400; color: var(--text-1); }
.actions small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--text-5); }

/* ---------- Membership ---------- */
.membership {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 72px;
  align-items: center;
}
.membership__card { display: flex; justify-content: center; }
.card--lg { width: min(100%, 480px); transform: rotate(-3deg); }
.membership__copy { display: flex; flex-direction: column; gap: 24px; }
.membership__copy h2 { font-size: clamp(36px, 4.4vw, 56px); }
.perks { display: flex; flex-direction: column; }
.perks li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-3); }
.perks__n { font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.perks h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.perks p { font-size: 15px; line-height: 1.6; color: var(--text-4); }

/* ---------- Apply ---------- */
.apply { background: var(--bg-alt); border-top: 1px solid var(--line-2); }
.apply__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 72px;
  align-items: start;
}
.apply__copy { display: flex; flex-direction: column; gap: 22px; }
.apply__copy h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; }
.apply__copy p:last-child { font-size: 17px; line-height: 1.65; color: var(--text-4); max-width: 440px; text-wrap: pretty; }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-5); }
.field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-6);
  border-radius: 0;
  color: var(--text-1);
  padding: 10px 0;
  font-size: 17px;
  outline: none;
}
.field input:focus { border-bottom-color: var(--accent); }
.field input::placeholder { color: var(--text-7); }
.field input:user-invalid { border-bottom-color: var(--error); }
.field__error { display: none; font-size: 12px; color: var(--error); }
.field input:user-invalid ~ .field__error { display: block; }

.chips { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chips__row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid var(--line-6);
  border-radius: 2px;
  color: var(--text-3);
}
.chip input:checked + span { border-color: var(--accent); color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { align-self: flex-start; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); }
.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-6);
}
.site-footer__logo { font-family: var(--font-display); font-size: 18px; color: var(--text-3); }
.site-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__links a { color: var(--text-6); }
.site-footer__links a:hover { color: var(--text-1); }

/* ---------- Thank-you page ---------- */
.thanks {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.thanks h1 { font-size: clamp(36px, 4.6vw, 56px); }
.thanks p { font-size: 17px; line-height: 1.65; color: var(--text-4); }

/* ---------- Reduced motion: static, finished states ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kicker__dot { animation: none; }
  .console { animation: none; --t: 219; }
  .caret { display: none; }
  .ticker__track { animation: none; }
}
