/* One stylesheet for the whole site: the night route. No external fonts or scripts.
   Fraunces (static/fonts/fraunces, SIL OFL) for headlines, the system sans for the rest. */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces/fraunces-latin-full.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #060a12;
  --surface: #0c1320;
  --surface-2: #131c2d;
  --border: #1f2b3f;      /* decoration only: cards, rules */
  --field: #64738c;       /* form field edges: 3:1 against every surface */
  --text: #f3ede1;
  --text-2: #c3cbd8;
  --muted: #98a5ba;
  --accent: #5ad1ff;      /* the route's cyan: links, focus, the main button */
  --accent-ink: #03101a;
  --core: #dff6ff;        /* the bright core of a glowing line */
  --danger: #ff8a7a;
  --ok: #6fe3a0;
  /* The route's colour through each group of stops (pages/content.py, GROUPS) */
  --travel: #5ad1ff;
  --hunting: #62e3a3;
  --quests: #f6c35c;
  --fighting: #ff8066;
  --supplies: #b69cff;
  --reports: #9be3ff;
  --healing: #ff8fb8;     /* the Features page's groups (pages/features_data.py) add these two */
  --setup: #b9c6d9;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: 32px;
  --lane: 50px;           /* the route's column on the left of the stops */
  --lane-gap: 48px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Nothing may make the page wider than the screen: a phone then shows the whole page smaller, with an empty
   strip beside it (the owner's phone, 2026-11-27: the glow behind a page's head reaches 30vw past both sides).
   The clip must stand on html as well: body's alone is handed to the viewport, and a phone does not let that
   stop the page from growing. "hidden" first for a browser that does not know "clip". */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 17px/1.55 var(--sans); overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--text); margin: 0 0 .5em; line-height: 1.08; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-variation-settings: "SOFT" 60, "opsz" 120; }
h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: .98; }
h1 span { display: block; color: var(--accent); text-shadow: 0 0 34px rgba(90, 209, 255, .5); }
h2 { font-size: clamp(30px, 3.4vw, 50px); }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface-2); color: var(--text); padding: 8px 12px; z-index: 10; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) { :root { --gutter: 16px; } body { font-size: 16px; } }

