/* ==========================================================================
   Compute Markets: site stylesheet
   Self-hosted fonts only. No third-party requests. No inline styles (CSP).
   ========================================================================== */

/* ---------- Fonts (SIL OFL 1.1, see assets/fonts/*.txt) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Ink (dark) */
  --ink-950: #050B16;
  --ink-900: #08111F;
  --ink-850: #0C1729;
  --ink-800: #111E34;
  --ink-700: #1A2944;
  --fg-d: #EAF0F7;
  --fg-d-2: #B4C0D3;
  --fg-d-3: #8D9AB0;
  --line-d: rgba(180, 200, 230, 0.14);
  --line-d-strong: rgba(180, 200, 230, 0.28);

  /* Paper (light) */
  --paper: #F4F1EA;
  --paper-2: #EBE6DB;
  --paper-3: #FBFAF7;
  --white: #FFFFFF;
  --fg: #0B1527;
  --fg-2: #3D4859;
  --fg-3: #566174;
  --line: rgba(11, 21, 39, 0.13);
  --line-strong: rgba(11, 21, 39, 0.3);
  /* Form-control boundaries: >= 3:1 on white and paper-3 (WCAG 1.4.11). --line-strong stays decorative. */
  --field-border: #7D8696;

  /* Accents: cyan = cash-settled (the USD Compute Futures), amber = highlights (Settlement Window, size notes) */
  --cash: #43C7D9;
  --cash-ink: #0A6C7C;
  --cash-soft: rgba(67, 199, 217, 0.14);
  --phys: #F0A847;
  --phys-ink: #8F5200;
  --phys-soft: rgba(240, 168, 71, 0.16);

  --error: #B42318;
  --error-d: #FF8A80;
  --success: #1E7A4C;
  --focus: #1F5FD6;
  --focus-d: #8CC2FF;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: 16px;
  --radius: 6px;
  --radius-lg: 10px;
  --header-h: 72px;
  --header-h-compact: 60px;
  --section-y: clamp(72px, 9vw, 136px);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink-950);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--paper);
  font-feature-settings: "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
.site-nav ul, .mobile-menu ul, .site-footer__nav ul, .doc-toc ol, .timeline-steps ol { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
abbr[title] { text-decoration: none; cursor: help; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
/* Programmatic focus targets (main, form card, summaries) are not controls: no ring around whole blocks. */
main:focus-visible, .enquiry:focus-visible, [tabindex="-1"]:focus-visible { outline: none; }
::selection { background: rgba(67, 199, 217, 0.3); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nw { white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* External links, and the links to the specifications PDF, open in a new tab: a small arrow icon
   (decorative; the link also carries a visually hidden "(opens in a new tab)"). Masked so it
   takes the link color. */
a.ext::after {
  content: "";
  display: inline-block;
  width: 0.62em; height: 0.62em;
  margin-left: 0.24em;
  vertical-align: 0.02em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2.5h6v6M9.5 2.5l-7 7' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 2.5h6v6M9.5 2.5l-7 7' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* In text the arrow never wraps onto a line by itself: outside buttons it is an inline box that
   starts with a word joiner (U+2060), so it stays on the line of the link's last word. The joiner
   has empty alternative text ("/ ''"), so it adds nothing to the link's accessible name; the first
   declaration is the fallback for browsers without that syntax. In a flex link (the partner logo)
   the box is blockified and keeps its 0.62em square. */
a.ext:not(.btn)::after { content: "\2060"; content: "\2060" / ""; display: inline; padding-left: 0.62em; }

/* Dark contexts */
.section--ink, .site-header, .hero, .cred, .site-footer, .notice-strip, .enquiry__aside, .calc__out, .doc-hero, .page-404, .symbol, .index-roles, .product-panel {
  --focus: var(--focus-d);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--paper);
  color: var(--fg);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.skip-link:focus { top: 12px; }

/* ---------- Notice strip ---------- */
.notice-strip {
  background: var(--ink-950);
  color: var(--fg-d-2);
  border-bottom: 1px solid var(--line-d);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.notice-strip p { padding: 8px 0; }
.notice-strip strong { color: var(--fg-d); font-weight: 600; }
@media (max-width: 599px) { .notice-strip span { display: block; } }
/* Risk warning (CySEC letter, A7): its own line under the audience line, on every page and width. */
.notice-strip__risk { border-top: 1px solid var(--line-d); }
.notice-strip__risk a { color: var(--fg-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--paper); color: var(--fg); }
.btn--light:hover { background: var(--white); }
.btn--ghost { background: rgba(8, 17, 31, 0.25); color: var(--fg-d); border-color: rgba(234, 240, 247, 0.32); }
.btn--ghost:hover { border-color: var(--fg-d); background: rgba(8, 17, 31, 0.5); }
.btn--dark { background: var(--ink-900); color: var(--paper); }
.btn--dark:hover { background: var(--ink-700); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--fg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.link-btn {
  background: none; border: 0; padding: 0;
  color: inherit; font-weight: 550;
  text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}
.link-btn:hover { text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--fg-d);
  background: rgba(8, 17, 31, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-d);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.2s ease;
}
.site-header.is-compact .site-header__inner { min-height: var(--header-h-compact); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-d);
  flex-shrink: 0;
}
.brand .mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.015em; }
.brand__endorse { font-size: 0.71875rem; color: var(--fg-d-3); letter-spacing: 0.01em; margin-top: 2px; }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-d-2);
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--fg-d); }
.site-nav a.is-active, .site-nav a[aria-current="page"] { color: var(--fg-d); }
.site-nav a.is-active::after, .site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 1px; background: var(--fg-d);
}
.site-header__cta { display: none; margin-left: auto; white-space: nowrap; }
.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  background: none;
  border: 0;
  color: var(--fg-d);
  font-size: 0.875rem;
  font-weight: 550;
}
.menu-toggle__icon { position: relative; width: 22px; height: 14px; display: inline-block; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.menu-toggle__icon span:first-child { top: 3px; }
.menu-toggle__icon span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 6.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 6.5px; transform: rotate(-45deg); }
.mobile-menu {
  border-top: 1px solid var(--line-d);
  background: var(--ink-900);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
}
.mobile-menu nav { padding: 8px 0 24px; }
.mobile-menu li { border-bottom: 1px solid var(--line-d); }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--fg-d);
  text-decoration: none;
}
.mobile-menu .btn { margin-top: 20px; }

@media (max-width: 359px) {
  /* 320-359 px: brand and menu button fit inside the gutters. */
  .site-header__inner { gap: 16px; }
}
@media (min-width: 720px) {
  .site-header__cta { display: inline-flex; }
  .menu-toggle { margin-left: 8px; }
}
/* Header breakpoints in em (80em = 1280px at the default 16px text size), so a larger browser text size
   switches to the Menu button before the desktop navigation would overflow. site.js header() uses 80em too. */
