
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--ink-950);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--ink-950);
  color: var(--text);
  font: 400 var(--fs-body)/var(--lh-body) var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { display: block; padding-top: var(--nav-h); }
main:focus { outline: none; }
.nav-overlay main { padding-top: 0; }    

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; text-wrap: balance; }
p, li, figcaption, dd { text-wrap: pretty; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
ul[class], ol[class] { padding: 0; list-style: none; }
table { border-collapse: collapse; }
summary { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(91, 140, 255, 0.4); color: #fff; }

code {
  padding: 0.1em 0.38em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font: 700 0.84em/1.4 var(--font-mono);
  font-variant-ligatures: none;       
  overflow-wrap: anywhere;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-modal);
  padding: 0.75rem 1.125rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--on-light);
  font-weight: 600;
  translate: 0 -200%;
  transition: translate var(--t-fast) var(--ease-out);
}
.skip-link:focus { translate: 0 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

.t-display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
}
.t-h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.036em;
}
.t-h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: var(--track-head);
}
.t-h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: -0.018em;
}
.t-lead {
  max-width: var(--w-text);
  font-size: var(--fs-lead);
  line-height: 1.5;
  letter-spacing: -0.006em;
  color: var(--text-2);
}
.t-body { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-2); }
.t-small { font-size: var(--fs-small); line-height: 1.55; color: var(--text-2); }

.t-label {
  font: 700 var(--fs-label)/1.3 var(--font-mono);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-2);
}
.t-label-rule { display: inline-flex; align-items: center; gap: 0.75rem; }
.t-label-rule::before { content: ""; flex: none; width: 1.75rem; height: 1px; background: var(--tie); }

.t-mono { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0; }
.t-num { font-variant-numeric: tabular-nums; }
.t-muted { color: var(--text-2); }
.t-dim { color: var(--text-3); }
.t-center { text-align: center; }
.t-nowrap { white-space: nowrap; }    

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-right: 0.03em;
}
.t-display .accent, .t-h1 .accent { letter-spacing: -0.03em; }

.tie-text {
  padding-inline: 0.05em;
  margin-inline: -0.05em;
  background: var(--tie);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (forced-colors: active) {
  .tie-text { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

.wrap { width: min(100% - 2 * var(--gutter), var(--w-page)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--w-wide)); margin-inline: auto; }
.wrap-text { width: min(100% - 2 * var(--gutter), var(--w-text)); margin-inline: auto; }

.sec { position: relative; padding-block: var(--section-y); overflow-x: clip; }
.sec-tight { padding-block: calc(var(--section-y) * 0.6); }
.sec-band { background: var(--ink-900); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }

.sec-head {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.sec-head > .t-lead { max-width: 38rem; }
.sec-head-center { margin-inline: auto; justify-items: center; text-align: center; }
@media (min-width: 60rem) {
  .sec-head-split {
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
  }
  .sec-head-split > :first-child { grid-column: 1 / -1; }
  .sec-head-split > .t-lead { justify-self: end; padding-bottom: 0.35em; }
}

.stack { display: flex; flex-direction: column; gap: var(--gap, var(--s-4)); }
.stack-sm { --gap: var(--s-2); }
.stack-lg { --gap: var(--s-6); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-3)); }

.grid-2, .grid-3 { display: grid; gap: var(--gap, var(--s-5)); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 45rem) {
  .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-text-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .split-media-wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .split-top { align-items: start; }
  .split-rev > :first-child { order: 2; }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--on-light);
  font: 600 1rem/1.1 var(--font);
  letter-spacing: -0.011em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(6, 8, 11, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 12px 28px -16px rgba(91, 140, 255, 0.5);
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    background-color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}
.btn:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(6, 8, 11, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 16px 34px -14px rgba(91, 140, 255, 0.7);
}
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 60ms; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; box-shadow: none; pointer-events: none; }
.btn > .icon { width: 1.125em; height: 1.125em; }

