/* IBM Plex Sans and IBM Plex Mono, self-hosted (SIL Open Font License). */
@font-face {font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); 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 Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'); 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 Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); 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'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); 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'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); 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;}
/* ==========================================================================
   OrbitX website styles
   One stylesheet for every page. No inline styles anywhere: the server's
   Content-Security-Policy blocks them, so every visual rule lives here.
   Colour carries two meanings only: blue = signal captured, amber = signal
   lost or an honest caveat.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root,
[data-theme="dark"] {
  --bg: #0B0F16;
  --bg-2: #0F141D;
  --surface: #121925;
  --surface-2: #172031;
  --line: rgba(232, 237, 245, .09);
  --line-2: rgba(232, 237, 245, .17);
  --text: #E8EDF5;
  --text-2: #BAC4D3;
  --muted: #8E9AAE;
  --blue: #4D8DFF;
  --blue-2: #79A8FF;
  --blue-ink: #061021;
  --blue-soft: rgba(77, 141, 255, .11);
  --amber: #F2A93B;
  --amber-soft: rgba(242, 169, 59, .10);
  --logo-ink: #E8EDF5;
  --logo-x: #4D8DFF;
  --focus: #79A8FF;
  --header: rgba(11, 15, 22, .88);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #F4F6FA;
  --surface: #FFFFFF;
  --surface-2: #F6F8FC;
  --line: rgba(15, 23, 41, .10);
  --line-2: rgba(15, 23, 41, .19);
  --text: #0F1729;
  --text-2: #334155;
  --muted: #5B6578;
  --blue: #0B5FFF;
  --blue-2: #0047CC;
  --blue-ink: #FFFFFF;
  --blue-soft: rgba(11, 95, 255, .07);
  --amber: #B45309;
  --amber-soft: rgba(180, 83, 9, .07);
  --logo-ink: #0F1729;
  --logo-x: #0B5FFF;
  --focus: #0B5FFF;
  --header: rgba(255, 255, 255, .9);
  color-scheme: light;
}
:root {
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 12px;
  --wrap: 1200px;
  --gut: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2 { text-wrap: balance; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.14; letter-spacing: -.018em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 1.55rem + 3.1vw, 3.9rem); line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 1.22rem + 1.55vw, 2.4rem); }
h3 { font-size: 1.16rem; line-height: 1.32; letter-spacing: -.008em; }
strong { font-weight: 600; color: var(--text); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
::selection { background: var(--blue); color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: var(--blue-ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap--narrow { width: min(800px, 100% - 2 * var(--gut)); margin-inline: auto; }
.section { padding: clamp(64px, 7.5vw, 112px) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p, .lede { color: var(--text-2); font-size: clamp(1.08rem, 1rem + .3vw, 1.24rem); line-height: 1.6; }
.section-head p:last-child { margin-bottom: 0; }
.section-head a, .lede a { color: var(--blue); text-underline-offset: 3px; }
.kicker { display: block; margin-bottom: 16px; font: 500 .78rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stack > * + * { margin-top: 16px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--blue); font-weight: 500; text-decoration: none; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more-link .ar { transition: transform .2s; }
.more-link:hover .ar { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); background: var(--header); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.logo svg { height: 25px; width: auto; }
.lg-i { fill: var(--logo-ink); }
.lg-is { stroke: var(--logo-ink); }
.lg-b { stroke: var(--logo-x); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-item > a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: .95rem; font-weight: 500; text-decoration: none; transition: color .2s, background .2s; }
.nav > a:hover, .nav-item > a:hover { color: var(--text); background: var(--blue-soft); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-item { position: relative; }
.nav-item > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.subnav { position: absolute; top: calc(100% + 6px); left: -8px; width: 330px; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.subnav a:hover { background: var(--blue-soft); }
.subnav b { display: block; font-weight: 500; font-size: .95rem; color: var(--text); }
.subnav span { display: block; font-size: .84rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--text-2); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
[data-theme="light"] .i-moon { display: block; }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border: 1px solid transparent; border-radius: 8px; font: 500 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn--primary { background: var(--blue); color: var(--blue-ink); }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text-2); }
.btn--sm { padding: 10px 15px; font-size: .92rem; }
.btn .ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Heroes ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 600px; margin-top: 24px; }
.proof { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.proof li { position: relative; padding-left: 26px; color: var(--text-2); font-size: .97rem; }
.proof li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.figure { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: clamp(14px, 2vw, 22px); }
.figure figcaption { margin-top: 12px; color: var(--muted); font-size: .86rem; display: flex; gap: 18px; flex-wrap: wrap; }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key::before { content: ""; width: 22px; height: 0; border-top: 2px solid var(--blue); }
.key--lost::before { border-top: 2px dashed var(--amber); }
.page-hero { padding: clamp(48px, 6.5vw, 92px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 760px; margin-top: 20px; }
.page-hero--article h1 { max-width: 26ch; font-size: clamp(2rem, 1.45rem + 2.2vw, 3.05rem); line-height: 1.1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: .9rem; color: var(--muted); }

/* ---------- Diagrams (inline SVG, styled here) ---------- */
.dia { width: 100%; height: auto; }
.dia text { font: 500 13px var(--mono); fill: var(--muted); letter-spacing: .01em; }
.dia .t-strong { fill: var(--text); font-weight: 500; }
.dia .t-blue { fill: var(--blue); }
.dia .t-amber { fill: var(--amber); }
.dia .t-lg { font-size: 13px; }
.dia .box { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1; }
.dia .box-blue { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.2; }
.dia .box-amber { fill: var(--amber-soft); stroke: var(--amber); stroke-width: 1; stroke-dasharray: 3 3; }
.dia .wire { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.dia .wire-dim { fill: none; stroke: var(--line-2); stroke-width: 1; }
.dia .flow { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 9; animation: flow 1.8s linear infinite; }
.dia .lost { fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 4 5; }
.dia .x { stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; }
.dia .ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.dia .ring-blue { fill: none; stroke: var(--blue); stroke-width: 1.2; }
.dia .core { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.5; }
.dia .node { fill: var(--surface); stroke: var(--blue); stroke-width: 1.5; transition: fill .2s; }
.dia .node.is-on { fill: var(--blue); }
.dia .spoke { stroke: var(--line-2); stroke-width: 1; }
.dia .spoke.is-on { stroke: var(--blue); }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); }
.card p + p { margin-top: 10px; }
a.card { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--blue); }
a.card .go { margin-top: auto; padding-top: 20px; color: var(--blue); font-weight: 500; font-size: .95rem; }
.card--flat { background: transparent; }
.glyph { width: 34px; height: 34px; margin-bottom: 18px; color: var(--blue); }
.glyph * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.label { display: block; margin-bottom: 10px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.label--amber { color: var(--amber); }
.card--lost { border-color: var(--line); border-top: 2px solid var(--amber); }

.plain { text-decoration: none; }
.plain:hover { color: var(--blue); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 11px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks--2 { columns: 2; column-gap: 40px; }
.ticks--2 li { break-inside: avoid; }
.deliverables { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.deliverables li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.deliverables b { color: var(--text); font-weight: 600; }

/* ---------- Relay vs one team ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare > div { padding: clamp(24px, 3vw, 36px); }
.compare .them { background: var(--bg-2); }
.compare .us { background: var(--surface); border-left: 1px solid var(--line); }
.compare h3 { margin-bottom: 22px; }
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { position: relative; padding: 0 0 26px 30px; color: var(--text-2); }
.chain li:last-child { padding-bottom: 0; }
.chain li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--blue); background: var(--surface); }
.chain li::after { content: ""; position: absolute; left: 5.5px; top: 1.3em; bottom: -.1em; border-left: 2px solid var(--blue); }
.chain li:last-child::after { display: none; }
.chain--broken li::before { border-color: var(--muted); background: var(--bg-2); }
.chain--broken li::after { border-left: 2px dashed var(--amber); }
.gap-note { display: block; margin-top: 6px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--amber); }

/* ---------- Phases (method) ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.phase { padding: clamp(22px, 2.4vw, 30px); border-left: 1px solid var(--line); }
.phase:first-child { border-left: 0; }
.phase .label { margin-bottom: 14px; }
.phase h3 { font-size: 1.08rem; }
.phase p { color: var(--text-2); margin: 0; font-size: .98rem; }
.phase-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.phase-detail:first-of-type { border-top: 0; padding-top: 0; }
.phase-detail h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 6px; }
.phase-detail .sub { color: var(--muted); }
.phase-detail p { color: var(--text-2); }
.phase-detail .yield { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text-2); font-size: .97rem; }
.phase-detail .yield b { display: block; margin-bottom: 4px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .97rem; }
table.data th { padding: 14px 18px; text-align: left; vertical-align: bottom; background: var(--bg-2); border-bottom: 1px solid var(--line); font: 500 .76rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
table.data td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--text); font-weight: 600; min-width: 190px; }
table.data td.nowrap { white-space: nowrap; }
.badge { display: inline-block; margin-top: 6px; padding: 2px 8px; border: 1px solid var(--blue); border-radius: 999px; font: 500 .7rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }

/* ---------- Notes ---------- */
.note { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--amber-soft); color: var(--text-2); }
.note--blue { border-left-color: var(--blue); background: var(--blue-soft); }
.note--blue .label { color: var(--blue-2); }
.note p:last-child { margin-bottom: 0; }
.note .label { margin-bottom: 6px; }
.pull { margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--blue); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font: 400 1.35rem/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; max-width: 760px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Connected Floor explorer ---------- */
.cf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cf-map { position: sticky; top: 100px; }
.cf-tabs { list-style: none; margin: 0 0 18px; padding: 0; display: none; flex-wrap: wrap; gap: 8px; }
.js .cf-tabs { display: flex; }
.cf-tab { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text-2); font: 500 .88rem/1.2 var(--sans); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.cf-tab:hover { color: var(--text); border-color: var(--text-2); }
.cf-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }
.cf-panel { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; }
.js .cf-panel { display: none; margin-bottom: 0; }
.js .cf-panel.is-active { display: block; }
.cf-panel h3 { font-size: 1.3rem; }
.cf-panel p { color: var(--text-2); }
.moves { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.moves li { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 6px; font: 400 .8rem/1.5 var(--mono); color: var(--text-2); }
.moves-label { display: block; margin-top: 18px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Article and legal text ---------- */
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; }
.toc p { margin: 0 0 12px; font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line-2); color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--blue); }
.prose { max-width: 740px; }
.prose p, .prose li { color: var(--text-2); line-height: 1.75; }
.prose h2 { margin: 2.1em 0 .6em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--text); }
.formula { margin: 22px 0 26px; padding: 16px 20px; overflow-x: auto; white-space: nowrap; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--surface); font: 400 .9rem/2 var(--mono); color: var(--text); }
.prose .table-wrap { margin: 22px 0 28px; }
.prose table.data { min-width: 560px; font-size: .93rem; }
.takeaways { margin: 0 0 44px; }
.takeaways ul { margin: 6px 0 0; padding-left: 1.15em; }
.takeaways li { margin-bottom: 6px; }
.sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .92rem; }
.sources h2 { font-size: 1.15rem; margin: 0 0 14px; }
.sources li { word-break: break-word; color: var(--muted); }
.legal .box { margin: 18px 0 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.form { display: grid; gap: 20px; }
.form-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field label { display: block; margin-bottom: 7px; font-weight: 500; font-size: .96rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); color: var(--text); font: 400 1rem/1.4 var(--sans); transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E9AAE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field .hint { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.field .err { display: none; margin: 6px 0 0; font-size: .88rem; color: var(--amber); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--amber); }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--text-2); }
.check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.check a { color: var(--blue); }
.check.invalid { color: var(--amber); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 4px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--amber-soft); color: var(--text-2); }
.form-status[hidden] { display: none; }
.form-status p:last-child { margin-bottom: 0; }
.form-status .actions { margin-top: 14px; }
.form-done { text-align: left; }
.form-done .tick { width: 44px; height: 44px; margin-bottom: 18px; color: var(--blue); }
.form-done .tick * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.next-steps li { position: relative; padding: 0 0 22px 44px; color: var(--text-2); counter-increment: step; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font: 500 .82rem/26px var(--mono); text-align: center; }
.next-steps b { display: block; color: var(--text); font-weight: 600; }
.mail-line { font-size: 1.1rem; font-weight: 500; }
.mail-line a { color: var(--blue); text-decoration: none; }
.mail-line a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Insight cards ---------- */
.insight { display: flex; flex-direction: column; height: 100%; }
.insight .label { margin-bottom: 14px; }
.insight h3 { font-size: 1.18rem; }
.insight p { color: var(--text-2); }
.insight .read { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.cta h2 { max-width: 18ch; margin-bottom: 14px; }
.cta p { max-width: 640px; margin: 0; color: var(--text-2); font-size: 1.1rem; }
.cta .actions { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.fh { margin: 0 0 14px; font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.site-footer nav a { display: block; padding: 5px 0; color: var(--text-2); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--text); }
.legal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.legal-line a { color: var(--muted); }

/* ---------- Status pages ---------- */
.status-page { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { position: fixed; inset: 72px 0 auto 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); z-index: 59; display: none; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 12px var(--gut) 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav > a, .nav-item > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blue); }
  .nav-item > a::after { display: none; }
  .subnav { position: static; width: auto; padding: 4px 0 8px 12px; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; }
  .subnav span { display: none; }
  .subnav a { padding: 9px 4px; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: block; margin-top: 24px; }
  .nav-cta .btn { width: 100%; }
  .header-actions .btn { display: none; }
  .menu-open body { overflow: hidden; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .split--even, .cf, .contact-grid, .article-grid, .cta-in { grid-template-columns: minmax(0, 1fr); }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase:nth-child(3) { border-left: 0; }
  .phase:nth-child(n+3) { border-top: 1px solid var(--line); }
  .phase-detail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cf-map, .toc { position: static; }
  .toc { display: none; }
  .hero h1 { max-width: none; }
}
@media (max-width: 640px) {
  :root { --gut: 20px; }
  .g2, .g3, .g4, .form-2 { grid-template-columns: minmax(0, 1fr); }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare .us { border-left: 0; border-top: 1px solid var(--line); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase { border-left: 0; border-top: 1px solid var(--line); }
  .phase:first-child { border-top: 0; }
  .ticks--2 { columns: 1; }
  .deliverables li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .header-in { height: 64px; }
  .nav { inset: 64px 0 auto 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
  .logo svg { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .cta, .toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}

.h3like { font-size: 1.16rem; margin-bottom: 18px; }
