/* ═══════════════════════════════════════════════════════════════════════════
   Qryptic sites · one stylesheet, three themes (html[data-theme]).
   cobalt = qryptic.one · steel = qryptic.locker · obsidian = ultimate.qryptic.one
   House style: glass gloss, subtle fx. Easing cubic-bezier(.16,1,.3,1), 2px lift,
   gloss sweep on buttons, dominoIn on reveal, snapIn on a settled pick. No purple.
   Layouts: phone (<700) · tablet (700-1099) · desktop (>=1100), each tailored.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Geist'; src: url('/_q/fonts/Geist-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/_q/fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/_q/fonts/Geist-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/_q/fonts/Geist-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/_q/fonts/Geist-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --today: #4ade9a;
  --top-h: 60px;
}

/* ── themes ─────────────────────────────────────────────────────────────── */
html[data-theme='cobalt'] {
  --bg: #040816; --bg-2: #081230; --ink: #eef3ff; --muted: #a6b5d8; --subtle: #7485ad;
  --ac: #22d3ee; --ac-2: #3d70ff; --ac-ink: #02121a;
  --wash-1: rgba(61, 112, 255, .22); --wash-2: rgba(34, 211, 238, .10);
  --btn-top: #7fe6f6; --btn-bot: #22c4e0;
}
html[data-theme='steel'] {
  --bg: #050b0c; --bg-2: #0a1719; --ink: #e8f3f2; --muted: #9fb7b6; --subtle: #6f8a89;
  --ac: #5eead4; --ac-2: #8fa3b3; --ac-ink: #021d19;
  --wash-1: rgba(23, 154, 143, .20); --wash-2: rgba(143, 163, 179, .09);
  --btn-top: #a3f5e6; --btn-bot: #3fd6bd;
}
html[data-theme='obsidian'] {
  --bg: #050506; --bg-2: #0d0e11; --ink: #f4f1ea; --muted: #b5b8bf; --subtle: #80858f;
  --ac: #e7d9b9; --ac-2: #9ea7b2; --ac-ink: #1a1508;
  --wash-1: rgba(158, 167, 178, .13); --wash-2: rgba(231, 217, 185, .07);
  --btn-top: #f7efdc; --btn-bot: #d8c79f;
  --glint: #4fe6f7;
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + var(--qe-band-h, 0px) + 16px); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Layered backdrop: deep base + one soft radial accent + a quieter second wash. Never a flat fill. */
/* Absolute, not fixed: a fixed full-screen layer repaints on every scroll on phones, and it paints
   only the first screen of a full-page capture. Positions are in px so they stay put on long pages. */
body { position: relative; }
body::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 680px at 50% -80px, var(--wash-1), transparent 64%),
    radial-gradient(760px 620px at 100% 1100px, var(--wash-2), transparent 62%),
    radial-gradient(760px 620px at 0% 2300px, var(--wash-2), transparent 62%),
    radial-gradient(900px 700px at 100% 3600px, var(--wash-1), transparent 64%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--ac) 30%, transparent); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; }

/* ── glass ──────────────────────────────────────────────────────────────── */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .022) 42%, rgba(255, 255, 255, .014));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 28px 56px -34px rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}
/* one soft top-third sheen */
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 34%);
}
.hover { transition: transform .14s var(--ease), box-shadow .3s, border-color .3s; }
.hover:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); }