.btn-sm { min-height: 2.5rem; padding: 0.375rem 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 3.5rem; padding: 0.625rem 1.75rem; font-size: 1.0625rem; }
@media (pointer: coarse) { .btn-sm { min-height: 2.75rem; } }

.btn-ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover {
  background: var(--glass-hi);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}

.btn-quiet {
  --arrow-rot: 0deg;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.011em;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  transition: text-decoration-color var(--t-fast) var(--ease-out);
}
.btn-quiet::after {
  content: "";
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
  transform: rotate(var(--arrow-rot));
  transition: transform var(--t-fast) var(--ease-out);
}
.btn-quiet:hover { text-decoration-color: currentColor; }
.btn-quiet:hover::after { transform: rotate(var(--arrow-rot)) translateX(0.25em); }
.btn-quiet.arrow-down { --arrow-rot: 90deg; }
.btn-quiet.arrow-out { --arrow-rot: -45deg; }

.btn-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.btn-icon:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); }
.btn-icon:active { transform: scale(0.94); transition-duration: 60ms; }
.btn-icon[disabled] { opacity: 0.45; pointer-events: none; }
.btn-icon-solid { border-color: transparent; background: var(--paper); color: var(--on-light); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 28px -14px rgba(91, 140, 255, 0.55); }
.btn-icon-solid:hover { border-color: transparent; background: #fff; }
.btn-icon-lg { width: 3.5rem; height: 3.5rem; }
.btn-icon-lg > .icon { width: 1.5rem; height: 1.5rem; }

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color var(--t-fast) var(--ease-out);
}
.link:hover { text-decoration-color: currentColor; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 11.75rem;
  min-height: 3.5rem;
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--on-light);
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(6, 8, 11, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 14px 30px -18px rgba(91, 140, 255, 0.5);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.store-btn-icon {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.store-btn-text { display: grid; gap: 0.1875rem; text-align: left; }
.store-btn-text > small { font: 600 0.6875rem/1 var(--font); letter-spacing: 0.01em; opacity: 0.66; }
.store-btn-text > b { font: 700 1.1875rem/1 var(--font); letter-spacing: -0.022em; }
.store-btn-dark {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
a.store-btn:hover { transform: translateY(-1px); background: #fff; }
a.store-btn-dark:hover { background: var(--glass-hi); border-color: rgba(255, 255, 255, 0.32); }
a.store-btn:active { transform: scale(0.98); transition-duration: 60ms; }
.store-btn.is-soon { cursor: default; }
[data-stores] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  box-shadow: var(--shadow-1);
}
.card-hi { border-color: var(--line-strong); background: var(--glass-hi); box-shadow: var(--shadow-2); }
.card-pad { padding: clamp(1.25rem, 3vw, 2rem); }
.card-solid { background: var(--glass), var(--ink-850); }                     
.card-blur { -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
:where(a.card, .card-link) { display: block; }
a.card, .card-link {
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
a.card:hover, .card-link:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-tie { border-color: transparent; }
.card-tie::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--tie);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-2);
}
.note > .icon { margin-top: 0.1em; color: var(--text-3); }
.note-warn { border-color: rgba(255, 181, 71, 0.34); background: rgba(255, 181, 71, 0.07); color: var(--text); }
.note-warn > .icon { color: var(--warn); }

.list-check { display: grid; gap: 0.75rem; }
.list-check > li { position: relative; padding-left: 1.875rem; line-height: 1.5; color: var(--text-2); }
.list-check > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.19em;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--tie);
  -webkit-mask: var(--i-check) center / contain no-repeat;
  mask: var(--i-check) center / contain no-repeat;
}
.list-check > li > b, .list-check > li > strong { color: var(--text); font-weight: 600; }
.list-check-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.375rem; font-size: var(--fs-small); }
.list-check-inline > li { padding-left: 1.5rem; line-height: 1.4; }
.list-check-inline > li::before { top: 0.14em; width: 1rem; height: 1rem; }

