/* Rovee website. Dark dashboard at night, warm amber like a lit dial, calm green for "safe". */
:root {
  --bg: #090c13;
  --bg-2: #0f1420;
  --card: #141a28;
  --card-2: #1a2132;
  --line: #252e44;
  --line-2: #34405c;
  --text: #f1f3f9;
  --muted: #9ea8c2;
  --dim: #6f7a96;
  --amber: #ffb547;
  --amber-2: #ff8a3d;
  --green: #5ad68f;
  --red: #ff5a4e;
  --sky: #78b8ff;
  --radius: 22px;
  --max: 1160px;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: var(--amber); }
a:hover { color: #ffd08a; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .round { font-family: var(--round); }
h1, h2 { letter-spacing: -0.025em; line-height: 1.04; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 12, 19, 0.78);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 22px/1 var(--round); letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
nav.links .btn, nav.links .btn:hover { padding: 9px 16px; font-size: 14px; color: #1d1205; }
@media (max-width: 760px) { nav.links a.opt { display: none; } }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #ffc45f, var(--amber));
  color: #1d1205; font-weight: 750; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 168, 60, 0.25), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #1d1205; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 168, 60, 0.35), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: rgba(255,255,255,0.04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.btn svg { width: 20px; height: 20px; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: #2a2214; border-color: var(--amber); color: #ffe2b0; }
.chip .ico { font-size: 17px; line-height: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(255, 181, 71, 0.16), transparent 70%),
    radial-gradient(500px 360px at 12% 10%, rgba(120, 184, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: .9fr 1.15fr; gap: 48px; align-items: center; }
.hero .hero-title { font-size: clamp(42px, 5.6vw, 68px); font-weight: 850; margin: 0 0 18px; letter-spacing: -0.025em; line-height: 1.04; }
.hl { background: linear-gradient(90deg, var(--amber), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2.1vw, 21px); color: #cfd6e6; max-width: 34ch; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.platforms li { display: inline-flex; align-items: center; gap: 6px; }
.platforms li::before { content: "✓"; color: var(--green); font-weight: 800; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 32px; }
  /* Phones: the playable dashboard goes right under the headline. */
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero .hero-title { order: 2; font-size: clamp(38px, 10vw, 56px); }
  .hero .dash { order: 3; margin: 6px 0 28px; }
  .hero p.lead { order: 4; }
  .hero .cta-row { order: 5; }
  .hero .platforms { order: 6; }
  .hero .eyebrow { justify-self: start; }
}

/* ---------- Playable dashboard ---------- */
.dash {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #1a2236 0%, #0d111b 62%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  user-select: none; -webkit-user-select: none;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.dash-tag { font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dash-tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.unit-toggle { display: inline-flex; background: #0a0e17; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.unit-toggle button { border: 0; background: none; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.unit-toggle button[aria-pressed="true"] { background: var(--card-2); color: var(--text); }

.dash-stage { position: relative; display: grid; grid-template-columns: 1fr 29%; gap: 6px; align-items: end; }
.gauge-box { position: relative; }
.gauge { width: 100%; height: auto; display: block; overflow: visible; }
.gauge .tick { stroke: #c9d1e4; stroke-linecap: round; }
.gauge .tick.minor { stroke: #4d5875; }
.gauge .num { fill: #aab3ca; font: 700 15px var(--round); text-anchor: middle; dominant-baseline: middle; }
.gauge .speed { fill: #fff; font: 850 74px var(--round); text-anchor: middle; letter-spacing: -3px; transition: fill .3s; }
.gauge .unit { fill: var(--muted); font: 700 16px var(--round); text-anchor: middle; }
.gauge .speed.over { fill: var(--red); }

.sign {
  position: absolute; left: 44.5%; top: 66%; width: 11%;
  cursor: pointer; border: 0; padding: 0; background: none; display: block;
  transition: transform .2s;
}
.sign:hover { transform: scale(1.06) rotate(-3deg); }
.sign:active { transform: scale(.96); }
.sign svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.sign.flash svg { animation: flash .5s 3; }
@keyframes flash { 50% { filter: drop-shadow(0 0 14px var(--red)); } }

.side { position: relative; display: flex; flex-direction: column; align-items: stretch; }
.buddy-spot { position: relative; width: 100%; aspect-ratio: .86; cursor: pointer; margin-top: -16%; z-index: 1; }
.buddy-spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.buddy-spot img.shake { animation: shake .18s infinite; }
@keyframes shake { 25% { transform: translateX(-2px) rotate(-1deg); } 75% { transform: translateX(2px) rotate(1deg); } }
.bubble {
  position: relative; z-index: 3; align-self: flex-end; max-width: 100%;
  background: #fff; color: #17120b; font: 700 13px/1.3 var(--round);
  padding: 9px 12px; border-radius: 16px 16px 4px 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transform-origin: bottom right;
}
.bubble.pop { animation: pop .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.bubble.warn { background: #ffe1dc; }
.bubble.good { background: #ddf7e6; }

.dash-stats { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.stat { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-width: 0; }
.stat .k { font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: flex; justify-content: space-between; gap: 6px; }
.stat .v { font: 800 22px/1.25 var(--round); font-variant-numeric: tabular-nums; }
.pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 7px; }
.pips i { height: 8px; border-radius: 3px; background: #262f45; position: relative; overflow: hidden; }
.pips i b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green), #9cf0bd); transform-origin: left; transform: scaleX(0); }
.lvl { color: var(--amber); }

.pedals { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 12px; }
.pedal {
  border: 0; cursor: pointer; border-radius: 16px; padding: 14px 12px; font: 800 16px/1 var(--round);
  display: flex; align-items: center; justify-content: center; gap: 10px; touch-action: none;
  transition: transform .08s, box-shadow .08s;
}
.pedal kbd { font: 700 11px/1 var(--sans); padding: 4px 6px; border-radius: 6px; background: rgba(0,0,0,.18); }
.pedal.brake { background: #222a3d; color: #dfe5f3; box-shadow: inset 0 -4px 0 #151a27; }
.pedal.gas { background: linear-gradient(180deg, #ffc45f, var(--amber)); color: #2a1804; box-shadow: inset 0 -4px 0 #c97d20; }
.pedal.down { transform: translateY(3px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.3); }
.dash-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.dash-foot button { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; padding: 0; }

@media (max-width: 520px) {
  .dash { padding: 14px 12px 12px; border-radius: 22px; }
  .dash-stage { grid-template-columns: 1fr 31%; }
  .bubble { font-size: 11px; padding: 6px 8px; border-radius: 12px 12px 3px 12px; }
  .stat .v { font-size: 18px; }
  .pedal kbd { display: none; }
  .hide-sm { display: none; }
}

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.confetti i { position: absolute; top: -10px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(520px) rotate(540deg); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font: 800 20px/1 var(--round); color: #cdd4e4; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: 14px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
section h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 850; margin: 0 0 14px; }
section p.sub { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 58ch; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (max-width: 640px) { section { padding: 68px 0; } section p.sub { font-size: 17px; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; background: rgba(255,181,71,.12); }

/* ---------- Dial switcher ---------- */
.dials-view {
  position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  background: #000; aspect-ratio: 8 / 3; box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.dials-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.dials-view img.on { opacity: 1; }
.dial-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.screen-sizes { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; color: var(--dim); font-size: 14px; }

/* ---------- Buddy customizer ---------- */
.studio-sec { overflow: hidden; }
.studio-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 420px at 28% 40%, rgba(120, 184, 255, 0.12), transparent 70%),
    radial-gradient(520px 380px at 80% 20%, rgba(255, 181, 71, 0.13), transparent 70%);
  pointer-events: none;
}
.studio-sec .wrap { position: relative; }
.studio-sec p.lead { font-size: clamp(18px, 2vw, 20px); color: #cfd6e6; max-width: 40ch; margin: 0 0 8px; }
@media (min-width: 901px) {
  .studio-sec .studio { align-items: start; }
  .studio-sec .stage { position: sticky; top: 88px; }
}

.studio { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 900px) {
  .studio { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .studio .controls { display: contents; }
  .studio-intro { order: 1; }
  .studio .stage { order: 2; position: sticky; top: 72px; z-index: 5; aspect-ratio: 1 / .78; margin-bottom: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
  .studio .controls > :not(.studio-intro) { order: 3; }
  .studio .stage-tools .icon-btn { width: 40px; height: 40px; }
}
.stage {
  position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1 / 1;
  background:
    radial-gradient(60% 45% at 50% 82%, rgba(0,0,0,.45), transparent 70%),
    radial-gradient(90% 80% at 50% 20%, #26324d 0%, #121827 60%, #0c1019 100%);
  border: 1px solid var(--line);
  cursor: grab; touch-action: pan-y;
}
.stage.dragging { cursor: grabbing; }
.stage::after { /* floor */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 9%; height: 8%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); pointer-events: none;
}
.spinner-frame {
  position: absolute; left: 50%; bottom: 7%; height: 86%; aspect-ratio: 378 / 440; transform: translateX(-50%);
  background-repeat: no-repeat; background-size: 600% 400%; z-index: 1;
}
.spinner-frame.loading { opacity: .45; filter: blur(2px); transition: opacity .2s, filter .2s; }
.stage-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  background: rgba(10,14,22,.72); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: #cfd6e6; display: flex; gap: 8px; align-items: center; white-space: nowrap;
  transition: opacity .4s;
}
.stage-hint.gone { opacity: 0; }
.nametag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: #6b4527; color: #f6e6cc; border-radius: 10px; padding: 8px 14px;
  font: 800 18px/1 var(--round); letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px #8a5a33, inset 0 0 0 4px #6b4527, inset 0 0 0 5px rgba(246,230,204,.5), 0 8px 20px rgba(0,0,0,.35);
  transform: rotate(-4deg);
}
.stage-tools { position: absolute; top: 16px; right: 16px; z-index: 2; display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,14,22,.7);
  display: grid; place-items: center; cursor: pointer; font-size: 20px; transition: transform .15s;
}
.icon-btn:hover { transform: scale(1.08); }
.hearts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hearts span { position: absolute; bottom: 45%; font-size: 26px; animation: floatUp 1.4s ease-out forwards; }
@keyframes floatUp { to { transform: translateY(-160px) scale(1.4); opacity: 0; } }
.spinner-frame.wiggle { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: translateX(-50%) scale(1.06, .92); } 60% { transform: translateX(-50%) scale(.96, 1.05); } }

.controls h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); margin: 26px 0 12px; }
.controls h3:first-child { margin-top: 0; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; background: #0b0f18; border: 1px solid var(--line); border-radius: 16px; padding: 4px; width: 100%; max-width: 420px; }
.seg button { border: 0; background: none; border-radius: 12px; padding: 12px; cursor: pointer; text-align: left; color: var(--muted); }
.seg button b { display: block; color: var(--text); font: 800 17px/1.2 var(--round); }
.seg button small { font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch {
  width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer; position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 4px 12px rgba(0,0,0,.3);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 5px);
  transition: transform .15s;
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--amber); }
.swatch-name { color: var(--muted); font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.outfits { display: flex; flex-wrap: wrap; gap: 8px; }
.wearing { margin-top: 14px; color: var(--muted); font-size: 14.5px; min-height: 2.9em; }
.name-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.name-row input {
  background: #0b0f18; border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: 11px 14px; font: 700 16px var(--round); width: 190px;
}
.name-row input:focus { outline: none; border-color: var(--amber); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 0; overflow: hidden; display: flex; flex-direction: column; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; right: 22px; font: 900 64px/1 var(--round); color: rgba(255,255,255,.05); }
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); }
.step img { width: 64%; margin: 18px auto 0; max-width: 220px; }

/* ---------- Moods ---------- */
.moods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 900px) { .moods { grid-template-columns: repeat(3, 1fr); } }
.mood { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 14px; text-align: center; transition: transform .2s; }
.mood:hover { transform: translateY(-4px) rotate(-1.5deg); }
.mood:nth-child(even):hover { transform: translateY(-4px) rotate(1.5deg); }
.mood img { width: 100%; aspect-ratio: .86; object-fit: contain; }
.mood b { display: block; font: 800 15px/1.2 var(--round); margin-top: 6px; }
.mood small { color: var(--muted); font-size: 13px; }

/* ---------- Screenshots rail ---------- */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.rail img { flex: none; width: 230px; border-radius: 26px; border: 1px solid var(--line); scroll-snap-align: start; }

/* ---------- Promise / privacy ---------- */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.promise .card { background: transparent; }
.promise .card .ico { background: rgba(90,214,143,.12); }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 110px 0 120px; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 320px at 50% 60%, rgba(255,181,71,.16), transparent 70%); pointer-events: none; }
.final img { width: 220px; margin: 0 auto 10px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .final img { animation: none; } }

/* ---------- FAQ ---------- */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--amber); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p, details ul { margin: 10px 0 0; color: #cfd5e3; }

/* ---------- Documents (legal pages) ---------- */
.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(36px, 5vw, 50px); font-weight: 850; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { color: #d3d8e5; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); font-weight: 650; }
.doc td { color: #c9cfdd; }
.table-scroll { overflow-x: auto; }
.tldr { background: linear-gradient(180deg, #17212f, #121a26); border: 1px solid #27405a; border-radius: 18px; padding: 18px 22px; margin: 0 0 28px; }
.tldr p { margin: 0; }
.tldr ul { margin: 8px 0 0; }
.callout { background: #24170b; border: 1px solid #5a3a14; border-radius: 18px; padding: 18px 22px; margin: 22px 0; }
.callout p { margin: 0; color: #f3dcb8; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--text); border-color: var(--line-2); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.contact-cards .card { padding: 20px; }
.contact-cards .card p { font-size: 15px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; background: #070a10; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
footer.site h4 { margin: 0 0 12px; color: var(--text); font: 800 15px var(--round); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site .fine { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); line-height: 1.6; }
footer.site .fine a { text-decoration: underline; }