@media (min-width: 80em) {
  .site-nav { display: block; }
  .site-header__cta { margin-left: 8px; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 80em) and (max-width: 86.24em) {
  .site-header__inner { gap: 16px; }
  .site-nav ul { gap: 0; }
  .site-nav a { padding: 8px 8px; }
  .site-nav a.is-active::after, .site-nav a[aria-current="page"]::after { left: 8px; right: 8px; }
}
@media (min-width: 86.25em) {
  .site-nav ul { gap: 8px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--paper { background: var(--paper); color: var(--fg); }
.section--paper-2 { background: var(--paper-2); color: var(--fg); }
.section--ink { background: var(--ink-900); color: var(--fg-d); }
.section--grid { overflow: hidden; }
.section--grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(180, 200, 230, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(180, 200, 230, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.section--grid > .container { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.eyebrow span {
  color: var(--fg);
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
}
.section--ink .eyebrow, .enquiry__aside .eyebrow { color: var(--fg-d-3); }
.section--ink .eyebrow span { color: var(--fg-d); border-color: var(--line-d-strong); }

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  line-height: 1.04;
  font-weight: 580;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
.lede, .section-head__lede {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.section--ink .lede, .section--ink .section-head__lede { color: var(--fg-d-2); }
.section-head {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section--ink .section-head { border-color: var(--line-d-strong); }
.section-head h2 + .section-head__lede { margin-top: 20px; }
.section-head--split { display: grid; gap: 20px; }
@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
  /* Eyebrow line (12px x 1.6) + its 20px margin: the lede starts level with the H2, and the
     eyebrow always sits directly under the section rule, however long the lede is. */
  .section-head--split .section-head__lede { justify-self: end; margin-top: calc(0.75rem * 1.6 + 20px); }
}
.footnote {
  margin-top: 28px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 90ch;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--fg-d);
  background: var(--ink-900);
  padding-top: clamp(48px, 8vh, 104px);
  padding-bottom: clamp(32px, 4vw, 48px);
  overflow: hidden;
}
@media (max-width: 599px) { .hero { padding-top: clamp(32px, calc(8vh - 24px), 80px); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
/* Background video (index.html): over the image, invisible until it plays, then faded in. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { transition: none; } }
.hero__video-toggle {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--line-d-strong);
  border-radius: 50%;
  background: rgba(8, 17, 31, 0.55);
  color: var(--fg-d);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.hero__video-toggle:hover, .hero__video-toggle:focus-visible { opacity: 1; background: rgba(8, 17, 31, 0.85); }
.hero__video-toggle::before, .hero__video-toggle::after {
  content: ""; width: 3px; height: 11px; margin: 0 1.5px; border-radius: 1px; background: currentColor;
}
.hero__video-toggle[data-state="paused"]::before {
  width: 0; height: 0; margin: 0 0 0 3px; border-radius: 0; background: none;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor;
}
.hero__video-toggle[data-state="paused"]::after { display: none; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.78) 0%, rgba(8, 17, 31, 0.42) 34%, rgba(8, 17, 31, 0.62) 64%, rgba(8, 17, 31, 0.96) 100%),
    linear-gradient(90deg, rgba(8, 17, 31, 0.82) 0%, rgba(8, 17, 31, 0.35) 55%, rgba(8, 17, 31, 0.1) 100%);
}
.hero__inner { position: relative; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.55);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-d);
}
.status-chip__part { display: inline-flex; align-items: center; gap: 10px; }
.status-chip__part--next { color: var(--fg-d-2); }
.status-chip__sep { color: var(--fg-d-3); }
@media (max-width: 78.9375em) {
  /* One line per product instead of one long pill, before the pill gets too wide for the
     line. In em so it also applies at enlarged browser text sizes. Each line starts with
     its own dot or ring. */
  .status-chip { flex-direction: column; align-items: flex-start; gap: 4px; padding: 9px 16px 9px 12px; border-radius: 14px; }
  .status-chip__sep { display: none; }
}
@media (min-width: 33.5em) and (max-width: 78.9375em) {
  /* A chip with one product (no separator) stays a pill wherever it fits on one line
     (the live text of December 1, 2026 needs about 490px plus the gutters). Browsers
     without :has() skip this rule and show the box above. */
  .status-chip:not(:has(.status-chip__sep)) { flex-direction: row; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px; }
}
@media (max-width: 29.9375em) {
  .status-chip { font-size: 0.6875rem; letter-spacing: 0.03em; }
  .status-chip__part { gap: 8px; }
}
@media (max-width: 39.9375em) {
  /* Narrow screens: a line may wrap; the dot or ring then stays on its first line,
     centered on it (1lh; older browsers use the 0.3em fallback). */
  .status-chip__part { align-items: flex-start; }
  .status-chip__part .live-dot, .status-chip__part .next-ring { margin-top: 0.3em; margin-top: calc((1lh - 8px) / 2); }
}
@media (max-width: 22.4375em) {
  .status-chip { font-size: 0.625rem; letter-spacing: 0.02em; padding-right: 12px; }
}
/* Product status markers. Solid dot = live, hollow ring = still to come. Both use the
   surrounding text color. Since December 1, 2026 the USD Compute Futures show the dot again. */
.live-dot, .next-ring {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.live-dot { background: currentColor; }
.next-ring { border: 1.5px solid currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    background: currentColor;
    animation: live-halo 2.8s ease-out infinite;
  }
}
@keyframes live-halo {
  from { transform: scale(1); opacity: 0.5; }
  65%, to { transform: scale(2.6); opacity: 0; }
}
.hero__title {
  margin-top: 28px;
  font-size: clamp(2.5rem, 1.3rem + 4.9vw, 5.5rem);
  line-height: 1;
  font-weight: 590;
  letter-spacing: -0.04em;
  max-width: 12.8em;
  text-wrap: balance;
}
.hero__title span { display: block; color: var(--fg-d-2); }
.hero__lede {
  margin-top: 28px;
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-d-2);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

.index-strip {
  margin-top: clamp(40px, 6vh, 80px);
  border: 1px solid var(--line-d-strong);
  border-radius: var(--radius-lg);
  background: rgba(5, 11, 22, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.index-strip__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-d);
}
.index-strip__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--fg-d);
}
.index-strip__flag { color: var(--fg-d-3); margin-left: 10px; }
.index-strip__flag::before { content: "·"; margin-right: 10px; }
/* The unit always has its own line, so a shorter (live) title does not pull it up and shift the layout. */
.index-strip__unit { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-d-3); letter-spacing: 0.04em; }
.index-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.index-tile {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "ticker" "value" "gpu"; /* no 90-day change since November 28, 2026 */
  align-items: baseline;
  gap: 2px 8px;
  padding: 16px 20px 18px;
  border-right: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.index-tile:nth-child(2n) { border-right: 0; }
.index-tile:nth-child(n+3) { border-bottom: 0; }
.index-tile__ticker { grid-area: ticker; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-d-2); }
.index-tile__value {
  grid-area: value;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  column-gap: 0.3rem;
  min-width: 0;
  white-space: nowrap;
  margin-top: 4px;
}
.index-tile__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
  /* Never wider than the tile, sized for the widest plausible level, "$XX.XXXX" (eight characters
     of 0.58em) beside the unit (about 72px with its gap): it fits from 168px of tile content width;
     below that the unit drops under the number. */
  font-size: min(clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem), calc((100cqi - 72px) / 4.7));
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-d);
  font-variant-numeric: tabular-nums;
}
.index-tile__per {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-d-3);
}
@container (max-width: 167.98px) {
  .index-tile__value { flex-direction: column; align-items: flex-start; }
  .index-tile__num { font-size: min(1.75rem, 20cqi); }
}
.index-tile__gpu { grid-area: gpu; font-size: 0.8125rem; color: var(--fg-d-3); }
@media (max-width: 599px) {
  .index-tile { padding: 14px 16px 16px; }
  .index-strip__head { padding: 14px 16px; }
  .index-strip__flag { display: block; margin-left: 0; }
  .index-strip__flag::before { content: none; }
  .index-strip__source { padding: 12px 16px 14px; }
}
.index-strip__source {
  padding: 12px 20px 14px;
  border-top: 1px solid var(--line-d);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--fg-d-3);
}
@media (min-width: 900px) {
  .index-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .index-tile { border-bottom: 0; }
  .index-tile:nth-child(2n) { border-right: 1px solid var(--line-d); }
  .index-tile:last-child { border-right: 0; }
}
/* Live index data (assets/js/site.js, 4b). Hidden in the static fallback.
   1-day change: shares the GPU row, right-aligned, so the tile keeps its height. */
