/* Self-hosted Barlow (latin subset, woff2): no render-blocking fetch from Google Fonts, and the text paints at once in the fallback. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-semi-condensed-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Waystop site. Same tokens as apps/mobile/theme/tokens.ts: ink on paper, hairlines, one signal yellow. */
:root {
  --paper: #FBFBF9; --card: #FFFFFF; --well: #F1F2EF; --ink: #0E1116; --ink2: #5A6070; --hair: #E3E5E0;
  --signal: #FFC800; --on-signal: #0E1116; --open: #178A4C;
  --bezel: #0E1116; --bezel-edge: rgba(255,255,255,.08); --glow: rgba(255, 200, 0, .22); --dot: rgba(14, 17, 22, .10);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  --display: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --signage: "Barlow Semi Condensed", var(--display);
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 20px; --max: 1080px; --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0D10; --card: #14171C; --well: #1B1F26; --ink: #F2F3F0; --ink2: #A5ABB8; --hair: #262B33; --open: #45C97F;
    --bezel: #22262E; --bezel-edge: rgba(255,255,255,.14); --glow: rgba(255, 200, 0, .14); --dot: rgba(242, 243, 240, .09);
    --shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  }
}
:root[data-theme="dark"] {
  --paper: #0B0D10; --card: #14171C; --well: #1B1F26; --ink: #F2F3F0; --ink2: #A5ABB8; --hair: #262B33; --open: #45C97F;
  --bezel: #22262E; --bezel-edge: rgba(255,255,255,.14); --glow: rgba(255, 200, 0, .14); --dot: rgba(242, 243, 240, .09);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.04; letter-spacing: -0.022em; text-wrap: pretty; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.018em; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--signage); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: 34em; text-wrap: pretty; }
.mark { width: 22px; height: 22px; flex: none; }
.mark path, .mark line { stroke: currentColor; }
.mark circle { stroke: currentColor; fill: var(--signal); }
/* A marker stroke under one word of the headline. */
.hl { background: linear-gradient(transparent 64%, var(--signal) 64%, var(--signal) 92%, transparent 92%); padding: 0 .04em; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
[hidden] { display: none !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 24px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.secondary { background: var(--well); color: var(--ink); border-color: var(--hair); }
.btn.small { height: 38px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary:hover { box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.btn.secondary:hover { border-color: var(--ink2); }
.btn:active { transform: translateY(0); }
.btn.signal { background: var(--signal); color: var(--on-signal); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
/* The current section: ink, semibold, and a signal bar on the nav's bottom rule, like the active day in the app. */
.nav-links { align-self: stretch; }
.nav-links a { position: relative; display: flex; align-items: center; text-decoration: none; color: var(--ink2); font: 500 15px var(--display); transition: color .15s; }
.nav-links a::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--signal); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(.4); background: var(--hair); }
.nav-links a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-links a[aria-current]::after { transform: none; background: var(--signal); }
@media (max-width: 640px) { .nav-links { display: none; } .nav .cta { margin-left: auto; } }
/* Phones: a menu button opens a panel from the right with every section and the store link. */
.menu-btn { display: none; }
.menu { display: none; }
@media (max-width: 640px) {
  .nav .wrap { height: 56px; gap: 12px; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-right: -8px; padding: 0 8px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; transform-origin: center; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: block; position: fixed; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s .3s; }
  .menu.open { visibility: visible; transition-delay: 0s; }
  .menu-back { position: absolute; inset: 0; background: rgba(14, 17, 22, .4); opacity: 0; transition: opacity .3s var(--ease); }
  .menu.open .menu-back { opacity: 1; }
  .menu-panel:focus { outline: none; }
  .menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); display: flex; flex-direction: column; gap: 2px; padding: 72px 20px 32px; background: var(--paper); box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .menu.open .menu-panel { transform: none; }
  .menu-close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; border-radius: 10px; cursor: pointer; }
  .menu-panel a { text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 22px; padding: 10px 12px; border-radius: 12px; }
  .menu-panel a[aria-current] { background: var(--well); display: flex; align-items: center; gap: 10px; }
  .menu-panel a[aria-current]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
  .menu-panel a:active { background: var(--well); }
  .menu-panel .menu-get { margin-top: auto; height: 50px; font-size: 17px; }
  html.menu-open { overflow: hidden; }
  section { scroll-margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) { .menu, .menu-back, .menu-panel, .menu-btn span { transition: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 22px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero .fine { font-size: 14px; color: var(--ink2); }
.hero .phone-wrap { position: relative; }
.hero .phone-wrap::before { content: ""; position: absolute; inset: 8% -6% -4% -6%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent 72%); filter: blur(10px); }
@media (max-width: 860px) { .hero { padding: 44px 0 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

/* The hero form: city and days, add a leg, build. Submits to /plan. */
.hero-form { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.hero-form .legs { display: flex; flex-direction: column; gap: 10px; }
.hero-form .row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 32px; gap: 10px; align-items: end; }
.hero-form label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink2); font-family: var(--signage); display: block; margin-bottom: 4px; }
.hero-form input { width: 100%; height: 52px; border: 1px solid var(--hair); border-radius: 12px; background: var(--paper); color: var(--ink); padding: 0 14px; font-size: 17px; font-family: var(--body); }
.hero-form input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.hero-form .x { height: 52px; width: 32px; border: 0; background: transparent; color: var(--ink2); font-size: 22px; cursor: pointer; }
.hero-form .x:disabled { opacity: 0; cursor: default; }
.hero-form .go { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-form .go .btn.signal { height: 52px; padding: 0 26px; font-size: 17px; border: 0; cursor: pointer; }
.hero-form .go .btn.secondary { cursor: pointer; }
.hero-form .fine { margin: 0; font-size: 13px; }
.hero-get { display: flex; flex-direction: column; gap: 8px; }
.hero-get .fine { margin: 0; }

/* Pricing strip on the home page; the full plans live on /pricing. */
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 26px; }
.price-strip > div { display: flex; flex-direction: column; gap: 2px; }
.price-strip strong { font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.price-strip > div > span:last-child { color: var(--ink2); font-size: 14px; }
.price-strip .pick { position: relative; padding-left: 18px; }
.price-strip .pick::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--signal); }
.price-strip .pick em { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--signal); color: var(--on-signal); }
@media (max-width: 860px) { .price-strip { grid-template-columns: 1fr 1fr; } .price-strip .btn { grid-column: 1 / -1; } }

/* Proof strip under the hero */
.proof { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--card); }
.proof .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; padding-top: 18px; padding-bottom: 18px; }
.proof div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink2); }
.proof strong { color: var(--ink); font-weight: 600; font-family: var(--display); }
.proof svg { width: 20px; height: 20px; flex: none; color: var(--on-signal); background: var(--signal); border-radius: 50%; padding: 4px; }
@media (max-width: 720px) { .proof .wrap { grid-template-columns: 1fr; gap: 10px; } }