.icon { flex: none; width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.75em; height: 1.75em; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: 1.875rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font: 600 0.8125rem/1 var(--font);
  letter-spacing: -0.004em;
  white-space: nowrap;
}
.chip-mono { font: 700 0.6875rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.chip-cat::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cat, var(--text-3));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.chip-ok::before, .chip-warn::before {
  content: "";
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--ok);
}
.chip-warn { border-color: rgba(255, 181, 71, 0.4); background: rgba(255, 181, 71, 0.08); color: var(--warn); }
.chip-warn::before { background: var(--warn); }
button.chip, a.chip {
  min-height: 2.25rem;
  padding-inline: 0.875rem;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
button.chip:hover, a.chip:hover { border-color: var(--line-strong); color: var(--text); }
button.chip[aria-pressed="true"], a.chip[aria-current] { border-color: transparent; background: var(--paper); color: var(--on-light); }
@media (pointer: coarse) { button.chip, a.chip { min-height: 2.75rem; } }

.cat-vs { --cat: var(--cat-vs); --cat-ink: #fff; }
.cat-ac { --cat: var(--cat-ac); --cat-ink: #06080b; }
.cat-id { --cat: var(--cat-id); --cat-ink: #fff; }
.cat-ic { --cat: var(--cat-ic); --cat-ink: #06080b; }
.cat-in { --cat: var(--cat-in); --cat-ink: #fff; }
.cat-ds { --cat: var(--cat-ds); --cat-ink: #06080b; }

.chapter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6875rem;
  color: var(--text);
  font: 800 0.8125rem/1.1 var(--font);
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.chapter-chip > b {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 1.875rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  border-radius: 6px;
  background: var(--cat, var(--tie));
  color: var(--cat-ink, var(--on-light));
  font: 700 0.75rem/1 var(--font-mono);
  letter-spacing: 0.02em;
}
.chapter-chip[data-auto] { counter-increment: chapter; }
.chapter-chip[data-auto] > b::before { content: counter(chapter, decimal-leading-zero); }
.chapter-chip-sm { gap: 0.5rem; font-size: 0.6875rem; }
.chapter-chip-sm > b { min-width: 1.5rem; height: 1.25rem; border-radius: 5px; font-size: 0.625rem; }
button.chapter-chip, a.chapter-chip {
  min-height: 2.75rem;
  padding: 0 0.875rem 0 0.5rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
button.chapter-chip > b, a.chapter-chip > b { background: rgba(255, 255, 255, 0.1); color: var(--text); transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out); }
button.chapter-chip:hover, a.chapter-chip:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
button.chapter-chip[aria-current="true"], a.chapter-chip[aria-current="true"] { background: rgba(255, 255, 255, 0.07); color: var(--text); }
button.chapter-chip[aria-current="true"] > b, a.chapter-chip[aria-current="true"] > b { background: var(--cat, var(--tie)); color: var(--cat-ink, var(--on-light)); }

.callout-stage { position: relative; }
.callout-stage > img, .callout-stage > video, .callout-stage > canvas { display: block; width: 100%; }

.callout {
  --ax: 50%;
  --ay: 50%;
  --dx: 5rem;
  --dy: -3rem;
  --callout-accent: var(--cyan);
  --_k: var(--callout-scale, 1);
  --_sx: var(--callout-side, 1);
  --_ex: calc(var(--dx) * var(--_sx) * var(--_k));
  --_ey: calc(var(--dy) * var(--_k));
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
}
.callout-left { --callout-side: -1; }
@media (max-width: 40rem) {
  .callout { --_k: var(--callout-scale, 0.7); }
}

.callout-dot {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--callout-accent);
  transition: scale var(--t-med) var(--ease-spring), opacity var(--t-fast) linear;
}
.callout-dot::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}
.callout-line {
  position: absolute;
  left: 0;
  top: -1px;
  width: hypot(var(--_ex), var(--_ey));
  height: 2px;
  background: linear-gradient(90deg, transparent 0 9px, var(--callout-accent) 9px);
  transform-origin: 0 50%;
  rotate: atan2(var(--_ey), var(--_ex));
  transition: scale var(--t-med) var(--ease-out) 120ms, opacity var(--t-fast) linear 120ms;
}
.callout-label {
  position: absolute;
  left: var(--_ex);
  top: var(--_ey);
  translate: calc((var(--_sx) - 1) * 50%) -50%;       
  display: grid;
  gap: 0.25rem;
  width: max-content;
  max-width: min(17rem, 56vw);
  padding: 0.5rem 0.9375rem 0.5625rem;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 12, 16, 0.88);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  transition: opacity var(--t-med) var(--ease-out) 340ms, translate var(--t-med) var(--ease-out) 340ms;
}
.callout-label::before {
  content: "";
  position: absolute;
  left: calc((1 - var(--_sx)) * (50% - 1.5px));
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--callout-accent);
}
.callout-label > b { color: #f2f4f7; font: 800 0.8125rem/1.2 var(--font); letter-spacing: 0.005em; }
.callout-label > span { color: var(--text-2); font: 700 0.6875rem/1.35 var(--font-mono); text-wrap: balance; }

.callout.is-off .callout-dot,
html.reveal-on .callout[data-reveal]:not(.is-in) .callout-dot { scale: 0; opacity: 0; transition-delay: 0ms; }
.callout.is-off .callout-line,
html.reveal-on .callout[data-reveal]:not(.is-in) .callout-line { scale: 0 1; opacity: 0; transition-delay: 0ms; }
.callout.is-off .callout-label,
html.reveal-on .callout[data-reveal]:not(.is-in) .callout-label {
  opacity: 0;
  translate: calc((var(--_sx) - 1) * 50% + 0.5rem * var(--_sx)) -50%;
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: no-preference) {
  .callout-pulse .callout-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid var(--callout-accent);
    border-radius: 50%;
    animation: callout-pulse 2.8s var(--ease-out) infinite;
  }
}
@keyframes callout-pulse {
  0% { scale: 1; opacity: 0.8; }
  70%, 100% { scale: 2.4; opacity: 0; }
}

.phone {
  --phone-w: clamp(13.5rem, 24vw, 18.5rem);
  --_band: calc(var(--phone-w) * 0.011);
  --_bezel: calc(var(--phone-w) * 0.027);
  position: relative;
  flex: none;
  width: var(--phone-w);
  margin: 0;
  padding: var(--_bezel);
  border: var(--_band) solid transparent;
  border-radius: calc(var(--phone-w) * 0.168);
  background:
    linear-gradient(#020304, #020304) padding-box,
    linear-gradient(140deg, #9a9ea6 0%, #4a4d54 14%, #1c1e22 38%, #24262b 62%, #5d6068 86%, #9a9ea6 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 1px 0 1px rgba(255, 255, 255, 0.05),
    0 50px 100px -40px rgba(0, 0, 0, 0.95),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.phone-sm { --phone-w: clamp(10.5rem, 18vw, 13rem); }
.phone-lg { --phone-w: clamp(15rem, 28vw, 21rem); }
.phone > img, .phone > video, .phone > .phone-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--phone-w) * 0.13);
  background: var(--ink-900);
  object-fit: cover;
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(var(--_bezel) + var(--phone-w) * 0.032);    
  left: 50%;
  width: calc(var(--phone-w) * 0.22);
  height: calc(var(--phone-w) * 0.085);
  border-radius: var(--r-pill);
  background: radial-gradient(circle at 77% 50%, #151b2b 0 7%, #05060a 8% 13%, transparent 14%) #000;
  translate: -50% 0;
}
.phone::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: var(--_bezel);
  border-radius: calc(var(--phone-w) * 0.13);
  background: linear-gradient(122deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.035) 17%, transparent 31%, transparent 72%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--frame-ratio, 16 / 9);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-900);
  box-shadow: var(--shadow-2);
}
.frame > img, .frame > video, .frame > canvas, .frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.progress {
  height: 2px;
  border-radius: 1px;
  background: var(--tie) 0 0 / var(--val, 0%) 100% no-repeat, rgba(255, 255, 255, 0.14);
}

.tilt {
  position: relative;
  transform: perspective(var(--tilt-p, 900px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--tilt-s, 1));
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), rgba(255, 255, 255, 0.22), transparent 58%);
  opacity: var(--glare-o, 0);
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}