/* Top bar */
.top { position: relative; z-index: 3; }
.top-inner { display: flex; align-items: center; gap: 34px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font: 600 23px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.logo img { filter: drop-shadow(0 0 8px rgba(90, 209, 255, .55)); }
.mainnav { display: flex; gap: 6px 24px; flex: 1; }
.mainnav a, .account-links a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 15px; padding: 4px 0; }
.mainnav a:hover, .account-links a:not(.btn):hover { color: var(--text); }
.mainnav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.mainnav a:focus-visible { outline-offset: -2px; }
.account-links { display: flex; align-items: center; gap: 20px; }
@media (max-width: 1000px) {
  .top-inner { flex-wrap: wrap; gap: 10px 16px; min-height: 0; padding-top: 14px; padding-bottom: 10px; }
  .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; gap: 20px; padding-bottom: 6px; scrollbar-width: none; }
  .mainnav a { flex: none; }
  .account-links { margin-left: auto; }
}
.label-short { display: none; }
@media (max-width: 480px) {
  .account-links { gap: 14px; }
  .logo { font-size: 20px; gap: 9px; }
  .top .btn-line { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .label-long { display: none; }
  .label-short { display: inline; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font: 650 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 40px -8px rgba(90, 209, 255, .55); transition: background .2s, box-shadow .2s, transform .2s; }
.btn:hover { background: #86defe; text-decoration: none; transform: translateY(-1px); }
.btn-line { min-height: 42px; padding: 0 18px; background: transparent; color: var(--text); font-size: 15px; box-shadow: inset 0 0 0 1px rgba(90, 209, 255, .6); }
.btn-line:hover { background: rgba(90, 209, 255, .12); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--field); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.btn-danger:hover { background: rgba(255, 138, 122, .1); }
.actions { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; }
.quiet { color: var(--text-2); text-decoration: none; border-bottom: 1px solid rgba(195, 203, 216, .35); padding-bottom: 2px; }
.quiet:hover { color: var(--text); border-color: var(--accent); }

/* ---------------------------------------------------------------------------
   Pictures from the app: a focal crop of a published screen (pages/content.py)
   --------------------------------------------------------------------------- */
.crop { position: relative; display: block; overflow: hidden; aspect-ratio: var(--ar); background: #0a0e13; }
.crop > img, .crop > video { position: absolute; max-width: none; width: var(--w); height: auto; left: var(--x); top: var(--y); }
@media (max-width: 700px) {
  .crop { aspect-ratio: var(--par); }
  .crop > img, .crop > video { width: var(--pw); left: var(--px); top: var(--py); }
}
.shot { --c: var(--accent); position: relative; margin: 0; border-radius: var(--radius); background: #0a0e13;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent), 0 40px 90px -34px rgba(0, 0, 0, .95), 0 0 90px -34px color-mix(in srgb, var(--c) 70%, transparent);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.shot .crop { border-radius: var(--radius); }
.shot:hover { transform: translateY(-6px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 50px 100px -34px rgba(0, 0, 0, .95), 0 0 110px -24px color-mix(in srgb, var(--c) 80%, transparent); }
.zoom { cursor: zoom-in; }
.zoom:focus-visible { outline-offset: 4px; }
/* A clip in place of a picture (pages/_shot.html): the whole screen as its poster, a play button over it */
.crop.clip > video { left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; background: #0a0e13; }
.play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 82px; height: 82px; margin: auto; padding: 0; border: 0; border-radius: 50%;
  background: rgba(6, 10, 18, .72); backdrop-filter: blur(6px); cursor: pointer;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 85%, transparent), 0 0 46px color-mix(in srgb, var(--c) 65%, transparent); transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s; }
.play:hover { transform: scale(1.07); background: rgba(6, 10, 18, .86); }
.play span { width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--core); filter: drop-shadow(0 0 6px var(--c)); }
.play.mini { inset: auto 12px 12px auto; width: 40px; height: 40px; }
.play.mini span { margin-left: 3px; border-width: 8px 0 8px 13px; }
.play.mini.is-playing span { width: 12px; height: 14px; margin: 0; border: 0; border-left: 4px solid var(--core); border-right: 4px solid var(--core); }
/* A looping clip is its own button: a press pauses and plays it (static/js/site.js). On a phone the small
   button is in the way of the picture, so it is not shown there (the owner, 2026-11-27). */
.crop.clip > video[data-clip="ambient"] { cursor: pointer; }
@media (hover: none) and (pointer: coarse), (max-width: 700px) { .play.mini { display: none; } }
/* The app on a phone: a dark bezel round the screen */
.shot-phone { padding: 5px; border-radius: 26px; background: #03060b; }
.shot-phone .crop { border-radius: 21px; }

/* Hero */
.hero { position: relative; padding: 56px 0 0; }
.hero::before { content: ""; position: absolute; inset: 320px 0 auto; height: 960px; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--glow-c, var(--accent)) 14%, transparent), transparent 70%); transition: background .6s; }
.hero-head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(54px, 7.4vw, 116px); line-height: .93; letter-spacing: -.035em; margin: 0; font-variation-settings: "SOFT" 60, "opsz" 144; }
.hero-sub { margin: 0 0 26px; font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 26em; }
.stage { --stage: min(1400px, 100vw - 2 * var(--gutter)); position: relative; width: var(--stage); margin: 60px 0 0 calc((100% - var(--stage)) / 2); }
.tabs { display: flex; gap: 6px; margin: 0 auto 20px; padding: 5px; width: max-content; max-width: 100%; border-radius: 999px;
  background: rgba(19, 28, 45, .78); box-shadow: inset 0 0 0 1px var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 17px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 14.5px/1 var(--sans); cursor: pointer; }
.tabs button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); opacity: .55; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent), 0 0 18px -4px var(--c); }
.tabs button[aria-selected="true"]::before { opacity: 1; }
.tabs button:hover { color: var(--text); }
.screen-wrap { perspective: 2400px; }
.screen { --c: var(--glow-c, var(--accent)); position: relative; aspect-ratio: 2.12; padding: 10px; border-radius: 24px;
  background: linear-gradient(180deg, #1b2639, #0b111c 60%);
  transform: rotateX(8deg) translateY(var(--drift, 0px)); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s;
  box-shadow: 0 0 0 1px rgba(170, 225, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 60px 140px -40px rgba(0, 0, 0, .95),
    0 0 140px -30px color-mix(in srgb, var(--c) 55%, transparent); }
.screen:hover { transform: rotateX(3deg) translateY(calc(var(--drift, 0px) - 8px)); }
.screen-view { position: absolute; inset: 10px; }
.screen-view .crop { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 15px; }
.screen-view .crop > img { position: static; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; }

/* The route: a glowing line down the page through numbered stops */
.route { position: relative; padding: 46px 0 20px; }
.route-start { position: relative; display: grid; grid-template-columns: var(--lane); height: 60px; }
.route-start::before { content: ""; position: absolute; left: calc(var(--lane) / 2 - 11px); top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--core);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--travel), 0 0 30px var(--travel); z-index: 1; }
.line, .route-start::after, .end::before { content: ""; position: absolute; left: calc(var(--lane) / 2 - 2px); width: 4px;
  background: linear-gradient(90deg, transparent 1.25px, rgba(240, 250, 255, .8) 1.25px 2.75px, transparent 2.75px), linear-gradient(var(--cb, var(--c)), var(--c) 160px);
  box-shadow: 0 0 16px 1px color-mix(in srgb, var(--c) 55%, transparent); }
