/* Quantitative And Macro Insights: shared styles for every page.
   House style, from the product film: near-black neutral graphite, Hanken Grotesk 500 for titles,
   Geist Mono for small labels, white titles in one colour, amber only on small marks and the one
   button that matters. No serif, no italics, no coloured glow. */

@font-face { font-family: 'Hanken Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../vendor/fonts/hanken-grotesk/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../vendor/fonts/hanken-grotesk/hanken-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-weight: 600; font-style: normal; font-display: swap; src: url('../vendor/fonts/hanken-grotesk/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../vendor/fonts/geist-mono/geist-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../vendor/fonts/geist-mono/geist-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #08090b;            /* the film's backdrop, mid stop */
  --bg-top: #0c0d10;
  --bg-bottom: #040506;
  --surface: rgba(17, 19, 24, 0.86);
  --surface-solid: #111318;
  --surface-2: rgba(170, 178, 192, 0.05);
  --surface-3: rgba(170, 178, 192, 0.09);
  --line: rgba(170, 178, 192, 0.14);     /* the film's screen edge, #aab2c0 */
  --line-strong: rgba(170, 178, 192, 0.26);
  --text: #f3f5f9;
  --text-2: #a3adbf;
  --text-3: #8e99aa;
  --accent: #f5b942;        /* amber: small marks and the main button only */
  --accent-ink: #14110a;
  --accent-soft: rgba(245, 185, 66, 0.12);
  --nav-h: 60px;
  --gutter: clamp(18px, 4vw, 48px);
  --maxw: 1240px;
  --textw: 760px;
  --r-l: 16px;
  --r-m: 12px;
  --r-s: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-gutter: stable; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(245, 185, 66, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 16px; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 38em; }
.muted { color: var(--text-2); }
.quiet { color: var(--text-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.eyebrow.plain::before { display: none; }
.label { font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
sup.fn { font: 500 10px/1 var(--mono); color: var(--text-3); margin-left: 2px; }
sup.fn a { padding: 4px 2px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.section-head.split > :first-child { display: grid; gap: 20px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .section-head.split, .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); }
.panel > .label { display: block; margin-bottom: 16px; }
.panel h3 + p, .panel h4 + p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.pill.tbc { border-color: rgba(245, 185, 66, 0.45); color: var(--accent); background: var(--accent-soft); }
.pill.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rule { width: 56px; height: 2px; background: var(--accent); border: 0; margin: 0; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 16px; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 1px; background: var(--text-3); }   /* a small square, never a dash */
ul.ticks.amber li::before { background: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 15px/1 var(--font); letter-spacing: 0; cursor: pointer; white-space: nowrap; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { background: var(--surface-3); border-color: rgba(170, 178, 192, 0.4); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { background: #ffc85a; border-color: #ffc85a; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn .arr { width: 14px; height: 14px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color 0.2s; }
.link:hover { border-color: var(--accent); }

/* ---------- nav ---------- */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: rgba(8, 9, 11, 0.72); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; flex-direction: column; gap: 3px; font: 500 12px/1.15 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.wordmark span { display: block; }
@media (min-width: 1100px) { .wordmark { flex-direction: row; gap: 0.6em; } }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 12px; border-radius: 999px; font-size: 14.5px; color: var(--text-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); box-shadow: 0 6px 0 var(--text), 0 -6px 0 var(--text); }
@media (max-width: 899px) {
  .nav-links, .nav-actions .members { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .wordmark { font-size: 10.5px; letter-spacing: 0.18em; }
  .nav-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: rgba(8, 9, 11, 0.97); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 4px; overflow: auto; }
.menu.is-open { display: flex; }
.menu a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.menu .btn { margin-top: 24px; border-bottom: 0; font-size: 16px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; background: linear-gradient(180deg, transparent, rgba(4, 5, 6, 0.9)); position: relative; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer-grid h4 { font: 500 11.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-2); font-size: 15px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { margin-top: 16px; color: var(--text-2); font-size: 15px; max-width: 30em; }
.risk-note { margin-top: 44px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.risk-note strong { color: var(--text); font-weight: 600; }
.risk-note p + p { margin-top: 8px; }
.footer-base { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; color: var(--text-3); font-size: 13px; }
.footer-base a:hover { color: var(--text); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(64px, 9vw, 120px); background: linear-gradient(180deg, var(--bg-top), var(--bg) 480px); }
.page-head { display: grid; gap: 20px; max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(36px, 5.2vw, 68px); }
.draft { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border: 1px solid rgba(245, 185, 66, 0.4); background: var(--accent-soft); border-radius: var(--r-m); color: var(--text); font-size: 15px; margin-bottom: 36px; max-width: var(--textw); }
.prose { max-width: var(--textw); color: var(--text-2); }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.015em; margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 0; display: grid; gap: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.todo { color: var(--accent); font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border: 1px dashed rgba(245, 185, 66, 0.5); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 11.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; background: rgba(4, 5, 6, 0.6); border: 1px solid var(--line-strong); border-radius: var(--r-s); font-size: 16px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field .err { color: var(--accent); font-size: 13.5px; min-height: 1em; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; color: var(--text-2); min-height: 1.5em; }
.form-status.ok { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 36px; }
.faq-group > .label { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 2px; font-size: 17px; font-weight: 500; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--text-2), var(--text-2)) center / 12px 1.5px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--ease); }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a { padding: 0 2px 20px; color: var(--text-2); max-width: 46em; font-size: 16px; }
details.qa .a p + p { margin-top: 10px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
.todo { white-space: normal; overflow-wrap: anywhere; }

/* the Book A Call notice */
dialog.notice { width: min(520px, calc(100vw - 40px)); padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(245, 185, 66, 0.4); border-radius: var(--r-l, 18px); background: var(--surface-solid); color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
dialog.notice::backdrop { background: rgba(4, 5, 7, 0.72); backdrop-filter: blur(6px); }
dialog.notice h2 { margin: 14px 0 12px; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; }
dialog.notice p { color: var(--text-2); }
dialog.notice form { margin-top: 24px; }

/* the disclaimer sits behind a button in the footer of every page */
.disc { margin-top: 40px; }
.disc summary { list-style: none; cursor: pointer; display: inline-block; }
.disc summary::-webkit-details-marker { display: none; }
.disc summary .btn { font-size: 13px; padding: 9px 16px; }
.disc summary .btn::after { content: '+'; margin-left: 10px; color: var(--accent); font-family: var(--mono); }
.disc[open] summary .btn::after { content: '\00d7'; }
.disc .risk-note { margin-top: 16px; }
