/* =====================================================================
   SHIFT. Media — public site
   Concept: the editing suite. One memorable element (the hero timeline),
   everything else quiet, left-aligned and honest.
   ===================================================================== */

:root {
  /* Palette */
  --suite: #080B14;        /* page */
  --panel: #0E1322;        /* raised surfaces */
  --panel-2: #131A2E;      /* inputs, hover */
  --rule: #1D2539;         /* hairlines */
  --rule-strong: #2A3450;
  --paper: #EDF0F6;        /* primary text */
  --fog: #98A2B8;          /* secondary text */
  --dim: #6B7590;          /* tertiary text */
  --signal: #3B82F6;       /* SHIFT blue: actions, playhead */
  --signal-hi: #66A0FF;
  --take: #F5A524;         /* SHIFT gold: Apex, picked Shorts */
  --wave: #3DD6A3;         /* audio only */
  --danger: #F87171;

  /* Aliases used by app.js inline markup */
  --success: var(--wave);
  --error: var(--danger);
  --text-primary: var(--paper);
  --text-secondary: var(--fog);
  --text-muted: var(--fog);
  --text-dim: var(--dim);
  --accent-color: var(--signal);
  --accent-hover: var(--signal-hi);
  --accent-glow: rgba(59, 130, 246, 0.25);
  --gold: var(--take);

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (1.25) */
  --t-xs: 0.8rem;
  --t-sm: 0.9rem;
  --t-md: 1rem;
  --t-lg: 1.125rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.9rem, 3.2vw, 2.6rem);
  --t-hero: clamp(2.6rem, 6.4vw, 5.2rem);

  --wrap: 1180px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--suite);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--signal-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(59, 130, 246, 0.4); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--signal); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

#scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200;
  background: var(--signal); transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 600; font-size: var(--t-sm);
  padding: 0.7rem 1.15rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; position: relative;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.4rem; font-size: var(--t-md); }
