/* vizpane.com — Horizon (fleet standard since 26.09.2026, Design_System DESIGN.md Register 8).
   Bright sky, navy type, cobalt→turquoise, white cards with soft blue shadows. Self-hosted fonts only.
   Replaces the Vite build's styles-*.css; new file name so no browser keeps the old look from its cache.
   Pattern: ~/Dev/grimfaste-site/dist-static/gf-horizon.css. Generated site: site-src/build-site.py. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/vp/fonts/Archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/vp/fonts/InstrumentSans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/vp/fonts/InstrumentSans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/vp/fonts/InstrumentSans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/vp/fonts/IBMPlexMono-400.woff2") format("woff2"); }

:root {
  --navy: #0F2552; --ink: #33466B; --muted: #66779A; --line: #DCE7F4; --line-mid: #D2DEEE;
  --sky: #F5F9FE; --tint: #EAF3FC; --panel: #F3F8FE; --paper: #FFFFFF;
  --blue: #1F6FEB; --blue-deep: #1E4FC4; --cyan: #22C3E8; --teal: #2EE6D0;
  --grad: linear-gradient(90deg, #2EE6D0 0%, #22C3E8 45%, #1F6FEB 100%);
  --grad-btn: linear-gradient(90deg, #1FB5E3, #1F6FEB);
  --shadow: 0 1px 2px rgba(15, 37, 82, .06), 0 10px 30px rgba(31, 79, 196, .10);
  --shadow-lift: 0 2px 4px rgba(15, 37, 82, .06), 0 18px 40px rgba(31, 79, 196, .16);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.6 var(--sans); background: var(--sky);
  background-image: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 30%, #F4F9FE 100%); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.1; margin: 0; }
p { margin: 0; }
b, strong { color: var(--navy); }
:focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 3px; border-radius: 8px; }
.shell { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker, .u-label { display: block; font: 500 .76rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin: 0; }
.grad-text { background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons: pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; text-decoration: none;
  font: 600 .95rem/1 var(--sans); color: var(--navy); background: var(--paper); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pill:hover { color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.pill.solid { color: #fff; background: var(--grad-btn); box-shadow: 0 8px 20px rgba(31, 111, 235, .28); }
.pill.solid:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 249, 254, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(220, 231, 244, .8); }
.main-nav { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); font: 700 1.12rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.wordmark:hover { color: var(--navy); }
.wordmark img { width: 34px; height: 34px; }
.nav-sections { display: flex; gap: 2px; margin-left: auto; }
.nav-sections a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-sections a:hover, .nav-sections a[aria-current="page"] { background: var(--tint); color: var(--navy); }
.nav-cta { min-height: 42px; }

/* ---------- home hero: headline + gateway ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-head { text-align: center; max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; }
.hero-lede { margin: 22px auto 0; max-width: 46em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-head .actions { justify-content: center; }
.receipts { margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.receipts span { white-space: nowrap; }
.receipts span + span::before { content: "·"; margin-right: 14px; color: var(--line-mid); }
.receipts b { color: var(--ink); font-weight: 600; }

.gateway { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 360px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px); align-items: center; width: min(1320px, 100% - 2 * var(--gutter)); margin: clamp(48px, 6vw, 76px) auto 0; }
.gateway .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires > path { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.wires > path.flow { stroke-dasharray: .1 26; stroke-width: 3; stroke: rgba(255, 255, 255, .9); animation: flow 1.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -52.2; } }
.gw-col { display: grid; gap: 12px; position: relative; z-index: 1; }
.gw-label { font: 500 .72rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.gw-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 16px 11px 11px;
  border-radius: 16px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 72%); box-shadow: var(--shadow); }
.gw-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.gw-card .ico svg { width: 21px; height: 21px; }
.gw-card b { display: block; font: 700 .98rem/1.2 var(--display); color: var(--navy); }
.gw-card small { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.gw-col.in .gw-card { background: var(--paper); }
.gw-col.in .gw-card .ico { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); box-shadow: none; }
.hub { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; }
.hub::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 2px dotted rgba(31, 111, 235, .35); }
.hub::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 8px rgba(91, 212, 253, .16), 0 0 70px 10px rgba(34, 195, 232, .42), inset 0 0 40px rgba(34, 195, 232, .32); }
.hub .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, #F2FAFE 55%, #DDF2FC 100%); }
.hub .disc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hub .disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .44) 58%, rgba(255, 255, 255, 0) 80%); }
.hub .core { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 12%; }
.hub .core img { width: clamp(52px, 6vw, 78px); height: auto; }
.hub .core b { margin-top: 10px; font: 700 clamp(1.2rem, 2.1vw, 1.8rem)/1 var(--display); letter-spacing: .06em; color: var(--navy); }
.hub .core span { margin-top: 10px; font: 500 clamp(.82rem, 1.1vw, .98rem)/1.3 var(--sans); color: var(--navy); }
.hub .core i { display: block; width: 42%; height: 2px; margin: 13px auto; background: var(--grad); border-radius: 2px; }
.hub .core em { font: 700 clamp(.9rem, 1.3vw, 1.1rem)/1 var(--display); font-style: normal; color: var(--blue); }
.hub .note { position: absolute; left: 50%; top: calc(100% + 34px); transform: translateX(-50%); width: max-content; max-width: 88vw; margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-head { max-width: 800px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head .lede { margin-top: 14px; font-size: 1.08rem; }
.tinted { background: linear-gradient(180deg, rgba(234, 243, 252, .7), rgba(234, 243, 252, 0)); }
.media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lift); background: var(--tint); }
.media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- engine: the big 43, four engine-rendered charts, four tiles ---------- */
.engine-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; max-width: 1000px; }
.big43 { font: 700 clamp(6rem, 16vw, 12rem)/.9 var(--display); letter-spacing: -.04em; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.engine-top h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.engine-top .lede { margin-top: 14px; font-size: 1.08rem; max-width: 34em; }
.charts-note { font: 400 .8rem/1.4 var(--mono); color: var(--muted); margin: clamp(28px, 4vw, 48px) 0 14px; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.chart-card { margin: 0; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.chart-card .plot { padding: 12px 12px 0; }
.chart-card .plot svg { width: 100%; height: auto; }
.chart-card .plot svg text { font-family: var(--sans) !important; }
.chart-card figcaption { display: grid; gap: 2px; padding: 10px 16px 14px; border-top: 1px solid var(--line); font: 400 .74rem/1.45 var(--mono); color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(28px, 4vw, 48px); }
.tile { position: relative; overflow: hidden; padding: 24px 24px 22px; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); }
.tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); }
.tile .v { font: 700 clamp(2.2rem, 4.4vw, 3.2rem)/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.tile .k { margin-top: 8px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.tile p { margin-top: 8px; font-size: .94rem; color: var(--muted); }
.screens { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.screens .screen { margin: 0; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lift); overflow: hidden; }
.screens .screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.screens .screen:first-child { grid-row: span 2; }
.screens .screen:first-child img { aspect-ratio: auto; height: 100%; }
.screens.n1, .screens.n2 { grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); }
.screens.n1 .screen:first-child, .screens.n2 .screen:first-child { grid-row: auto; }
.screens.n1 .screen:first-child img, .screens.n2 .screen:first-child img { aspect-ratio: 16 / 10; height: auto; }
.shot-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* ---------- split sections: agents, analyst ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.split h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.split .lede { margin-top: 14px; font-size: 1.06rem; }
.fig { margin: 0; }
.fig .media img { aspect-ratio: 16 / 10; }
.fig figcaption { margin-top: 10px; font: 400 .78rem/1.4 var(--mono); color: var(--muted); }
.endpoints { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.endpoints li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); font: 400 .9rem/1.3 var(--mono); color: var(--navy); overflow-wrap: anywhere; }
.endpoints li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-btn); }
.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.readout { padding: 18px 18px 16px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.readout .k { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.readout .v { margin-top: 6px; font: 700 clamp(2rem, 3.6vw, 2.6rem)/1 var(--display); background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.readout .s { margin-top: 6px; font-size: .86rem; color: var(--ink); }

/* ---------- privacy: the case ---------- */
.privacy-head { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 4vw, 44px); }
.privacy-head h2 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3rem); }
.privacy-head .lede { margin: 16px auto 0; max-width: 40em; font-size: 1.08rem; }
.case { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 200px); gap: clamp(16px, 3vw, 40px); align-items: center; }
.case .side { padding: 18px 20px; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.case .side .k { font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.case .side .v { margin-top: 6px; font: 700 1.2rem/1.2 var(--display); color: var(--navy); }
.case .side i { display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--grad); }
.case .side.out { text-align: right; } .case .side.out i { margin-left: auto; }
.case .fig figcaption { text-align: center; }

/* ---------- setup: three numbered steps + terminal ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; }
.step { padding: clamp(20px, 2.4vw, 28px); background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.step .top { display: flex; align-items: center; justify-content: space-between; }
.step .idx { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 700 .86rem var(--display); color: #fff; background: var(--grad-btn); }
.step .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--blue); }
.step .ic svg { width: 24px; height: 24px; }
.step h3 { margin-top: 16px; font-size: 1.22rem; }
.step p { margin-top: 8px; font-size: .96rem; }
.term { margin-top: clamp(18px, 2.4vw, 28px); background: #0F2552; border-radius: 20px; box-shadow: var(--shadow-lift); overflow: hidden; color: #EAF2FF; }
.term .bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(234, 242, 255, .12); font: 400 .78rem/1.4 var(--mono); color: #93A3C4; }
.term .bar b { color: #2EE6D0; font-weight: 400; }
.term .lines { list-style: none; margin: 0; padding: 8px 0; }
.term .lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 18px; }
.term .ps { color: #2EE6D0; font: 400 .9rem var(--mono); }
.term code { font: 400 .88rem/1.5 var(--mono); color: #EAF2FF; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; padding: 4px 0; }
.term button { font: 500 .78rem/1 var(--sans); min-height: 36px; min-width: 64px; padding: 0 14px; border: 1px solid rgba(234, 242, 255, .25); border-radius: 999px; background: transparent; color: #EAF2FF; cursor: pointer; }
.term button:hover { border-color: #2EE6D0; color: #2EE6D0; }
.term button.done { border-color: #2EE6D0; color: #2EE6D0; }

/* ---------- film band with the closing invitation ---------- */
.band { position: relative; min-height: clamp(520px, 74vh, 720px); display: grid; place-items: end center; overflow: hidden; background: #DDEFFC; margin-top: clamp(24px, 4vw, 48px); }
/* the film box is taller than the band and anchored at its foot: the horizon lands in the upper third, the text sits in front */
.band > video { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 175%; object-fit: cover; object-position: 50% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 249, 254, 0) 26%, rgba(245, 249, 254, .74) 50%, rgba(245, 249, 254, .92) 72%, #F5F9FE 100%); }
.band .say { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.band h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); max-width: 24ch; margin: 14px auto 0; text-wrap: balance; }
.band .actions { justify-content: center; }

/* ---------- inner pages (about, contact, legal): the document on a white sheet ---------- */
.legal { width: min(920px, 100% - 2 * var(--gutter)); margin: clamp(24px, 5vw, 56px) auto clamp(56px, 8vw, 96px); padding: clamp(24px, 5vw, 56px); background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.legal .back { display: inline-flex; align-items: center; min-height: 40px; font-size: .92rem; font-weight: 500; text-decoration: none; }
.legal h1 { margin-top: 10px; font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: .5em; }
.legal h2 { font-size: clamp(1.22rem, 2.3vw, 1.5rem); margin: 1.8em 0 .55em; }
.legal p, .legal address { margin: 0 0 14px; max-width: 70ch; }
.legal address { font-style: normal; }
.legal a { overflow-wrap: anywhere; }
.legal .mail a, .legal p a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.notfound { text-align: center; }
.notfound .big { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--display); background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .actions { justify-content: center; }

/* ---------- footer ---------- */
.marketing-footer { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); padding: clamp(44px, 6vw, 64px) 0 26px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: start; }
.footer-top p { margin-top: 14px; max-width: 30em; font-size: .95rem; color: var(--muted); }
.footer-top h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.footer-top ul { list-style: none; margin: 10px 0 0; padding: 0; }
.footer-top li a { display: inline-block; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.footer-top li a:hover, .footer-top li a[aria-current="page"] { color: var(--blue); }
.footer-top ul.cols { columns: 2; column-gap: 24px; }
.footer-contact { display: inline-block; margin-top: 14px; padding: 8px 0; font: 700 1.02rem var(--display); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 22px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.attribution { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--navy); text-decoration-color: var(--cyan); }
.attribution b { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gateway { gap: 44px; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); }
  .gw-card small { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gateway { grid-template-columns: minmax(0, 1fr); gap: 60px; max-width: 620px; }
  .gateway .wires { display: none; }
  .hub { width: min(300px, 76vw); justify-self: center; margin-bottom: 30px; }
  .gw-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-label { grid-column: 1 / -1; }
  .gw-card small { display: block; }
  .split, .split.rev, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .split.rev .fig { order: -1; }
  .screens { grid-template-columns: minmax(0, 1fr); }
  .screens .screen:first-child { grid-row: auto; }
  .screens .screen:first-child img { aspect-ratio: 16 / 10; height: auto; }
  .case { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .fig { grid-column: 1 / -1; order: -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .main-nav { flex-wrap: wrap; gap: 4px 12px; padding: 10px 0 6px; min-height: 0; }
  .nav-sections { order: 3; width: 100%; margin-left: -12px; overflow-x: auto; scrollbar-width: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gw-col { grid-template-columns: minmax(0, 1fr); }
  .receipts { gap: 6px 18px; } .receipts span + span::before { content: none; }
  .actions { display: grid; justify-content: stretch; }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .engine-top { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tiles, .readouts { grid-template-columns: minmax(0, 1fr); }
  .footer-top ul.cols { columns: 1; }
  .term .lines li { grid-template-columns: auto minmax(0, 1fr); }
  .term button { grid-column: 2; justify-self: start; }
}
@media (max-width: 480px) { .nav-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* the gradient phrase stays on its own line where it fits */
@media (min-width: 700px) { .hero h1 .grad-text { display: inline-block; } }
@media (max-width: 760px) { .nav-sections { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 24px; } }