/* Phone with the real screen recording. The video keeps the screen's radius; the poster shows until it plays. */
.screen.video { padding: 0; background: #000; }
.screen.video video, .screen.video img { display: block; width: 100%; height: auto; aspect-ratio: 718 / 1564; border-radius: 34px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .screen.video video { display: none; } .screen.video img { display: block; } }

/* Phone mock */
.phone { width: min(360px, 100%); margin: 0 auto; background: var(--bezel); border-radius: 44px; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 1px var(--bezel-edge); }
.screen { background: var(--paper); border-radius: 34px; padding: 22px 16px 18px; overflow: hidden; font-size: 13px; }
.screen .top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.screen .top h3 { font-size: 22px; }
.chip { display: inline-block; background: var(--well); border: 1px solid var(--hair); border-radius: 12px; padding: 2px 8px; font-size: 11px; color: var(--ink2); }
.bubble { background: var(--ink); color: var(--paper); border-radius: 16px 16px 4px 16px; padding: 9px 12px; max-width: 86%; margin-left: auto; line-height: 1.4; }
.proposal { background: var(--card); border: 1px solid var(--hair); border-radius: 14px; padding: 12px; margin: 10px 0 14px; }
.proposal .t { font-family: var(--signage); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.proposal .n { font-family: var(--display); font-weight: 600; font-size: 15px; margin: 3px 0 2px; }
.proposal .p { color: var(--ink2); font-size: 12px; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--open); font-weight: 600; font-size: 12px; }
.verified::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.proposal .actions { display: flex; gap: 8px; margin-top: 10px; }
.proposal .actions span { flex: 1; text-align: center; height: 32px; line-height: 32px; border-radius: 16px; font-family: var(--display); font-weight: 600; font-size: 13px; }
.proposal .apply { background: var(--ink); color: var(--paper); }
.proposal .skip { background: var(--well); border: 1px solid var(--hair); }
.timeline { border-left: 2px solid var(--ink); margin-left: 8px; padding-left: 18px; }
.stop { position: relative; background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 9px 11px; margin: 8px 0; }
.stop::before { content: ""; position: absolute; left: -25px; top: 16px; width: 10px; height: 10px; border-radius: 5px; background: var(--ink); border: 2px solid var(--paper); }
.stop.now { border-color: var(--ink); }
.stop.now::before { background: var(--signal); }
.stop .t { font-family: var(--signage); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.stop .n { font-family: var(--display); font-weight: 600; font-size: 14px; }
.stop .p { color: var(--ink2); font-size: 11px; }
/* The Apply button pulses once the page has settled, so the eye lands on the one interaction that matters. */
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 0, 0); } 40% { box-shadow: 0 0 0 5px var(--glow); } }
.proposal .apply { animation: nudge 2.8s var(--ease) 1.2s 2; }