.btn-block { width: 100%; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: #2F74E8; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--fog); background: rgba(255,255,255,0.03); }
.btn-gold { background: var(--take); color: #1A1204; }
.btn-gold:hover { background: #FFB53D; }
.btn:disabled { opacity: .7; cursor: progress; }

.btn-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn.is-submitting .btn-spinner { display: inline-block; }
.btn.is-submitting .btn-text { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

.text-link { color: var(--signal-hi); display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { border-radius: 9px; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-dot { color: var(--signal); }
.brand-sub { font-weight: 500; color: var(--fog); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.nav-links a { color: var(--fog); font-size: var(--t-sm); font-weight: 500; }
.nav-links a:hover { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-link { color: var(--fog); padding: 0.4rem; border-radius: 8px; }
.icon-link:hover { color: #8B9BFF; }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before {
  /* faint monitor glow behind the timeline, not decoration on everything */
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 1100px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,130,246,0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: end; position: relative; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--fog); font-size: var(--t-sm); font-weight: 500; margin-bottom: 1.4rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.18); }
.hero-title { font-size: var(--t-hero); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; max-width: 14ch; }
.hero-lede { font-size: var(--t-lg); color: var(--fog); max-width: 52ch; margin-top: 1.5rem; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-facts { margin: 0; display: grid; gap: 1.1rem; border-left: 1px solid var(--rule-strong); padding-left: 1.5rem; }
.hero-facts dt { font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-facts dd { margin: 0.15rem 0 0; color: var(--fog); font-size: var(--t-sm); line-height: 1.45; }

/* ---------- Timeline (the signature) ---------- */
.timeline {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; position: relative;
  background: linear-gradient(180deg, #0D1220, #0A0E1A);
  border: 1px solid var(--rule-strong); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.tl-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--rule); }
.tl-file { display: flex; align-items: center; gap: 0.6rem; color: var(--fog); font-size: var(--t-xs); min-width: 0; }
.tl-file-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }
.tl-file-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-readout { display: flex; align-items: baseline; gap: 0.75rem; }
.tl-readout-label { color: var(--fog); font-size: var(--t-xs); transition: color .3s ease; white-space: nowrap; }
.tl-time { font-family: var(--display); font-weight: 600; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; min-width: 5.2ch; text-align: right; }
.timeline.is-cut .tl-readout-label { color: var(--wave); }

.tl-body { position: relative; padding: 0.5rem 1.25rem 1.1rem 1.25rem; }
.tl-ruler {
  display: flex; justify-content: space-between; margin-left: 52px;
  color: var(--dim); font-size: 0.7rem; font-variant-numeric: tabular-nums; padding: 0.35rem 0 0.6rem;
  background-image: linear-gradient(90deg, var(--rule-strong) 1px, transparent 1px);
  background-size: calc(100% / 28) 6px; background-repeat: repeat-x; background-position: 0 100%;
}
.tl-ruler span:empty { width: 1px; }
.tl-track { display: flex; align-items: center; gap: 12px; height: 46px; }
.tl-track + .tl-track { margin-top: 6px; }
.tl-tag { width: 40px; flex: none; color: var(--dim); font-size: 0.7rem; font-weight: 600; text-align: right; }
.tl-lane { flex: 1; height: 100%; position: relative; border-radius: 6px; background: rgba(255,255,255,0.018); }

.tl-lane-video { display: flex; gap: 2px; }
.tl-lane-video b {
  display: block; height: 100%; flex: var(--g) 1 0; min-width: 0; border-radius: 5px;
  transition: flex-grow 1.3s cubic-bezier(.7,0,.2,1), opacity .5s ease, margin .5s ease;
}
.tl-lane-video .keep {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 22px, transparent 22px 44px),
    #2C5FC4;
  box-shadow: inset 0 0 0 1px rgba(140,180,255,0.35);
}
.tl-lane-video .cut {
  background: repeating-linear-gradient(-45deg, rgba(152,162,184,0.16) 0 6px, rgba(152,162,184,0.06) 6px 12px);
  box-shadow: inset 0 0 0 1px rgba(152,162,184,0.18);
}
.timeline.is-cut .tl-lane-video .cut { flex-grow: 0; opacity: 0; margin: 0 -1px; }

.tl-lane-fx i, .tl-lane-shorts i {
  position: absolute; top: 8px; bottom: 8px; border-radius: 5px; font-style: normal;
  font-size: 0.68rem; font-weight: 600; display: flex; align-items: center; padding: 0 0.5rem; overflow: hidden; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s ease;
}
.tl-lane-fx i { background: rgba(102,160,255,0.16); color: #B9D1FF; box-shadow: inset 0 0 0 1px rgba(102,160,255,0.35); }
.tl-lane-shorts i { top: 4px; bottom: 4px; background: rgba(245,165,36,0.16); color: #FFD08A; box-shadow: inset 0 0 0 1px rgba(245,165,36,0.5); }
.timeline.is-dressed .tl-lane-fx i, .timeline.is-dressed .tl-lane-shorts i { opacity: 1; transform: none; }
.timeline.is-dressed .tl-lane-fx i:nth-child(2) { transition-delay: .08s; }
.timeline.is-dressed .tl-lane-fx i:nth-child(3) { transition-delay: .16s; }
.timeline.is-dressed .tl-lane-fx i:nth-child(4) { transition-delay: .24s; }
.timeline.is-dressed .tl-lane-fx i:nth-child(5) { transition-delay: .32s; }
.timeline.is-dressed .tl-lane-shorts i { transition-delay: .45s; }
.timeline.is-dressed .tl-lane-shorts i:nth-child(2) { transition-delay: .55s; }

.tl-wave { width: 100%; height: 100%; color: var(--wave); opacity: .85; }

.tl-playhead {
  position: absolute; top: 0.5rem; bottom: 0.6rem; left: calc(1.25rem + 52px); width: 2px;
  background: var(--signal-hi); box-shadow: 0 0 12px rgba(102,160,255,0.8); pointer-events: none;
  opacity: 0;
}
.tl-playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--signal-hi); }
.timeline.is-playing .tl-playhead { opacity: 1; animation: playhead 9s linear infinite; }
@keyframes playhead { from { transform: translateX(0); } to { transform: translateX(var(--lane-w, 600px)); } }

.tl-foot { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding: 0.9rem 1.25rem; border-top: 1px solid var(--rule); color: var(--fog); font-size: var(--t-sm); }
.tl-foot strong { color: var(--paper); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head p { max-width: 62ch; }
.section-head h2 { font-size: var(--t-2xl); }
.section-head p { color: var(--fog); font-size: var(--t-lg); margin-top: 0.9rem; line-height: 1.6; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.founder { display: grid; gap: 1.5rem; }
.thumb { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--panel); border: 1px solid var(--rule); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.thumb:hover img { transform: scale(1.025); }
.thumb-play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(8,11,20,0.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25); transition: background-color .2s ease;
}
.thumb-play svg { margin-left: 3px; }
.thumb:hover .thumb-play { background: var(--signal); border-color: var(--signal); }
.thumb-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 2px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.video-title { display: block; min-height: 2.8em; margin-top: 0.85rem; font-weight: 600; font-size: var(--t-md); line-height: 1.4; }
.video-title:hover { color: var(--signal-hi); }

.founder-info { border-top: 1px solid var(--rule); padding-top: 1.4rem; display: grid; gap: 1.1rem; }
.founder-id { display: flex; align-items: center; gap: 0.9rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rule-strong); }
.founder-id h3 { font-size: var(--t-xl); }
.founder-role { color: var(--fog); font-size: var(--t-sm); margin-top: 0.15rem; }
.founder blockquote { margin: 0; color: var(--paper); font-size: var(--t-lg); line-height: 1.55; max-width: 48ch; }
.founder-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 18px; left: 18px; right: 0; height: 1px; background: var(--rule-strong); }
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--suite); border: 1px solid var(--rule-strong); color: var(--paper);
  font-family: var(--display); font-weight: 600; font-size: var(--t-sm); margin-bottom: 1.25rem;
}
.steps li:first-child .step-n { border-color: var(--signal); color: var(--signal-hi); }
.steps h3 { font-size: var(--t-lg); margin-bottom: 0.5rem; }
.steps p { color: var(--fog); font-size: var(--t-sm); line-height: 1.6; max-width: 32ch; }

.rollover { display: flex; gap: 0.9rem; align-items: flex-start; margin-top: 3rem; padding: 1.25rem 1.4rem; border: 1px solid rgba(61,214,163,0.28); background: rgba(61,214,163,0.05); border-radius: var(--r-md); max-width: 760px; }
.rollover svg { color: var(--wave); flex: none; margin-top: 2px; }
.rollover p { color: var(--fog); }
.rollover strong { color: var(--paper); }

/* Included */
.included-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.included-list > div { padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid var(--rule); }
.included-list > div:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--rule); }
.included-list dt { font-family: var(--display); font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.included-list dd { margin: 0; color: var(--fog); font-size: var(--t-sm); line-height: 1.65; }

/* Pricing */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.pricing-head .section-head { margin-bottom: 0; }
.billing-toggle { display: inline-flex; padding: 4px; background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 12px; }
.toggle-btn { background: none; border: 0; color: var(--fog); font-weight: 600; font-size: var(--t-sm); padding: 0.55rem 1.1rem; border-radius: 9px; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.toggle-btn.active { background: var(--paper); color: var(--suite); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.plan-featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 24px 60px -30px rgba(59,130,246,0.55); }
.plan-gold { border-color: rgba(245,165,36,0.45); }
.plan-flag { position: absolute; top: -12px; left: 1.75rem; background: var(--signal); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 999px; }
.plan-name { font-size: var(--t-xl); }
.plan-gold .plan-name { color: var(--take); }
.plan-for { color: var(--fog); font-size: var(--t-sm); margin-top: 0.4rem; min-height: 3.2em; }
.plan-price { display: flex; align-items: baseline; margin-top: 1.5rem; font-family: var(--display); font-variant-numeric: tabular-nums; }
.plan-price .currency { font-size: 1.4rem; font-weight: 600; color: var(--fog); margin-right: 2px; align-self: flex-start; margin-top: 0.4rem; }
.plan-price .price-amount { font-size: 3.1rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan-price .price-cycle { color: var(--fog); font-size: var(--t-md); margin-left: 0.35rem; font-family: var(--body); }
.price-subtext { color: var(--dim); font-size: var(--t-xs); margin-top: 0.4rem; }
.plan-list { list-style: none; padding: 1.4rem 0 0; margin: 1.4rem 0 1.75rem; border-top: 1px solid var(--rule); display: grid; gap: 0.7rem; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 1.6rem; color: var(--fog); font-size: var(--t-sm); line-height: 1.5; }
.plan-list li strong { color: var(--paper); font-weight: 600; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 14px; height: 14px;
  background: var(--signal-hi);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-list li.plan-extra::before { background: var(--take); }
.plan-list li.plan-extra strong { color: var(--take); }
.pricing-note { margin-top: 2rem; color: var(--fog); font-size: var(--t-sm); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--fog); border-bottom: 2px solid var(--fog); transform: rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:hover { color: var(--signal-hi); }
.faq-list details p { color: var(--fog); padding: 0 2.5rem 1.4rem 0; max-width: 62ch; }

/* Apply */
.apply-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
.apply-side h2 { font-size: var(--t-2xl); }
.apply-lede { color: var(--fog); font-size: var(--t-lg); margin-top: 0.9rem; }
.next-steps { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 32px 1fr; column-gap: 0.9rem; }
.next-steps li::before {
  content: counter(ns); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); font-family: var(--display); font-size: 0.8rem; font-weight: 600; color: var(--fog);
}
.next-steps strong { font-weight: 600; }
.next-steps span { color: var(--fog); font-size: var(--t-sm); }
.contact-alt { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); display: grid; gap: 0.7rem; }
.contact-alt p { color: var(--dim); font-size: var(--t-sm); margin-bottom: 0.2rem; }
.contact-alt a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--paper); font-weight: 500; font-size: var(--t-sm); width: fit-content; }
.contact-alt a svg { color: var(--fog); }
.contact-alt a:hover { color: var(--signal-hi); }

.apply-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.intake-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: grid; gap: 0.45rem; min-width: 0; }
fieldset.form-group { border: 0; margin: 0; padding: 0; }
.form-label { font-size: var(--t-sm); font-weight: 600; color: var(--paper); padding: 0; }
.optional { color: var(--dim); font-weight: 400; margin-left: 0.35rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; font: inherit; font-size: var(--t-md); color: var(--paper);
  background: var(--suite); border: 1px solid var(--rule-strong); border-radius: 10px; padding: 0.75rem 0.9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398A2B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; }