.route-start::after { --c: var(--travel); top: 11px; bottom: 0; }
.stop { --c: var(--accent); position: relative; display: grid; grid-template-columns: var(--lane) minmax(0, 1fr); column-gap: var(--lane-gap); padding: 78px 0; }
.stop > .line { top: 0; bottom: 0; }
.wp { position: relative; z-index: 1; align-self: start; display: grid; place-items: center; width: var(--lane); height: var(--lane); margin-top: 2px; border-radius: 50%;
  background: var(--bg); color: var(--text); font: 600 22px/1 var(--display); box-shadow: 0 0 0 2px var(--c), 0 0 0 7px var(--bg), 0 0 34px color-mix(in srgb, var(--c) 70%, transparent); }
.body { min-width: 0; }
.copy h2, .copy h3 { margin: 0 0 14px; }
.copy h3 { font: 600 clamp(26px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 60, "opsz" 96; }
.copy p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 24em; }
.group { margin: 0 0 12px; color: var(--c); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* A home stop: its title and sentence side by side, its clip under them at full width */
.stop-wide .copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 56px; align-items: end; margin-bottom: 36px; }
.stop-wide .copy .group { grid-column: 1 / -1; margin: 0; }
.stop-wide .copy h2 { margin: 0; }
.end { position: relative; display: grid; grid-template-columns: var(--lane) minmax(0, 1fr); column-gap: var(--lane-gap); align-items: start; padding: 20px 0 10px; }
.end::before { --c: var(--reports); top: 0; height: 46px; }
.end .wp { width: 22px; height: 22px; margin: 15px 0 0 14px; align-self: start; background: var(--core); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--c), 0 0 30px var(--c); --c: var(--reports); }
.end-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.fine { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* Reveal on scroll (only with motion allowed; set by static/js/site.js) */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Lightbox: the whole screen */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; color: var(--text); }
.lightbox::backdrop { background: rgba(3, 6, 12, .88); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: auto; height: auto; max-width: 96vw; max-height: calc(96vh - 56px); border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(170, 225, 255, .25), 0 30px 120px -20px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(90, 209, 255, .6); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 12px; font-size: 15px; color: var(--text-2); }
.lightbox-bar button { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--text); font: 600 15px/1 var(--sans);
  cursor: pointer; box-shadow: inset 0 0 0 1px var(--field); }
.lightbox-bar button:hover { background: var(--border); }