.bp-grid { position: relative; isolation: isolate; }
.bp-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size:
    var(--bp, 120px) var(--bp, 120px),
    var(--bp, 120px) var(--bp, 120px),
    calc(var(--bp, 120px) / 5) calc(var(--bp, 120px) / 5),
    calc(var(--bp, 120px) / 5) calc(var(--bp, 120px) / 5);
  background-position: 50% 0;
  -webkit-mask-image: var(--bp-mask, radial-gradient(ellipse 80% 75% at 50% 40%, #000 15%, transparent 78%));
  mask-image: var(--bp-mask, radial-gradient(ellipse 80% 75% at 50% 40%, #000 15%, transparent 78%));
  pointer-events: none;
}
.bp-grid-flat { --bp-mask: none; }

.rule {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat,
    repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 2.5rem) 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 5rem, #000 calc(100% - 5rem), transparent);
}
.rule-plain { height: 1px; background: var(--line); -webkit-mask-image: none; mask-image: none; }

body { counter-reset: chapter fig; }
.fig {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-3);
  font: 700 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fig::before { content: ""; flex: none; width: 1.25rem; height: 1px; background: currentColor; }
.fig > b { color: var(--text-2); font-weight: 700; }
.fig[data-auto] { counter-increment: fig; }
.fig[data-auto] > b::before { content: "Fig. " counter(fig, decimal-leading-zero); margin-right: 0.625rem; color: var(--text-3); }

.spec-table { width: 100%; font-size: 0.9375rem; line-height: 1.45; }
.spec-table caption { padding-bottom: 0.875rem; text-align: left; }
.spec-table th, .spec-table td {
  padding: 0.8125rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.spec-table tr:first-child > * { border-top: 1px solid var(--line); }
.spec-table th {
  width: 42%;
  padding-right: 1.25rem;
  color: var(--text-3);
  font: 700 0.6875rem/1.5 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-table td { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.spec-table td > small { display: block; color: var(--text-2); font-size: 0.8125rem; font-weight: 400; }

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
  padding: 1.125rem 0;
  list-style: none;
  color: var(--text);
  font: 600 clamp(1.0625rem, 1.5vw, 1.1875rem)/1.35 var(--font);
  letter-spacing: -0.014em;
  text-wrap: balance;
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-item > summary:focus-visible { outline-offset: -2px; border-radius: 6px; }
.acc-plus {
  position: relative;
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out);
}
.acc-plus::before, .acc-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.375rem;
  border-radius: 1px;
  background: currentColor;
  transition: rotate var(--t-med) var(--ease-out);
}
.acc-plus::after { rotate: 90deg; }
.acc-item > summary:hover .acc-plus { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.acc-item[open]:not([data-acc-state="closing"]) .acc-plus { border-color: transparent; background: var(--paper); color: var(--on-light); }
.acc-item[open]:not([data-acc-state="closing"]) .acc-plus::before { rotate: 180deg; }
.acc-item[open]:not([data-acc-state="closing"]) .acc-plus::after { rotate: 180deg; }
.acc-body { max-width: 44rem; overflow: hidden; color: var(--text-2); }
.acc-body > * + * { margin-top: 0.75rem; }
.acc-body > :last-child { margin-bottom: 1.5rem; }
.acc-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }

.segmented {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  max-width: 100%;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented > label, .segmented > button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  min-height: 2.5rem;
  padding: 0 1.125rem;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font: 600 0.9375rem/1 var(--font);
  letter-spacing: -0.008em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color var(--t-fast) var(--ease-out);
}
.segmented > label > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented > label:hover, .segmented > button:hover { color: var(--text); }
.segmented > label:has(input:checked),
.segmented > label.is-on,
.segmented > button[aria-selected="true"],
.segmented > button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--on-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.segmented > label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.segmented > label small, .segmented > button small { font: 700 0.625rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.segmented[data-seg-ready]::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  width: var(--seg-w, 0);
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 20px -10px rgba(91, 140, 255, 0.6);
  translate: var(--seg-x, 0) 0;
}
.segmented[data-seg-ready="moving"]::before { transition: translate var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out); }
.segmented[data-seg-ready] > label, .segmented[data-seg-ready] > button { background: none !important; box-shadow: none !important; }

.range {
  --val: 0%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--tie) 0 0 / var(--val) 100% no-repeat, rgba(255, 255, 255, 0.14);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: calc(2px - 0.6875rem);
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(91, 140, 255, 0);
  transition: box-shadow var(--t-fast) var(--ease-out), scale var(--t-fast) var(--ease-out);
}
.range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.6), 0 0 0 7px rgba(91, 140, 255, 0.2); }
.range:active::-webkit-slider-thumb { scale: 1.12; }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--tie); }
.range::-moz-range-thumb {
  width: 1.375rem;
  height: 1.375rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.6);
}
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--cyan); outline-offset: 3px; }
.range:focus-visible::-moz-range-thumb { outline: 2px solid var(--cyan); outline-offset: 3px; }