/* ── buttons: 2px lift + gloss sweep ────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .14s var(--ease), box-shadow .3s, border-color .3s, background-color .3s;
}
.btn::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-primary {
  color: var(--ac-ink);
  background: linear-gradient(180deg, var(--btn-top), var(--btn-bot));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 0 18px -10px var(--ac);
}
.btn-ghost {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .28); }
.btn-sm { height: 38px; padding: 0 14px; border-radius: 11px; font-size: 14px; }

/* ── chips ──────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px;
  font: 600 10.5px/1 var(--font); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
  vertical-align: middle; flex: none;
}
.chip-today {
  color: var(--today);
  background: linear-gradient(180deg, rgba(74, 222, 154, .20), rgba(74, 222, 154, .09));
  box-shadow: inset 0 0 0 1px rgba(74, 222, 154, .22);
}
.chip-coming {
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(255, 255, 255, .22);
}

/* ── type ───────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  font: 600 12px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ac);
}
.lede { color: var(--muted); font-weight: 300; font-size: 17px; line-height: 1.6; }
.fine { color: var(--subtle); font-size: 13px; line-height: 1.55; text-align: center; margin-top: 22px; }
.fine a { color: var(--muted); }

/* ── header ─────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-icon { width: 30px; height: 30px; border-radius: 8px; }
.brand-word { display: inline-flex; align-items: baseline; gap: 6px; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.brand-word b { font-weight: 700; }
.brand-word span { font-weight: 300; color: var(--ac); }
.nav-desk { display: none; }
.top-cta { display: flex; align-items: center; gap: 8px; }
.top-cta .btn-ghost span { display: none; }
.top-cta .btn-ghost { width: 38px; padding: 0; }
.hide-sm { display: none; }

.nav-mob { position: relative; }
.nav-mob summary {
  list-style: none; cursor: pointer; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
}
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 10px; gap: 2px;
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  animation: dominoIn .4s var(--ease) both;
}
.nav-mob-panel a { padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-mob-panel a:hover { background: rgba(255, 255, 255, .05); }
.nav-mob-label { padding: 12px 12px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); font-weight: 600; }
.nav-mob-panel .nav-mob-cta { margin-top: 6px; text-align: center; color: var(--ac-ink); background: linear-gradient(180deg, var(--btn-top), var(--btn-bot)); font-weight: 600; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 56px; text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  margin-top: 14px; font-weight: 900; font-size: clamp(34px, 9.6vw, 44px); letter-spacing: -.035em;
  max-width: 15ch; text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ink) 78%, var(--ac)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.br-t { display: none; }
.nw { white-space: nowrap; }
.hero-lede { margin-top: 16px; max-width: 34em; text-wrap: pretty; }
.hero-form { width: 100%; max-width: 520px; margin-top: 28px; }
.hero-status { margin-top: 12px; font-size: 13px; color: var(--subtle); }

.stage { position: relative; width: 208px; height: 208px; display: grid; place-items: center; margin-bottom: 10px; }
.stage .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.stage .r1 { inset: 0; }
.stage .r2 { inset: 22px; border-color: rgba(255, 255, 255, .09); }
.stage .r3 { inset: -34px; border-color: rgba(255, 255, 255, .045); }
.stage-glow {
  position: absolute; inset: 18px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 28%, transparent), transparent 72%);
}
.stage-icon {
  position: relative; width: 132px; height: 132px;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55));
}
.stage-sm { width: 150px; height: 150px; }
.stage-sm .stage-icon { width: 96px; height: 96px; }

/* ── capture form ───────────────────────────────────────────────────────── */
.capture-row { display: flex; flex-direction: column; gap: 10px; }
.capture-field {
  position: relative; display: flex; align-items: center; flex: 1; min-width: 0;
}
.capture-field .ic { position: absolute; left: 14px; color: var(--subtle); pointer-events: none; }
.capture input {
  width: 100%; height: 50px; padding: 0 14px 0 42px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(3, 6, 14, .55); color: var(--ink);
  font: 400 16px/1 var(--font); outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .3s, box-shadow .3s;
}
.capture input::placeholder { color: var(--subtle); }
.capture input:focus { border-color: color-mix(in srgb, var(--ac) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 18%, transparent); }
.capture .btn { height: 50px; width: 100%; }
.capture-msg { min-height: 0; margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.capture-msg:empty { display: none; }
.capture-note { margin-top: 10px; font-size: 12.5px; color: var(--subtle); text-align: center; }
.capture-note a { color: var(--muted); }
.capture-msg.err { color: #ff9b9b; }
.capture-msg button { font: inherit; color: var(--ac); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.capture-done {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 16px;
  border-radius: 14px; color: var(--today); background: rgba(74, 222, 154, .08); box-shadow: inset 0 0 0 1px rgba(74, 222, 154, .22);
  font-weight: 500; animation: snapIn .3s var(--ease) both;
}

/* ── sections ───────────────────────────────────────────────────────────── */
.sec { padding: 56px 0; }
.sec-tight { padding: 28px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 32px; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 { margin-top: 12px; font-weight: 700; font-size: clamp(27px, 7vw, 32px); text-wrap: balance; }
.sec-head .lede { margin-top: 12px; font-size: 16px; }

/* feature cards */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { padding: 22px; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-ic, .feat-ic, .bf-ic {
  display: grid; place-items: center; color: var(--ac);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 18%, transparent), color-mix(in srgb, var(--ac) 7%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 0 0 1px color-mix(in srgb, var(--ac) 16%, transparent);
}
.card-ic { width: 44px; height: 44px; border-radius: 13px; }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.card p { margin-top: 8px; color: var(--muted); font-weight: 300; font-size: 15px; line-height: 1.6; }

.also { margin-top: 22px; text-align: center; }
.also-h { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.also-list { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.also-list li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--muted);
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line);
}
.also-list .ic { color: var(--ac); }

/* feature rows */
.feat-list { display: flex; flex-direction: column; gap: 4px; }
.feat { display: flex; align-items: center; gap: 12px; padding: 8px 0; min-width: 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat-ic { width: 32px; height: 32px; border-radius: 10px; flex: none; }
.feat-t { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
.feat[data-status='coming'] .feat-t { color: var(--muted); }
.feat-detailed { align-items: flex-start; padding: 12px 0; }
.feat-detailed .feat-t { color: var(--ink); }
.feat-detailed .chip { margin-top: 5px; }
.feat-d { display: block; margin-top: 3px; color: var(--muted); font-weight: 300; font-size: 14px; line-height: 1.5; }
.feat[data-status='coming'] .feat-ic { color: var(--muted); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }

/* editions */
.pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ed { padding: 24px; display: flex; flex-direction: column; }
.ed-top { display: flex; align-items: center; gap: 16px; }
.ed-icon { width: 64px; height: 64px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.ed-tag { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.ed h3 { margin-top: 4px; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.ed-promise { margin-top: 16px; color: var(--muted); font-weight: 300; }
.ed-intro { display: block; margin: 20px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.ed-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ed-price { font-size: 14px; color: var(--ink); font-weight: 600; }

/* security */
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.spec { padding: 24px; }
.spec h3 { font-size: 19px; font-weight: 700; }
.spec dl { margin: 14px 0 0; }
.spec-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.spec-row dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.spec-row dd { margin: 0; font-size: 15px; }
.spec-note { margin-top: 8px; color: var(--muted); font-weight: 300; font-size: 15px; }
.layer-list { margin-top: 12px; display: flex; flex-direction: column; }
.layer-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.layer-list b { font-weight: 600; }
.layer-list p { margin-top: 4px; color: var(--muted); font-weight: 300; font-size: 14.5px; }
.layer-list .feat-ic { color: var(--muted); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.payload { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.payload-h { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.payload-row { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tok {
  padding: 6px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--ac);
  background: color-mix(in srgb, var(--ac) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 20%, transparent);
}
.tok-wide { flex: 1; text-align: center; min-width: 140px; }
.payload-row .dot { color: var(--subtle); font-weight: 700; }
.limits { margin-top: 16px; padding: 22px 24px; }
.limits h3 { font-size: 16px; font-weight: 700; }
.limits ul { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.limits li { position: relative; padding-left: 18px; color: var(--muted); font-weight: 300; font-size: 15px; }
.limits li::before { content: ''; position: absolute; left: 2px; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--subtle); }

/* family */
.fam-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fam-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px; text-decoration: none; }
.fam-card img { grid-row: span 3; width: 56px; height: 56px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.fam-t { font-weight: 700; font-size: 17px; letter-spacing: -.015em; }
.fam-d { color: var(--muted); font-weight: 300; font-size: 14.5px; line-height: 1.5; }
.fam-host { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ac); }

/* QOL band */
.qol { padding: 26px; display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.qol h2 { margin-top: 10px; font-size: 26px; font-weight: 700; }
.qol p { margin-top: 10px; color: var(--muted); font-weight: 300; max-width: 46em; }
.qol-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: 100%; max-width: 360px; }
.qol-tag { font-size: 13px; color: var(--subtle); margin-top: 4px; }

/* join */
.join-card { padding: 34px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.join-icon { width: 64px; height: 64px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.join-card h2 { margin-top: 18px; font-size: clamp(27px, 7vw, 34px); font-weight: 900; letter-spacing: -.03em; }
.join-card .lede { margin-top: 12px; max-width: 32em; }
.join-card .capture { width: 100%; max-width: 520px; margin-top: 24px; }

/* ultimate: serial + everything + perks */
.serial-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; max-width: 940px; margin: 0 auto; }
.serial {
  padding: 22px; border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(231, 217, 185, .10), rgba(158, 167, 178, .05) 45%, rgba(79, 230, 247, .05)),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border-color: rgba(231, 217, 185, .20);
}
.serial-top { display: flex; align-items: center; gap: 12px; }
.serial-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.serial-k { font-weight: 700; letter-spacing: -.01em; }
.serial-sub { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); font-weight: 600; }
.serial-num {
  margin-top: 22px; padding: 16px 10px; border-radius: 14px; text-align: center;
  font-weight: 700; font-size: clamp(16px, 4.6vw, 28px); letter-spacing: .05em; color: var(--ac); white-space: nowrap;
  background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(231, 217, 185, .16), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.serial-foot { margin-top: 14px; font-size: 13px; color: var(--subtle); text-align: center; }
.serial-list { padding: 0 4px; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 16px; }
.col { padding: 24px; }
.col h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.perks { padding: 34px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.perks h2 { font-size: 28px; font-weight: 900; }
.perks .lede { max-width: 34em; }

/* docs */
.doc { padding: 40px 0 64px; }
.doc-in { max-width: 760px; }
.doc h1 { margin-top: 12px; font-size: clamp(34px, 8vw, 46px); font-weight: 900; }
.doc-date { margin-top: 12px; color: var(--subtle); font-size: 14px; }
.doc-intro { margin-top: 24px; font-size: 17px; color: var(--muted); font-weight: 300; }
.doc h2 { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 700; }
.doc p { margin-top: 12px; color: var(--muted); font-weight: 300; }
.doc p b { color: var(--ink); font-weight: 600; }
.doc ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.doc li { position: relative; padding-left: 18px; color: var(--muted); font-weight: 300; }
.doc li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }
.doc a { color: var(--ac); }
.page-doc .eyebrow { justify-content: flex-start; }

/* 404 */
.nf { padding: 64px 0 88px; }
.nf h1 { max-width: 16ch; }
.nf-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }

/* ── build your own ─────────────────────────────────────────────────────── */
.hero.hero-sm { padding: 36px 0 10px; }
.hero-sm-icon { width: 84px; height: 84px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); margin-bottom: 14px; }
.sec.sec-build { padding-top: 16px; }
.build { display: grid; grid-template-columns: 1fr; gap: 20px; }
.base { padding: 4px 18px; }
.base summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 600; }
.base summary::-webkit-details-marker { display: none; }
.base summary > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--today); }
.base-n { font-size: 13px; color: var(--subtle); font-weight: 500; }
.base .feat-list { padding-bottom: 12px; }
.bgroup { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bgroup legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.bf {
  display: grid; grid-template-columns: 36px 1fr 26px; gap: 14px; align-items: start; padding: 16px; cursor: pointer;
  border-radius: var(--r-md);
  transition: transform .14s var(--ease), border-color .3s, background-color .3s;
}
.bf:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); }
.bf input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bf-ic { width: 36px; height: 36px; border-radius: 11px; }
.bf[data-status='coming'] .bf-ic { color: var(--muted); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.bf-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bf-t { font-weight: 600; font-size: 15.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bf-d { color: var(--muted); font-weight: 300; font-size: 14px; line-height: 1.55; }
.bf-box {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .3s, color .3s, box-shadow .3s;
}
.bf:has(input:checked) { border-color: color-mix(in srgb, var(--ac) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 9%, transparent), rgba(255, 255, 255, .015)); }
.bf:has(input:checked) .bf-box { color: var(--ac-ink); background: linear-gradient(180deg, var(--btn-top), var(--btn-bot)); box-shadow: none; animation: snapIn .3s var(--ease) both; }
.bf:has(input:focus-visible) { outline: 2px solid var(--ac); outline-offset: 3px; }

.sum { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.sum-count { font-size: 15px; color: var(--muted); }
.sum-count b { font-size: 30px; font-weight: 900; color: var(--ink); letter-spacing: -.03em; margin-right: 4px; }
.sum-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.sum-picks > span { padding: 5px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); animation: snapIn .3s var(--ease) both; }
.sum-picks > .sum-empty { background: none; box-shadow: none; padding: 0; color: var(--subtle); animation: none; }
.sum-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); margin-top: 4px; }
.ladder { display: flex; flex-direction: column; gap: 6px; }
.step {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); opacity: .5;
  transition: opacity .3s, box-shadow .3s, background-color .3s;
}
.step img { width: 28px; height: 28px; }
.step-n { font-weight: 600; font-size: 14.5px; }
.step-s { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--today); visibility: hidden; }
.step.covers { opacity: 1; }
.step.covers .step-s { visibility: visible; }
.step.closest { background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 11%, transparent), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 42%, transparent); animation: snapIn .3s var(--ease) both; }
.step.closest .step-s { color: var(--ac); }
.sum-match { font-size: 14.5px; color: var(--muted); }
.sum-match b { color: var(--ink); }
.sum-price { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); }
.sum-price span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.sum-price b { font-weight: 700; }
.sum-code { font-size: 13px; color: var(--subtle); }
.sum-code b { color: var(--ink); font-weight: 600; letter-spacing: .06em; }
.sum .btn { align-self: flex-start; }
.sum-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(0, 0, 0, .8); font-size: 14px; color: var(--muted);
  animation: dominoIn .4s var(--ease) both;
}
.sum-bar[hidden] { display: none; }
.sum-bar b { color: var(--ink); }

