/* CycleTron — "Night Ride" web design system. Colours match the app's tokens (HomeTheme.swift). */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Encode Sans Expanded"; src: url("../fonts/EncodeSansExpanded-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Encode Sans Expanded"; src: url("../fonts/EncodeSansExpanded-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Encode Sans Expanded"; src: url("../fonts/EncodeSansExpanded-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #06080b; --ink-2: #0a0e13; --surface: #0e1318; --raised: #161d24; --line: #1c252e; --track: #26313c;
  --text: #f4f7fa; --muted: #9aa7b4; --cobalt: #2e5bff; --cobalt-bright: #8fb0ff; --selected: #0f1a41;
  --volt: #d7ff3a; --gold: #d8aa54; --mint: #3cc8a0; --mint-text: #7fe3c4; --stop: #ff5a4e;
  --z1: #5aa9e6; --z2: #3cc8a0; --z3: #f2c14e; --z4: #ff8a4c; --z5: #ff4d6d;
  --display: "Encode Sans Expanded", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px; --gutter: clamp(16px, 4vw, 48px); --max: 1240px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--cobalt-bright); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Type */
.kicker { font: 700 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--cobalt-bright); }
.kicker.volt { color: var(--volt); }
.display { font-family: var(--display); font-weight: 900; letter-spacing: -.025em; line-height: .95; margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(34px, 5.4vw, 72px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #c9d2db; max-width: 60ch; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, #fff 10%, var(--cobalt-bright) 55%, var(--volt) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 16px/1 var(--body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 40px -10px rgba(46,91,255,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(46,91,255,.95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { color: var(--text); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.09); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 14px/1.2 var(--body);
  background: rgba(46,91,255,.14); color: var(--cobalt-bright); border: 1px solid rgba(143,176,255,.18); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip.ok { background: rgba(34,105,79,.35); color: var(--mint-text); border-color: rgba(127,227,196,.2); }
.chip.volt { background: rgba(215,255,58,.12); color: var(--volt); border-color: rgba(215,255,58,.22); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,8,11,.72); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border-bottom-color: rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 900 16px/1 var(--display); letter-spacing: .16em; }
.brand:hover { color: #fff; }
.mark { width: 34px; height: 34px; background: var(--cobalt-bright); -webkit-mask: url("../img/mark.png") center/contain no-repeat; mask: url("../img/mark.png") center/contain no-repeat; flex: none; }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: #c9d2db; text-decoration: none; font: 600 15px/1 var(--body); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--text); font-size: 20px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: fixed; inset: 72px 12px auto 12px; flex-direction: column; gap: 4px; padding: 12px; border-radius: 24px; margin: 0;
    background: rgba(14,19,24,.97); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; font-size: 17px; }
  .nav .nav-cta { display: none; }
}

/* Hero + the 15-second commercial */
.hero { padding: 104px 0 40px; position: relative; }
.hero-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.hero-head h1 { font-size: clamp(42px, 6.6vw, 96px); font-weight: 900; line-height: .94; letter-spacing: -.03em; }
.hero-head .lede { margin: 0 0 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 900px) { .hero-head { grid-template-columns: 1fr; } }

.spot { position: relative; border-radius: clamp(16px, 2.4vw, 32px); overflow: hidden; background: #000; aspect-ratio: 16 / 9; container-type: inline-size;
  box-shadow: 0 60px 140px -40px rgba(46,91,255,.45), 0 0 0 1px rgba(255,255,255,.07); isolation: isolate; }