.field { display: grid; align-content: start; gap: 0.5rem; }
.field-label { color: var(--text-2); font: 600 var(--fs-small)/1.3 var(--font); }
.field-hint { color: var(--text-3); font-size: var(--fs-small); line-height: 1.4; }
.input {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.6875rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 400 1rem/1.4 var(--font);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover { border-color: rgba(255, 255, 255, 0.28); }
.input:focus-visible { outline: none; border-color: var(--azure); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.3); }
.input-mono { font: 700 0.9375rem/1.4 var(--font-mono); letter-spacing: 0.02em; }
.input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
textarea.input { min-height: 7rem; resize: vertical; }
select.input {
  padding-right: 2.75rem;
  background-image: var(--i-chevron);
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.125rem;
  cursor: pointer;
}
.field-icon { position: relative; }
.field-icon > .icon { position: absolute; left: 1rem; top: 50%; color: var(--text-3); translate: 0 -50%; pointer-events: none; }
.field-icon > .input { padding-left: 2.875rem; }
.field-error .input { border-color: var(--bad); }
.field-error .field-hint { color: var(--bad); }

.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem var(--marquee-gap, 0.75rem); margin: 0; padding: 0; list-style: none; }
.marquee.is-live {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee.is-live .marquee-track {
  flex: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-right: var(--marquee-gap, 0.75rem);       
  animation: marquee var(--marquee-time, 60s) linear infinite;
}
.marquee-rev.is-live .marquee-track { animation-direction: reverse; }
.marquee.is-paused .marquee-track, .marquee.is-live:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { translate: -100% 0; } }