/* footer */
.foot { margin-top: 32px; border-top: 1px solid var(--line); padding: 40px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.foot-brand p { color: var(--muted); font-weight: 300; font-size: 14.5px; max-width: 30em; }
.foot-brand p a { color: var(--ac); text-decoration: none; }
.foot-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot-h { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 2px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14.5px; overflow-wrap: anywhere; transition: color .2s; padding-block: 5px; min-height: 28px; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--subtle); }

/* ── motion ─────────────────────────────────────────────────────────────── */
@keyframes dominoIn { from { opacity: 0; transform: translateY(-10px) rotateX(40deg); } to { opacity: 1; transform: none; } }
@keyframes snapIn { 0% { transform: scale(1.12); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
html.js .rv { opacity: 0; }
html.js .rv.in { animation: dominoIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; }
  html.js .rv.in, .nav-mob-panel, .sum-bar, .capture-done, .step.closest, .sum-picks li, .bf .bf-box { animation: none !important; }
  .btn::after { display: none; }
  html { scroll-behavior: auto; }
}

/* ═════════════════════ TABLET · 700-1099 ═════════════════════ */
@media (min-width: 700px) {
  :root { --gutter: 28px; --top-h: 66px; }
  .hide-sm { display: inline-flex; }
  .top-cta .btn-ghost span { display: inline; }
  .top-cta .btn-ghost { width: auto; padding: 0 14px; }
  .nav-mob .nav-mob-panel { width: 300px; }

  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: clamp(46px, 7vw, 58px); max-width: 16ch; }
  .br-t { display: inline; }
  .lede { font-size: 18px; }
  .stage { width: 240px; height: 240px; }
  .stage-icon { width: 152px; height: 152px; }
  .capture-row { flex-direction: row; }
  .capture .btn { width: auto; }

  .sec { padding: 72px 0; }
  .sec-head h2 { font-size: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pair { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; }
  /* tablet family: full-width horizontal cards, a list you scan top to bottom */
  .fam-grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .fam-card { grid-template-columns: 56px 1fr auto; }
  .fam-card img { grid-row: span 2; }
  .fam-host { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .qol { padding: 34px; }
  .qol-cta { flex-direction: row; justify-content: center; max-width: none; flex-wrap: wrap; }
  .qol-tag { flex-basis: 100%; }
  .join-card { padding: 46px 36px; }
  .serial-wrap { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  .serial-num { letter-spacing: .1em; font-size: clamp(18px, 2.6vw, 28px); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .nf-cta { flex-direction: row; justify-content: center; max-width: none; }

  .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }

  .build { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
  .bgroup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bgroup legend { grid-column: 1 / -1; }
  /* an odd last card spans the row, so every group stays symmetric */
  .bgroup > .bf:last-child:nth-child(even) { grid-column: 1 / -1; }
  /* Centred WITHOUT transform: dominoIn ends at transform:none and fill-mode "both" keeps it there, which
     cancelled translateX(-50%) and left the bar half off-screen from 700 to 1099px (review 2026-09-25). */
  .sum-bar { left: 0; right: 0; margin-inline: auto; width: min(560px, calc(100vw - 56px)); }
}

/* ═════════════════════ DESKTOP · >=1100 ═════════════════════ */
@media (min-width: 1100px) {
  :root { --gutter: 32px; --top-h: 70px; }
  .nav-desk { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
  .top-in { position: relative; }
  .nav-desk a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background-color .2s; }
  .nav-desk a:hover, .nav-desk a[aria-current='page'] { color: var(--ink); background: rgba(255, 255, 255, .05); }
  .nav-desk .fam { color: var(--subtle); }
  .nav-sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 8px; }
  .nav-mob { display: none; }

  .hero { padding: 72px 0 96px; }
  .hero h1 { font-size: 72px; max-width: 14ch; }
  .hero-lede { font-size: 19px; }
  .stage { width: 280px; height: 280px; margin-bottom: 18px; }
  .stage .r3 { inset: -54px; }
  .stage-icon { width: 176px; height: 176px; }

  .sec { padding: 96px 0; }
  .sec-tight { padding: 40px 0; }
  .sec-head { margin-bottom: 44px; }
  .sec-head h2 { font-size: 44px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 26px; }
  .pair { gap: 22px; }
  .ed { padding: 30px; }
  .sec-grid { gap: 22px; }
  .spec { padding: 30px; }
  .fam-grid { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 18px; }
  .fam-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 24px; row-gap: 8px; }
  .fam-card img { grid-row: auto; width: 72px; height: 72px; margin-bottom: 6px; }
  .fam-host { grid-column: auto; grid-row: auto; margin-top: 6px; }
  .qol { flex-direction: row; text-align: left; justify-content: space-between; align-items: center; padding: 38px 42px; }
  .qol .eyebrow { justify-content: flex-start; }
  .qol-cta { flex-direction: column; align-items: stretch; width: 300px; flex: none; }
  .qol-tag { text-align: center; }
  .join-card { padding: 60px 48px; }
  .join-card h2 { font-size: 44px; }

  .build { grid-template-columns: minmax(0, 1fr) 360px; max-width: var(--wrap); gap: 28px; align-items: start; }
  .sec.sec-build { padding-top: 20px; }
  .hero.hero-sm { padding: 56px 0 8px; }
  .build-sum { position: sticky; top: calc(var(--top-h) + var(--qe-band-h, 0px) + 20px); }
  .sum-bar { display: none !important; }
}