.index-tile__d1 {
  grid-area: gpu;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-d-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.index-tile__d1 abbr { color: var(--fg-d-3); }
/* Index date per tile: only when the tiles carry different index dates. */
.index-strip[data-index-dates="mixed"] .index-tile { grid-template-areas: "ticker" "value" "gpu" "date"; }
.index-tile__date {
  grid-area: date;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--fg-d-3);
}
@media (max-width: 599px) {
  .index-tile__d1 { font-size: 0.6875rem; }
}
@media (max-width: 389px) {
  .index-tile__d1 { display: none; }
}

/* ---------- Credibility bar ---------- */
.cred {
  background: var(--ink-950);
  color: var(--fg-d);
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
}
.cred__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line-d); }
.cred__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  background: var(--ink-950);
}
.cred__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.cred__text { font-size: 0.9375rem; line-height: 1.45; color: var(--fg-d); }
@media (min-width: 720px) and (max-width: 1023px) {
  .cred__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred__list li { padding: 24px 24px 24px 0; }
  .cred__list li:nth-child(2n) { padding-left: 24px; }
  .cred__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Laptops: three items over two. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .cred__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cred__list li { grid-column: span 2; padding: 24px; }
  .cred__list li:nth-child(n+4) { grid-column: span 3; }
  .cred__list li:nth-child(1), .cred__list li:nth-child(4) { padding-left: 0; }
  .cred__list li:nth-child(3), .cred__list li:nth-child(5) { padding-right: 0; }
}
@media (min-width: 1280px) {
  .cred__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cred__list li { padding: 28px 20px; }
  .cred__list li:first-child { padding-left: 0; }
  .cred__list li:last-child { padding-right: 0; }
}

/* ---------- Dots & tags ---------- */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--cash { background: var(--cash); }
.section--paper .dot--cash, .section--paper-2 .dot--cash, .form .dot--cash { background: var(--cash-ink); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}
.tag--cash { color: var(--cash-ink); border-color: rgba(10, 108, 124, 0.4); background: rgba(10, 108, 124, 0.06); }

/* ---------- Contracts ---------- */
.chips input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.chips input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

.gpu-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gpu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .gpu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gpu-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cash-ink);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 22px 20px;
}
.gpu-card__family {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.gpu-card__title {
  margin-top: 6px;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.gpu-card__product { margin-top: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--fg-2); }
.contracts__note { margin-top: 16px; font-size: 0.8125rem; line-height: 1.5; color: var(--fg-3); max-width: 100ch; }
.gpu-card__desc { margin-top: 12px; font-size: 0.9375rem; line-height: 1.55; color: var(--fg-2); }
.gpu-card__symbol {
  margin-top: 18px;
  padding: 14px 16px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(10, 108, 124, 0.24);
  background: rgba(10, 108, 124, 0.05);
}
.gpu-card__symbol-label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cash-ink);
}
.gpu-card__code {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--fg);
  white-space: nowrap;
}
.gpu-card__meta { margin-top: auto; padding-top: 18px; }
.gpu-card__meta div {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.gpu-card__meta dt { color: var(--fg-3); }
/* Long values (index names, reference variants) wrap under their label, still right-aligned. */
.gpu-card__meta dd { margin-left: auto; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; min-width: 0; }
.gpu-card__meta dd.mono { font-size: 0.75rem; overflow-wrap: anywhere; }
.gpu-card__meta .is-stacked { display: block; }
.gpu-card__meta .is-stacked dd { margin-top: 2px; text-align: left; }

/* Symbol anatomy */
.symbol-wrap {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .symbol-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
}
.symbol-intro h3, .index-info__text h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.symbol-intro p { margin-top: 12px; font-size: 0.9375rem; color: var(--fg-2); }
.symbol {
  margin: 0;
  min-width: 0;
  background: var(--ink-900);
  color: var(--fg-d);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  container-type: inline-size;
}
.symbol__code {
  display: flex;
  flex-wrap: nowrap;
  font-family: var(--font-mono);
  font-weight: 500;
  /* 20 characters of 0.6em: always fits the figure (12em at 8cqi = 96% of its width). */
  font-size: clamp(1rem, 8cqi, 2.5rem);
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.symbol__part { padding-bottom: 6px; border-bottom: 2px solid var(--fg-d-3); }
.symbol__part:first-child { border-color: var(--cash); }
.symbol__part--date { border-color: var(--phys); }
.symbol__dash { color: var(--fg-d-3); }
.symbol__keys { margin-top: 20px; display: grid; gap: 10px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) and (max-width: 1023px), (min-width: 1240px) { .symbol__keys { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.symbol__keys dt { font-size: 0.8125rem; color: var(--fg-d); }
.symbol__keys dd { margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--fg-d-2); }
.symbol__caption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 0.8125rem; color: var(--fg-d-3); }
.symbol__caption .mono { color: var(--fg-d-2); }

/* The Indices: roles and rules */
.index-info {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .index-info { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}
.index-roles {
  display: grid;
  background: var(--ink-900);
  color: var(--fg-d);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) and (max-width: 1023px) { .index-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.index-role { padding: clamp(20px, 2.5vw, 28px); }
.index-role + .index-role { border-top: 1px solid var(--line-d); }
@media (min-width: 640px) and (max-width: 1023px) {
  .index-role + .index-role { border-top: 0; border-left: 1px solid var(--line-d); }
}
.index-role__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.index-role__logo { display: inline-flex; align-items: center; margin-top: 14px; color: var(--fg-d-3); text-decoration: none; border-radius: 2px; }
.index-role__logo img { width: auto; height: 24px; }
.index-role__logo:hover { color: var(--fg-d); }
.index-role__name { margin-top: 12px; font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--fg-d); }
.index-role__text { margin-top: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--fg-d-2); }
.index-info__text > p { margin-top: 12px; font-size: 0.9375rem; color: var(--fg-2); }
.index-info__rules { margin-top: 16px; }
.index-info__rules li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--fg-2);
}
.index-info__rules li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 10px; height: 1px; background: var(--fg-2); }
.index-info__link { font-weight: 550; }

/* ---------- Product status ---------- */
.product-status {
  list-style: none;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  padding: 0;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-3);
}
.product-status__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}
.product-status__item + .product-status__item { border-top: 1px solid var(--line); }
/* From 760 px one column per item. */
@media (min-width: 760px) {
  .product-status { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .product-status__item { align-items: flex-start; }
  .product-status__item + .product-status__item { border-top: 0; border-left: 1px solid var(--line); }
  .product-status__state { margin-top: 5px; }
}
.product-status__text { display: grid; gap: 2px; min-width: 0; }
.product-status__name { font-size: 1.0625rem; font-weight: 590; letter-spacing: -0.012em; color: var(--fg); }
.product-status__meta { font-size: 0.8125rem; line-height: 1.45; color: var(--fg-3); }
.product-status__state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg);
}
.product-status__state--next { color: var(--fg-2); }
/* Two or more items: from 760 px each column has its state below the name, so long names never
   squeeze the state. A single item stays one wide row with its state on the right. */
@media (min-width: 760px) {
  .product-status__item:not(:only-child) { flex-direction: column; justify-content: flex-start; gap: 10px; }
  .product-status__item:not(:only-child) .product-status__state { margin-top: auto; } /* bottom of each cell: the states line up */
}
@media (max-width: 479px) {
  /* Phones: the state goes below the name and description, so neither is squeezed. */
  .product-status__item { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 8px; }
  .product-status__state { font-size: 0.6875rem; letter-spacing: 0.03em; gap: 8px; }
}

