
/* Layout: one long page. A hero that draws a live time-chainage chart, a six-row capability list beside a sticky heading,
   a tabbed look at the real tool, three plain columns for the sectors, one dark band for interoperability, then contact. */
:root {
  color-scheme: light;
  --bg: #F6F9FD;
  --surface: #FFFFFF;
  --sunken: #E8EFF8;
  --ink: #0B2545;
  --ink-2: #4A5F7A;
  --line: #CCD9E8;
  --leaf: #0B5CAD;
  --leaf-soft: #D6E6F7;
  --on-leaf: #FFFFFF;
  --hivis: #F5B301;
  --on-hivis: #1B1400;
  --hivis-line: #A87200;
  --band: #DCE8F6;
  --on-band: #0B2545;
  --band-2: #4A5F7A;
  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible { outline: none; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.display { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.01em; line-height: 1.02; text-wrap: balance; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.mono { font-family: var(--font-mono); }

/* top bar */
.top { padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--leaf); color: var(--on-leaf); font: 600 16px/1 var(--font-body); padding: 15px 24px; border-radius: 6px; text-decoration: none; border: 2px solid var(--leaf); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); filter: none; }
.nav .btn { padding: 11px 18px; font-size: 14.5px; color: var(--on-leaf); }

/* hero */
.hero { padding-top: 44px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 6.1rem); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 56ch; color: var(--ink-2); margin: 28px 0 0; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.readout { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 12px 4px 4px; padding: 12px 0 2px; border-top: 1px solid var(--line); }
.readout dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.readout dd { margin: 4px 0 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1.15; min-height: 1.15em; }
.lg { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin-right: 2px; }
.lg.ring { border: 2px solid var(--ink); border-radius: 50%; background: var(--surface); }
.lg.lagk { width: 3px; background: #C8402F; margin: 0 5px 0 4px; }
.lg.crit { background: var(--hivis); border: 1px solid var(--hivis-line); }
.lg.clash { border: 2.5px solid #C8402F; border-radius: 50%; }
.ghost { stroke: var(--ink-2); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .7; }
.done { fill: var(--leaf); fill-opacity: .92; stroke: var(--leaf); stroke-width: 1; }
.done.crit { fill: var(--hivis); fill-opacity: 1; stroke: var(--hivis-line); }
.pc { fill: var(--hivis); stroke: var(--hivis-line); stroke-width: 1.6; }
.clash { fill: none; stroke: #C8402F; stroke-width: 2.5; }
.clashlab { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; fill: #B3321F; }
.crew { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-2); }
@media (max-width: 700px) { .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart-cap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 10px 6px 4px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
.chart-cap b { color: var(--ink); font-weight: 500; }
.ax { font-family: var(--font-mono); font-size: 11.5px; fill: var(--ink-2); }
.gridl { stroke: var(--line); stroke-width: 1; }
.band { fill: var(--leaf); fill-opacity: .28; stroke: var(--leaf); stroke-width: 1.5; }
.band.crit { fill: var(--hivis); fill-opacity: .5; stroke: var(--hivis-line); }
.dot { fill: var(--leaf); stroke: var(--surface); stroke-width: 2.5; }
.dot.crit { fill: var(--hivis); stroke: var(--surface); }
.ring { fill: var(--surface); stroke: var(--ink); stroke-width: 1.6; }
.lag { stroke: #C8402F; stroke-width: 3; }
.nowline { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; }
.nowlab { font-family: var(--font-mono); font-size: 12px; fill: var(--ink); font-weight: 500; }
.future { fill: var(--surface); fill-opacity: .55; }

.fm { margin-top: 44px; }
.fm-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(10, 37, 69, .4); }
.fm-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fm-bar { display: flex; align-items: stretch; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.fm-play { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); border: 0; border-radius: 6px; padding: 0 16px; min-height: 44px; font: 600 14.5px/1 var(--font-body); cursor: pointer; }
.fm-play:hover { filter: brightness(1.2); }
.fm-play svg { width: 14px; height: 14px; fill: currentColor; }
.fm-chips { flex: 1 1 520px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.fm-chip { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px 10px; text-align: left; cursor: pointer; font: inherit; color: var(--ink-2); min-height: 44px; }
.fm-chip b { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 15px; line-height: 1.15; color: var(--ink); }
.fm-chip span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }
.fm-chip i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--hivis); }
.fm-chip[aria-current="true"] { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); }
.fm-chip:hover { border-color: var(--leaf); }
.fm-cap { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); margin: 12px 4px 0; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
@media (max-width: 760px) { .fm-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fm-chip span { display: none; } }

/* drawing classes (inside the stage svg) */
.f-card { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.f-grid { stroke: var(--line); stroke-width: 1; }
.f-ax { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-2); }
.f-mono { font-family: var(--font-mono); font-size: 14px; fill: var(--ink); font-weight: 500; }
.f-small { font-family: var(--font-mono); font-size: 12px; fill: var(--ink-2); }
.f-disp { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; fill: var(--ink); letter-spacing: -0.01em; }
.f-body { font-family: var(--font-body); fill: var(--ink-2); }
.f-blue { fill: var(--leaf); }
.f-bar { fill: var(--leaf); }
.f-soft { fill: var(--leaf-soft); stroke: var(--leaf); stroke-width: 1.2; }
.f-crit { fill: var(--hivis); stroke: var(--hivis-line); stroke-width: 1.2; }
.f-red { fill: #C8402F; }
.f-link { fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.f-ink { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.f-dash { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 4; fill: none; }
.f-cap { stroke: #C8402F; stroke-width: 2; stroke-dasharray: 7 5; fill: none; }
.f-pill { fill: var(--leaf-soft); }
.f-pillw { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; }
.f-ghost { stroke: var(--ink-2); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .7; }
.f-band { fill: var(--leaf); fill-opacity: .28; stroke: var(--leaf); stroke-width: 1.5; }
.f-band.crit { fill: var(--hivis); fill-opacity: .5; stroke: var(--hivis-line); }
.f-done { fill: var(--leaf); fill-opacity: .92; stroke: var(--leaf); stroke-width: 1; }
.f-done.crit { fill: var(--hivis); fill-opacity: 1; stroke: var(--hivis-line); }
.f-dot { fill: var(--leaf); stroke: var(--surface); stroke-width: 2.5; }
.f-dot.crit { fill: var(--hivis); }
.f-ring { fill: var(--surface); stroke: var(--ink); stroke-width: 1.6; }
.f-lag { stroke: #C8402F; stroke-width: 3; }
.f-now { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; }
.f-future { fill: var(--surface); fill-opacity: .55; }
.f-clash { fill: none; stroke: #C8402F; stroke-width: 2.5; }


/* sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.rule-top { border-top: 1px solid var(--line); }
h2.display { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.caps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.caps .sticky { position: sticky; top: 28px; }
.caps .sticky p { color: var(--ink-2); max-width: 46ch; margin: 22px 0 0; }
.origin { margin-top: 30px; padding-left: 18px; border-left: 4px solid var(--hivis); color: var(--ink); font-size: 16px; max-width: 44ch; }
.s-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.s-list li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.s-list h3 { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1; margin: 0; letter-spacing: -0.01em; }
.s-list h3 .s { color: var(--leaf); }
.s-list p { margin: 0; color: var(--ink-2); max-width: 54ch; }
.s-list .tags { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.s-list .tags span::before { content: "/ "; color: var(--hivis-line); }

/* look at the tool */
.tool { background: var(--sunken); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); margin-top: 40px; align-items: start; }
.tabs { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.tab { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; cursor: pointer; color: var(--ink-2); font: inherit; display: grid; gap: 4px; }
.tab .t { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; color: inherit; line-height: 1.1; }
.tab .d { font-size: 14.5px; line-height: 1.45; display: none; }
.tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 5px 0 0 var(--hivis); padding-left: 18px; }
.tab[aria-selected="true"] .d { display: block; color: var(--ink-2); }
.tab:hover:not([aria-selected="true"]) { color: var(--ink); }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(10, 37, 69, .35); }
.shot .bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.shot .img { background: #fff; overflow-x: auto; }
.shot img { width: 100%; }
.shot-cap { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); margin: 14px 2px 0; }
.pane[hidden] { display: none; }


/* five mistakes */
.mist { margin-top: 44px; border-top: 2px solid var(--ink); }
.mist .row { display: grid; grid-template-columns: 44px minmax(0, 5fr) minmax(0, 6fr); gap: 8px clamp(20px, 4vw, 56px); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mist .num { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--leaf); }
.mist h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.12; margin: 0 0 6px; }
.mist .why { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.mist .fix { margin: 0; }
.mist .fix b { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--leaf); margin-bottom: 6px; }
.mist .chk { display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.mist .chk span::before { content: "/ "; color: var(--hivis-line); }
.mist .chk span { margin-right: 14px; display: inline-block; }
.mist-note { color: var(--ink-2); font-size: 15px; max-width: 70ch; margin: 26px 0 0; padding-left: 18px; border-left: 4px solid var(--hivis); }
@media (max-width: 900px) { .mist .row { grid-template-columns: minmax(0, 1fr); } .mist .num { font-size: 1.8rem; } }

/* sectors */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px); margin-top: 44px; }
.fit-lede { color: var(--ink-2); max-width: 64ch; margin: 22px 0 0; }
.col { border-top: 6px solid var(--hivis); padding-top: 22px; }
.col h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 0 0 12px; line-height: 1.08; }
.col p { margin: 0 0 14px; color: var(--ink-2); }
.col .ex { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }

/* interoperability band */
.band-sec { background: var(--band); color: var(--on-band); }
.band-sec .eyebrow { color: var(--band-2); }
.band-sec h2 { max-width: 20ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 48px; }
.fact { border-top: 2px solid var(--hivis); padding-top: 16px; }
.fact .n { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--leaf); font-variant-numeric: tabular-nums; }
.fact p { margin: 10px 0 0; color: var(--on-band); max-width: 30ch; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.formats span { font-family: var(--font-mono); font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; color: var(--on-band); }
.formats .lab { background: none; border: 0; padding-left: 0; color: var(--band-2); }

/* contact */
.contact { text-align: left; }
.contact h2 { max-width: 16ch; }
.contact p.lede { color: var(--ink-2); max-width: 52ch; margin: 22px 0 0; }
.mailrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.cform { margin-top: 30px; max-width: 760px; display: grid; gap: 16px; }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cform input, .cform textarea { font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; }
.cform input:focus, .cform textarea:focus { border-color: var(--leaf); outline: 3px solid var(--leaf-soft); outline-offset: 0; }
.cform textarea { resize: vertical; min-height: 120px; }
.cform .cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .invalid { border-color: #C8402F; }
.cform .mailrow { margin-top: 4px; }
@media (max-width: 640px) { .cform .cgrid { grid-template-columns: minmax(0, 1fr); } }
.mail-status { min-height: 1.6em; margin: 0; font-size: 15px; color: var(--leaf); }
.mail-status.err { color: #B3321F; }
.mail { font-family: var(--font-mono); font-size: clamp(1.05rem, 2.2vw, 1.4rem); border-bottom: 3px solid var(--hivis); padding-bottom: 2px; word-break: break-all; }
.copy { font: 600 14px/1 var(--font-body); background: var(--surface); color: var(--ink); border: 1px solid var(--ink); border-radius: 6px; padding: 11px 16px; cursor: pointer; }
.copy:hover { background: var(--ink); color: var(--bg); }

footer { border-top: 1px solid var(--line); padding-block: 36px 52px; color: var(--ink-2); font-size: 14px; }
footer .row { display: flex; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
footer p { margin: 0; max-width: 70ch; }


/* routed views */
.view[hidden] { display: none; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); padding-top: 28px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); border-color: var(--ink); }
.subnav { display: flex; gap: 6px; margin-top: 18px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.subnav a { flex: none; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.subnav a:hover { color: var(--ink); border-color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--leaf); color: var(--on-leaf); border-color: var(--leaf); }
.pg-head { padding-top: 40px; }
.pg-title { font-size: clamp(3.4rem, 11vw, 8.5rem); }
.pg-title .s { color: var(--leaf); }
.pg-promise { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.15; margin: 20px 0 0; max-width: 26ch; text-wrap: balance; }
.pg-lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-2); max-width: 62ch; margin: 18px 0 0; }
.pg-facts { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.pg-facts li { border-top: 2px solid var(--hivis); padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.pg-facts b { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; color: var(--leaf); }
.pg-facts span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.shot.big { margin-top: 44px; }
.pg-sec { padding-block: clamp(48px, 7vw, 96px); }
.pg-sec h2.display { max-width: 18ch; }
.frows { margin-top: 36px; border-top: 2px solid var(--ink); }
.frow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); align-items: start; }
.frow.flip .ftext { order: 2; }
.frow.flip .ffig { order: 1; }
.frow.plain { grid-template-columns: minmax(0, 1fr); }
.frow.plain .ftext { max-width: 74ch; }
.ftext h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.ftext p { margin: 0 0 12px; color: var(--ink-2); }
.ftext ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ftext li { padding-left: 22px; position: relative; font-size: 15.5px; }
.ftext li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; background: var(--hivis); }
.ffig .shot-cap { margin-top: 10px; }
.steps-sec { background: var(--sunken); }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); counter-reset: s; }
.steps li { border-top: 6px solid var(--leaf); padding-top: 16px; }
.steps .n { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 8px; }
.steps h3 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; margin: 0 0 8px; line-height: 1.1; }
.steps p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.pg-note { color: var(--ink-2); font-size: 15px; max-width: 74ch; margin: 0 0 40px; padding-left: 18px; border-left: 4px solid var(--hivis); }
.pg-note b { color: var(--ink); }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pair { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; }
.pair:hover { border-color: var(--leaf); box-shadow: 0 10px 30px -18px rgba(11, 92, 173, .55); }
.pair .lab { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.pair .w { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2.2rem; line-height: 1; }
.pair .w .s { color: var(--leaf); }
.pair .d { color: var(--ink-2); font-size: 15px; }
.pair.next { text-align: right; }
/* home capability cards */
.cap-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.cap-intro { margin: 0; color: var(--ink-2); max-width: 60ch; }
.cap-head .origin { margin-top: 20px; }
.capgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: 44px; }
.capcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.capcard:hover { border-color: var(--leaf); box-shadow: 0 16px 36px -22px rgba(11, 92, 173, .6); transform: translateY(-2px); }
.capcard .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.capcard .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.capcard .cb { display: grid; gap: 8px; padding: 18px 20px 20px; align-content: start; }
.capcard .cn { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); letter-spacing: .12em; }
.capcard .cw { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2.3rem; line-height: 1; letter-spacing: -0.01em; }
.capcard .cw .s { color: var(--leaf); }
.capcard .cp { color: var(--ink); font-size: 16px; line-height: 1.4; }
.capcard .ct { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.capcard .ct span::before { content: "/ "; color: var(--hivis-line); }
.capcard .go { margin-top: 6px; font-weight: 600; color: var(--leaf); font-size: 15px; }
.capcard .go i { font-style: normal; display: inline-block; transition: transform .15s; }
.capcard:hover .go i { transform: translateX(4px); }
a.more { color: var(--leaf); font-weight: 600; text-decoration: none; margin-left: 8px; font-family: var(--font-body); font-size: 14px; }
a.more:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .pg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frow, .frow.flip { grid-template-columns: minmax(0, 1fr); }
  .frow.flip .ftext, .frow.flip .ffig { order: 0; }
  .steps, .pairs, .capgrid, .cap-head { grid-template-columns: minmax(0, 1fr); }
  .pair.next { text-align: left; }
}
@media (max-width: 900px) {
  .caps, .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .caps .sticky { position: static; }
  .tabs { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 2px solid var(--ink); gap: 4px; }
  .tab { border-bottom: 0; padding: 12px 14px; white-space: nowrap; flex: none; }
  .tab[aria-selected="true"] { box-shadow: inset 0 -5px 0 var(--hivis); padding-left: 14px; }
  .tab .d { display: none !important; }
  .cols, .facts { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 16px; }
  .nav .hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.faq { padding-block: 72px; }
.faq .list { margin-top: 28px; display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--leaf); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); max-width: 70ch; }

