/* snipr. site styles (sniprclips.com). Shared by the homepage, contact, login and app pages.
   Palette: graphite black with a violet accent. Mint is reserved for "live"/verified states. */
:root {
  --ink: #0b0a0f;
  --plum-900: #131118;
  --plum-800: #1a1720;
  --plum-700: #24202c;
  --line: #2a2633;
  --line-soft: #1f1c26;
  --violet: #a07cff;
  --violet-deep: #6e45e6;
  --lilac: #e7dcff;
  --text: #f4f2f7;
  --muted: #9a94a6;
  --live: #7be0b0;

  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.8rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 var(--step-0)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 750; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons: light pill for the main action, outline for the second */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--text); color: var(--ink); }
.btn-primary:hover { background: var(--lilac); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: color-mix(in srgb, var(--plum-900) 60%, transparent); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--violet) 60%, var(--line)); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; }
/* snipr. wordmark: placeholder logo until the final one is ready */
.wordmark {
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1;
  font-variation-settings: "wdth" 88; letter-spacing: -0.05em; color: var(--text);
}
.wordmark-dot { color: var(--violet); }

/* Header + nav.
   The blur sits on a pseudo-element: backdrop-filter on the header itself would trap the
   fixed-position mobile menu inside the 72px header (that was the "menu doesn't open" bug). */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ink) 80%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 32px;
}
.nav-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--text);
  transition: background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--plum-800); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

.has-drop { position: relative; }
/* padding-top bridges the gap under the button so the mouse never "falls off" on the way down */
.drop {
  position: absolute; top: 100%; left: 0; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility 0s .16s;
}
.drop.open { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.drop > * { background: var(--plum-900); border: 1px solid var(--line); }
.drop-grid {
  width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px;
  border-radius: 18px 18px 0 0; border-bottom: 0 !important;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8);
}
.drop-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color .15s; }
.drop-item:hover { background: var(--plum-800); }
.drop-item strong { display: block; font-weight: 600; }
.drop-item small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.drop-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--plum-700); color: var(--text); }
.drop-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-foot { padding: 14px 22px; border-radius: 0 0 18px 18px; color: var(--muted); font-size: .95rem; }
.drop-foot a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 3px; }
.drop-list { width: 280px; padding: 8px; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); }
.drop-list a { display: block; padding: 10px 12px; border-radius: 10px; }
.drop-list a:hover { background: var(--plum-800); }

/* Hero */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px 48px;
  align-items: center;
  overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; inset: -120px -10% auto 35%; height: 700px; z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 69, 230, .16), transparent 70%);
  pointer-events: none;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--plum-900); color: var(--muted); font-size: .92rem; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(123, 224, 176, .14); }
.hero h1 {
  margin-top: 24px; font-size: var(--step-4); font-weight: 800;
  font-variation-settings: "wdth" 88; line-height: .98; letter-spacing: -0.035em;
  max-width: 13ch; text-wrap: balance;
}
.lede { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .92rem; }