/* ---------- How it works ---------- */
.how { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .how { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
.how__points { counter-reset: pt; }
.how__points li {
  counter-increment: pt;
  position: relative;
  padding: 22px 0 22px 56px;
  border-top: 1px solid var(--line-d);
}
.how__points li:last-child { border-bottom: 1px solid var(--line-d); }
.how__points li::before {
  content: counter(pt, decimal-leading-zero);
  position: absolute; left: 0; top: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-d-3);
}
.how__points h3 { color: var(--fg-d); }
.how__points p { margin-top: 8px; font-size: 0.9375rem; color: var(--fg-d-2); }

.how__figure {
  background: linear-gradient(180deg, rgba(17, 30, 52, 0.9), rgba(12, 23, 41, 0.9));
  border: 1px solid var(--line-d);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 28px);
}
/* The life of a Contract (vertical timeline). Rail colors: cyan = listed and trading, amber = the
   Settlement Window, grey = Positions open with no trading. */
.life__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-d); }
.life__title .mono { font-size: 0.9375rem; overflow-wrap: anywhere; }
.life__sub { margin-top: 4px; font-size: 0.8125rem; line-height: 1.45; color: var(--fg-d-3); }
.life { margin-top: 22px; }
.life__item { position: relative; padding: 0 0 20px 34px; min-width: 0; }
.life__item:last-child { padding-bottom: 0; }
.life__item::before {
  content: "";
  position: absolute;
  left: 7px; top: 14px; bottom: -4px;
  width: 0;
  border-left: 2px dashed var(--line-d-strong);
}
.life__item--trade::before { border-left: 2px solid var(--cash); }
.life__item--window::before { border-left: 2px solid var(--phys); }
.life__item--hold::before { border-left: 2px solid rgba(180, 200, 230, 0.45); }
.life__item--end::before { display: none; }
.life__item::after {
  content: "";
  position: absolute;
  left: 1px; top: 3px;
  width: 14px; height: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid var(--fg-d-3);
  background: var(--ink-850);
}
.life__item--trade::after { border-color: var(--cash); }
.life__item--window::after { border-color: var(--phys); background: var(--phys); }
.life__item--hold::after { border-color: var(--fg-d); }
.life__item--end::after { border-color: var(--fg-d); background: var(--fg-d); }
.life__when { font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.45; letter-spacing: 0.02em; color: var(--fg-d-2); }
.life__name { margin-top: 2px; font-size: 1rem; color: var(--fg-d); }
.life__text { margin-top: 2px; font-size: 0.875rem; line-height: 1.5; color: var(--fg-d-3); }
.how__figure figcaption { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.life__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8125rem; color: var(--fg-d-2); }
.life__legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 22px; height: 0; }
.lg--trade { border-top: 3px solid var(--cash); }
.lg--window { border-top: 3px solid var(--phys); }
.lg--hold { border-top: 3px solid rgba(180, 200, 230, 0.45); }

.settlement {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
}
@media (min-width: 1024px) {
  .settlement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .settlement__flow {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "title flow" "note flow";
    gap: 8px 64px;
  }
  .settlement__flow .settlement__title { grid-area: title; align-self: end; }
  .settlement__flow .flow { grid-area: flow; margin-top: 0; align-self: center; }
  .settlement__flow .flow__note { grid-area: note; margin-top: 0; }
  .settlement__card { grid-column: 1 / -1; }
  .settlement__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .settlement__cols .example__table--compact { margin-top: 16px; }
  .example { grid-column: 1; }
  .fallbacks { grid-column: 2; }
}
.settlement__flow, .settlement__card, .example, .fallbacks {
  border: 1px solid var(--line-d);
  border-radius: var(--radius-lg);
  background: rgba(5, 11, 22, 0.45);
  padding: clamp(20px, 2.5vw, 28px);
}
.settlement__flow .flow { margin-top: 18px; }
.flow {
  --party-w: 6rem;
  display: grid;
  grid-template-columns: var(--party-w) minmax(0, 1fr) var(--party-w);
  align-items: center;
  gap: 14px;
}
.flow__party {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 14px;
  border: 1px solid var(--line-d-strong);
  border-radius: var(--radius);
  background: var(--ink-850);
  color: var(--fg-d);
  text-align: center;
  width: 100%;
}
.flow__arrows { display: grid; gap: 14px; }
.flow__arrow {
  display: grid;
  gap: 8px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--fg-d-2);
}
.flow__line { position: relative; display: block; height: 1.5px; background: currentColor; }
/* 8px chevron rotated 45deg: its point sits 5.66px from the box center, so it is inset 1.66px
   to end exactly at the line end; translateY(-50%) centers it on the 1.5px line. */
.flow__line::after {
  content: "";
  position: absolute;
  top: 50%;
  box-sizing: border-box;
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.flow__arrow--right .flow__line::after { right: 1.66px; transform: translateY(-50%) rotate(45deg); }
.flow__arrow--left .flow__line::after { left: 1.66px; transform: translateY(-50%) rotate(-135deg); }
@media (max-width: 479px) {
  .flow { --party-w: 4.5rem; gap: 8px; }
  .flow__party { padding: 12px 4px; font-size: 0.75rem; letter-spacing: 0.06em; }
  .flow__arrow { font-size: 0.6875rem; }
}
.flow__note { margin-top: 18px; font-size: 0.8125rem; color: var(--fg-d-3); line-height: 1.55; }
.settlement__title, .example__title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  font-size: 1.0625rem;
  color: var(--fg-d);
}
.example__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.example__label::before { content: "· "; }
.settlement__intro { margin-top: 10px; font-size: 0.875rem; line-height: 1.55; color: var(--fg-d-2); }
.settlement__lines { margin-top: 16px; }
.settlement__lines div { padding: 12px 0; border-top: 1px solid var(--line-d); }
.settlement__lines dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.settlement__lines dt .mono { letter-spacing: 0; text-transform: none; color: var(--fg-d-2); }
.settlement__lines dd { margin-top: 4px; font-size: 0.9375rem; color: var(--fg-d); line-height: 1.5; }
.settlement__lines dd .mono { font-size: 0.875rem; }
.formula {
  display: block;
  margin: 2px 0 6px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(234, 240, 247, 0.06);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--fg-d);
  overflow-wrap: anywhere;
}
.settlement__note { margin-top: 12px; font-size: 0.8125rem; color: var(--fg-d-3); line-height: 1.55; }
.example__table { margin-top: 16px; font-size: 0.9375rem; }
.example__table th, .example__table td { padding: 12px 0; border-top: 1px solid var(--line-d); vertical-align: top; }
.example__table th { text-align: left; font-weight: 400; color: var(--fg-d-2); padding-right: 16px; }
.example__table td { text-align: right; font-family: var(--font-mono); font-weight: 500; color: var(--fg-d); font-variant-numeric: tabular-nums; }
.example__table .is-total th, .example__table .is-total td { border-top: 1px solid var(--line-d-strong); color: var(--fg-d); font-weight: 600; }
@media (max-width: 479px) {
  .example__table tr { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-d); }
  .example__table .is-total { border-top-color: var(--line-d-strong); }
  .example__table th, .example__table td { display: block; padding: 0; border-top: 0 !important; text-align: left; }
}
.example__note { margin-top: 16px; font-size: 0.875rem; color: var(--fg-d-2); line-height: 1.6; }
.example__table--compact { margin-top: 18px; font-size: 0.875rem; }
.example__caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.example__values { white-space: normal !important; }
.fallbacks__list { margin-top: 16px; }
.fallbacks__list div { padding: 12px 0; border-top: 1px solid var(--line-d); }
.fallbacks__list dt { font-size: 0.875rem; font-weight: 600; color: var(--fg-d); line-height: 1.45; }
.fallbacks__list dd { margin-top: 4px; font-size: 0.875rem; color: var(--fg-d-2); line-height: 1.55; }
@media (min-width: 760px) and (max-width: 1023px) {
  .fallbacks__list div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 32px; }
  .fallbacks__list dd { margin-top: 0; }
}