.doc { padding-bottom: 24px; }
.doc-head { padding-top: 34px; }
.doc-title { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 22ch; }
.doc-head .cta-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.doc-fig { margin-top: 40px; max-width: 980px; }
.doc .shot-cap { max-width: 980px; }
.prose { max-width: 74ch; padding-block: 28px 8px; }
.prose h2 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.12; margin: 44px 0 12px; text-wrap: balance; }
.prose p { color: var(--ink-2); margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.prose a, .doc-faq a, .gloss a { color: var(--leaf); font-weight: 600; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 8px 0 18px; padding-left: 22px; color: var(--ink-2); font-size: 17px; line-height: 1.6; display: grid; gap: 8px; }
.prose li::marker { color: var(--leaf); font-weight: 700; }
.tbl { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tbl table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 460px; }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--sunken); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.doc-faq { max-width: 860px; margin-top: 56px; }
.doc-faq h2, .doc-rel h2 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 16px; }
.doc-faq .list { display: grid; gap: 10px; }
.doc-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.doc-faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--leaf); font-size: 20px; }
.doc-faq details[open] summary::after { content: "\2212"; }
.doc-faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); max-width: 70ch; }
.doc-rel { margin: 56px 0 48px; }
.relgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.relgrid.wide { margin-top: 36px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.rel { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); }
.rel:hover { border-color: var(--leaf); box-shadow: 0 12px 28px -20px rgba(11, 92, 173, .6); }
.rel b { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.rel span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.rel .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.rel.big { padding: 22px 24px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.az a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 700; color: var(--ink); background: var(--surface); }
.az a:hover { border-color: var(--leaf); color: var(--leaf); }
.gloss h2 { margin-top: 36px; }
.gloss dl { margin: 0; }
.gloss dt { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-top: 16px; scroll-margin-top: 20px; }
.gloss dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.sm ul { list-style: none; padding: 0; gap: 4px; }
.sm li::marker { content: ""; }
footer .fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
footer h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--leaf); text-decoration: underline; }
@media (max-width: 800px) { footer .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { footer .fcols { grid-template-columns: minmax(0, 1fr); } }

.explore { padding-block: 72px; background: var(--sunken); }
.explore .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 28px; }
.explore h3 { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink); }
.explore ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.explore a { color: var(--leaf); font-weight: 600; text-decoration: none; }
.explore a:hover { text-decoration: underline; }
.explore .all { margin-top: 14px; display: inline-block; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 800px) { .explore .cols { grid-template-columns: minmax(0, 1fr); } }