/* Phone and narrow screens */
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-sub { font-size: 18px; margin-bottom: 20px; }
  .stage { margin-top: 36px; }
  .tabs { margin-left: 0; }
  .screen { transform: none; padding: 6px; border-radius: 18px; }
  .screen:hover { transform: none; }
  .screen-view { inset: 6px; }
  .stop-wide .copy { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; }
}
@media (max-width: 700px) {
  :root { --lane: 44px; --lane-gap: 16px; }
  .screen { aspect-ratio: auto; }
  .screen-view { position: relative; inset: auto; }
  .screen-view[hidden] { display: none; }
  .screen-view .crop { position: relative; inset: auto; aspect-ratio: var(--par); border-radius: 13px; }
  .screen-view .crop > img { position: absolute; width: var(--pw); height: auto; left: var(--px); top: var(--py); object-fit: fill; }
  .route { padding-top: 28px; }
  .stop { padding: 52px 0; row-gap: 22px; }
  .stop .body { display: contents; }
  .stop .copy { grid-column: 2; }
  .stop .shots { grid-column: 1 / -1; position: relative; z-index: 1; }
  .wp { font-size: 19px; }
  .copy p { font-size: 17px; }
  .copy h2 { font-size: 32px; }
  .end { column-gap: 16px; }
  .end .wp { margin-left: 11px; }
}

/* Features: every feature in one list (pages/features_data.py): a sticky group index beside the groups (a chip
   row over them on narrow screens), each group's highlights larger, every other feature one row */
.legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.legend > span + span { white-space: nowrap; }
.legend .mark { margin: 0 6px 0 0; }
.mark { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 999px; font: 700 11px/1 var(--sans); letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap; vertical-align: .2em; }
.mark-partial { color: var(--quests); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--quests) 55%, transparent); }
.features { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 44px; }
.findex { position: sticky; top: 24px; }
.findex ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.findex a { --c: var(--accent); position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0 8px 20px;
  color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.3; }
.findex a::before { content: ""; position: absolute; left: -4px; top: calc(50% - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .4; }
.findex a:hover, .findex a[aria-current="true"] { color: var(--text); }
.findex a[aria-current="true"]::before { opacity: 1; box-shadow: 0 0 0 3px var(--bg), 0 0 12px var(--c); }
.findex .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fgroup { padding: 0 0 72px; scroll-margin-top: 24px; }
.group-title { display: flex; align-items: center; gap: 18px; margin: 0 0 34px; color: var(--text); font-size: clamp(28px, 2.7vw, 40px); }
.group-title::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--core); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c), 0 0 22px var(--c); }
.group-title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--c), transparent); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.fcopy h3, .fcard h3 { margin: 0 0 12px; color: var(--text); font: 600 clamp(24px, 2.2vw, 32px)/1.08 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 60, "opsz" 96; }
.fcopy p, .fcard p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.fshot { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 44px; align-items: center; margin: 0 0 48px; }
.fshot:nth-of-type(2n) { grid-template-columns: minmax(0, 1fr) minmax(0, 290px); }
.fshot:nth-of-type(2n) .fcopy { order: 2; }
.fshot .shot { max-width: var(--max, none); margin: 0 auto; }
.fshot .shot-phone { max-width: 300px; }
/* A screen that needs the whole width (a quest's steps beside their map): its words above, the picture across */
.fshot.fshot-wide { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.fshot.fshot-wide .fcopy { order: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 30px; }
.fshot.fshot-wide .fcopy h3 { margin: 0; }
.phone-only { display: none; }
.fcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; }
.fcard:only-child { grid-column: 1 / -1; }
.fcard:only-child .fcard-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: end; }
.fcard:only-child .fcard-copy h3 { margin: 0; }
/* A highlight without a picture that says what you do meanwhile: its words left, those things as pills right */
.fcard.fcard-meanwhile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px 52px; align-items: center; padding: 34px 36px; }
.fcard.fcard-meanwhile::before { display: none; }
.fcard.fcard-meanwhile .fcard-copy { display: block; }
.fcard.fcard-meanwhile .fcard-copy h3 { margin: 0 0 12px; }
.meanwhile { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.meanwhile li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 15px; border-radius: 999px; background: var(--surface-2); color: var(--text);
  font-size: 16px; font-weight: 600; line-height: 1.2; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent); }
