/* =========================================================
   Aside
   Navy ink on paper, set like a Swiss poster: Alte Haas Grotesk for
   everything, Sono for numbers, code and stage directions.
   Both fonts come from dafont.com (licences in /fonts).
   ========================================================= */
@font-face { font-family: "Alte Haas Grotesk"; src: url("/fonts/AlteHaasGroteskRegular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alte Haas Grotesk"; src: url("/fonts/AlteHaasGroteskBold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sono"; src: url("/fonts/Sono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sono"; src: url("/fonts/Sono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #f4f3ef;
  --paper-hi: #fbfaf7;
  --paper-lo: #e9e7e0;
  --ink: #0e2942;
  --ink-2: rgba(14, 41, 66, 0.76);
  --ink-3: rgba(14, 41, 66, 0.54);
  --rule: rgba(14, 41, 66, 0.15);
  --rule-2: rgba(14, 41, 66, 0.32);
  --steel: #5b7795;
  --ice: #e4ebf2;
  --red: #9b2f33;

  --serif: "Alte Haas Grotesk", "Sono", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Alte Haas Grotesk", "Sono", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Sono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pad: clamp(20px, 4vw, 48px);
  --max: 1280px;
  --hdr: 64px;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ============ Logo ============ */
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo svg { height: 22px; width: auto; }
.lidgroup { transform-box: fill-box; transform-origin: center; transition: transform 0.12s ease-in; }
.blink .lidgroup, .eyes-shut .logo .lidgroup { transform: scaleY(0.08); }
.eyes-shut .logo .lidgroup { transition-duration: 0.35s; }

/* ============ Links and buttons ============ */
.btn {
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 2px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 15px; letter-spacing: 0; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { background: #1d4064; }
.btn:active { background: #08192a; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn-line:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.btn .ar { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.tl { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-2); transition: text-decoration-color 0.2s; }
.tl:hover { text-decoration-color: var(--ink); }

/* ============ Header ============ */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
  view-transition-name: hdr;
}
.hdr.is-scrolled, .hdr.is-ruled { border-bottom-color: var(--rule); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.hdr-nav a { position: relative; transition: color 0.2s; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--ink); }
.hdr-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink); }
.hdr-menu { display: none; margin-left: auto; font-size: 14.5px; padding: 8px 0; }
.hdr-x { width: 36px; height: 36px; display: inline-grid; place-items: center; color: var(--ink); border: 1px solid var(--rule-2); border-radius: 2px; margin-right: -14px; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.hdr-x:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu { position: fixed; top: var(--hdr); left: 0; right: 0; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--pad) 22px; display: flex; flex-direction: column; }
.menu a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 24px; }
.menu .btn { margin-top: 18px; font-family: var(--sans); font-size: 15px; border: 0; }

/* ============ Shared type ============ */
.display {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(50px, 9vw, 146px); line-height: 0.94; letter-spacing: -0.045em; margin: 0;
}
.head {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -0.035em; margin: 0;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.label { font-size: 13.5px; color: var(--ink-3); }

/* Section frame: label in the margin, content to the right */
.sec { padding: clamp(80px, 11vw, 150px) 0 0; }
.sec-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.sec-rule { grid-column: 1 / -1; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: clamp(36px, 5vw, 64px); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.sec-rule .label { color: var(--ink); }
.sec-rule .label-r { font-size: 13.5px; color: var(--ink-3); }
.sec-l { grid-column: 1 / span 4; }
.sec-r { grid-column: 6 / -1; }

/* Reveal on scroll (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.08s; } .js .rv.d2 { transition-delay: 0.16s; } .js .rv.d3 { transition-delay: 0.24s; }

/* ============ Hero ============ */
.hero { padding: clamp(56px, 9vw, 120px) 0 0; }
.hero h1 .ln { display: block; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { opacity: 0; transform: translateY(0.35em); animation: lineUp 1s var(--ease) forwards; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: 0.09s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(44px, 6vw, 84px); padding-top: 22px; border-top: 1px solid var(--rule); }
.js .hero-grid { animation: fadeIn 0.9s var(--ease) 0.45s both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.def { grid-column: 1 / span 5; font-family: var(--serif); }
.def-word { font-size: 22px; line-height: 1.2; }
.def-word b { font-weight: 700; }
.def-word span { color: var(--ink-3); margin-left: 10px; font-size: 16px; }

.def ol { margin: 14px 0 0; padding: 0 0 0 1.3em; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.def li { padding-left: 4px; margin-bottom: 8px; }
.def li::marker { font-size: 0.9em; color: var(--ink-3); }
.hero-act { grid-column: 7 / -1; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: 14px; color: var(--ink-3); }

/* ============ The scene ============ */
.scene .sec-rule button { font-size: 13.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rule-2); }
.sheet {
  grid-column: 2 / span 10;
  background: var(--paper-hi); border: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 72px) clamp(22px, 6vw, 96px) clamp(36px, 5vw, 72px);
  font-family: var(--serif); counter-reset: l;
  position: relative;
}
.sheet-head { display: flex; justify-content: space-between; gap: 16px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); padding-bottom: 18px; margin-bottom: 34px; border-bottom: 1px solid var(--rule); }
.sd { font-family: var(--mono); color: var(--ink-3); font-size: 15px; line-height: 1.6; margin: 0 0 30px; padding-left: clamp(0px, 8vw, 120px); }
.line { margin: 0 0 30px; position: relative; }
.line::before, .sd::before { counter-increment: l; content: counter(l); position: absolute; left: clamp(-64px, -5vw, -14px); font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--ink-3); top: 0.35em; }
.sd { position: relative; }
.who { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.who span { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-3); margin-left: 6px; }
.say { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.48; max-width: 36em; }
.ai .say { color: var(--ink); }
.you .say { color: var(--ink-2); }
.say > span {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  transition: background-size 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.say > span.x { background-size: 100% 100%; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -0.12em; margin-left: 2px; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.after { font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 10px; }
.js .sheet .wait { opacity: 0; transform: translateY(6px); }
.sheet .line, .sheet .sd, .sheet .after { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }

/* ============ What we keep ============ */
.keep-list { list-style: none; margin: 0; padding: 0; counter-reset: k; }
.keep-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.keep-list li:first-child { border-top: 1px solid var(--rule); }
.keep-list li::before { counter-increment: k; content: counter(k); font-family: var(--mono); font-size: 15px; color: var(--ink-3); }
.keep-list b { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.keep-list small { font-size: 13.5px; color: var(--ink-3); text-align: right; white-space: nowrap; }
.never { margin-top: 44px; }
.never p.label { margin-bottom: 14px; }
.never ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; color: var(--ink-2); }
.never li span {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 1.5px;
  transition: background-size 0.7s var(--ease);
}
.never.in li span, html:not(.js) .never li span { background-size: 100% 1.5px; }
.never li:nth-child(2) span { transition-delay: 0.08s; } .never li:nth-child(3) span { transition-delay: 0.16s; } .never li:nth-child(4) span { transition-delay: 0.24s; }
.never li:nth-child(5) span { transition-delay: 0.32s; } .never li:nth-child(6) span { transition-delay: 0.4s; } .never li:nth-child(7) span { transition-delay: 0.48s; }
.sec-foot { margin-top: 28px; font-size: 15px; color: var(--ink-2); }

/* ============ No hidden instructions ============ */
.body-copy p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 32em; margin-top: 18px; }
.req { grid-column: 7 / -1; align-self: start; background: var(--ink); color: #d7e0ea; border-radius: 2px; overflow: hidden; }
.req-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.req pre { margin: 0; padding: 20px 18px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow-x: auto; }
.req .k { color: #9fb4ca; }
.req .s { color: #fff; }
.req .f { color: #e8b4a0; }
.req .c { color: rgba(255, 255, 255, 0.4); }

/* ============ Models table ============ */
.mt { width: 100%; border-collapse: collapse; font-size: 15px; }
.mt th { text-align: left; font-weight: 400; font-size: 13px; color: var(--ink-3); padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.mt td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.mt .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt th.r { text-align: right; }
.mt td.n { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.mt td.n a { transition: color 0.2s; }
.mt tr:hover td.n a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mt .t { color: var(--ink-3); font-size: 13.5px; }
.mt .tag-u { color: var(--ink); }
.mt tbody tr { transition: background-color 0.2s; }
.mt tbody tr:hover { background: var(--paper-hi); }
.mt .wait td { color: var(--ink-3); }
.mt-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ============ Paying ============ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 0 0 26px; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--mono); font-size: 15px; color: var(--ink-3); line-height: 1.9; }
.steps b { display: block; font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; font-size: 23px; line-height: 1.3; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 16px; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; }

/* ============ Questions ============ */
.qa { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.qa div { padding: 22px 0 26px; border-top: 1px solid var(--rule); }
.qa dt { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; font-size: 21px; line-height: 1.25; margin-bottom: 10px; }
.qa dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 32em; }
.qa a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }

/* ============ Closing ============ */
.close { padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 130px); }
.close .display { font-size: clamp(48px, 7.6vw, 120px); }
.close .hero-cta { margin-top: 36px; }

/* ============ Footer ============ */
.foot { border-top: 1px solid var(--ink); padding: 26px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.foot-brand { grid-column: 1 / span 5; }
.foot-brand p { font-family: var(--serif); font-size: 19px; color: var(--ink-2); margin-top: 14px; }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; }
.foot-col:first-of-type { grid-column: 7 / span 2; }
.foot-col p { color: var(--ink-3); margin-bottom: 4px; }
.foot-col a { color: var(--ink-2); width: fit-content; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; color: var(--ink-3); font-size: 13px; }
.ca { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 9px 12px; border: 1px solid var(--rule-2); border-radius: 2px; font-size: 13px; max-width: 100%; }
.ca-k { color: var(--ink-3); }
.ca-v { font-family: var(--mono); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ============ Dialogs and toast (shared with the app) ============ */
.dlg { border: 1px solid var(--ink); background: var(--paper-hi); color: var(--ink); padding: 32px; max-width: 460px; width: calc(100% - 32px); border-radius: 2px; box-shadow: none; }
.dlg::backdrop { background: rgba(14, 41, 66, 0.32); }
.dlg[open] { animation: dlgIn 0.3s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dlg h3 { font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 14px; }
.dlg .label { margin-bottom: 8px; }
.dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 10px); z-index: 160; background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: 2px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ============ Header over a dark section ============ */
.hdr { transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.hdr.is-dark { background: transparent; border-bottom-color: transparent; color: #fff; }
.hdr.is-dark .logo, .hdr.is-dark .hdr-menu { color: #fff; }
.hdr.is-dark .hdr-nav a { color: rgba(255, 255, 255, 0.78); }
.hdr.is-dark .hdr-nav a:hover, .hdr.is-dark .hdr-nav a[aria-current="page"] { color: #fff; }
.hdr.is-dark .hdr-nav a[aria-current="page"]::after { background: #fff; }
.hdr.is-dark .btn { background: var(--paper); color: var(--ink); }
.hdr.is-dark .btn:hover { background: #fff; }
.hdr.is-dark .hdr-x { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hdr.is-dark .hdr-x:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============ Dark sections with moving backgrounds ============ */
.dark { color: #fff; background: #0a1d31; }
.dark ::selection { background: #fff; color: var(--ink); }
.bg-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-media video, .bg-media img { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; animation: drift 34s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1) translate3d(0, -1.2%, 0); } }
.bg-shade { position: absolute; inset: 0; }
.dark > .wrap, .dark > .inner { position: relative; z-index: 1; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* Opening */
.hero.dark { position: relative; overflow: hidden; margin-top: calc(-1 * var(--hdr)); padding: calc(var(--hdr) + clamp(80px, 12vw, 170px)) 0 clamp(44px, 5vw, 72px); min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero.dark .bg-shade { background: linear-gradient(180deg, rgba(7, 20, 35, 0.62) 0%, rgba(7, 20, 35, 0.1) 30%, rgba(7, 20, 35, 0.4) 58%, rgba(7, 20, 35, 0.92) 100%); }
.hero.dark .hero-grid { border-top-color: rgba(255, 255, 255, 0.28); }
.hero.dark .def ol, .hero.dark .lede { color: rgba(255, 255, 255, 0.84); }
.hero.dark .def-word span, .hero.dark .def li::marker, .hero.dark .hero-note { color: rgba(255, 255, 255, 0.6); }
.hero.dark h1 { text-shadow: 0 2px 40px rgba(7, 20, 35, 0.35); }

/* Live prices strip */
.ticker { border-bottom: 1px solid var(--rule); background: var(--paper-hi); overflow: hidden; font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: inline-flex; gap: 44px; padding: 13px 0; animation: tick var(--tick, 70s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span b { font-family: var(--sans); font-weight: 700; color: var(--ink); margin-right: 10px; }
.ticker-track span i { font-style: normal; color: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Soft moving light behind the scene */
.scene { position: relative; isolation: isolate; }
.scene::before {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 18%; height: 78%; pointer-events: none;
  background:
    radial-gradient(38% 46% at 28% 42%, rgba(91, 119, 149, 0.22), transparent 70%),
    radial-gradient(34% 42% at 74% 58%, rgba(170, 196, 222, 0.45), transparent 70%),
    radial-gradient(30% 40% at 52% 18%, rgba(228, 235, 242, 0.95), transparent 70%);
  filter: blur(30px); animation: glow 22s ease-in-out infinite alternate;
}
@keyframes glow { 0% { transform: translate3d(-3%, 0, 0) scale(1); } 50% { transform: translate3d(2%, -3%, 0) scale(1.06); } 100% { transform: translate3d(4%, 2%, 0) scale(0.98); } }

/* Paying: a dark band with slow aurora light */
.band { position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(90px, 12vw, 160px); padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px); }
.band::before, .band::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.band::before { left: -18%; top: -30%; background: radial-gradient(circle, rgba(91, 119, 149, 0.55), transparent 65%); animation: orbA 26s ease-in-out infinite alternate; }
.band::after { right: -20%; bottom: -40%; background: radial-gradient(circle, rgba(46, 96, 150, 0.6), transparent 65%); animation: orbB 32s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate3d(22%, 18%, 0) scale(1.15); } }
@keyframes orbB { to { transform: translate3d(-24%, -14%, 0) scale(0.9); } }
.band .sec-rule { border-top-color: rgba(255, 255, 255, 0.85); }
.band .sec-rule .label { color: #fff; }
.band .steps li::before { color: rgba(255, 255, 255, 0.55); }
.band .steps span { color: rgba(255, 255, 255, 0.78); }
.band .facts { border-top-color: rgba(255, 255, 255, 0.85); }
.band .facts div { border-bottom-color: rgba(255, 255, 255, 0.16); }
.band .facts dt { color: rgba(255, 255, 255, 0.6); }

/* Closing: dark silk, tinted to the brand navy */
.close.dark { position: relative; overflow: hidden; }
.close.dark .bg-media video { filter: grayscale(1) contrast(1.15) brightness(1.1); }
.close.dark .bg-shade { background: linear-gradient(180deg, rgba(10, 29, 49, 0.35), rgba(10, 29, 49, 0.75)), #1f4f80; mix-blend-mode: multiply; }
.close.dark .hero-note { color: rgba(255, 255, 255, 0.65); }
.close.dark + .foot { border-top: 0; }

/* ============ Motion layer (fx.js) ============ */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root { --scr: var(--steel); --bar: var(--ink); }
.dark, .hdr.is-dark { --scr: #8fb6dd; --bar: #fff; }

/* Page changes: the new page wipes up over the old one */
::view-transition-old(root) { animation: vtOut 0.7s cubic-bezier(0.76, 0, 0.24, 1) both; }
::view-transition-new(root) { animation: vtIn 0.7s cubic-bezier(0.76, 0, 0.24, 1) both; }
@keyframes vtOut { to { transform: translateY(-5%) scale(0.97); opacity: 0.35; } }
@keyframes vtIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Film grain over the whole page */
.fx body::after {
  content: ""; position: fixed; inset: -50%; z-index: 450; pointer-events: none; opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 4%); } 100% { transform: translate(5%, 1%); } }

/* Opening intro: the name is redacted, then the curtain lifts */
.intro { display: none; }
.intro-on body { overflow: hidden; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 480; display: grid; place-items: center; background: #0a1d31; color: #fff;
  clip-path: inset(0 0 0 0); transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}
.intro-out .intro { clip-path: inset(0 0 100% 0); }
.intro-in { text-align: center; transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s; }
.intro-out .intro-in { transform: translateY(-40px); opacity: 0; }
.intro-word { font-weight: 700; font-size: clamp(72px, 16vw, 240px); line-height: 0.9; letter-spacing: -0.05em; }
.intro-word span {
  background-image: linear-gradient(#fff, #fff); background-repeat: no-repeat; background-size: 0% 100%; background-position: 0 0;
  animation: introBar 0.75s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
@keyframes introBar { to { background-size: 100% 100%; } }
.intro-sub { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 22px; animation: fadeIn 0.6s var(--ease) 0.1s both; }
.intro-count, .intro-tag { position: absolute; bottom: 28px; font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.intro-count { right: var(--pad); }
.intro-tag { left: var(--pad); }

/* Decrypting characters */
.fx .hero h1 .ln > span:not(.ready), .fx .page-h:not(.ready), .fx .close .display:not(.ready) { opacity: 0; animation: show 0s 3s forwards; }
.fx .hero h1 .ln > span.ready { animation: none; opacity: 1; transform: none; }
@keyframes show { to { opacity: 1; } }
.w { display: inline-block; white-space: nowrap; }
.ch {
  display: inline-block; position: relative;
  translate: 0 calc(var(--y, 0) * -0.16em);
  transition: opacity 0.35s, transform 0.7s var(--ease), filter 0.7s var(--ease), translate 0.4s var(--ease), color 0.4s;
}
.ch.h { opacity: 0; transform: translateY(0.35em); filter: blur(10px); }
.ch.s { color: transparent !important; text-shadow: none; }
.ch.s::after { content: attr(data-g); position: absolute; left: 0; right: 0; top: 0; text-align: center; color: var(--scr); font-family: var(--mono); font-weight: 500; }
.hero h1 .ch, .close .display .ch { color: color-mix(in srgb, currentColor calc(100% - var(--y, 0) * 70%), #8fb6dd); }

/* Headings come out from behind redaction bars */
.rw { display: inline-block; position: relative; }
.fxr .rw:not(.shown) { color: transparent; }
.rw::after { content: ""; position: absolute; left: -0.03em; right: -0.03em; top: 0.08em; bottom: 0.04em; background: var(--bar); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.rw.go::after { animation: redact 0.86s cubic-bezier(0.65, 0, 0.35, 1) both; animation-delay: inherit; }
@keyframes redact { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 50.1% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }

/* Section rules draw across */
.fxr .sec-rule { border-top-color: transparent !important; position: relative; }
.fxr .sec-rule::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1); }
.fxr .band .sec-rule::before { background: rgba(255, 255, 255, 0.85); }
.fxr .sec-rule.drawn::before { transform: scaleX(1); }

/* Scroll progress under the header */
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Viewfinder cursor */
.cur { position: fixed; left: 0; top: 0; z-index: 470; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity 0.25s; }
.cur.on { opacity: 1; }
.cur span {
  position: absolute; width: 34px; height: 34px; left: -17px; top: -17px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 9px 1.5px no-repeat, linear-gradient(#fff, #fff) 0 0 / 1.5px 9px no-repeat,
    linear-gradient(#fff, #fff) 100% 0 / 9px 1.5px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 1.5px 9px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 9px 1.5px no-repeat, linear-gradient(#fff, #fff) 0 100% / 1.5px 9px no-repeat,
    linear-gradient(#fff, #fff) 100% 100% / 9px 1.5px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 1.5px 9px no-repeat;
  transition: transform 0.45s var(--ease);
}
.cur i { position: absolute; width: 4px; height: 4px; left: -2px; top: -2px; background: #fff; transition: transform 0.3s var(--ease); }
.cur.big span { transform: scale(1.65) rotate(90deg); }
.cur.big i { transform: scale(2.4); }
.cur.down span { transform: scale(0.75); }

/* Magnetic buttons */
.fxr .btn, .fxr .hdr-x { transition: transform 0.5s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s; }

/* Mouse spotlight in dark sections */
.bg-light { position: absolute; inset: 0; mix-blend-mode: screen; background: radial-gradient(circle 560px at var(--lx, 70%) var(--ly, 35%), rgba(143, 182, 221, 0.36), rgba(143, 182, 221, 0.1) 40%, transparent 70%); }

/* Opening: parallax on scroll, HUD line, scroll cue */
.fxr .hero.dark .bg-media, .fxr .page-band .bg-media { transform: scale(calc(1 + var(--p, 0) * 0.2)) translate3d(0, calc(var(--p, 0) * 6%), 0); transform-origin: 50% 30%; }
.fxr .hero.dark > .wrap, .fxr .page-band > .wrap { transform: translate3d(0, calc(var(--p, 0) * -110px), 0); opacity: calc(1 - var(--p, 0) * 1.5); }
.fxr .hero.dark h1 { transform: translate3d(0, calc(var(--p, 0) * -70px), 0); }
.dark > .hud { position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--hdr) + 18px); display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); padding-top: 14px; }
.hud::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: rgba(255, 255, 255, 0.22); }
.hud .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; margin-right: 9px; vertical-align: 0; position: relative; }
.hud .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-cue { position: absolute; z-index: 1; right: var(--pad); bottom: clamp(44px, 5vw, 72px); width: 1px; height: 64px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hero-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cue { to { top: 100%; } }

/* Kinetic type */
.kin { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); user-select: none; }
.kin-row { white-space: nowrap; transform: skewX(var(--skew, 0deg)); transition: transform 0.2s linear; }
.kin-row + .kin-row { margin-top: clamp(4px, 1vw, 12px); }
.kin-track { display: inline-flex; align-items: center; will-change: transform; font-weight: 700; font-size: clamp(56px, 10.5vw, 172px); line-height: 1; letter-spacing: -0.045em; padding-bottom: 0.08em; }
.kin-track span { padding: 0 0.04em; }
.kin-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.kin-track b { display: inline-block; width: 1.1em; height: 0.42em; margin: 0 0.32em; background: var(--ink); flex: none; }
.kin-row:nth-child(2) .kin-track b { background: var(--steel); }

/* Code figure prints line by line, with a scan passing over it */
.req { position: relative; }
.req::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(143, 182, 221, 0.1), transparent); animation: scan 4.5s linear infinite; }
@keyframes scan { to { top: 100%; } }
.req .cl { display: inline-block; }
.fxr .req .cl { opacity: 0; }
.fxr .req.in .cl { animation: clIn 0.4s var(--ease) forwards; animation-delay: calc(var(--i) * 85ms + 0.35s); }
@keyframes clIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* Paying band: the light follows the pointer */
.band::before { translate: calc(var(--ox, 0) * 140px) calc(var(--oy, 0) * 120px); transition: translate 1.4s var(--ease); }
.band::after { translate: calc(var(--ox, 0) * -160px) calc(var(--oy, 0) * -120px); transition: translate 1.6s var(--ease); }

/* Paying band: a giant outlined number drifts behind it */
.band-num { position: absolute; z-index: -1; left: -0.06em; bottom: -0.16em; font-weight: 700; font-size: clamp(260px, 46vw, 760px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2); pointer-events: none; user-select: none; transform: translate3d(0, calc(var(--p, 0.5) * -160px + 80px), 0); }

/* Never kept: each word is blacked out; hovering lifts the bar */
.never li span { background-position: 0 50%; padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 0.8s cubic-bezier(0.65, 0, 0.35, 1), color 0.4s 0.3s; }
.never.in li span, html:not(.js) .never li span { background-size: 100% 100%; color: var(--paper); }
.never li span:hover { background-size: 0% 100%; color: var(--ink); transition-duration: 0.45s, 0.2s; transition-delay: 0s, 0s; }

/* What we keep: rows fill in on hover */
.keep-list li { position: relative; isolation: isolate; transition: padding-left 0.45s var(--ease); }
.keep-list li::after { content: ""; position: absolute; inset: 0 -14px; z-index: -1; background: var(--paper-hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.55s var(--ease); }
.keep-list li:hover { padding-left: 10px; }
.keep-list li:hover::after { transform: scaleX(1); }

/* Closing line, full width */
.close .display { font-size: clamp(64px, 15.5vw, 250px); letter-spacing: -0.055em; line-height: 0.88; }

/* Model rows fall into place */
.fxr .mt tbody tr { animation: rowIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .def { grid-column: 1 / -1; }
  .hero-act { grid-column: 1 / -1; margin-top: 34px; }
  .sec-l, .sec-r, .req { grid-column: 1 / -1; }
  .sec-l { margin-bottom: 32px; }
  .req { margin-top: 34px; }
  .sheet { grid-column: 1 / -1; }
  .qa { grid-template-columns: 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:first-of-type { grid-column: span 4; }
}
@media (max-width: 760px) {
  .hdr-nav, .hdr-in > .btn { display: none; }
  .hdr-menu { display: block; margin-left: 16px; }
  .hdr-x { margin-left: auto; margin-right: 0; width: 34px; height: 34px; }
  .keep-list li { grid-template-columns: 32px 1fr; }
  .keep-list small { grid-column: 2; text-align: left; white-space: normal; }
  .line::before, .sd::before { display: none; }
  .sd { padding-left: 0; }
  .mt .hide-s { display: none; }
  .foot-col, .foot-col:first-of-type { grid-column: span 6; }
  .steps li, .keep-list li { gap: 8px 12px; }
  .hud span:nth-child(2) { display: none; }
  .hero-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .hud .dot::after, .hero-cue::after, .req::after { display: none; }
}