/* ---------- Trading ---------- */
.rfq { margin: 0; }
.rfq__steps { display: grid; gap: 12px; }
@media (min-width: 640px) { .rfq__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rfq__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.rfq__step {
  position: relative;
  min-width: 0;
  padding: 20px 20px 22px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cash-ink);
  border-radius: 0 0 var(--radius) var(--radius);
}
/* Arrow between the steps, in the gap, when they sit on one row. */
@media (min-width: 1024px) {
  .rfq__step + .rfq__step::before {
    content: "";
    position: absolute;
    left: -19px; top: 33px;
    width: 9px; height: 9px;
    border-top: 1.5px solid var(--cash-ink);
    border-right: 1.5px solid var(--cash-ink);
    transform: rotate(45deg);
  }
}
.rfq__num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--cash-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cash-ink);
}
.rfq__title { margin-top: 12px; font-size: 1.125rem; }
.rfq__step p { margin-top: 6px; font-size: 0.875rem; line-height: 1.55; color: var(--fg-2); }
.rfq__caption { margin-top: 14px; font-size: 0.8125rem; line-height: 1.5; color: var(--fg-3); max-width: 100ch; }
.trade-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 28px; }
@media (min-width: 1024px) { .trade-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.trade-rules li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); }
.trade-rules li:last-child { border-bottom: 1px solid var(--line); }
.trade-rules strong { color: var(--fg); font-weight: 600; }
.trade-cards { display: grid; gap: 12px; }
.trade-card { padding: 20px 22px; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trade-card h3 { font-size: 1.0625rem; }
.trade-card p { margin-top: 8px; font-size: 0.875rem; line-height: 1.55; color: var(--fg-2); }
.modes { margin-top: clamp(40px, 5vw, 64px); }
.modes__title { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.modes .spec-table thead th { background: var(--paper); }
.spec-table--modes td { width: 37%; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 24px; }
@media (min-width: 1000px) {
  .calc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; align-items: stretch; }
}
.calc__form {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 24px;
  align-content: start;
}
@media (min-width: 1000px) {
  .calc__form { border-radius: var(--radius-lg) 0 0 var(--radius-lg); border-right: 0; }
  .calc__out { border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important; }
}
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group legend, .field > label, .choice-group > legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  padding: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--fg-2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chips label:hover { border-color: var(--fg); color: var(--fg); }
.chips input:checked + label { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper); }
@media (max-width: 479px) {
  .calc__group .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .calc__group .chips--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips label { justify-content: center; padding: 0 8px; }
}
@media (max-width: 359px) {
  .calc__group .chips label { font-size: 0.875rem; gap: 6px; padding: 0 6px; }
}
/* Contracts from GPUs x months */
.calc__helper {
  margin-top: 14px;
  padding: 14px 16px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
}
.calc__helper-title { font-size: 0.8125rem; font-weight: 600; color: var(--fg); }
.calc__helper-grid { margin-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; }
.calc__helper-grid .field > label { font-size: 0.8125rem; font-weight: 500; color: var(--fg-2); margin-bottom: 4px; }
.calc__helper-op { padding-bottom: 13px; font-family: var(--font-mono); color: var(--fg-3); }
.calc__helper-result { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 0.9375rem; }
.calc__helper-result output { font-family: var(--font-mono); font-weight: 500; color: var(--fg); }
.calc .field input[inputmode="decimal"] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.field { min-width: 0; }
.field__unit, .field label .req, .field label .opt, .choice-group legend .req, .choice-group legend .opt {
  font-weight: 400; color: var(--fg-3); font-size: 0.8125rem; margin-left: 6px;
}
.req, .opt { font-family: var(--font-sans); }
/* Labels with a required/optional tag or a unit: when the tag wraps, it starts flush with the label text. */
.field > label:not(.choice) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.field > label:not(.choice) > .req, .field > label:not(.choice) > .opt, .field > label:not(.choice) > .field__unit { margin-left: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--fg);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input[type="number"] { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(31, 95, 214, 0.25);
}
.field [aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.mono-input { font-family: var(--font-mono) !important; letter-spacing: 0.04em; text-transform: uppercase; }
.field__hint { margin-top: 6px; font-size: 0.8125rem; color: var(--fg-3); line-height: 1.45; }
.field__error {
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--error);
  line-height: 1.45;
  display: flex; gap: 6px;
}
.field__warn {
  margin-top: 6px;
  padding: 8px 10px;
  border-left: 2px solid var(--fg-3);
  background: var(--paper-2);
  font-size: 0.8125rem;
  color: var(--fg-2);
  line-height: 1.45;
}
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 0.6875rem; font-weight: 700; margin-top: 1px; }
.input-combo { display: flex; }
.input-combo input { border-radius: var(--radius) 0 0 var(--radius) !important; }
.input-combo select { width: auto !important; flex-shrink: 0; border-radius: 0 var(--radius) var(--radius) 0 !important; margin-left: -1px; background-color: var(--paper-3); }

.calc__out {
  background: var(--ink-900);
  color: var(--fg-d);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  --accent: var(--cash);
}
.calc__instrument {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-d-strong);
}
.calc__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
}
.calc__code { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.01em; }
.calc__index { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--fg-d-3); }
.calc__results div {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 4px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-d);
}
.calc__results dt { font-size: 0.875rem; color: var(--fg-d-2); }
.calc__assume { display: block; font-size: 0.75rem; color: var(--fg-d-3); }
.calc__results dd {
  margin-left: auto; /* stays right-aligned when it wraps under its label */
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-wrap: balance;
  color: var(--fg-d);
}
.calc__key { background: rgba(234, 240, 247, 0.04); margin: 0 -14px; padding: 16px 14px !important; border-radius: var(--radius); border-bottom: 0 !important; }
.calc__key dt { color: var(--fg-d); font-weight: 600; }
.calc__key dd:first-of-type { font-size: 1.25rem; display: grid; justify-items: end; }
.calc__dir { display: block; font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 500; color: var(--accent); }
.calc__sub { flex-basis: 100%; font-size: 0.8125rem !important; color: var(--fg-d-3) !important; }
.calc__pc { display: block; font-size: 0.75rem; font-weight: 400; color: var(--fg-d-3); }
.calc__notes { margin-top: 16px; display: grid; gap: 8px; }
.calc__notes li {
  padding: 10px 12px;
  border-left: 2px solid var(--phys);
  border-radius: 0 4px 4px 0;
  background: rgba(240, 168, 71, 0.08);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fg-d);
}
/* Risk warning under the results (CySEC letter, A7). */
.calc__risk { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 0.8125rem; line-height: 1.55; color: var(--fg-d-2); }
.calc__risk strong, .calc__risk a { color: var(--fg-d); }
.calc__risk strong { font-weight: 600; }
.calc__disclaimer { margin-top: auto; padding-top: 20px; font-size: 0.75rem; line-height: 1.55; color: var(--fg-d-3); }

/* ---------- Participants ---------- */
.segments { display: grid; gap: 20px; }
@media (min-width: 900px) { .segments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.segment {
  display: flex;
  flex-direction: column;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.segment__media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--ink-900); }