html.reveal-on [data-reveal]:not([data-reveal-done]):not(.callout) {
  transition:
    opacity var(--t-slow) var(--ease-out) calc(var(--reveal-i, 0) * 80ms),
    translate var(--t-slow) var(--ease-out) calc(var(--reveal-i, 0) * 80ms),
    scale var(--t-slow) var(--ease-out) calc(var(--reveal-i, 0) * 80ms);
}
html.reveal-on [data-reveal]:not(.is-in):not(.callout) { opacity: 0; translate: 0 1.5rem; }
html.reveal-on [data-reveal="fade"]:not(.is-in):not(.callout) { translate: none; }
html.reveal-on [data-reveal="left"]:not(.is-in):not(.callout) { translate: -2rem 0; }
html.reveal-on [data-reveal="right"]:not(.is-in):not(.callout) { translate: 2rem 0; }
html.reveal-on [data-reveal="scale"]:not(.is-in):not(.callout) { translate: none; scale: 0.96; }

@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter var(--t-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + var(--enter-delay, 0ms)); }
}
@keyframes enter { from { opacity: 0; translate: 0 1.25rem; } }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  color: var(--text);
}
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0));
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), -webkit-backdrop-filter var(--t-med) var(--ease-out), backdrop-filter var(--t-med) var(--ease-out);
}
.site-nav.is-scrolled::before {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 10, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.site-nav.is-menu-open::before { border-bottom-color: transparent; background: var(--ink-950); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-nav-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
  transition: height var(--t-med) var(--ease-out);
}
.site-nav.is-scrolled:not(.is-menu-open) .site-nav-bar { height: calc(var(--nav-h) - 0.75rem); }

.site-logo { display: inline-flex; flex: none; align-items: center; gap: 0.6875rem; min-height: 2.75rem; color: var(--text); }
.site-logo-mark { flex: none; width: 1.5rem; height: 1.75rem; overflow: visible; }
.site-logo-name { font: 700 1.0625rem/1 var(--font); letter-spacing: -0.03em; white-space: nowrap; }

.site-nav-links { display: none; align-items: center; gap: 0.25rem; margin-left: auto; }
.site-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font: 600 0.9375rem/1 var(--font);
  letter-spacing: -0.011em;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out);
}
.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.4375rem;
  height: 1px;
  background: var(--tie);
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale var(--t-med) var(--ease-out);
}
.site-nav-links a:hover { color: var(--text); }
.site-nav-links a[aria-current] { color: var(--text); }
.site-nav-links a[aria-current]::after { scale: 1 1; }
.site-nav-actions { display: flex; flex: none; align-items: center; gap: 0.625rem; margin-left: auto; }
.site-nav-cta { display: none; }
.site-nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.site-nav-toggle:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.08); }
.site-nav-toggle-bars { position: relative; display: block; width: 1.125rem; height: 0.75rem; }
.site-nav-toggle-bars > i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: translate var(--t-med) var(--ease-out), rotate var(--t-med) var(--ease-out);
}
.site-nav-toggle-bars > i:first-child { top: 2px; }
.site-nav-toggle-bars > i:last-child { bottom: 2px; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bars > i:first-child { translate: 0 3.25px; rotate: 45deg; }
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-bars > i:last-child { translate: 0 -3.25px; rotate: -45deg; }
@media (scripting: none) { .site-nav-toggle { display: none; } }
@media (min-width: 23.5rem) { .site-nav-cta { display: inline-flex; } }
@media (min-width: 60rem) {
  .site-nav-links { display: flex; }
  .site-nav-actions { margin-left: 0.5rem; }
  .site-nav-toggle { display: none; }
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 0.5rem) var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  background: var(--ink-950);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.site-menu.is-open { opacity: 1; }
.site-menu-links { display: grid; }
.site-menu-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.0625rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: 700 clamp(1.625rem, 7vw, 2.25rem)/1.1 var(--font);
  letter-spacing: -0.035em;
  opacity: 0;
  translate: 0 0.875rem;
  transition: opacity 0.5s var(--ease-out), translate 0.5s var(--ease-out);
}
.site-menu.is-open .site-menu-links a { opacity: 1; translate: 0 0; }
.site-menu.is-open .site-menu-links a:nth-child(1) { transition-delay: 60ms; }
.site-menu.is-open .site-menu-links a:nth-child(2) { transition-delay: 100ms; }
.site-menu.is-open .site-menu-links a:nth-child(3) { transition-delay: 140ms; }
.site-menu.is-open .site-menu-links a:nth-child(4) { transition-delay: 180ms; }
.site-menu.is-open .site-menu-links a:nth-child(5) { transition-delay: 220ms; }
.site-menu.is-open .site-menu-links a:nth-child(n + 6) { transition-delay: 260ms; }
.site-menu-n { flex: none; width: 1.5rem; color: var(--text-3); font: 700 0.6875rem/1 var(--font-mono); letter-spacing: 0.08em; }
.site-menu-foot { display: grid; gap: 0.875rem; margin-top: auto; padding-top: 2.5rem; }
html.is-locked { overflow: hidden; }
@media (min-width: 60rem) { .site-menu { display: none; } }