/* Sections */
section { padding: 88px 0; scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--hair); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 40em; }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-3px); border-color: var(--ink2); box-shadow: 0 18px 40px -28px rgba(0,0,0,.4); } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 17px; background: var(--signal); color: var(--on-signal); font-family: var(--display); font-weight: 600; display: grid; place-items: center; margin-bottom: 6px; }
.step p { color: var(--ink2); }
.step q { font-style: italic; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature p strong { color: var(--ink); font-family: var(--display); font-weight: 600; display: block; margin-bottom: 4px; }
.also { margin-top: 18px; color: var(--ink2); font-size: 15px; }
.feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.feature h3 { font-size: 17px; }
.feature p { color: var(--ink2); font-size: 15px; }
.feature .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--well); color: var(--ink); margin-bottom: 8px; }
.feature.big { grid-column: span 2; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } section { padding: 56px 0; } .section-head { margin-bottom: 32px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .feature.big { grid-column: auto; } }

/* Real screens */
#screens { background: var(--well); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 28px; }
.shots figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shots img { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--hair); background: var(--card); box-shadow: 0 24px 50px -32px rgba(0,0,0,.5); }
.shots figcaption { color: var(--ink2); font-size: 14px; line-height: 1.5; }
.shots figcaption strong { color: var(--ink); font-family: var(--display); font-weight: 600; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(2, minmax(0, 300px)); } }
@media (max-width: 720px) { .shots { grid-template-columns: minmax(0, 300px); justify-content: center; } }

/* Ask anything: example prompts */
.asks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.asks span { background: var(--card); border: 1px solid var(--hair); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.asks em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-signal); background: var(--signal); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.highlight { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan .badge { position: absolute; top: -12px; right: 20px; background: var(--signal); color: var(--on-signal); font-family: var(--signage); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan .price { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; color: var(--ink2); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; color: var(--ink2); font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--well) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1116' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; border: 1px solid var(--hair); }
:root[data-theme="dark"] .plan li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F3F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F3F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); } }
.plan .btn { margin-top: auto; }
.topup { margin-top: 20px; color: var(--ink2); font-size: 14px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.faq h3 { font-size: 17px; margin-bottom: 6px; }
.faq p { color: var(--ink2); font-size: 15px; }
@media (max-width: 720px) { .faq { grid-template-columns: 1fr; } }

/* Closing band */
.band { background: var(--ink); color: var(--paper); padding: 72px 0; border-top: 0; }
.band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.band .eyebrow { color: var(--signal); }
.band .lede { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.band .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.band .btn.primary { background: var(--paper); color: var(--ink); }
.band .btn.secondary { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 35%, transparent); }
.band .btn.secondary:hover { border-color: var(--paper); }

/* Reveal on scroll; only once JS has run, and never under reduced motion. */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .proposal .apply { animation: none; }
}