.form-select option { background: var(--panel); color: var(--paper); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-input.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.form-feedback { color: var(--danger); font-size: var(--t-xs); min-height: 0; }
.form-feedback:empty { display: none; }

.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: 0.1rem; height: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--suite); transition: border-color .15s ease, background-color .15s ease; }
.choice strong { font-size: var(--t-sm); font-weight: 600; }
.choice small { color: var(--fog); font-size: var(--t-xs); }
.choice input:checked + span { border-color: var(--signal); background: rgba(59,130,246,0.08); }
.choice input:focus-visible + span { outline: 2px solid var(--signal-hi); outline-offset: 2px; }

.form-disclaimer { color: var(--dim); font-size: var(--t-xs); text-align: center; margin-top: -0.5rem; }
.form-status-box { padding: 1.1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--rule-strong); background: var(--suite); }
.form-status-box.success { border-color: rgba(61,214,163,0.4); }
.form-status-box.error { border-color: rgba(248,113,113,0.45); }

/* Ecosystem */
.ecosystem { padding-top: 0; }
.eco-title { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.eco-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.eco { display: grid; align-content: start; gap: 0.5rem; padding: 1.5rem 1.6rem; transition: background-color .15s ease; }
.eco + .eco { border-left: 1px solid var(--rule); }
.eco:hover { background: var(--panel); }
.eco-name { font-family: var(--display); font-weight: 700; font-size: var(--t-lg); }
.eco-name span { font-weight: 500; color: var(--fog); }
.eco-desc { color: var(--fog); font-size: var(--t-sm); }
.eco-url { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--signal-hi); font-size: var(--t-sm); font-weight: 500; margin-top: 0.25rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 3.5rem 0 2rem; background: #060810; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--fog); font-size: var(--t-sm); margin-top: 1rem; max-width: 34ch; }
.socials { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.4rem; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--rule); color: var(--fog); transition: color .15s ease, border-color .15s ease; }
.socials a:hover { color: var(--paper); border-color: var(--rule-strong); }
.footer-col h3 { font-family: var(--body); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--fog); font-size: var(--t-sm); word-break: break-word; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--dim); font-size: var(--t-xs); }
.footer-bottom a { color: var(--paper); font-weight: 700; font-family: var(--display); }