/* Phone stage */
.stage { position: relative; height: 560px; }
.phone {
  position: absolute; border-radius: 34px; padding: 7px;
  background: linear-gradient(160deg, #34303d, #121016);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.phone .screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; }
.phone-front { width: 270px; height: 540px; left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.phone-front::before {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; border-radius: 999px; background: #000; z-index: 5;
}
.phone-back { width: 220px; height: 440px; top: 70px; opacity: .5; filter: saturate(.6); }
.phone-left { left: 2%; transform: rotate(-8deg); }
.phone-right { right: 2%; transform: rotate(7deg); }

/* Stand-in "video" frames, drawn with gradients */
.scene-stream {
  background:
    radial-gradient(60% 40% at 50% 38%, rgba(255, 196, 240, .5), transparent 70%),
    radial-gradient(80% 60% at 20% 90%, rgba(110, 69, 230, .85), transparent 70%),
    radial-gradient(70% 50% at 90% 70%, rgba(64, 120, 255, .65), transparent 70%),
    linear-gradient(180deg, #24163d, #0f0a19);
}
.scene-stream::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 78%; height: 46%;
  background:
    radial-gradient(circle at 50% 22%, #171024 0 17%, transparent 17.5%),
    radial-gradient(ellipse at 50% 100%, #171024 0 55%, transparent 55.5%);
}
.scene-pod { background: radial-gradient(70% 50% at 30% 30%, rgba(255, 170, 120, .45), transparent 70%), linear-gradient(170deg, #33203a, #120b18); }
.scene-game { background: radial-gradient(60% 50% at 70% 40%, rgba(80, 220, 255, .4), transparent 70%), linear-gradient(200deg, #16243f, #0c0918); }

.caption {
  position: absolute; left: 14px; right: 14px; top: 42%;
  text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.15;
  color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, .6);
}
.caption-big { top: 34%; font-size: 1.35rem; z-index: 2; }
.screen-top { position: absolute; top: 48px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; z-index: 2; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), #ff9bd2); border: 2px solid #fff; }
.who { display: grid; line-height: 1.2; font-size: .9rem; }
.who small { color: rgba(255, 255, 255, .7); font-size: .75rem; }
.plat { width: 22px; height: 22px; margin-left: auto; color: #fff; }
.screen-bottom { position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 2; display: grid; gap: 10px; }
.views-pill { justify-self: start; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.progress { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Timeline: the hero's one orchestrated moment */
.timeline {
  grid-column: 1 / -1; margin-top: 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 40px; align-items: end;
  padding: 20px 24px 22px; border: 1px solid var(--line); border-radius: 22px;
  background: var(--plum-900);
}
.tl-ruler, .tl-tracks { grid-column: 1; }
.tl-ruler { display: flex; justify-content: space-between; padding-left: 36px; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.tl-tracks { position: relative; display: grid; gap: 6px; }
.tl-track { position: relative; height: 26px; display: flex; align-items: center; padding-left: 36px; }
.tl-track::before { content: ""; position: absolute; left: 36px; right: 0; top: 50%; height: 1px; background: var(--line); }
.tl-plat { position: absolute; left: 0; width: 18px; height: 18px; color: var(--muted); }
.seg {
  position: absolute; top: 3px; bottom: 3px;
  left: calc(36px + (100% - 36px) * var(--s) / 100); width: calc((100% - 36px) * var(--w) / 100);
  border-radius: 6px; background: linear-gradient(90deg, var(--violet-deep), var(--violet));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.tl-track:nth-child(even) .seg { background: linear-gradient(90deg, #463478, #8a6be8); }
.tl-playhead {
  position: absolute; top: -26px; bottom: -4px; width: 2px; background: var(--lilac);
  left: calc(36px + (100% - 36px) * var(--t, 0));
  box-shadow: 0 0 14px rgba(231, 220, 255, .7);
}
.tl-knob { position: absolute; top: 0; left: 50%; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: var(--lilac); border-radius: 2px; }
.tl-readout { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 32px; margin: 0; }
.tl-readout dt { color: var(--muted); font-size: .85rem; }
.tl-readout dd {
  margin: 2px 0 0; font-family: var(--display); font-weight: 750; font-size: var(--step-3);
  line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; min-width: 6.2ch;
}
.tl-readout .money { color: var(--violet); }

/* Facts strip */
.facts-strip { max-width: var(--max); margin: 56px auto 0; padding: 0 var(--gutter); }
.facts-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts-strip li { display: grid; gap: 4px; padding: 22px 24px; }
.facts-strip li + li { border-left: 1px solid var(--line); }
.facts-strip b { font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.facts-strip span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* Journeys: sticky intro + numbered timeline of steps */
.journey {
  max-width: var(--max); margin: 0 auto; padding: clamp(96px, 11vw, 150px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start;
}
.journey-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; justify-items: start; }
.journey-intro h2 { font-size: var(--step-3); max-width: 15ch; text-wrap: balance; }
.journey-intro > p { color: var(--muted); max-width: 42ch; font-size: 1.05rem; }
.section-tag { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.intro-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.steps { position: relative; display: grid; gap: 64px; }
.steps::before { content: ""; position: absolute; left: 22px; top: 48px; bottom: 0; width: 1px; background: linear-gradient(var(--line), transparent); }
.step { position: relative; padding-left: 76px; display: grid; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.step > p { color: var(--muted); max-width: 54ch; font-size: 1.05rem; }
.step h3 { font-size: var(--step-2); }
.step-num {
  position: absolute; left: 0; top: -8px; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--plum-900); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 750; font-size: 1.15rem; color: var(--text);
}
.mock { margin-top: 8px; }
.mock-note { color: var(--muted); font-size: .82rem; }

/* Mock: campaign cards */
.camps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.camp { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 16px; background: var(--plum-900); border: 1px solid var(--line); }
.camp header { display: flex; gap: 12px; align-items: center; }
.camp h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.camp-art { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .9rem; color: #fff; }
.art-a { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.art-b { background: linear-gradient(135deg, #f59e0b, #b45309); }
.meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: var(--muted); font-size: .85rem; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--live); font-weight: 600; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rate { color: var(--muted); }
.rate b { font-family: var(--display); font-size: 1.5rem; font-weight: 750; color: var(--text); letter-spacing: -0.02em; margin-right: 4px; }
.plats { display: flex; gap: 6px; }
.plats li { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--plum-800); }
.plats svg { width: 15px; height: 15px; color: var(--text); }

/* Mock: connected accounts */
.accounts { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--plum-900); max-width: 520px; }
.accounts li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-weight: 600; }
.accounts li + li { border-top: 1px solid var(--line); }
.accounts li > svg { width: 18px; height: 18px; flex: none; }
.tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.tag svg { width: 14px; height: 14px; }
.tag-ok { color: var(--live); border-color: rgba(123, 224, 176, .35); background: rgba(123, 224, 176, .06); }
.tag-wait { color: #ffd78a; border-color: rgba(255, 199, 92, .35); background: rgba(255, 199, 92, .06); }

/* Mock: payout picker */
.payout-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--plum-900); }
.pick { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink); }
.pick span { color: var(--muted); font-size: .85rem; }
.pick.is-on { border-color: var(--text); background: var(--plum-800); }
.pick svg { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; color: var(--text); }

/* Mock: tracked clip tiles */
.clip-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; aspect-ratio: 9 / 15; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.t1::before { background: radial-gradient(70% 50% at 40% 35%, rgba(255, 170, 120, .45), transparent 70%), linear-gradient(170deg, #33203a, #120b18); }
.t2::before { background: radial-gradient(60% 50% at 60% 40%, rgba(80, 220, 255, .38), transparent 70%), linear-gradient(200deg, #16243f, #0c0918); }
.t3::before { background: radial-gradient(60% 45% at 50% 35%, rgba(255, 196, 240, .45), transparent 70%), linear-gradient(180deg, #2a1748, #120a1f); }
.t4::before { background: radial-gradient(60% 50% at 50% 40%, rgba(160, 124, 255, .45), transparent 70%), linear-gradient(190deg, #1d1830, #0c0a14); }
.tile-tag { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .68rem; font-weight: 700; }
.tile svg { width: 18px; height: 18px; color: #fff; }
.tile b { font-family: var(--display); font-size: 1.1rem; font-weight: 750; }

/* Mock: campaign spec, status, budget */
.spec { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--plum-900); max-width: 520px; margin-bottom: 0; }
.spec div { padding: 14px 18px; }
.spec div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec div:nth-child(n+3) { border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: .85rem; }
.spec dd { margin: 4px 0 0; font-weight: 600; }
.spec-plats { display: flex; gap: 10px; }
.spec-plats svg { width: 18px; height: 18px; }
.status-flow { display: flex; align-items: center; gap: 12px; }
.flow-arrow { width: 40px; height: 1px; background: var(--line); position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--plum-700); color: var(--muted); }
.badge-live { color: var(--live); background: rgba(123, 224, 176, .1); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-pending { color: #ffd78a; background: rgba(255, 199, 92, .1); }
.budget { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--plum-900); border: 1px solid var(--line); max-width: 460px; }
.budget-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; color: var(--muted); }
.budget-row b { font-family: var(--display); font-size: 1.3rem; font-weight: 750; color: var(--text); white-space: nowrap; }
.budget-bar { height: 8px; border-radius: 8px; background: var(--plum-700); overflow: hidden; }
.budget-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); }

/* Two sides */
.choose-side { max-width: 900px; margin: clamp(110px, 12vw, 170px) auto 0; padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; gap: 20px; }
.choose-side h2 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 90; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
.choose-side .soft { color: var(--muted); }
.choose-side > p { color: var(--muted); font-size: 1.1rem; max-width: 48ch; }
.side-cards { margin-top: 16px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.side-card { display: grid; gap: 8px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--plum-900); transition: border-color .2s, background-color .2s; }
.side-card:hover { border-color: color-mix(in srgb, var(--violet) 55%, var(--line)); background: var(--plum-800); }
.side-label { color: var(--muted); font-size: .9rem; font-weight: 600; }
.side-card b { font-family: var(--display); font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; }
.side-card > span:last-child { color: var(--muted); }

/* FAQ */
.faq { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 12vw, 170px) var(--gutter) 0; }
.faq > h2 { font-size: var(--step-3); }
.faq-cols { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; }
.faq-cols h3 { font-size: var(--step-1); color: var(--muted); font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.faq-cols > div { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s, margin-top .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }
.faq details a { color: var(--text); text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 3px; }

/* Contact band */
.contact-band {
  width: calc(min(100%, var(--max)) - 2 * var(--gutter)); margin: clamp(100px, 11vw, 150px) auto 0; padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--plum-900);
}
.contact-band h2 { font-size: var(--step-2); }
.contact-band p { color: var(--muted); margin-top: 6px; max-width: 52ch; }

/* Footer */
.footer { max-width: var(--max); margin: 110px auto 0; padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line-soft); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols p { font-weight: 600; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--text); }
.copy { margin-top: 40px; color: var(--muted); font-size: .9rem; }

/* Login page (also used by welcome) */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-page::before {
  content: ""; position: fixed; inset: -20% -20% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 69, 230, .14), transparent 70%);
  pointer-events: none;
}
.auth-header { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 32px var(--gutter) 96px; }
.auth-card { width: 100%; max-width: 440px; display: grid; gap: 20px; padding: clamp(24px, 5vw, 40px); border-radius: 24px; background: var(--plum-900); border: 1px solid var(--line); }
.auth-card h1 { font-size: var(--step-2); font-weight: 800; text-wrap: balance; }
.auth-sub { color: var(--muted); }
/* color-scheme: light stops Google's button iframe painting a white box on the dark page */
.google-slot { min-height: 44px; display: flex; justify-content: center; color-scheme: light; }
.auth-status { padding: 12px 14px; border-radius: 12px; background: var(--plum-800); color: var(--text); font-size: .95rem; }
.auth-status.is-error { background: rgba(255, 107, 129, .1); color: #ffb3bf; }
.auth-fine { color: var(--muted); font-size: .85rem; padding-top: 16px; border-top: 1px solid var(--line); }

/* Tablet */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .stage { height: 500px; max-width: 560px; width: 100%; justify-self: center; }
  .phone-front { width: 245px; height: 490px; }
  .phone-back { width: 200px; height: 400px; }
  .journey { grid-template-columns: 1fr; }
  .journey-intro { position: static; }
  .facts-strip ul { grid-template-columns: 1fr 1fr; }
  .facts-strip li:nth-child(3) { border-left: 0; }
  .facts-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Mobile nav: full-screen panel with accordion sections */
@media (max-width: 900px) {
  .nav { gap: 16px; justify-content: space-between; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, background-color .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 40; display: none;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 8px var(--gutter) 32px; background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.15rem; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .drop { position: static; display: none; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .drop.open { display: block; }
  .drop > * { background: none; border: 0; box-shadow: none; }
  .drop-grid { width: auto; grid-template-columns: 1fr; padding: 0; }
  .drop-item { padding: 10px 4px; }
  .drop-foot { padding: 8px 4px 0; }
  .drop-list { width: auto; padding: 0; }
  .drop-list a { padding: 12px 4px; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .nav-link { justify-content: center; border: 1px solid var(--line); }
  .nav-actions .btn { min-height: 48px; }
}

@media (max-width: 640px) {
  .hero h1 { margin-top: 20px; }
  .lede { font-size: 1.05rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .stage { height: 420px; }
  .phone-front { width: 205px; height: 410px; top: 4px; }
  .phone-back { width: 160px; height: 320px; top: 56px; }
  .phone-left { left: -4%; }
  .phone-right { right: -4%; }
  .caption-big { font-size: 1.1rem; }
  .timeline { grid-template-columns: 1fr; padding: 16px; }
  .tl-readout { grid-column: 1; grid-row: auto; margin-top: 20px; justify-content: space-between; gap: 16px; }
  .tl-ruler span:nth-child(even) { visibility: hidden; }
  .facts-strip ul { grid-template-columns: 1fr; }
  .facts-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .camps, .payout-pick, .side-cards, .faq-cols { grid-template-columns: 1fr; }
  .clip-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { left: 18px; }
  .step { padding-left: 56px; }
  .step-num { width: 38px; height: 38px; border-radius: 11px; font-size: 1rem; top: -4px; }
  .spec { grid-template-columns: 1fr; }
  .spec div:nth-child(odd) { border-right: 0; }
  .spec div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .contact-band { padding: 24px; }
  .intro-ctas .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