.segment__media img { width: 100%; height: 100%; object-fit: cover; }
.segment__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.5vw, 32px); }
.segment__kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.segment__kicker .mono {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--fg);
  letter-spacing: 0;
}
.segment h3 { margin-top: 14px; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); line-height: 1.2; letter-spacing: -0.022em; }
.segment__who { margin-top: 10px; font-size: 0.875rem; color: var(--fg-3); }
.segment__points { margin-top: 20px; }
.segment__points div { padding: 14px 0; border-top: 1px solid var(--line); }
.segment__points dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.segment__points dt span { margin-left: 6px; color: var(--fg-3); }
.segment__points dt span::before { content: "· "; }
.segment__points dd { margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: var(--fg-2); }
.segment__points dd .mono { font-size: 0.875rem; color: var(--fg); }
.segment__fit { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Specifications ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 2px; }
.spec { background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 36px) clamp(20px, 3vw, 32px); }
.spec-table { font-size: 0.9375rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.spec-table thead th {
  /* Sticks under the compact header (60px + 1px border); the header is always compact by the time the table is reached. */
  position: sticky; top: calc(var(--header-h-compact) + 1px);
  box-shadow: inset 0 -1px 0 var(--line-strong); /* the border does not stick in a collapsed table */
  background: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--line-strong);
  padding-top: 18px;
  z-index: 1;
}
/* Inside a horizontal scroll wrapper the wrapper is the sticky element's scroll container, so a
   sticky header would sit on the first row: these headers stay in place. */
.table-scroll .spec-table thead th { position: static; }
.spec-table thead .dot { margin-right: 8px; vertical-align: 1px; }
.spec-table tbody th { width: 26%; font-weight: 600; color: var(--fg); padding-right: 24px; }
.spec-table td { color: var(--fg-2); }
.spec-table td.mono { font-size: 0.875rem; color: var(--fg); }
.spec-table td.na { color: var(--fg-3); }
.spec-table--common td { color: var(--fg); }
.spec-table--grid tbody th { width: auto; }
.spec-table--grid th.mono { font-weight: 500; font-size: 0.875rem; white-space: nowrap; }
.spec-table--tiers tbody th { width: 46%; }
.spec-table--tiers td { color: var(--fg); }
@media (min-width: 1024px) { .spec-table--cal { min-width: 800px; } }
@media (min-width: 760px) {
  .spec-table--one { min-width: 640px; }
  .spec-table--one td { text-align: right; padding-right: 0; padding-left: 16px; }
  .spec-table--one thead th:not(:first-child) { text-align: right; padding-right: 0; padding-left: 16px; }
}
.spec__note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.6; color: var(--fg-3); max-width: 110ch; }
.spec__sub--table { margin-top: 28px; }
.margin { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1024px) { .margin { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: start; } }
.margin__example { padding: 16px 18px; border-left: 3px solid var(--fg); border-radius: 0 var(--radius) var(--radius) 0; background: var(--paper); }
.margin__example-title { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.margin__lines { margin-top: 8px; }
.margin__lines div { padding: 10px 0; border-top: 1px solid var(--line); }
.margin__lines div:first-child { border-top: 0; }
.margin__lines dt { font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; color: var(--fg); }
.margin__lines dd { margin-top: 2px; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.6; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.margin__mm { display: block; color: var(--fg-3); }
@media (max-width: 479px) { .margin__lines dd .nw { white-space: normal; } }
.spec__list { margin-top: 28px; }
.spec__list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); }
.spec__list strong { color: var(--fg); font-weight: 600; }
.product-panel {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: var(--fg-d);
}
@media (min-width: 1024px) { .product-panel { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; } }
.product-panel__status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 12px;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-d-2);
}
.product-panel__title { margin-top: 14px; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--fg-d); }
.product-panel__head > p:last-child { margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; color: var(--fg-d-2); }
.product-panel__facts div { padding: 12px 0; border-top: 1px solid var(--line-d); }
@media (min-width: 1024px) { .product-panel__facts div:first-child { border-top: 0; padding-top: 0; } }
.product-panel__facts dt { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-d-3); }
.product-panel__facts dd { margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--fg-d); }
.product-panel__facts .mono { font-size: 0.8125rem; white-space: nowrap; }
.risks__list { margin-top: 12px; }
.risks__list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.6; color: var(--fg-2); }
.risks__list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 10px; height: 1px; background: var(--fg-2); }
.risks__link { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 550; }
.terms-note {
  margin-top: clamp(12px, 1.5vw, 20px);
  padding: 14px 18px;
  border-left: 3px solid var(--fg);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fg-2);
}
.terms-note strong { color: var(--fg); font-weight: 600; }
/* The specifications explainer (PDF): title, version, the governing rule, and a button that
   opens the file in a new tab, with its size under it. One column on phones (no icon), the icon
   beside the text from 480px, and the button in a third column from 760px. */
.spec-doc {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.spec-doc__icon { display: none; width: 28px; height: 35px; margin-top: 2px; color: var(--fg-3); }
.spec-doc__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--fg); }
.spec-doc__meta { margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: var(--fg-3); }
.spec-doc__text { margin-top: 8px; max-width: 80ch; font-size: 0.9375rem; line-height: 1.55; color: var(--fg-2); }
.spec-doc__action { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.spec-doc__action .btn.ext::after { margin-left: 0; }
.spec-doc__size { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-3); }
@media (max-width: 479px) {
  .spec-doc__action .btn { width: 100%; }
  .spec-doc__size { width: 100%; text-align: center; }
}
@media (min-width: 480px) {
  .spec-doc { grid-template-columns: auto minmax(0, 1fr); }
  .spec-doc__icon { display: block; }
}
@media (min-width: 760px) {
  .spec-doc { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 24px; }
  .spec-doc__icon { width: 32px; height: 40px; align-self: start; }
  .spec-doc__action { grid-column: auto; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
}
.spec__title { margin-top: clamp(32px, 4vw, 48px); font-size: 1.375rem; letter-spacing: -0.02em; }
.spec__title:first-of-type { margin-top: 28px; }
.spec__sub { margin-top: 4px; font-size: 0.875rem; color: var(--fg-3); }

/* Responsive stacked tables */
@media (max-width: 759px) {
  .stack-table { min-width: 0 !important; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table th, .stack-table td { display: block; width: 100% !important; }
  .stack-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .section--ink .stack-table tr { border-color: var(--line-d); }
  .stack-table th, .stack-table td { border: 0 !important; padding: 3px 0 !important; }
  .stack-table tbody th { margin-bottom: 6px; }
  .stack-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-top: 6px;
  }
  .section--ink .stack-table td[data-label]::before { color: var(--fg-d-3); }
  .spec-table--common td[data-label]::before { display: none; }
  .stack-table td.num { white-space: normal; }
  .table-scroll:has(> .stack-table) { overflow: visible; }
  /* Short values side by side, two per row, under the row heading. */
  .spec-table--one tbody tr, .spec-table--tiers tbody tr, .spec-table--cal tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .spec-table--one tbody th, .spec-table--tiers tbody th, .spec-table--cal tbody th { grid-column: 1 / -1; }
}
/* The six-column calendar is too dense from 760 to 1023px as well: stacked there, three values per row. */
@media (min-width: 760px) and (max-width: 1023px) {
  .table-scroll:has(> .spec-table--cal) { overflow: visible; }
  .spec-table--cal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table--cal, .spec-table--cal tbody, .spec-table--cal tr, .spec-table--cal th, .spec-table--cal td { display: block; width: 100% !important; }
  .spec-table--cal tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .spec-table--cal th, .spec-table--cal td { border: 0 !important; padding: 3px 0 !important; }
  .spec-table--cal tbody th { grid-column: 1 / -1; margin-bottom: 6px; }
  .spec-table--cal td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-top: 6px;
  }
}
/* ---------- Venue ---------- */
.venue { overflow: hidden; isolation: isolate; padding-top: 0; }
.venue__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(76vw, 900px);
  z-index: -1;
}
.venue__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.venue__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 56% at 20% 18%, rgba(8, 17, 31, 0.92) 0%, rgba(8, 17, 31, 0.72) 48%, rgba(8, 17, 31, 0) 82%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.6) 0%, rgba(8, 17, 31, 0.15) 32%, rgba(8, 17, 31, 0.35) 62%, var(--ink-900) 100%);
}
.venue__head .section-head__lede { text-shadow: 0 1px 12px rgba(5, 11, 22, 0.9); }
/* Below 1024px the heading and lede cover most of the image, and the desktop vignette does not
   scale down: darken the whole area behind the text. */
