/* Nexus core site. No inline styles: the page CSP allows only this file. */
/* The fonts are the partner site's subsets, byte for byte, under the same content-hash names (see CORE_SITE.md). */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-core-55f2f388.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B7, U+00E9, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026; }
/* Other accented letters load only when someone types them, such as an accented name in the form. */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-accents-caebf9fe.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+00A1-00A8, U+00AA-00B6, U+00B8-00E8, U+00EA-00FF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-75b17d8c.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0020-007E, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }

:root {
  color-scheme: light dark;
  --bg: #F2EDE4; --bg-alt: #EAE3D7; --surface: #F8F5EF; --line: #DED5C8;
  --ink: #2E1F35; --body: #4A3F52; --muted: #665B6F;
  --accent: #6B4C7A; --accent-soft: #EFE6F4; --accent-line: #CFC0E0; --lavender: #B8A6D4;
  --lime-soft: #EEF4C4; --live: #6E8A1F; --dealer: #B07A22; --nexus: #6B4C7A; --error: #B3261E;
  --button: #2E1F35; --button-ink: #F8F5EF;
  --shadow: 0 1px 2px rgba(46, 31, 53, .06), 0 24px 60px -24px rgba(46, 31, 53, .35);
  --topbar: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1220; --bg-alt: #221728; --surface: #2A1D31; --line: #3E2E47;
    --ink: #F4EFE8; --body: #D8CEDF; --muted: #A898B4;
    --accent: #CDB8EA; --accent-soft: #34233F; --accent-line: #57416A;
    --lime-soft: #2F3314; --live: #C2D463; --dealer: #D9A24A; --nexus: #B8A6D4; --error: #F2B8B5;
    --button: #F2EDE4; --button-ink: #2E1F35;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .7);
  }
}
/* Night sections: the hero, what's coming and the footer. */
.night {
  color-scheme: dark;
  --bg: #140D18; --bg-alt: #1B1220; --surface: #221629; --line: #3E2E47;
  --ink: #F4EFE8; --body: #D8CEDF; --muted: #A898B4;
  --accent: #CDB8EA; --accent-soft: #34233F; --accent-line: #57416A;
  --lime-soft: #2F3314; --live: #C2D463; --error: #F2B8B5;
  --button: #F2EDE4; --button-ink: #2E1F35;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  background: linear-gradient(180deg, #140D18, #1B1220); color: var(--body);
}
@media (prefers-color-scheme: dark) { .night { --bg: #0F0A12; background: linear-gradient(180deg, #0F0A12, #140D18); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 1.125rem/1.6 var(--sans); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: .2em; }
b { color: var(--ink); font-weight: 600; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: #F2EDE4; color: #2E1F35; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(16px, min(5vw, 40px)); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.nowrap { white-space: nowrap; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.lead { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); line-height: 1.55; max-width: 32em; }
.muted { color: var(--muted); }
.icon { width: 18px; height: 18px; flex: none; }

/* Buttons, chips and tags */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--button); color: var(--button-ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(46, 31, 53, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(46, 31, 53, .6); }
.button:active { transform: none; }
.button:disabled { cursor: progress; opacity: .7; transform: none; }
.button-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.night .button-quiet { box-shadow: inset 0 0 0 1.5px rgba(244, 239, 232, .32); }
.night .button-quiet:hover { box-shadow: inset 0 0 0 1.5px rgba(244, 239, 232, .6); }
.button-small { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.linklike { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
/* One label system: solid means live, a ring means dated, dashed means a plan. The words carry the meaning. */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; vertical-align: middle;
  font-size: .8125rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.chip::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.chip-live { background: var(--lime-soft); }
.chip-live::before { background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
.chip-date { background: var(--accent-soft); }
.chip-date::before { box-shadow: inset 0 0 0 2px var(--accent); }
.chip-plan { padding: 3.5px 10.5px 3.5px 8.5px; border: 1.5px dashed var(--accent); }
.chip-plan::before { border: 1.5px dashed var(--accent); }
.eyebrow .chip { margin-left: 8px; }
.tag { flex: none; margin-left: auto; padding: 2px 8px; border-radius: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* Top bar: dark over night sections, cream over the rest. */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--topbar); color: #F4EFE8;
  background: color-mix(in srgb, #140D18 80%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.topbar.is-day { color: var(--ink); background: color-mix(in srgb, var(--bg) 82%, transparent); box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 70%, transparent); }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.topnav { display: none; gap: 4px; margin-left: auto; }
.topnav a { color: inherit; opacity: .85; text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 10px 14px; border-radius: 999px; }
.topnav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.topbar .button-small { margin-left: auto; background: #F2EDE4; color: #2E1F35; box-shadow: none; }
.topbar.is-day .button-small { background: var(--button); color: var(--button-ink); }
@media (min-width: 820px) { .topnav { display: flex; } .topbar .button-small { margin-left: 8px; } }

/* Hero: the Nexus mark made physical */
.hero {
  position: relative; overflow: clip; display: grid; grid-template-rows: 1fr auto;
  margin-top: calc(-1 * var(--topbar)); padding: calc(var(--topbar) + clamp(28px, 7vw, 64px)) 0 0;
}
.hero::before { content: ""; position: absolute; right: -20%; top: -30%; width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgba(184, 166, 212, .2), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(184, 166, 212, .6), transparent); }
.hero-inner { position: relative; display: grid; gap: 28px; align-items: center; align-self: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(2.75rem, 11.5vw, 5.4rem); line-height: .96; letter-spacing: -.035em; }
.hero-line { display: block; }
.hero h1 .serif { display: block; font-size: 1.1em; line-height: .95; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero .fine { max-width: 34em; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 22px 0 26px; font-size: .875rem; color: var(--muted); }
.legend > span:first-child { margin-right: 4px; }
@media (min-width: 900px) {
  .hero { min-height: 100svh; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .hero-line, .hero h1 .serif { white-space: nowrap; }
}

.vitrine { position: relative; justify-self: center; width: min(100%, 560px); perspective: 1200px; }
.v-stage { position: relative; aspect-ratio: 720 / 800; transform: rotateY(calc(var(--tx, 0) * 5deg)) rotateX(calc(var(--ty, 0) * -3deg)); transition: transform .6s var(--ease); }
.vitrine.is-tilting .v-stage, .vitrine.is-tilting .v-layer { will-change: transform, translate; }
.v-glow { position: absolute; inset: -14%; background: radial-gradient(closest-side at 53% 42%, rgba(184, 166, 212, .34), rgba(184, 166, 212, .08) 62%, transparent 74%); pointer-events: none; }
.v-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: translate .6s var(--ease); }
.v-back { translate: calc(var(--tx, 0) * -6px) calc(var(--ty, 0) * -6px); }
.v-dot { translate: calc(var(--tx, 0) * 10px) calc(var(--ty, 0) * 10px); }
.v-mid { inset: 35% auto auto 34%; width: 37.5%; height: auto; translate: calc(var(--tx, 0) * 14px) calc(var(--ty, 0) * 14px); }
.v-front { translate: calc(var(--tx, 0) * 20px) calc(var(--ty, 0) * 20px); }
.slab-case { position: relative; aspect-ratio: 300 / 420; border-radius: 7.3% / 5.2%; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14); }
.slab-case svg { width: 100%; height: 100%; }
.sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .22) 48%, transparent 62%); translate: calc(var(--tx, 0) * 16%) 0; transition: translate .6s var(--ease); pointer-events: none; }
.glare { position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); transform: translateX(-160%) skewX(-14deg); pointer-events: none; }
.v-tag { display: none; }
.plaque { position: relative; margin-top: -9%; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--muted); }
@media (min-width: 900px) {
  .v-tag {
    display: block; position: absolute; max-width: 11em; padding: 7px 12px; border-radius: 10px; font-size: .8125rem; font-weight: 600; line-height: 1.35;
    color: #D8CEDF; background: rgba(20, 13, 24, .72); box-shadow: inset 0 0 0 1px rgba(184, 166, 212, .38);
    translate: calc(var(--tx, 0) * 14px) calc(var(--ty, 0) * 14px); transition: translate .6s var(--ease);
  }
  .v-tag::after { content: ""; position: absolute; top: 50%; width: 18px; height: 1px; background: rgba(184, 166, 212, .7); }
  .v-tag-1 { right: 68%; top: 41%; }
  .v-tag-2 { right: 68%; top: 60%; }
  .v-tag-1::after, .v-tag-2::after { left: 100%; }
  .v-tag-3 { left: 74%; top: 52%; }
  .v-tag-3::after { right: 100%; }
}

/* Chapters */
.chapter { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.chapter-alt { background: var(--bg-alt); }
.chapter-grid { display: grid; gap: 48px; align-items: center; }
.chapter-copy { display: grid; gap: 18px; max-width: 36rem; }
.chapter-copy-wide { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.chapter h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.028em; }
.chapter h2 .serif { display: block; font-size: 1.1em; color: var(--accent); }
.chapter h3 { font-size: 1.1875rem; letter-spacing: -.01em; }
@media (min-width: 900px) { .chapter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); } }

/* The problem */
.spread-card { display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); width: 100%; max-width: 520px; justify-self: center; }
.card-top { display: flex; align-items: center; gap: 12px; }
.mini-slab { width: 34px; height: auto; flex: none; filter: drop-shadow(0 4px 6px rgba(46, 31, 53, .2)); }
.card-kicker { font-weight: 600; color: var(--ink); line-height: 1.3; }
.bar-row { display: grid; gap: 10px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.bar-label b { font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 22px; border-radius: 999px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transform-origin: left center; }
.bar-dealer { width: 80%; background: linear-gradient(90deg, color-mix(in srgb, var(--dealer) 70%, transparent), var(--dealer)); }
.bar-nexus { width: 90.25%; background: linear-gradient(90deg, var(--lavender), var(--nexus)); }
.spread-gain { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); --delay: 1.1s; }
.gain-number { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gain-label { color: var(--muted); }

/* How it works */
.path { display: grid; gap: 16px; }
.station { display: grid; gap: 10px; align-content: start; padding: 18px 18px 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.station-art { display: grid; place-items: center; gap: 10px; min-height: 230px; margin-bottom: 8px; padding: 14px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.station h3 { display: flex; align-items: baseline; gap: 10px; }
.step-no { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.station > p { font-size: 1rem; }
.station .upgrade { margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.upgrade .chip { margin: 0 6px 4px 0; }
.bag-tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .path { grid-template-columns: repeat(3, 1fr); gap: 18px; } .station { padding: 20px 20px 26px; } }

.offer-card { width: 100%; max-width: 320px; display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 14px 30px -20px rgba(46, 31, 53, .5), inset 0 0 0 1px var(--line); }
.offer-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.offer-head label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.offer-head output { font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.floor-control { display: none; }
.js .floor-control { display: block; }
input[type="range"] { --fill: 50%; display: block; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill), var(--line) var(--fill)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--surface); border: 0; box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(46, 31, 53, .3); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 0; box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(46, 31, 53, .3); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px var(--accent-line); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px var(--accent-line); }
.offers { display: grid; gap: 6px; }
.offers li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  font-size: .9375rem; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s;
}
.offers li span { color: var(--muted); }
.offers li b { font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-color: var(--muted); }
.offers li em { font-style: normal; font-size: .8125rem; font-weight: 600; color: var(--muted); min-width: 7.6em; text-align: right; }
.offers li.fits { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.offers li.fits b { text-decoration: none; }
.offers li.fits em { color: var(--accent); }
.offer-foot { font-size: .8125rem; color: var(--muted); }

.mini-receipt { width: 100%; max-width: 300px; display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 14px 30px -20px rgba(46, 31, 53, .5), inset 0 0 0 1px var(--line); }
.receipt-top { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.verified-mark { width: 22px; height: 22px; flex: none; }
@media (prefers-color-scheme: dark) { .plum-stroke { stroke: #B8A6D4; } }
.mini-receipt dl { display: grid; gap: 6px; }
.mini-receipt dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.mini-receipt dd { font-variant-numeric: tabular-nums; color: var(--ink); }
.mini-receipt .keep { padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mini-receipt .keep dd { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.mini-receipt .dealer, .mini-receipt .dealer dd { font-size: .875rem; color: var(--muted); }
.more { padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .8125rem; text-align: center; font-variant-numeric: tabular-nums; }

.fee-tile { display: grid; gap: 6px 24px; align-items: center; margin-top: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.fee-big { font-size: clamp(3.5rem, 10vw, 5.5rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fee-text { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; color: var(--ink); line-height: 1.25; }
.fee-text span { display: block; color: var(--muted); font-weight: 500; }
@media (min-width: 720px) { .fee-tile { grid-template-columns: auto auto 1fr; } .fee-tile .fine { justify-self: end; max-width: 24em; } }

/* Card records */
.record-figure { position: relative; display: grid; justify-items: center; width: 100%; max-width: 520px; justify-self: center; }
.record-slab { position: relative; z-index: 1; width: 52%; max-width: 210px; aspect-ratio: 300 / 420; border-radius: 7.3% / 5.2%; overflow: hidden; rotate: -4deg; box-shadow: var(--shadow); }
.record-slab svg { width: 100%; height: 100%; }
.scan { position: absolute; inset: 0; opacity: 0; transform: translateY(-100%); background: linear-gradient(180deg, rgba(205, 184, 234, 0) 60%, rgba(205, 184, 234, .35) calc(100% - 3px), #B8A6D4 calc(100% - 3px)); }
.record-card { display: grid; gap: 14px; width: 100%; margin-top: -56px; padding: 72px 20px 22px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.record-top { display: flex; align-items: center; gap: 10px; }
.record-name { font-weight: 600; color: var(--ink); }
.record-title { font-size: 1.1875rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.checks { display: grid; gap: 9px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink); }
.tick-dot { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--live); }
.tick-dot::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.history { display: grid; gap: 8px; margin-left: 9px; padding: 4px 0 0 20px; border-left: 2px solid var(--accent-line); font-size: .875rem; }
.history li { position: relative; }
.history li::before { content: ""; position: absolute; left: -27px; top: .35em; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.history b { margin-right: 6px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .record-figure { grid-template-columns: 38% 1fr; align-items: start; max-width: 560px; }
  .record-slab { width: 100%; max-width: none; margin: 56px -28px 0 0; }
  .record-card { margin: 0; padding: 26px 24px 26px 44px; }
}

/* Our rules */
.rules-card { display: grid; gap: 20px; width: 100%; padding: clamp(22px, 3.5vw, 36px); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.rules-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.rules-head .muted { margin-left: auto; font-weight: 500; font-size: .875rem; }
.rules { display: grid; gap: 18px 28px; }
.rules li { position: relative; display: grid; gap: 4px; align-content: start; padding-left: 32px; }
.rules li::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 3.5px var(--accent); }
.rules li::after { content: ""; position: absolute; left: 13px; top: calc(.25em - 4px); width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); }
.rules h3 { font-size: 1.0625rem; }
.rules h3 .chip { display: flex; width: fit-content; margin-top: 8px; }
.rules p { font-size: .9375rem; }
@media (min-width: 620px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .rules-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* Where this is going */
.chapter.night { background: radial-gradient(60% 50% at 88% 0%, rgba(184, 166, 212, .16), transparent 70%), linear-gradient(180deg, #140D18, #1B1220); box-shadow: inset 0 1px 0 rgba(184, 166, 212, .22), inset 0 -1px 0 rgba(184, 166, 212, .22); }
@media (prefers-color-scheme: dark) { .chapter.night { background: radial-gradient(60% 50% at 88% 0%, rgba(184, 166, 212, .14), transparent 70%), linear-gradient(180deg, #0F0A12, #140D18); } }
.track { position: relative; display: grid; gap: 26px; padding-left: 32px; margin-bottom: clamp(44px, 6vw, 76px); }
.track::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; transform-origin: top; background: linear-gradient(180deg, #C2D463, #CDB8EA 22%, #CDB8EA 76%, rgba(184, 166, 212, 0)); }
.stop { position: relative; display: grid; gap: 6px; align-content: start; }
.stop::before { content: ""; position: absolute; left: -32px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #140D18; border: 2px solid #CDB8EA; }
.stop-live::before { background: #C2D463; border-color: #C2D463; box-shadow: 0 0 0 5px rgba(194, 212, 99, .18); }
.stop-live::after { content: ""; position: absolute; left: -32px; top: 5px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C2D463; opacity: 0; }
.stop-plan::before { border-style: dashed; border-color: #B8A6D4; }
.stop-when { font-size: 1.375rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.stop p:last-child { font-size: .9375rem; }
@media (min-width: 900px) {
  .track { grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 38px 0 0; }
  .track::before { left: 8px; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; transform-origin: left; background: linear-gradient(90deg, #C2D463, #CDB8EA 18%, #CDB8EA 78%, rgba(184, 166, 212, 0)); }
  .stop::before, .stop-live::after { left: 0; top: -38px; }
}
.future { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .future { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; } }
.blueprint { position: relative; display: grid; gap: 14px; overflow: hidden; padding: clamp(22px, 3.5vw, 32px); border-radius: 24px; border: 1.5px dashed #B8A6D4; background: rgba(184, 166, 212, .05); }
.bp-head { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-title { font-weight: 600; color: var(--ink); font-size: 1.125rem; }
.bp-head .chip { margin-left: auto; }
.higsby-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, #B8A6D4, #6B4C7A); color: #FFFFFF; font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1; }
.bp-kicker { position: relative; }
.bp-rules { position: relative; display: grid; gap: 10px; }
.bp-rules li { padding: 11px 14px; border-radius: 12px; border: 1px dashed rgba(184, 166, 212, .55); color: var(--ink); font-size: .9375rem; }
.bp-rules .bp-lock { display: flex; gap: 10px; align-items: flex-start; border-style: solid; background: rgba(184, 166, 212, .1); }
.bp-lock .icon { margin-top: 3px; color: #CDB8EA; }
.bp-foot { position: relative; max-width: 30em; font-size: .875rem; color: var(--muted); }
.fence { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1.5px dashed rgba(184, 166, 212, .6); font-size: .9375rem; }
.fence-slab { flex: none; width: 40px; height: auto; color: rgba(184, 166, 212, .7); }

/* Early access */
.chapter-early { background: radial-gradient(120% 80% at 80% 0%, color-mix(in srgb, var(--lavender) 26%, transparent), transparent 60%), var(--bg); padding-bottom: clamp(96px, 14vw, 170px); }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.28em + 5px); width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.apply-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .apply-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 100px); } .apply-grid .chapter-copy { position: sticky; top: calc(var(--topbar) + 32px); } }
.apply-card { position: relative; padding: clamp(22px, 4vw, 40px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent-line) 60%, transparent); }
.apply-form { display: grid; gap: 22px; }
.form-title { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.field { display: grid; gap: 8px; }
.field > label, .label { font-weight: 600; color: var(--ink); font-size: 1rem; }
.optional { margin-left: 4px; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-size: 1rem; transition: box-shadow .2s;
}
.field input:hover { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-soft); }
.field input:autofill { box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 100px var(--accent-soft); -webkit-text-fill-color: var(--ink); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error) !important; }
.hint { font-size: .875rem; color: var(--muted); }
.field-error, .form-error { font-size: .9375rem; font-weight: 600; color: var(--error); }
.form-error { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--error) 10%, transparent); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 500; font-size: 1rem;
  transition: box-shadow .2s, background-color .2s;
}
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); transition: background-color .2s, box-shadow .2s; }
.choice input[type="checkbox"] + span::before { border-radius: 3px; }
.choice:hover span { box-shadow: inset 0 0 0 1.5px var(--accent-line); }
.choice input:checked + span { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.choice input:checked + span::before { background: var(--accent); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.choice input[aria-invalid="true"] + span { box-shadow: inset 0 0 0 2px var(--error); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.field-consent .hint, .field-consent .field-error { padding-left: 34px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button-submit { width: 100%; background: linear-gradient(135deg, #3C2A46, #2E1F35 55%, #54396A); color: #F8F5EF; }
@media (prefers-color-scheme: dark) { .button-submit { background: linear-gradient(135deg, #F4EFE8, #E3D7F0); color: #2E1F35; } }

.receipt { display: grid; gap: 16px; justify-items: start; outline: none; }
.receipt-kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.receipt .receipt-title { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.02em; line-height: 1.1; }
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent-line); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.next { display: grid; gap: 12px; counter-reset: next; margin: 6px 0 4px; }
.next li { position: relative; padding-left: 40px; counter-increment: next; }
.next li::before {
  content: counter(next); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8125rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line);
}
.seal { position: relative; width: 132px; height: 150px; margin: 4px 0 6px; }
.seal-slab { position: absolute; left: 28px; top: 14px; width: 76px; height: auto; filter: drop-shadow(0 8px 12px rgba(46, 31, 53, .25)); }
.seal-bag { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 12px 30px -14px rgba(46, 31, 53, .4); }
@media (prefers-color-scheme: dark) { .seal-bag { background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); } }
.seal-strip { position: absolute; left: 0; right: 0; top: 0; height: 18px; border-radius: 16px 16px 4px 4px; background: linear-gradient(90deg, #B8A6D4, #6B4C7A); transform-origin: left center; }
.seal-strip::after { content: "NX SEALED"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 9px; font-weight: 700; letter-spacing: .2em; color: #FFFFFF; }

/* Footer */
.footer { padding: clamp(64px, 9vw, 110px) 0 44px; }
.footer.night { background: #2E1F35; }
@media (prefers-color-scheme: dark) { .footer.night { background: #0F0A12; box-shadow: inset 0 1px 0 rgba(184, 166, 212, .22); } }
.footer-grid { display: grid; gap: 40px; }
.footer .brand { min-height: 0; color: var(--ink); }
.closing { margin-top: 18px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); }
.closing .serif { display: block; font-size: 1.08em; color: var(--accent); }
.footer-links { display: grid; gap: 12px; align-content: start; }
.footer-links a { color: var(--body); font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.vendor-panel { display: grid; gap: 12px; justify-items: start; align-content: start; padding: 24px; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.vendor-slab { width: 40px; height: auto; }
.vendor-panel h2 { font-size: 1.375rem; letter-spacing: -.015em; }
.vendor-panel p { font-size: 1rem; }
.footer-fine { display: grid; gap: 10px; margin-top: 52px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; line-height: 1.55; color: #C9BFD3; }
.footer-fine p { max-width: 62rem; }
.footer-fine a { color: #F4EFE8; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr .6fr 1fr; gap: 56px; } }

/* Not found */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 40px 0; text-align: center; }
.notfound-inner { display: grid; gap: 18px; justify-items: center; max-width: 30rem; }
.notfound .brand-mark { width: 56px; height: 56px; color: var(--ink); }
.notfound h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.notfound h1 .serif { display: block; color: var(--accent); }

/* Motion. Final states are the defaults; scripts opt in to the starting states. */
.d-1 { --delay: .15s; } .d-2 { --delay: .5s; } .d-3 { --delay: .85s; } .d-4 { --delay: 1.2s; }
.d-5 { --delay: 1.55s; } .d-6 { --delay: 1.9s; } .d-7 { --delay: 2.25s; } .d-8 { --delay: 2.6s; }
.d-9 { --delay: 2.95s; } .d-10 { --delay: 3.3s; } .d-11 { --delay: 3.65s; } .d-12 { --delay: 4s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-far { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(.92); } 70% { opacity: 1; transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tick { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes seal-in { 0% { opacity: 0; transform: translateY(-70px) rotate(-8deg); } 60% { opacity: 1; transform: translateY(6px) rotate(1deg); } 100% { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { from { transform: none; } to { transform: translateY(-8px); } }
@keyframes glare { from { transform: translateX(-160%) skewX(-14deg); } to { transform: translateX(330%) skewX(-14deg); } }
@keyframes scan { 0% { opacity: 1; transform: translateY(-100%); } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes sink { to { opacity: .4; transform: translateY(48px) scale(.97); } }

@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-play]:not(.has-played) [data-anim] { opacity: 0; }
  .js-motion [data-play]:not(.has-played) .bar-fill { transform: scaleX(0); }
  .js-motion [data-play].is-playing [data-anim] { animation: rise .7s var(--ease) var(--delay, 0s) both; }
  .js-motion [data-play].is-playing .bar-fill { animation: grow 1.3s var(--ease) both; }
  .js-motion [data-play].is-playing .bar-nexus { animation-delay: .45s; }
  .js-motion [data-play].is-playing .station .seal-slab { animation: seal-in .9s var(--ease) .5s both; }
  .js-motion [data-play].is-playing .station .seal-bag { animation: fade .5s ease .9s both; }
  .js-motion [data-play].is-playing .station .seal-strip { animation: grow .6s var(--ease) 1.3s both; }
  .js-motion [data-play].is-playing .offers li { animation: pop .5s var(--ease) both; }
  .js-motion [data-play].is-playing .offers li:nth-child(1) { animation-delay: 1.3s; }
  .js-motion [data-play].is-playing .offers li:nth-child(2) { animation-delay: 1.45s; }
  .js-motion [data-play].is-playing .offers li:nth-child(3) { animation-delay: 1.6s; }
  .js-motion [data-play].is-playing .mini-receipt dl div, .js-motion [data-play].is-playing .more { animation: rise .5s var(--ease) both; }
  .js-motion [data-play].is-playing .mini-receipt dl div:nth-child(1) { animation-delay: 1.9s; }
  .js-motion [data-play].is-playing .mini-receipt dl div:nth-child(2) { animation-delay: 2.05s; }
  .js-motion [data-play].is-playing .mini-receipt dl div:nth-child(3) { animation-delay: 2.2s; }
  .js-motion [data-play].is-playing .mini-receipt dl div:nth-child(4) { animation-delay: 2.35s; }
  .js-motion [data-play].is-playing .more { animation-delay: 3.8s; }
  .js-motion [data-play].is-playing .checks .tick-dot { animation: tick .45s var(--ease) calc(var(--delay) + .15s) both; }
  .js-motion [data-play].is-playing .scan { animation: scan 1.4s ease .5s both; }
  .js-motion [data-play].is-playing .record-card[data-anim] { --delay: .9s; }
  .js-motion [data-play]:not(.has-played).track::before { transform: scaleY(0); }
  .js-motion [data-play].is-playing.track::before { animation: grow-y 1.6s var(--ease) both; }
  .js-motion [data-play].is-playing .stop-live::after { animation: ring 2.4s ease-out 1s 3; }
  .js-motion [data-play].is-playing .bp-lock .icon { animation: pop .5s var(--ease) calc(var(--delay) + .4s) both; }

  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-copy > :nth-child(5) { animation-delay: .4s; }
  .legend { animation: fade 1s ease 1.2s both; }
  .v-glow { animation: fade 1.2s ease both; }
  .v-back { animation: settle 1.1s var(--ease) .1s both; }
  .v-mid { animation: rise-far 1s var(--ease) .3s both; }
  .v-front { animation: drop 1.1s var(--ease) .45s both; }
  .v-dot { animation: drop 1s var(--ease) .6s both; }
  .glare { animation: glare 1.1s ease 1.7s both; }
  .v-tag { animation: rise .6s var(--ease) 2s both; }
  .v-tag-2 { animation-delay: 2.15s; }
  .v-tag-3 { animation-delay: 2.3s; }
  .plaque { animation: fade .8s ease 1.9s both; }
  /* The page's only loop: a transform-only float that pauses once the hero scrolls away. */
  .slab-float { animation: float 7s ease-in-out 2.8s infinite alternate; }
  .hero.is-offscreen .slab-float { animation-play-state: paused; }

  .pulse::after { animation: ring 2.4s ease-out 3; }
  .receipt.is-sealing .seal-slab { animation: seal-in .9s var(--ease) both; }
  .receipt.is-sealing .seal-bag { animation: fade .5s ease .5s both; }
  .receipt.is-sealing .seal-strip { animation: grow .6s var(--ease) 1s both; }
  .receipt.is-sealing > :not(.seal) { animation: rise .7s var(--ease) both; animation-delay: 1.5s; }
  .receipt.is-sealing > :nth-child(3) { animation-delay: 1.65s; }
  .receipt.is-sealing > :nth-child(4) { animation-delay: 1.8s; }
  .receipt.is-sealing > :nth-child(5) { animation-delay: 2s; }
  .receipt.is-sealing > :nth-child(6) { animation-delay: 2.2s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js-motion [data-play]:not(.has-played).track::before { transform: scaleX(0); }
  .js-motion [data-play].is-playing.track::before { animation-name: grow; }
}
/* As the hero scrolls away, the showcase sinks back. Compositor only, where supported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js-motion .vitrine { animation: sink linear both; animation-timeline: view(); animation-range: exit 5% exit 95%; }
  }
}

@media print {
  .topbar, .hero-actions, .skip, .floor-control { display: none !important; }
  .night, .footer.night { --ink: #2E1F35; --body: #4A3F52; --muted: #665B6F; --accent: #6B4C7A; background: #FFFFFF; color: #2E1F35; }
  .chapter { break-inside: avoid; padding-block: 32px; }
}