.meanwhile li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.fcard { padding: 26px 28px 30px; border-radius: var(--radius); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 10%, var(--surface)), var(--surface) 65%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent), 0 34px 80px -44px color-mix(in srgb, var(--c) 70%, transparent); }
.fcard::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 0 20px; border-radius: 50%; background: var(--core); box-shadow: 0 0 0 2px var(--c), 0 0 16px var(--c); }
.vocs-lead { max-width: 78ch; margin: 0 0 18px; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.vocs-lead b { color: var(--text); font-weight: 600; }
.vocs { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vocs li { padding: 16px 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2); font-size: 15px; line-height: 1.45; }
.vocs b { display: block; margin: 0 0 6px; color: var(--c); font: 600 19px/1.1 var(--display); letter-spacing: -.01em; }
.frows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.frows li { padding: 16px 0 18px; border-top: 1px solid var(--border); }
.fname { margin: 0; color: var(--text); font-size: 17px; font-weight: 650; line-height: 1.35; }
.fname::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 0 0; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); vertical-align: .2em; }
.fline { margin: 5px 0 0 16px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.features-end { padding-top: 0; }
.features-end .wrap { padding-left: calc(var(--gutter) + 208px + 60px); }
.features-end .fine { margin-top: 18px; }
@media (max-width: 1100px) {
  .features { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 30px; }
  .features-end .wrap { padding-left: var(--gutter); }
  .findex { top: 0; z-index: 2; margin: 0 calc(-1 * var(--gutter)) 34px; padding: 10px var(--gutter); background: rgba(6, 10, 18, .9); backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--border); }
  .findex ol { display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .findex li { flex: none; }
  .findex a { padding: 8px 13px 8px 27px; border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 14px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
  .findex a::before { left: 12px; }
  .findex a[aria-current="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--c), 0 0 14px -4px var(--c); }
  .fgroup { scroll-margin-top: 74px; }
  .fshot, .fshot:nth-of-type(2n) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .fshot:nth-of-type(2n) .fcopy { order: 0; }
  .vocs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fgroup { padding-bottom: 52px; }
  .group-title { margin-bottom: 26px; gap: 14px; }
  .frows, .fcards { grid-template-columns: minmax(0, 1fr); }
  .fcards { gap: 14px; }
  .fcard { padding: 22px 20px 24px; }
  .fcard:only-child .fcard-copy { display: block; }
  .fcard:only-child .fcard-copy h3 { margin: 0 0 12px; }
  .fcard.fcard-meanwhile { display: block; padding: 24px 20px 24px; }
  .meanwhile { margin-top: 18px; gap: 8px; }
  .meanwhile li { padding: 9px 15px 9px 13px; font-size: 15px; }
  .fcopy p, .fcard p { font-size: 17px; }
  .phone-only { display: block; }
  .vocs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vocs li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--border); }
  .vocs b { margin: 0; font-size: 17px; }
}

/* Other pages */
.page-head { position: relative; padding-top: 56px; padding-bottom: 12px; }
.page-head::before { content: ""; position: absolute; inset: -80px -30vw auto; height: 420px; pointer-events: none; z-index: -1;
  background: radial-gradient(640px 260px at calc(30vw + 20%) 30%, rgba(90, 209, 255, .10), transparent 70%); }
.page-head .lead, .lead { font-size: 19px; color: var(--text-2); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.section { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding-top: 12px; }
.section-head { max-width: 46em; margin-bottom: 28px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--border); }
.section-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.glow { box-shadow: 0 0 0 1px rgba(90, 209, 255, .45), 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(90, 209, 255, .55); }
.label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--accent); box-shadow: inset 0 0 0 1px var(--border); vertical-align: middle; margin-left: 6px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--core);
  box-shadow: 0 0 0 2px var(--accent), 0 0 10px var(--accent); }