.site-footer { padding-bottom: max(2rem, env(safe-area-inset-bottom)); color: var(--text-2); }
.site-footer-top { display: grid; gap: 3rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer-blurb { max-width: 21rem; margin-top: 1.125rem; font-size: var(--fs-small); line-height: 1.6; }
.site-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.site-footer-col > ul { display: grid; margin-top: 0.75rem; padding: 0; list-style: none; }
.site-footer-col .t-label { color: var(--text-3); }
.site-footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-2);
  font-size: 0.9375rem;
  transition: color var(--t-fast) var(--ease-out);
}
.site-footer-col a:hover, .site-footer-col a[aria-current] { color: var(--text); }
.site-footer-bottom {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.8125rem;
  line-height: 1.6;
}
@media (min-width: 40rem) { .site-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) {
  .site-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; }
  .site-footer-bottom { grid-template-columns: auto minmax(0, 46rem); justify-content: space-between; }
  .site-footer-legal { text-align: right; }
}

.prose { max-width: var(--w-text); color: var(--text-2); }
.prose > * + * { margin-top: 1.125em; }
.prose h2 { margin-top: 2.75em; color: var(--text); font: 700 var(--fs-h3)/var(--lh-snug) var(--font); letter-spacing: -0.018em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; color: var(--text); font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 0.625em; padding-left: 1.25em; }
.prose li::marker { color: var(--text-3); font: 700 0.8125em var(--font-mono); }
.prose li { padding-left: 0.25em; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: text-decoration-color var(--t-fast) var(--ease-out); }
.prose a:hover { text-decoration-color: currentColor; }

