/* launcher.xol.dev — tokens mirror apps/launcher/src/renderer/tokens.css so the site and the app read as one product. */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --bg-2: #0f1114;
  --surface: #14161a;
  --raised: #1b1e23;
  --border: #23262d;
  --border-strong: #343944;
  --text: #ecedef;
  --muted: #9aa0aa;
  --faint: #6b717c;
  --accent: #5ee0b5;
  --accent-deep: #3c7e6a;
  --accent-ink: #07130f;
  --accent-soft: rgb(94 224 181 / 0.1);
  --accent-line: rgb(94 224 181 / 0.35);
  --warn: #e8c26a;
  --warn-soft: rgb(232 194 106 / 0.12);
  --danger: #ff7a7a;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* No CSS smooth scrolling: on iOS it also animates scroll restoration and hash jumps on load. site.js animates in-page links only. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
/* clip, not hidden: hidden turns <body> into a scroll container, which breaks the sticky header on Safari */
@supports (overflow: clip) { body { overflow-x: clip; } }
button, a { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgb(94 224 181 / 0.28); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); margin-left: auto; margin-right: auto; }
@supports (width: min(1px, 2px)) { .wrap { width: min(100% - var(--gutter) * 2 - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), var(--wrap)); } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav { position: -webkit-sticky; position: sticky; top: 0; padding-top: env(safe-area-inset-top, 0px); z-index: 50; background: rgb(11 12 15 / 0.72); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgb(35 38 45 / 0.7); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand small { font-size: inherit; font-weight: 400; color: var(--faint); letter-spacing: inherit; margin-left: -4px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: color 140ms var(--ease), background-color 140ms var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: var(--text); background: rgb(255 255 255 / 0.04); } }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links .btn { margin-left: 8px; color: var(--accent-ink); }
@media (hover: hover) { .nav-links .btn:hover { color: var(--accent-ink); background: #78e8c3; } }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: 4px; padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; background: rgb(255 255 255 / 0.03); color: var(--text); cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease), top 200ms var(--ease); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); } .nav.open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgb(11 12 15 / 0.96); } }
@media (max-width: 760px) {
  .brand small { display: none; }
  .nav-toggle { display: block; }
  /* absolute, not fixed: the header has a backdrop-filter, which would re-parent a fixed child */
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px calc(var(--gutter) - 12px + env(safe-area-inset-right, 0px)) 14px calc(var(--gutter) - 12px + env(safe-area-inset-left, 0px)); background: #0d0e11; border-bottom: 1px solid var(--border); box-shadow: 0 24px 48px rgb(0 0 0 / 0.5); }
  .nav.open .nav-menu { display: flex; }
  .nav-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 16px; color: var(--text); }
}

/* ── buttons ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; transition: transform 140ms var(--ease), background-color 140ms var(--ease), border-color 140ms var(--ease); white-space: nowrap; }
@media (hover: hover) { .btn:hover { background: #78e8c3; transform: translateY(-1px); } }
.btn:active { transform: translateY(0); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: rgb(255 255 255 / 0.03); color: var(--text); border-color: var(--border-strong); }
@media (hover: hover) { .btn.ghost:hover { background: rgb(255 255 255 / 0.07); border-color: #4a505c; } }
.btn svg { width: 16px; height: 16px; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 0; text-align: center; isolation: isolate; }
.hero::before { /* mint aurora */
  content: ""; position: absolute; z-index: -2; top: -64px; right: 0; bottom: auto; left: 0; height: 760px; pointer-events: none;
  background:
    radial-gradient(520px 300px at 50% 0%, rgb(94 224 181 / 0.16), rgb(94 224 181 / 0) 70%),
    radial-gradient(900px 480px at 50% 12%, rgb(60 126 106 / 0.2), rgb(60 126 106 / 0) 70%);
}
.hero::after { /* hairline grid, faded out with a mask so there is no gradient-to-transparent band */
  content: ""; position: absolute; z-index: -1; top: -64px; right: 0; bottom: auto; left: 0; height: 720px; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, rgb(255 255 255 / 0) 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, rgb(255 255 255 / 0) 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, rgb(0 0 0 / 0) 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, rgb(0 0 0 / 0) 75%);
}
/* Status line above the headline: plain text. No capsule, no dot. */
.pill { display: block; color: var(--muted); font-size: 15px; }
.pill i { display: none; }
.hero h1 { margin: 24px auto 0; max-width: 15ch; font-size: clamp(40px, 7.2vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 22px auto 0; max-width: 56ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; text-wrap: pretty; }
.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; color: var(--faint); font-size: 13px; }
.hero-meta span { white-space: nowrap; }
.hero-meta span + span::before { content: "·"; margin: 0 10px; color: var(--border-strong); }
@media (max-width: 720px) { .hero-meta span { display: block; } .hero-meta span + span::before { content: none; } }