@media (max-width: 1023px) {
  /* Taller image so its lower part shows in the gap above the pillars, clear of the text. */
  .venue__media { height: max(76vw, 560px); }
  .venue__media::after { background: linear-gradient(180deg, rgba(8, 17, 31, 0.9) 0%, rgba(8, 17, 31, 0.86) 45%, rgba(8, 17, 31, 0.5) 74%, var(--ink-900) 100%); }
  .venue__media img { object-position: 50% 70%; }
}
.venue__inner { padding-top: var(--section-y); }
.venue__head { max-width: 760px; border-top: 0; padding-top: 0; }
.venue__head .section-head__lede { margin-top: 20px; }
.pillars {
  display: grid;
  gap: 1px;
  margin-top: clamp(120px, 24vw, 340px);
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar {
  padding: clamp(22px, 2.5vw, 32px);
  background: rgba(8, 17, 31, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pillar h3 { color: var(--fg-d); font-size: 1.125rem; }
.pillar h3::before {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--fg-d);
  margin-bottom: 16px;
}
.pillar p { margin-top: 8px; font-size: 0.9375rem; color: var(--fg-d-2); }

.tech {
  margin-top: clamp(20px, 2.5vw, 28px);
  display: grid;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line-d-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17, 30, 52, 0.94), rgba(8, 17, 31, 0.94));
}
@media (min-width: 960px) { .tech { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; } }
.tech .eyebrow { margin-bottom: 18px; }
.tech__brand { display: grid; justify-items: start; align-content: start; }
.tech__logo { width: min(100%, 248px); height: auto; }
.tech__ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-d);
}
.tech__ticker span { color: var(--fg-d-3); text-transform: uppercase; }
.tech h3 { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem); line-height: 1.18; letter-spacing: -0.024em; color: var(--fg-d); text-wrap: balance; }
.tech__body > p { margin-top: 14px; font-size: 0.9375rem; color: var(--fg-d-2); max-width: 68ch; }
.tech__facts {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .tech__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tech__facts div { padding: 14px 16px; background: var(--ink-900); }
.tech__facts dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-d-3);
}
.tech__facts dd { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--fg-d); }
.tech__link { margin-top: 18px; font-size: 0.9375rem; font-weight: 550; }
.tech__link a { color: var(--fg-d); }

/* ---------- Membership ---------- */
.admission { display: grid; gap: 40px; }
@media (min-width: 1024px) { .admission { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.criteria h3, .timeline-steps h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.375rem; letter-spacing: -0.02em; }
.criteria > p { margin-top: 12px; color: var(--fg-2); }
.criteria__list { margin-top: 16px; }
.criteria__list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
}
.criteria__list li strong { font-weight: 600; color: var(--fg); }
.criteria__list li::before {
  content: "";
  position: absolute; left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--fg);
  border-bottom: 1.5px solid var(--fg);
  transform: rotate(-45deg);
}
.criteria__note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--fg-3); }
.timeline-steps ol { margin-top: 18px; }
.timeline-steps li { position: relative; display: flex; gap: 16px; padding-bottom: 20px; font-size: 0.9375rem; color: var(--fg-2); }
.timeline-steps li::before {
  content: "";
  position: absolute; left: 15px; top: 32px; bottom: 0;
  width: 1px; background: var(--line-strong);
}
.timeline-steps li:last-child::before { display: none; }
.timeline-steps strong { color: var(--fg); font-weight: 600; }
.ts__n {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 31px; height: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
}
.timeline-steps li > div { padding-top: 4px; }

