/* ============================================================
   WheelsUp landing — "Cleared for Takeoff" re-skin (S-17.1)
   Used by index.html ONLY. Legal pages keep styles.css (S-17.3).
   Display: Saira Condensed · Data: B612 Mono · Body: Inter
   Palette: locked brand tokens from design-tokens.css.
   ============================================================ */

:root {
  /* re-skin additions (index-only; --ink-950/--display/--mono/--font — the
     shared body-font token — already live in design-tokens.css, loaded first) */
  --ink-900: #0A111E;
  --brand-400: #14b8a6;
  --paper: #F4F7FA;        /* light body sections */
  --paper-2: #E9EEF5;
  --board: #0B0F16;        /* departure board */
  --ok: #4ADE80;
  --line: rgba(255,255,255,0.08);
  --line-light: #dde5ee;
  --text-dim: #8DA0B5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 2px solid var(--brand-300); outline-offset: 3px; border-radius: 4px; }
section { padding: 96px 0; }

/* ---------- shared type ---------- */
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-400); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brand-400); display: inline-block; }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.96; letter-spacing: 0.005em; }
.section-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; letter-spacing: 0.005em; margin-top: 14px; }
.section-sub { color: var(--text-muted); max-width: 620px; margin-top: 14px; font-size: 1.02rem; }
.section-head { margin-bottom: 44px; }
.title-pill { display: inline-block; vertical-align: middle; margin-left: 12px; font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; padding: 5px 12px; border-radius: 999px; background: rgba(244,162,89,0.18); color: var(--sand); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sand { background: var(--sand); color: var(--ink-950); box-shadow: 0 8px 24px rgba(244,162,89,0.35); }
.btn-sand:hover { background: #f6b071; box-shadow: 0 12px 32px rgba(244,162,89,0.45); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(15,118,110,0.35); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { border-color: rgba(255,255,255,0.22); color: #dbe6f2; }
.btn-ghost:hover { border-color: var(--brand-300); color: var(--brand-300); background: rgba(94,234,212,0.06); }
.btn-outline { border-color: #c4d0de; color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sand::after, .btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.btn-sand:hover::after, .btn-primary:hover::after { left: 130%; }

/* Launch-gate lock states (S-9.4 mechanics — keep selectors stable) */
.navlink-locked, .btn-locked { opacity: 0.55; cursor: not-allowed; }
.btn-locked:hover { transform: none; box-shadow: 0 8px 24px rgba(15,118,110,0.35); }
.btn-locked:hover::after { left: -80%; }
.soon-pill { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }

/* dev TODO marker (unchanged behavior) */
.todo { outline: 2px dashed var(--sand); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(7,13,22,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; color: #fff; text-transform: uppercase; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.navlink { font-size: 0.9rem; color: #b8c6d6; transition: color .15s; }
.navlink:hover { color: var(--brand-300); }
.nav .btn { padding: 9px 18px; font-size: 0.88rem; }
@media (max-width: 860px) { .nav-links .navlink { display: none; } }

/* ---------- hero ---------- */
.hero { background:
  radial-gradient(1100px 500px at 78% -10%, rgba(15,118,110,0.28), transparent 62%),
  radial-gradient(700px 380px at 12% 108%, rgba(244,162,89,0.10), transparent 60%),
  var(--ink-950);
  color: #fff; padding: 150px 0 0; position: relative; }
/* S-17.1 hero layout (owner 2026-07-10): six-line stacked headline beside the
   board as EQUAL-HEIGHT blocks — board top aligns with the first "EVERY",
   board bottom with "COUNTDOWN." Lede/CTAs run full-width below the pair. */
.hero .wrap { padding-bottom: 84px; max-width: 1240px; }
.hero-duo { display: grid; grid-template-columns: 1fr max-content; gap: 56px; align-items: stretch; margin: 22px 0 30px; }
.hero h1 { font-size: clamp(2.6rem, 4.75vw, 4.4rem); line-height: 0.98; margin: 0; color: #fff; }
.hero h1 .hl { color: transparent; background: linear-gradient(92deg, var(--brand-300), var(--brand-400)); -webkit-background-clip: text; background-clip: text; }
/* S-17.1 tweak: lede stays left-aligned under headline, narrower so no overlap with board */
.lede { color: #a9bacb; font-size: 1.08rem; max-width: 480px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 14px; }
.microcopy { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: #6d8095; text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badges span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb2c4; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: rgba(255,255,255,0.03); }
/* staged load-in */
.rise { opacity: 0; transform: translateY(22px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .38s; } .d5 { animation-delay: .5s; }

/* ---------- split-flap departure board (signature) ---------- */
.board-wrap { perspective: 1200px; height: 100%; }
/* flex column + full height: the board stretches to the headline's height,
   with the slack absorbed evenly between the milestone rows */
.board { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, #10161f, var(--board)); border: 1px solid rgba(255,255,255,0.09); border-radius: 22px; padding: 26px 26px 20px; box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06); transform: rotateY(-4deg) rotateX(1.5deg); }
#board-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board-title { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.28em; color: var(--sand); text-transform: uppercase; }
.board-clock { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; color: #7e93a8; }
/* columns are content-tight (max-content) so the auto-sized board hugs its
   flaps instead of inflating on fr ratios; a modest gap column-separates */
.board-cols { display: grid; grid-template-columns: max-content max-content max-content max-content; gap: 14px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; color: #5d7085; text-transform: uppercase; padding: 0 2px 8px; }
.board-row { display: grid; grid-template-columns: max-content max-content max-content max-content; gap: 14px; padding: 6px 0; }
.flap-group { display: flex; gap: 2px; }
.flap { width: 1.06em; height: 1.62em; font-family: var(--mono); font-size: 0.94rem; font-weight: 700; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #1b2430 48%, #121a25 52%); border-radius: 3px; color: #E8F0F8; position: relative; overflow: hidden; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.07); }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.55); }
.flap.ticking { animation: flapflick .09s linear; }
@keyframes flapflick { 0% { transform: scaleY(1); } 50% { transform: scaleY(0.55); filter: brightness(1.5); } 100% { transform: scaleY(1); } }
.st-ok .flap { color: var(--ok); }
.st-warn .flap { color: var(--sand); }
.st-info .flap { color: var(--brand-300); }
.st-dim .flap { color: var(--text-dim); }
.board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.board-foot .blink { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--brand-300); text-transform: uppercase; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.25; } }
.board-foot .legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; color: #5d7085; text-transform: uppercase; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.legend .ok i { background: var(--ok); }
.legend .warn i { background: var(--sand); }

/* ---------- runway divider ---------- */
.runway { height: 120px; background: var(--ink-950); position: relative; overflow: hidden; }
.runway::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--sand) 0 26px, transparent 26px 52px); opacity: 0.85; animation: runwayflow 1.6s linear infinite; }
@keyframes runwayflow { to { transform: translateX(-50%) translateY(52px); } }
.runway::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink-950), transparent 30%, transparent 70%, var(--paper)); pointer-events: none; }
.runway .edge { position: absolute; top: 50%; width: 34%; height: 1px; background: linear-gradient(90deg, transparent, rgba(94,234,212,0.5)); }
.runway .edge.l { left: 0; }
.runway .edge.r { right: 0; transform: scaleX(-1); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- problem ---------- */
.problem { background: var(--paper); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.pain { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.pain::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sand), transparent 70%); }
.pain:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15,27,45,0.12); }
.pain .tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--sand-600); text-transform: uppercase; }
.pain h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.35rem; font-weight: 700; margin: 10px 0 8px; letter-spacing: 0.01em; }
.pain p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- features ---------- */
.features { background: var(--paper-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.feat:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15,27,45,0.12); }
.feat .vis { height: 130px; background: linear-gradient(135deg, var(--ink), var(--ink-800)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feat .vis::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 130px at 70% 0%, rgba(94,234,212,0.16), transparent); }
.feat .meta { padding: 20px 22px 24px; }
.pill { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pill.free { background: rgba(15,118,110,0.1); color: var(--brand); }
.pill.pro { background: rgba(244,162,89,0.16); color: var(--sand-600); }
.feat h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; font-weight: 700; margin: 10px 0 6px; }
.feat p { color: var(--text-muted); font-size: 0.9rem; }
/* mini viz inside feature cards */
.sim { width: 74%; z-index: 1; }
.sim .bar { height: 9px; border-radius: 5px; margin: 7px 0; transform-origin: left; transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.in .sim .bar { transform: scaleX(1); }
.sim .row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.sim .chk { width: 13px; height: 13px; border-radius: 4px; background: var(--brand-400); flex-shrink: 0; }
.sim .ln { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.28); }
.sim .num { font-family: var(--mono); font-weight: 700; font-size: 1.9rem; color: var(--brand-300); }
.sim .num small { display: block; font-size: 0.58rem; letter-spacing: 0.14em; color: var(--text-dim); text-transform: uppercase; font-weight: 400; }

/* ---------- advanced tools marquee ---------- */
.advanced { background: var(--ink-950); color: #fff; padding: 84px 0; overflow: hidden; }
.advanced .section-title { color: #fff; }
.advanced .section-sub { color: var(--text-dim); }
.marquee { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
/* S-17.1 tweak: marquee 25% faster (owner feedback on scroll speed) */
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 33.6s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 41.6s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tool { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; width: 340px; flex-shrink: 0; transition: border-color .2s, background .2s; }
.tool:hover { border-color: rgba(94,234,212,0.4); background: rgba(94,234,212,0.05); }
.tool .tico { font-size: 1.3rem; line-height: 1; }
.tool h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.03em; }
.tool p { color: var(--text-dim); font-size: 0.8rem; margin-top: 4px; line-height: 1.45; }

/* ---------- how it works ---------- */
.how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.step { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step .n { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; color: var(--brand); border: 1px solid rgba(15,118,110,0.35); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }
.step::after { content: ""; position: absolute; top: 46px; right: -22px; width: 22px; height: 1px; background: linear-gradient(90deg, var(--brand-400), transparent); z-index: 1; }
.step:last-child::after { display: none; }

/* ---------- feedback ---------- */
.feedback { background: var(--paper); padding-top: 0; }
.feedback .wrap { text-align: center; max-width: 680px; }
.feedback .microcopy { color: var(--slate); }
.feedback .microcopy a { color: var(--brand); }

/* ---------- pricing ---------- */
.pricing { background: var(--paper-2); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; align-items: stretch; }
.tier { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; position: relative; display: flex; flex-direction: column; }
.tier:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(15,27,45,0.12); }
.tier .name { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.tier .price { font-family: var(--mono); font-weight: 700; font-size: 2rem; margin: 12px 0 2px; }
.tier .per { color: var(--text-muted); font-size: 0.8rem; }
.tier .save { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-top: 8px; }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }
.tier .btn:not(:first-child) { margin-top: 18px; }
.tier.feature { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 60px rgba(15,27,45,0.35); }
.tier.feature .price { color: var(--brand-300); }
.tier.feature .per, .tier.feature .name { color: var(--text-dim); }
.tier .best { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--sand); color: var(--ink-950); padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.split .col { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; }
.split h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; margin-bottom: 12px; }
.split ul { list-style: none; }
.split li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.94rem; color: var(--text); }
.split li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.col.pro li::before { color: var(--sand-600); }
.founder { margin-top: 36px; background: linear-gradient(120deg, var(--ink), var(--ink-800)); border-radius: var(--radius-lg); padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden; }
.founder::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 85% 20%, rgba(244,162,89,0.18), transparent); }
.founder .ftxt { position: relative; z-index: 1; }
.founder .ftxt h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; font-weight: 700; }
.founder .ftxt p { color: #a9bacb; font-size: 0.92rem; margin-top: 6px; max-width: 560px; }
.founder .fprice { font-family: var(--mono); font-weight: 700; font-size: 2.4rem; color: var(--sand); }
.founder .fcap { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin: 2px 0 10px; }
.founder > div:last-child { text-align: center; position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- trust ---------- */
.trust { background: var(--paper-2); padding-top: 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust .t { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; }
.trust .t h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.trust .t p { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq details { border: 1px solid var(--line-light); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 12px; background: var(--white); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--brand); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); padding-bottom: 16px; font-size: 0.94rem; }

/* ---------- final CTA / waitlist ---------- */
.cta { background:
  radial-gradient(800px 360px at 50% 110%, rgba(15,118,110,0.4), transparent 65%),
  var(--ink-950);
  color: #fff; text-align: center; position: relative; overflow: hidden; padding: 110px 0 120px; }
.cta::before { content: ""; position: absolute; left: 50%; bottom: 0; height: 64%; width: 5px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(244,162,89,0.75) 0 20px, transparent 20px 40px); animation: runwayflow 1.4s linear infinite; opacity: 0.55; -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%); mask-image: linear-gradient(180deg, transparent, #000 55%); }
.cta h2 { font-family: var(--display); text-transform: uppercase; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta p { color: #a9bacb; margin: 12px auto 0; max-width: 560px; }
.cta .wrap { position: relative; z-index: 1; }
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.waitlist input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font: inherit; font-size: 0.92rem; }
.waitlist input::placeholder { color: #6d8095; }
.waitlist input:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 3px rgba(94,234,212,0.15); }
.cta .microcopy { margin-top: 14px; }
.cta .microcopy a { color: var(--sand); }

/* ---------- footer ---------- */
footer { background: var(--ink-950); color: var(--text-dim); border-top: 1px solid var(--line); padding: 54px 0 34px; font-size: 0.85rem; }
footer a { color: #b8c6d8; transition: color .15s; }
footer a:hover { color: var(--brand-300); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px 24px; padding-bottom: 36px; }
.footer-brand .brand { font-size: 1.1rem; transition: color .15s; color: #fff; }
.footer-brand .brand:hover { color: var(--brand-300); }
.footer-brand .brand .logo { width: 26px; height: 26px; }
.footer-brand p { margin: 14px 0 0; max-width: 30ch; line-height: 1.55; color: var(--text-dim); }
.footer-col { display: flex; flex-direction: column; }
.footer-col h3 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: #5d7085; margin: 0 0 14px; }
.footer-col a { padding: 5px 0; }
.footer-base { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: #5d7085; }
.footer-disclaimer { max-width: 60ch; }
@media (max-width: 720px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Kit (ConvertKit) inline form states ---------- */
.formkit-alert { list-style: none; color: #ffd2c2; margin: 0 0 10px; font-size: 0.85rem; padding: 0; }
.formkit-alert:empty { display: none; }

/* ---------- contact / feedback modal (contact.js — selectors must match) ---------- */
.wuc-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15,27,45,0.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.wuc-overlay[hidden] { display: none; }
.wuc-dialog { position: relative; width: 100%; max-width: 520px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 26px 22px; max-height: 92vh; overflow-y: auto; color: var(--text); }
.wuc-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--slate); cursor: pointer; }
.wuc-close:hover { color: var(--ink); }
.wuc-title { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; color: var(--ink); margin: 0 6px 4px 0; }
.wuc-sub { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 16px; }
.wuc-label { display: block; font-weight: 700; font-size: 0.82rem; color: var(--ink); margin: 12px 0 5px; }
.wuc-opt { font-weight: 400; color: var(--slate); }
.wuc-input { width: 100%; box-sizing: border-box; font-family: var(--font); font-size: 0.95rem; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.wuc-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,118,110,0.15); }
textarea.wuc-input { resize: vertical; min-height: 96px; }
.wuc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .wuc-row { grid-template-columns: 1fr; } }
.wuc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wuc-turnstile { margin-top: 14px; }
.wuc-turnstile:empty { display: none; }
.wuc-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.wuc-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.wuc-status-err { color: var(--danger); }
.wuc-email { font-weight: 700; color: var(--ink); white-space: nowrap; }
.wuc-success { text-align: center; padding: 18px 6px 6px; }
.wuc-success p { color: var(--text-muted); margin: 0 0 18px; }
.wuc-check { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: rgba(22,163,74,0.12); color: var(--success); font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---------- responsive ---------- */
/* hero stacks earlier than the body grids: the enlarged board needs ~700px */
@media (max-width: 1120px) {
  .hero-duo { grid-template-columns: 1fr; gap: 44px; }
  .board-wrap { height: auto; }
  .board { transform: none; height: auto; width: max-content; max-width: 100%; margin: 0 auto; }
  /* lede already left-aligned; restore full width for stacked layout */
  .lede { max-width: 520px; }
}
@media (max-width: 960px) {
  .pain-grid, .feat-grid, .steps { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .step::after { display: none; }
}
@media (max-width: 780px) {
  .flap { font-size: 0.72rem; }
  .flap-group { gap: 1px; }
  .board-cols, .board-row { gap: 8px; }
  .board { padding: 18px 16px 14px; }
}
@media (max-width: 600px) {
  .pain-grid, .feat-grid, .steps, .tiers { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .founder { flex-direction: column; text-align: center; }
  .waitlist { flex-direction: column; }
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  /* compact departure board: drop the DATE column, shrink flaps */
  .flap { font-size: 0.55rem; }
  .flap-group { gap: 1px; }
  .board { padding: 16px 12px 12px; }
  .board-cols, .board-row { gap: 4px; }
  .board-cols, .board-row { grid-template-columns: max-content max-content max-content; }
  .board-cols span:nth-child(2), .board-row .flap-group:nth-child(2) { display: none; }
  /* head/foot text must not out-widen the compact flap rows (board is max-content) */
  .board-title { font-size: 0.58rem; letter-spacing: 0.18em; }
  .board-clock { font-size: 0.58rem; }
  .board-foot { flex-wrap: wrap; row-gap: 4px; }
  .board-foot .blink { font-size: 0.54rem; }
  .board-foot .legend { font-size: 0.52rem; gap: 10px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1; transform: none; }
  .sim .bar { transform: scaleX(1); }
}