/* ── app window mock (a faithful CSS rendering of the launcher's main screen) ── */
.stage { position: relative; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1000px; }
.stage::before { content: ""; position: absolute; z-index: -1; top: 8%; right: 6%; bottom: -4%; left: 6%; background: radial-gradient(closest-side, rgb(94 224 181 / 0.2), rgb(94 224 181 / 0)); filter: blur(40px); }
.win { text-align: left; border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: #131417; overflow: hidden; box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 40px 120px rgb(0 0 0 / 0.6), 0 8px 24px rgb(0 0 0 / 0.4); font-size: 13px; line-height: 1.45; }
.win-bar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 20px; border-bottom: 1px solid #2e323a; }
.win-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.win-brand svg { width: 20px; height: 20px; }
.win-acct { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 4px; border: 1px solid #2e323a; border-radius: 999px; background: #1a1c20; font-weight: 600; font-size: 12.5px; }
.win-acct img { width: 24px; height: 24px; border-radius: 6px; image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16); }
.win-body { display: grid; grid-template-columns: 1.85fr 1fr; gap: 20px; padding: 22px 20px 24px; }
.win h4 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--accent); white-space: nowrap; }
.tag.plain { color: var(--muted); }
.win-desc { margin-top: 6px; color: #9aa0aa; max-width: 52ch; }
.seg { display: inline-flex; gap: 2px; margin-top: 14px; padding: 3px; border: 1px solid #2e323a; border-radius: 10px; }
.seg span { padding: 4px 14px; border-radius: 7px; font-weight: 600; font-size: 12px; color: #9aa0aa; }
.seg span.on { background: #23262c; color: #e9eaec; box-shadow: 0 0 0 1px #454b56 inset; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.card { padding: 12px 14px; border: 1px solid #2e323a; border-radius: 12px; background: #1a1c20; display: grid; grid-template-columns: 16px 1fr auto; gap: 2px 10px; align-items: center; }
.card i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #454b56; }
.card strong { font-size: 13.5px; font-weight: 600; }
.card small { grid-column: 2 / -1; color: #9aa0aa; font-size: 12px; }
.card.on { border-color: var(--accent-line); background: linear-gradient(180deg, rgb(94 224 181 / 0.12), rgb(94 224 181 / 0.06)); }
.card.on i { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 40%, rgb(94 224 181 / 0) 46%); }
.side { display: grid; gap: 12px; align-content: start; }
.panel { padding: 14px; border: 1px solid #2e323a; border-radius: 14px; background: #1a1c20; }
.panel h5 { margin: 0 0 10px; font-size: 12.5px; color: #9aa0aa; font-weight: 550; }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid #2e323a; border-radius: 10px; }
.presets span { text-align: center; padding: 5px 4px; border-radius: 7px; font-weight: 600; font-size: 12px; color: #9aa0aa; }
.presets span.on { color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent-line) inset; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: 12.5px; }
.kv dt { color: #9aa0aa; } .kv dd { font-weight: 500; }
.dock { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-top: 1px solid #2e323a; background: #1a1c20; }
.dock b { display: block; font-size: 13.5px; } .dock small { color: #9aa0aa; font-size: 12.5px; }
.play { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 15px; }
.prog { position: relative; height: 4px; border-radius: 4px; background: #2e323a; overflow: hidden; margin-top: 8px; width: min(320px, 46vw); }
.prog::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; background: var(--accent); border-radius: inherit; }
@media (max-width: 820px) {
  .win-body { grid-template-columns: 1fr; } .side { display: none; }
  .play { min-width: 120px; }
}
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } .cards .card:nth-child(n+3) { display: none; } .win h4 { font-size: 20px; } .dock small, .prog { display: none; } }

/* ── sections ────────────────────────────────────────────────────── */
section { padding: clamp(72px, 10vw, 128px) 0 0; }
.eyebrow { font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--muted); }
.h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; max-width: 20ch; text-wrap: balance; }
.sub { margin-top: 16px; color: var(--muted); max-width: 60ch; font-size: 17px; text-wrap: pretty; }
.head.center { text-align: center; } .head.center .h2, .head.center .sub { margin-inline: auto; }

/* bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cell { position: relative; grid-column: span 2; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
@media (hover: hover) { .cell:hover { border-color: var(--border-strong); transform: translateY(-2px); } }
.cell.w3 { grid-column: span 3; } .cell.w4 { grid-column: span 4; }
.cell .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.cell .ico svg { width: 19px; height: 19px; }
.cell h3 { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.cell p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cell code, .prose code { font: 500 0.88em var(--mono); color: #c9f5e6; background: rgb(94 224 181 / 0.08); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .cell, .cell.w3, .cell.w4 { grid-column: span 1; } .cell.wide-sm { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .cell, .cell.w3, .cell.w4, .cell.wide-sm { grid-column: span 1; } }

/* HUD viewport (illustration of the HUD editor) */
.viewport { position: relative; margin-top: 22px; aspect-ratio: 16 / 8.2; border-radius: var(--r-md); border: 1px solid var(--border-strong); overflow: hidden; font: 500 12px/1 var(--mono);
  background:
    linear-gradient(180deg, rgb(11 12 15 / 0) 58%, rgb(11 12 15 / 0.55) 100%),
    linear-gradient(180deg, #16323a 0%, #1f4a4a 38%, #2c5a4c 58%, #1d3a2c 58.2%, #142a20 100%); }
.viewport::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, rgb(255 255 255 / 0) 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, rgb(255 255 255 / 0) 1px); background-size: 28px 28px; }
.chip { position: absolute; padding: 6px 8px; background: rgb(10 12 14 / 0.62); border: 1px solid rgb(255 255 255 / 0.1); color: #f2f4f5; border-radius: 4px; white-space: nowrap; }
.chip.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.chip.sel::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }
.guide-v, .guide-h { position: absolute; background: rgb(94 224 181 / 0.55); }
.guide-v { top: 0; bottom: 0; left: 50%; width: 1px; } .guide-h { left: 0; right: 0; top: 13%; height: 1px; }
.keys { position: absolute; right: 4%; bottom: 8%; display: grid; grid-template-columns: repeat(3, 26px); gap: 3px; }
.keys span { height: 26px; display: grid; place-items: center; background: rgb(10 12 14 / 0.62); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 4px; color: #f2f4f5; }
.keys span.hit { background: rgb(94 224 181 / 0.85); color: var(--accent-ink); border-color: rgb(94 224 181 / 0); }
.keys .gap { visibility: hidden; }
.xhair { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); background: linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat, linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat; }
@media (max-width: 600px) { .viewport { aspect-ratio: 16 / 11; font-size: 10.5px; } }

/* module list */
/* a plain two-column list, not a cloud of chips */
.mods { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mods li { padding: 9px 0; border-top: 1px solid var(--border); color: #c9ccd2; font-size: 14.5px; }
.mods li:nth-child(-n+2) { border-top: 0; }

/* signed update lines */
.log { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: #0d0e11; font: 400 12.5px/1.9 var(--mono); color: var(--muted); overflow-x: auto; white-space: nowrap; }
.log b { color: var(--accent); font-weight: 500; } .log s { color: var(--danger); text-decoration: none; }

/* fair play */
.duo { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.list { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.list h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.list h3 svg { width: 18px; height: 18px; }
.list.yes h3 { color: var(--accent); } .list.no h3 { color: var(--danger); }
.list ul { margin-top: 18px; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 26px; color: #c9ccd2; font-size: 15px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--border-strong); }
.list.yes li::before { background: var(--accent); } .list.no li::before { background: var(--danger); }
.note { margin-top: 14px; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid rgb(232 194 106 / 0.3); background: var(--warn-soft); color: #eadcb4; font-size: 14.5px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* sign-in steps */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg-2)); counter-increment: s; }
.step::before { content: counter(s); font-size: 15px; font-weight: 500; line-height: 1; color: var(--faint); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 14px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.facts { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact { padding: 20px 24px; border-radius: var(--r-lg); border: 1px solid var(--border); }
.fact dt { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.fact dd { margin-top: 10px; font-size: 15px; color: #d6d8dc; line-height: 1.5; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* platforms */
.plats { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plat { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.plat svg { width: 26px; height: 26px; color: var(--text); }
.plat h3 { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.plat p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.plat .tag { display: block; margin-top: 14px; font-size: 13.5px; }
@media (max-width: 760px) { .plats { grid-template-columns: 1fr; } }

/* faq */
.faq { margin: 40px auto 0; max-width: 760px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 550; font-size: 16.5px; letter-spacing: -0.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 180ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
@media (hover: hover) { .faq summary:hover { color: var(--accent); } }
.faq p { padding: 0 36px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.faq p a, .prose a, .foot a.u, .sub a { color: var(--accent); text-underline-offset: 3px; }
.faq p a:hover, .prose a:hover, .sub a:hover { text-decoration: underline; }

/* closing cta */
.close { margin-top: clamp(72px, 10vw, 128px); }
.close-in { position: relative; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; border-radius: var(--r-xl); border: 1px solid var(--border-strong); overflow: hidden; isolation: isolate; background: var(--surface); }
.close-in::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(600px 260px at 50% 0%, rgb(94 224 181 / 0.18), rgb(94 224 181 / 0) 70%); }
.close-in h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 600; text-wrap: balance; }
.close-in p { margin: 14px auto 0; max-width: 52ch; color: var(--muted); }

/* footer */
.foot { margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--border); padding: 40px 0 calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: 13.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .brand { color: var(--text); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (hover: hover) { .foot nav a:hover { color: var(--text); } }
@media (pointer: coarse) { .brand { min-height: 44px; } .nav-links a { min-height: 44px; display: inline-flex; align-items: center; } .foot nav { gap: 6px 10px; } .foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; } .btn.sm { height: 40px; } .faq summary { padding-top: 22px; padding-bottom: 22px; } }
.legal { margin-top: 28px; max-width: 86ch; line-height: 1.7; }

/* prose pages (privacy, terms, sign-in) */
.doc { padding: clamp(56px, 8vw, 96px) 0 0; }
.doc header { max-width: 760px; }
.doc h1 { text-wrap: balance; margin-top: 14px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 600; }
.doc .updated { margin-top: 16px; color: var(--faint); font: 400 13px var(--mono); }
.prose { max-width: 760px; margin-top: 40px; color: #c9ccd2; font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 48px 0 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; color: var(--text); }
.prose h3 { margin: 28px 0 0; font-size: 17px; font-weight: 600; color: var(--text); }
.prose p, .prose ul, .prose ol, .prose table { margin-top: 16px; }
.prose ul { display: grid; gap: 8px; } .prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep); }
.prose ol { list-style: decimal; padding-left: 22px; display: grid; gap: 8px; } .prose ol li::marker { color: var(--accent); font: 500 0.9em var(--mono); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .tbl { overflow-x: auto; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r-md); }
.prose table { margin: 0; width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-size: 13.5px; font-weight: 550; color: var(--muted); background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.callout { margin-top: 24px; padding: 18px 22px; border-radius: var(--r-md); border: 1px solid var(--accent-line); background: var(--accent-soft); color: #d5f5ea; font-size: 15.5px; }

/* entrance motion: fail-visible. Content is only hidden once site.js has confirmed it can reveal it. */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .btn, .cell { transition: none; } }

/* Safari < 15 has no aspect-ratio */
@supports not (aspect-ratio: 1) { .viewport { height: 0; padding-bottom: 51.25%; } }