.notice { border-radius: var(--radius); padding: 16px 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.notice p:last-child { margin-bottom: 0; }
.notice-risk { box-shadow: inset 0 0 0 1px var(--danger); }
.placeholder-art { border-radius: var(--radius); padding: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
details { border-top: 1px solid var(--border); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--border); }
details summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Getting started: what you need, then five steps on the route line */
.start-head .lead { margin-bottom: 28px; }
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.needs li { padding: 16px 18px 18px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--muted); font-size: 15px; line-height: 1.45; }
.needs b { display: block; margin: 0 0 4px; color: var(--text); font-size: 17px; }
.steps { padding-top: 24px; }
.step-list { list-style: none; margin: 0; padding: 0; }
.step { padding: 34px 0; }
.step .copy h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 8px; }
.step .copy p { max-width: 34em; }
.step-shot .shots { margin-top: 26px; }
.step .shot { max-width: var(--max, none); }
@media (max-width: 800px) { .needs { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
@media (max-width: 700px) {
  .step { padding: 26px 0; }
  .step .copy h2 { font-size: 26px; }
  .step-shot .shots { margin-top: 0; }
}

/* FAQ: every answer in view, one or two sentences each */
.faq { margin: 0; }
.faq > div { padding: 22px 0 24px; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.faq > div:last-child { border-bottom: 1px solid var(--border); }
.faq dt { margin: 0 0 8px; color: var(--text); font: 600 clamp(21px, 2vw, 25px)/1.2 var(--display); letter-spacing: -.01em; }
.faq dd { margin: 0; color: var(--text-2); max-width: 40em; }

/* Errors: one line and one link */
.error-page { padding-top: 96px; padding-bottom: 72px; }
.error-page h1 { font-size: clamp(34px, 4.4vw, 58px); max-width: 16em; margin-bottom: 30px; }

/* Pricing */
.price-card { max-width: 560px; margin: 0 auto; padding: 34px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 18px; font: 600 72px/1 var(--display); letter-spacing: -.03em; color: var(--text); font-variation-settings: "SOFT" 60, "opsz" 144; }
.price small { display: inline-block; font: 400 17px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; }

/* Waitlist */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: start; }
.join .shot { margin-top: 8px; }
@media (max-width: 960px) { .join { grid-template-columns: minmax(0, 1fr); gap: 36px; } .join-aside { max-width: 440px; } }
.join-code { margin: 16px 0 0; }
/* The waitlist's code (thanks page, /waitlist/confirm/) */
.code-card { max-width: 480px; margin: 22px 0 18px; }
.code-card-line { margin: 0 0 14px; color: var(--text-2); overflow-wrap: anywhere; }
.code-card .code-input { max-width: 260px; }
.code-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 4px 0 8px; }
.code-actions .btn { margin-top: 0; }
.code-card p.small { margin: 6px 0 0; }

/* Forms (also allauth's) */
.form-page { padding: 48px 16px 64px; }
form p, form .field { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input[type=text], input[type=email], input[type=password], input[type=number], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--field); background: var(--bg); color: var(--text); font: inherit; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--accent); }
input[type=checkbox], input[type=radio] { width: auto; margin-right: 6px; accent-color: var(--accent); }
button, input[type=submit] { font: inherit; }
form button:not(.btn), form input[type=submit] { min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; cursor: pointer; }
.helptext, .form-page .help { color: var(--muted); font-size: .875rem; }
.errorlist { color: var(--danger); padding-left: 18px; margin: 4px 0; }
.form-card { display: grid; gap: 4px; padding: 30px; }
.form-card .field { margin-bottom: 12px; }
.form-card .btn { justify-self: start; margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.code-input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.6rem; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }

/* Messages */
.messages { padding-top: 16px; }
.message { border-radius: 10px; padding: 10px 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.message-success { box-shadow: inset 0 0 0 1px var(--ok); }
.message-error { box-shadow: inset 0 0 0 1px var(--danger); }

/* Tables */
table.plain { width: 100%; border-collapse: collapse; }
@media (max-width: 620px) { table.plain { display: block; overflow-x: auto; } }
table.plain th, table.plain td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.plain th { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.footer-about { max-width: 400px; }
.footer-brand { margin: 0 0 8px; font: 600 19px/1 var(--display); color: var(--text); }
.footer-note { margin: 0; }
.footer-links { display: flex; gap: 24px 64px; flex-wrap: wrap; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 120px; }
.footer-head { margin: 0 0 3px; color: var(--text); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 700px) {
  .footer { margin-top: 60px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 28px 20px; }
}

/* No motion when the visitor asks for none */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .screen, .screen:hover { transform: rotateX(8deg); }
  .shot:hover, .btn:hover, .play:hover { transform: none; }
  .motion .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) { .screen, .screen:hover { transform: none; } }