/* Footer */
footer { border-top: 1px solid var(--hair); padding: 36px 0 48px; color: var(--ink2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer .brand { font-size: 18px; color: var(--ink); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .legal { flex-basis: 100%; }

/* Long-form pages (privacy, terms) */
.doc { max-width: 720px; margin: 0 auto; padding: 48px var(--gutter) 80px; }
.doc header { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .meta { color: var(--ink2); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 6px 0 16px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.doc th { font-family: var(--signage); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc tr:first-child { display: none; }
  .doc tr { border-bottom: 1px solid var(--hair); padding: 10px 0; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-family: var(--display); font-weight: 600; }
  .doc td:nth-child(2)::before { content: "From: "; color: var(--ink2); }
  .doc td:nth-child(3)::before { content: "Why: "; color: var(--ink2); }
}

/* The home page's content strip, and the problem-led landing page. */
.from-the-site { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.from-the-site .card { padding: 18px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.from-the-site .card p { color: var(--ink2); font-size: 14px; }
.from-the-site .card h3 { font-size: 17px; }
@media (max-width: 760px) { .from-the-site { grid-template-columns: 1fr; } }
.compare-plain { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.compare-plain th, .compare-plain td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.compare-plain th { font-family: var(--signage); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
.compare-plain td { color: var(--ink2); }
.compare-plain td:first-child { color: var(--ink); }
.compare-plain td.yes { color: var(--open); font-family: var(--display); font-weight: 600; }
@media (max-width: 720px) { .compare-plain { font-size: 14px; } }

/* Tables stack into cards on phones; each cell shows its column name. */
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack thead { display: none; }
  table.stack tr { border: 1px solid var(--hair); border-radius: 14px; background: var(--card); padding: 12px 14px; margin-bottom: 10px; }
  table.stack td { border: 0; padding: 3px 0; }
  table.stack td:first-child { font-family: var(--display); font-weight: 600; color: var(--ink); padding-bottom: 6px; }
  table.stack td[data-label]::before { content: attr(data-label) ": "; color: var(--ink2); font-family: var(--signage); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; display: block; }
}

/* Movement: the hero settles in on load, lists reveal one card after another, chips lift on hover. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html.js .hero .copy > * { animation: rise .7s var(--ease) both; }
html.js .hero .copy > *:nth-child(2) { animation-delay: .06s; }
html.js .hero .copy > *:nth-child(3) { animation-delay: .12s; }
html.js .hero .copy > *:nth-child(4) { animation-delay: .18s; }
html.js .hero .copy > *:nth-child(5) { animation-delay: .24s; }
html.js .hero .phone-wrap { animation: rise .9s var(--ease) .2s both; }
html.js .reveal:nth-child(2) { transition-delay: .07s; }
html.js .reveal:nth-child(3) { transition-delay: .14s; }
html.js .reveal:nth-child(4) { transition-delay: .21s; }
html.js .reveal:nth-child(5) { transition-delay: .28s; }
html.js .reveal:nth-child(6) { transition-delay: .35s; }
html.js .reveal:nth-child(n+7) { transition-delay: .4s; }
.asks span, .chains a { transition: transform .18s var(--ease), border-color .18s var(--ease); }
@media (hover: hover) { .asks span:hover, .chains a:hover { transform: translateY(-2px); border-color: var(--ink2); } }
.proof svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
html.js .proof.in svg path, html.js .proof svg path { animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero .copy > *, html.js .hero .phone-wrap { animation: none; }
  html.js .reveal { transition-delay: 0s; }
  .proof svg path { stroke-dashoffset: 0; animation: none; }
  .asks span, .chains a { transition: none; }
}

/* The walkthrough: the phone beside a list of chapters that seek the video. */
#demo { background: var(--card); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.demo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center; }
.demo .phone { width: min(360px, 100%); margin: 0; }
.demo .screen.video video, .demo .screen.video img { aspect-ratio: 718 / 1564; }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: ch; }
.chapters button { width: 100%; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: baseline; text-align: left; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--ink); font: inherit; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chapters button::before { counter-increment: ch; content: counter(ch); font-family: var(--signage); font-size: 12px; letter-spacing: .06em; color: var(--ink2); }
.chapters button strong { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; }
.chapters button span { display: block; color: var(--ink2); font-size: 14px; grid-column: 2; }
.chapters button:hover { background: var(--well); }
.chapters button.on { background: var(--well); border-color: var(--hair); }
.chapters button.on::before { color: var(--on-signal); background: var(--signal); border-radius: 999px; text-align: center; padding: 1px 0; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; gap: 28px; } .demo .phone { margin: 0 auto; } }