.doc { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.doc-head { display: grid; justify-items: start; gap: 1.125rem; }
.doc-head > .t-small { max-width: 24rem; }
@media (min-width: 60rem) {
  .doc { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .doc-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
}

.sec-missing { padding-block: clamp(1rem, 3vw, 1.75rem); }
.nav-overlay main > .sec-missing:first-child { padding-top: calc(var(--nav-h) + 1.5rem); }
.missing {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 14px, transparent 14px 28px);
}
.missing-tag { color: var(--warn); font: 700 var(--fs-label)/1.3 var(--font-mono); letter-spacing: var(--track-label); text-transform: uppercase; }
.missing-name { font: 800 var(--fs-h2)/1.05 var(--font); letter-spacing: var(--track-head); }
.missing-how { max-width: 44rem; color: var(--text-2); font-size: var(--fs-small); line-height: 1.6; }

@font-face {
  font-family: "JBM";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-700-normal.woff2") format("woff2");
  font-feature-settings: "calt" 0, "liga" 0;
}
:root {
  --cat-id: #dc2626;   
  --cat-ic: #f59e0b;   
  --cat-in: #c026d3;   
  --cat-ds: #0d9488;   
  --nav-h: 4rem;
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b2c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
@media (min-width: 60rem) {
  :root { --nav-h: 4.5rem; }
}

@media (pointer: coarse) { .site-nav-cta { min-height: 2.75rem; } }