/* Toasts (markup from app.js) */
.toast-container { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 400; display: grid; gap: 0.6rem; max-width: min(380px, calc(100vw - 2.5rem)); }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--panel-2); border: 1px solid var(--rule-strong); color: var(--paper); font-size: var(--t-sm); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.7); transition: opacity .25s ease, transform .25s ease; animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-strong); padding-top: 1.5rem; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .included-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included-list > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .included-list > div:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--rule); }
  .faq-grid, .apply-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-grid .section-head { position: static; margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .video-title { min-height: 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--suite); padding: 1.5rem; border-top: 1px solid var(--rule);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: var(--t-lg); color: var(--paper); border-bottom: 1px solid var(--rule); }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn { flex: 1; padding: 0.8rem; }
  .founders { grid-template-columns: 1fr; gap: 3.5rem; }
  .eco-row { grid-template-columns: 1fr; }
  .eco + .eco { border-left: 0; border-top: 1px solid var(--rule); }
}

@media (max-width: 620px) {
  .wrap { padding: 0 1.15rem; }
  .hero-facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .hero-facts > div { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; gap: 0.75rem; }
  .hero-facts dt { font-size: 1.35rem; }
  .hero-facts dd { margin: 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .tl-bar { padding: 0.75rem 0.9rem; }
  .tl-file-name { display: none; }
  .tl-body { padding: 0.4rem 0.9rem 0.9rem; }
  .tl-tag { width: 28px; font-size: 0.62rem; }
  .tl-track { gap: 8px; height: 38px; }
  .tl-ruler { margin-left: 36px; }
  .tl-ruler span:nth-child(n+2):not(:last-child) { display: none; }
  .tl-playhead { left: calc(0.9rem + 36px); }
  .tl-lane-fx i { font-size: 0; padding: 0; }
  .tl-lane-shorts i { font-size: 0.6rem; padding: 0 0.3rem; }
  .tl-foot { flex-direction: column; gap: 0.35rem; }
  .steps { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  .included-list > div, .included-list > div:nth-child(even) { padding: 1.4rem 0; border-left: 0; }
  .form-row, .choice-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .timeline.is-playing .tl-playhead { animation: none; transform: translateX(calc(var(--lane-w, 600px) * 0.38)); }
}