.spot * { will-change: transform, opacity; }
.c-layer { position: absolute; inset: 0; }
.c-bg { background:
  radial-gradient(60cqw 40cqw at 78% 30%, rgba(46,91,255,.32), transparent 60%),
  radial-gradient(50cqw 36cqw at 12% 90%, rgba(215,255,58,.07), transparent 60%),
  linear-gradient(180deg, #05070a, #070b12 60%, #05070a); }
.c-grid { opacity: .5; background-image:
  linear-gradient(rgba(143,176,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,176,255,.07) 1px, transparent 1px);
  background-size: 4cqw 4cqw; -webkit-mask: radial-gradient(70% 80% at 60% 45%, #000 30%, transparent 85%); mask: radial-gradient(70% 80% at 60% 45%, #000 30%, transparent 85%); }
.c-route { position: absolute; left: 47cqw; top: -3cqw; width: 50cqw; height: auto; overflow: visible; }
.c-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.c-route .glow { stroke: var(--cobalt); stroke-width: 14; opacity: .55; filter: blur(9px); }
.c-route .core { stroke: url(#routeGrad); stroke-width: 5; }
.c-route .dot { fill: var(--volt); filter: drop-shadow(0 0 10px var(--volt)); }
.c-text { position: absolute; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 46cqw; }
.c-line { font: 900 6.4cqw/.94 var(--display); letter-spacing: -.03em; margin: 0; text-transform: uppercase; white-space: nowrap; position: absolute; left: 0; top: 0; translate: 0 -50%; }
.c-line small { display: block; font: 600 2cqw/1.25 var(--body); letter-spacing: 0; text-transform: none; color: #c9d2db; margin-top: 1.6cqw; white-space: normal; max-width: 34cqw; }
.c-line em { font-style: normal; color: var(--volt); }
.c-kicker { position: absolute; left: 6cqw; top: 6cqw; font: 800 1.25cqw/1 var(--display); letter-spacing: .32em; color: var(--cobalt-bright); display: flex; align-items: center; gap: 1cqw; }
.c-kicker .mark { width: 2.4cqw; height: 2.4cqw; }
.c-phone { position: absolute; left: 64cqw; top: 6cqw; width: 22.5cqw; aspect-ratio: 1320 / 2868; }
.c-watch { position: absolute; left: 51cqw; top: 25cqw; width: 12.5cqw; }
.c-big { position: absolute; left: 6cqw; top: 59%; font: 900 11cqw/.9 var(--display); letter-spacing: -.04em; color: var(--text); }
.c-big span { font: 700 2.2cqw/1 var(--body); color: var(--muted); margin-left: 1cqw; letter-spacing: 0; }
.c-chips { position: absolute; left: 6cqw; top: 62%; display: flex; flex-direction: column; gap: 1cqw; }
.c-chips .chip { font-size: 1.7cqw; padding: .9cqw 1.6cqw; gap: .9cqw; border-radius: 99cqw; }
.c-chips .chip::before { width: .8cqw; height: .8cqw; }
.c-ring { position: absolute; left: 6cqw; top: 58%; width: 13cqw; height: 13cqw; }
.c-ring circle { fill: none; stroke-width: 9; }
.c-ring .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 900 2.6cqw/1 var(--display); }
.c-ring .val small { display: block; font: 600 1.1cqw/1.3 var(--body); color: var(--muted); }
.c-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.6cqw; }
.c-end .mark { width: 7cqw; height: 7cqw; background: var(--text); }
.c-end .word { font: 900 6.2cqw/1 var(--display); letter-spacing: .14em; margin-right: -.14em; }
.c-end .tag { font: 800 2.2cqw/1 var(--display); color: var(--volt); letter-spacing: .02em; text-transform: uppercase; }
.c-end .soon { font: 600 1.5cqw/1 var(--body); color: #c9d2db; border: 1px solid rgba(255,255,255,.2); padding: 1cqw 2cqw; border-radius: 99cqw; }
.c-flash { background: #fff; mix-blend-mode: overlay; opacity: 0; pointer-events: none; }
.c-vignette { pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55)); }
.c-bars { pointer-events: none; }
.c-bar { position: absolute; left: 0; right: 0; height: 0; background: #000; }
.c-bar.top { top: 0; } .c-bar.bottom { bottom: 0; }
.c-caption { position: absolute; right: 2.2cqw; bottom: 1.8cqw; font: 500 1.05cqw/1 var(--body); color: rgba(255,255,255,.55); letter-spacing: .02em; }
.c-progress { position: absolute; left: 0; bottom: 0; height: .35cqw; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, var(--cobalt), var(--volt)); transform: scaleX(0); }
.spot-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.c-controls { display: flex; gap: 8px; }
.c-controls button { min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(6,8,11,.55);
  color: #fff; font: 600 14px/1 var(--body); cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.c-controls button:hover { background: rgba(46,91,255,.5); }
.spot-note { margin: 0; font-size: 14px; color: var(--muted); }
body.render-mode { background: #000; }
body.render-mode > *:not(main) { display: none !important; }
body.render-mode main > *:not(.film) { display: none !important; }
body.render-mode .film { padding: 0; }
body.render-mode .film .wrap { max-width: none; padding: 0; }
body.render-mode .film .kicker, body.render-mode .film h2, body.render-mode .spot-bar, body.render-mode .grain { display: none !important; }
body.render-mode .spot { border-radius: 0; box-shadow: none; width: 100vw; margin-top: 0; }

/* Hero gallery: App Store screens side by side, first thing on the page */
.gallery { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 1.5vw, 22px); padding: 40px var(--gutter) 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; margin-top: var(--lift, 0px); flex: 0 0 clamp(190px, 17vw, 252px); scroll-snap-align: center; border-radius: clamp(18px, 1.6vw, 26px);
  overflow: hidden; background: #05070a; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -30px rgba(46,91,255,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.gallery figure img { width: 100%; height: auto; aspect-ratio: 570 / 1240; }
.gallery figure:nth-child(1), .gallery figure:nth-child(5) { --lift: 52px; }
.gallery figure:nth-child(2), .gallery figure:nth-child(4) { --lift: 22px; }
.gallery figure:hover { transform: translateY(-12px); box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 90px -20px rgba(46,91,255,.85); }
.g-in { animation: g-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.gallery figure:nth-child(3) { animation-delay: .05s; } .gallery figure:nth-child(2), .gallery figure:nth-child(4) { animation-delay: .18s; }
.gallery figure:nth-child(1), .gallery figure:nth-child(5) { animation-delay: .3s; }
@keyframes g-in { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }
.gallery-note { margin-top: 6px; font-size: 14px; color: var(--muted); text-align: center; }
.film .spot { margin-top: 36px; }
@media (max-width: 900px) {
  .gallery { justify-content: flex-start; padding-inline: 16px; scroll-padding-inline: 16px; }
  .gallery figure { flex-basis: 64vw; --lift: 0px !important; }
}

/* Device frames (generic, drawn in CSS) */
.phone { position: relative; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 15.5% / 7.2%; padding: 3.2%; background:
  linear-gradient(145deg, #2b333d, #0b0e12 40%, #1a2028 75%, #3a434e); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 90px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(46,91,255,.4); }
.phone::before { content: ""; position: absolute; inset: 1.1%; border-radius: 14.6% / 6.8%; background: #000; }
.phone .screen { position: absolute; inset: 3.2%; border-radius: 12.9% / 5.95%; overflow: hidden; background: #06080b; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 4.6%; left: 50%; width: 29%; height: 3.15%; translate: -50% 0; background: #000; border-radius: 99px; z-index: 2; }
.watch { position: relative; width: 100%; aspect-ratio: 205 / 251; border-radius: 30% / 26%; padding: 7%; background: linear-gradient(150deg, #3d464f, #15191e 45%, #2a3139);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 30px 70px -20px rgba(0,0,0,.9); }
.watch .screen { position: absolute; inset: 7%; border-radius: 24% / 20%; overflow: hidden; background: #000; }
.watch .screen img { width: 100%; height: 100%; object-fit: cover; }
.watch::after { content: ""; position: absolute; right: -4.5%; top: 26%; width: 6%; height: 18%; border-radius: 8px; background: linear-gradient(90deg, #555e68, #22282f); }
.watch::before { content: ""; position: absolute; right: -2.6%; top: 52%; width: 3.6%; height: 16%; border-radius: 6px; background: #ff7a1a; opacity: .85; }

/* Sections */
section { position: relative; }
.band { padding: clamp(80px, 12vw, 160px) 0; }
.statement { text-align: center; max-width: 980px; margin: 0 auto; }
.statement h2 { font-size: clamp(36px, 6vw, 84px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.stat { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--ink-2)); border: 1px solid var(--line); text-align: left; }
.stat b { display: block; font: 900 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.stat b i { font-style: normal; color: var(--volt); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 8vw, 110px) 0; }
.feature.flip .feature-media { order: -1; }
.feature-copy h2 { font-size: clamp(32px, 4.6vw, 62px); margin: 16px 0 18px; }
.feature-copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.feature-copy li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #c9d2db; }
.feature-copy li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(46,91,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.feature-copy li b { color: var(--text); font-weight: 600; }
.feature-media { position: relative; display: grid; place-items: center; min-height: 420px; }
.feature-media .phone { width: min(330px, 74vw); }
.feature-media .glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(46,91,255,.35), transparent 65%); filter: blur(10px); z-index: -1; }
.feature-media .glow.volt { background: radial-gradient(circle, rgba(215,255,58,.16), transparent 65%); }
.pair { position: relative; width: min(420px, 90vw); height: 640px; }
.pair .phone { position: absolute; right: 0; top: 0; width: 290px; }
.pair .watch { position: absolute; left: 0; bottom: 30px; width: 190px; z-index: 2; }
.float-chip { position: absolute; z-index: 3; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { min-height: 0; }
  .pair { height: 560px; } .pair .phone { width: 250px; } .pair .watch { width: 160px; }
}

.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tile { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(143,176,255,.35); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--selected); color: var(--cobalt-bright); margin-bottom: 18px; }
.tile h3 { font-size: 21px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.tile .tag { display: inline-block; margin-top: 14px; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .grid-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-6 { grid-template-columns: 1fr; } }

.privacy-band { border-radius: clamp(24px, 4vw, 48px); padding: clamp(40px, 7vw, 96px); background:
  radial-gradient(60% 80% at 100% 0%, rgba(46,91,255,.25), transparent 60%), linear-gradient(180deg, #0b1220, #070a10); border: 1px solid rgba(143,176,255,.15); }
.privacy-band .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.privacy-band .cols div { border-top: 2px solid var(--cobalt); padding-top: 18px; }
.privacy-band .cols b { display: block; font: 800 19px/1.25 var(--display); margin-bottom: 8px; }
.privacy-band .cols p { margin: 0; color: #b8c3ce; font-size: 15.5px; }
@media (max-width: 900px) { .privacy-band .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .privacy-band .cols { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan.premium { background: linear-gradient(160deg, rgba(216,170,84,.14), rgba(14,19,24,1) 45%); border-color: rgba(216,170,84,.35); }
.plan h3 { font-size: 28px; }
.plan .price { margin: 10px 0 22px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { padding-left: 30px; position: relative; color: #c9d2db; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--mint); font-weight: 700; }
.plan.premium li::before { color: var(--gold); }
.plan li b { color: var(--text); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 0; font: 700 19px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 30px/1 var(--body); color: var(--cobalt-bright); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #c0cad4; max-width: 70ch; }

.cta { text-align: center; padding: clamp(90px, 14vw, 180px) 0; }
.cta h2 { font-size: clamp(44px, 8vw, 120px); font-weight: 900; }
.cta .hero-actions { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer a { color: #c0cad4; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer a:hover { color: #fff; }
.footer .legal { grid-column: 1 / -1; font-size: 13px; color: #7d8a97; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Long-form pages: privacy, terms, support */
.doc-hero { padding: 132px 0 40px; background: radial-gradient(70% 120% at 85% 0%, rgba(46,91,255,.22), transparent 60%); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; margin-top: 16px; }
.doc-hero p { color: #c0cad4; max-width: 64ch; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding-top: 32px; padding-bottom: 120px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 15px; }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; color: #b5c0cb; text-decoration: none; min-height: 36px; }
.toc a:hover { background: rgba(255,255,255,.05); color: #fff; }
.doc article { max-width: 72ch; }
.doc article h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 56px 0 16px; scroll-margin-top: 96px; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { font-size: 20px; margin: 28px 0 10px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.doc article p, .doc article li { color: #d0d8e0; }
.doc article ul { padding-left: 22px; }
.doc article li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.doc th { font: 700 13px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc td:first-child { color: var(--text); font-weight: 600; width: 34%; }
.note { padding: 18px 20px; border-radius: 18px; background: var(--selected); border: 1px solid rgba(143,176,255,.25); color: #dbe4ff; margin: 18px 0; }
.note.draft { background: rgba(216,170,84,.1); border-color: rgba(216,170,84,.35); color: #f3dfb4; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } .doc table, .doc tbody, .doc tr, .doc td, .doc th { display: block; } .doc thead { display: none; } .doc td:first-child { width: auto; border-bottom: 0; padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .btn, .gallery figure { transition: none; }
  .g-in { animation: none; }
}