.enquiry {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 30px 80px -40px rgba(11, 21, 39, 0.35);
}
@media (min-width: 1024px) { .enquiry { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
/* Small laptops: a slightly wider aside keeps the pitch readable next to the form. */
@media (min-width: 1024px) and (max-width: 1199px) { .enquiry { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.enquiry__aside {
  background: var(--ink-900);
  color: var(--fg-d);
  padding: clamp(24px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
}
.enquiry__aside::after {
  content: "";
  position: absolute; inset: auto -20% -30% -20%; height: 60%;
  background-image:
    linear-gradient(to right, rgba(180, 200, 230, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(180, 200, 230, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
  pointer-events: none;
}
.enquiry__aside > * { position: relative; z-index: 1; }
@supports (overflow: clip) {
  /* clip (unlike hidden) does not create a scroll container, so the sticky aside content below works */
  .enquiry, .enquiry__aside { overflow: clip; }
}
@media (min-width: 1024px) {
  /* The aside is as tall as the form: keep the pitch and contact in view while the form is filled in. */
  .enquiry__aside .enquiry__aside-inner { position: sticky; top: calc(var(--header-h-compact) + 1px + 32px); }
}
.enquiry__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.enquiry__aside-inner > p { margin-top: 14px; color: var(--fg-d-2); font-size: 0.9375rem; }
.enquiry__facts { margin-top: 24px; display: grid; gap: 10px; font-size: 0.875rem; color: var(--fg-d-2); }
.enquiry__facts li { padding-left: 20px; position: relative; }
.enquiry__facts li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 1px; background: var(--fg-d-2); }
.enquiry__facts a { color: var(--fg-d); }
.enquiry__main { padding: clamp(20px, 3.5vw, 44px); min-width: 0; }

.form { display: grid; gap: 28px; }
.form__section { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.form__section > legend {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
  .field--wide { grid-column: 1 / -1; }
}
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px 11px 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1.4;
}
.choice:hover { border-color: var(--fg-3); }
.choice input {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink-900);
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--ink-900); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.field > label.choice--block { display: flex; width: 100%; margin-bottom: 0; padding: 14px 16px 14px 14px; background: transparent; border-color: var(--line); font-size: 0.9375rem; font-weight: 400; color: var(--fg-2); line-height: 1.5; }
.choice--block a { color: var(--fg); }
.choice--block .req, .choice--block .opt { margin-left: 4px; font-size: 0.8125rem; color: var(--fg-3); }
@media (max-width: 479px) {
  .choices--grid-sm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices--stack-sm { display: grid; grid-template-columns: minmax(0, 1fr); }
}
.form__section--declare { gap: 12px; }
.choice-group[aria-invalid="true"] .choice { border-color: var(--error); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.form__submit .btn { min-width: 280px; }
@media (max-width: 479px) { .form__submit .btn { width: 100%; min-width: 0; } }
.form__micro { font-size: 0.8125rem; color: var(--fg-3); max-width: 70ch; line-height: 1.55; }
.form__noscript { font-size: 0.875rem; color: var(--fg-2); max-width: 70ch; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(244, 241, 234, 0.4);
  border-top-color: var(--paper);
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) { .btn.is-loading::after { animation: spin 0.8s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.form-summary {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--error);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(180, 35, 24, 0.05);
}
.form-summary__title { font-size: 1rem; color: var(--error); }
.form-summary__list { margin-top: 8px; display: grid; gap: 4px; font-size: 0.9375rem; }
.form-summary__list a { color: var(--error); font-weight: 550; }

.form-result {
  margin-bottom: 28px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--white);
}
.form-result[data-state="success"] { border-color: rgba(30, 122, 76, 0.5); border-left: 4px solid var(--success); }
.form-result[data-state="error"] { border-color: rgba(180, 35, 24, 0.5); border-left: 4px solid var(--error); }
.form-result__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: var(--paper-2); }
.form-result[data-state="success"] .form-result__icon { background: rgba(30, 122, 76, 0.12); }
.form-result[data-state="success"] .form-result__icon::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: translateY(-2px) rotate(-45deg); }
.form-result[data-state="error"] .form-result__icon { background: rgba(180, 35, 24, 0.1); }
.form-result[data-state="error"] .form-result__icon::before { content: "!"; font-weight: 700; color: var(--error); }
.form-result[data-state="info"] { border-left: 4px solid var(--ink-900); }
.form-result[data-state="info"] .form-result__icon::before { content: "@"; font-weight: 600; color: var(--fg); }
.form-result__title { font-size: 1.25rem; letter-spacing: -0.015em; }
.form-result__body { margin-top: 10px; display: grid; gap: 12px; color: var(--fg-2); font-size: 0.9375rem; }
.form-result__body .btn { justify-self: start; }
.form-result__body .mono { color: var(--fg); }
.form-result__address { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; user-select: all; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 8px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 550;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--fg-2); }
.faq__a { padding: 0 0 24px; display: grid; gap: 12px; max-width: 70ch; color: var(--fg-2); }
.faq__a strong { color: var(--fg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--fg-d-2);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--fg-d); }
.site-footer a.btn--light { color: var(--fg); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.site-footer .brand .mark { width: 32px; height: 32px; }
.site-footer__tag { margin: 18px 0 24px; max-width: 42ch; color: var(--fg-d-2); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-d-3);
  margin-bottom: 14px;
}
.site-footer__nav ul { display: grid; gap: 8px; }
.site-footer__nav a { text-decoration: none; color: var(--fg-d-2); }
.site-footer__nav a:hover { color: var(--fg-d); text-decoration: underline; }
.site-footer__reg { padding: 32px 0; display: grid; gap: 14px; font-size: 0.8125rem; line-height: 1.65; color: var(--fg-d-3); border-bottom: 1px solid var(--line-d); }
.site-footer__reg > * { max-width: 120ch; }
.site-footer__reg strong { color: var(--fg-d-2); font-weight: 600; }
.site-footer__reg .mono { font-size: 0.78125rem; color: var(--fg-d-2); }
.site-footer__risk { color: var(--fg-d-2) !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 0.8125rem; color: var(--fg-d-3); }

/* ---------- Audience modal ---------- */
.audience {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}
.audience__backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 11, 22, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.audience__panel {
  position: relative;
  width: min(100%, 640px);
  background: var(--paper);
  color: var(--fg);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  border-top: 3px solid var(--fg);
}
.audience__brand { display: flex; align-items: center; gap: 10px; font-weight: 620; letter-spacing: -0.015em; color: var(--fg); }
.audience__brand .mark { width: 24px; height: 24px; color: var(--fg); }
.audience__eyebrow {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.audience__title { margin-top: 10px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.12; letter-spacing: -0.028em; }
.audience__text { margin-top: 16px; display: grid; gap: 12px; font-size: 0.9375rem; color: var(--fg-2); }
.audience__actions { margin-top: 28px; display: grid; gap: 10px; }
.audience__actions .btn { width: 100%; min-height: 52px; }
.audience__risk { padding-top: 12px; border-top: 1px solid var(--line); }
.audience__risk strong { color: var(--fg); font-weight: 600; }
.audience__risk a { color: var(--fg); }
.audience__links { margin-top: 20px; font-size: 0.8125rem; color: var(--fg-3); }
.audience__links a { color: var(--fg-2); }
.audience__panel:focus-visible { outline: none; }
/* Narrow screens: tighter notice so that both choices fit the first screen on common phones (360x800, 375x812). */
@media (max-width: 479px) {
  .audience { padding: 12px; }
  .audience__panel { padding: 20px; }
  .audience__eyebrow { margin-top: 16px; }
  .audience__title { font-size: 1.375rem; }
  .audience__text { margin-top: 12px; gap: 10px; font-size: 0.875rem; line-height: 1.5; }
  .audience__actions { margin-top: 20px; }
  .audience__actions .btn { min-height: 48px; }
}
html.has-modal { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .audience:not([hidden]) .audience__panel { animation: rise 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Legal / document pages ---------- */
.doc-hero {
  background: var(--ink-900);
  color: var(--fg-d);
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.doc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(180, 200, 230, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(180, 200, 230, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 10%, transparent 70%);
}
.doc-hero .container { position: relative; }
.doc-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); line-height: 1.04; font-weight: 590; letter-spacing: -0.035em; }
.doc-hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-d-3); }
.doc-hero__lede { margin-top: 20px; max-width: 64ch; color: var(--fg-d-2); font-size: 1.0625rem; }
.doc-hero .eyebrow { color: var(--fg-d-3); }
.doc-hero .eyebrow span { color: var(--fg-d); border-color: var(--line-d-strong); }
.doc-body { background: var(--paper); padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); }
.doc-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 72px; align-items: start; } }
.doc-toc { font-size: 0.875rem; }
@media (min-width: 1024px) { .doc-toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.doc-toc h2 { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.doc-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line-strong); }
.doc-toc a { display: block; padding: 6px 0 6px 16px; color: var(--fg-2); text-decoration: none; line-height: 1.4; margin-left: -1px; border-left: 1px solid transparent; }
.doc-toc a:hover { color: var(--fg); border-left-color: var(--fg); }
.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.7; color: var(--fg-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--fg);
  margin-top: 2.4em;
  padding-top: 0.9em;
  border-top: 1px solid var(--line-strong);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; color: var(--fg); margin-top: 1.8em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--fg); }
.prose address { font-style: normal; }
.prose .callout {
  padding: 16px 20px;
  border-left: 3px solid var(--fg);
  background: var(--paper-3);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
}
.prose dl.facts { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.prose dl.facts div { display: grid; gap: 2px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .prose dl.facts div { grid-template-columns: 220px minmax(0, 1fr); } }
.prose dl.facts dt { font-weight: 600; color: var(--fg); font-size: 0.9375rem; }
.prose dl.facts dd { font-size: 0.9375rem; }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: grid; align-items: center; background: var(--ink-900); color: var(--fg-d); padding: 96px 0; position: relative; overflow: hidden; }
.page-404 .code { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-d-3); }
.page-404 h1 { margin-top: 16px; font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 590; max-width: 18ch; }
.page-404 p { margin-top: 20px; color: var(--fg-d-2); max-width: 56ch; font-size: 1.0625rem; }
.page-404 .hero__actions { margin-top: 32px; }

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

/* ---------- Print ---------- */
@media print {
  .notice-strip, .site-header, .hero__media, .hero__video-toggle, .audience, .menu-toggle, .calc, .enquiry, .skip-link { display: none !important; }
  body, .section--ink, .hero, .site-footer, .cred { background: #fff !important; color: #000 !important; }
  .section { padding-block: 24px; }
  .spec-doc .btn { background: none !important; color: #000 !important; border-color: #000 !important; }
}

/* Launch version (full_site off): the form follows the screen-reader heading directly (no criteria
   and steps above it), and the public-information note sits under it. */
.visually-hidden + .enquiry { margin-top: 0; }
.enquiry-note { margin-top: clamp(20px, 2.5vw, 32px); }
