/* ============================================================================
   Matrix Power — portable power site
   Hand-written CSS. No build step, no Node, no framework.
   Sibling project ../matrixsst uses the Tailwind standalone binary; this site
   is multi-page, and Tailwind's "class must appear in a scanned file" rule is
   a footgun across a dozen HTML files, so the shared stylesheet is literal.
   Brand tokens below are lifted verbatim from ../matrixsst/src/input.css.
   ========================================================================= */

:root {
  --navy-950: #04121d;
  --navy-900: #0a2436;
  --navy-850: #0d2e45;
  --navy-800: #103b57;
  --navy-700: #16507a;
  --navy-600: #1d6699;

  --teal-550: #1b8fa6;
  --teal-450: #2fa9bf;

  --signal-600: #1fa06e;
  --signal-500: #2bb77e;
  --signal-400: #3ecf92;

  --blaze-500: #f0a020;

  --white: #ffffff;
  --slate-50: #f6f8fa;
  --slate-100: #eef2f6;
  --slate-200: #dde4ec;
  --slate-400: #8a9bad;
  --slate-500: #64748b;
  --slate-600: #4a5a6b;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-hero: clamp(2.4rem, 5.6vw, 4.25rem);
  --text-section: clamp(1.75rem, 3.4vw, 2.6rem);
  --text-sub: clamp(1.25rem, 2vw, 1.6rem);

  --wrap: 76rem;
  --wrap-narrow: 52rem;
  --header-h: 4rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-950);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-700); }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }
li { margin-bottom: 0.4em; }

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

/* ── Utility ─────────────────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
/* A narrow column keeps the wide wrap's left gutter instead of centring itself,
   so a narrow prose block lines up with the full-width sections around it.
   Constrain the CHILDREN, not the wrap: percentage padding resolves against the
   containing block, which here is the full-bleed <section>, so a padding-based
   version collapses the column as the viewport grows. */
.wrap.wrap-narrow { max-width: var(--wrap); }
.wrap.wrap-narrow > * { max-width: var(--wrap-narrow); }
@media (min-width: 640px) { .wrap { padding-inline: 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--navy-900); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0.4rem; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--signal-400);
  outline-offset: 2px;
  border-radius: 3px;
}

.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal-550); margin-bottom: 0.9rem;
}
.eyebrow--onDark { color: var(--signal-400); }

.lede { font-size: var(--text-sub); line-height: 1.45; color: var(--slate-600); font-weight: 400; }
.onDark .lede, .lede--onDark { color: rgba(255, 255, 255, 0.72); }

.muted { color: var(--slate-500); font-size: 0.9rem; }
.onDark .muted { color: rgba(255, 255, 255, 0.55); }

/* ── Section rhythm ──────────────────────────────────────────────────────── */

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec-white { background: var(--white); }
.sec-slate { background: var(--slate-50); }
.sec-navy  { background: var(--navy-950); color: #fff; }
.sec-navy h1, .sec-navy h2, .sec-navy h3, .sec-navy h4 { color: #fff; }
.sec-navy a { color: var(--signal-400); }
.sec-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.sec-title { font-size: var(--text-section); max-width: 22ch; }
.sec-title--wide { max-width: 30ch; }
.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4, 18, 29, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
/* Brand lockup: the Solida Power bolt beside a two-line wordmark, mirroring the
   lockup on solidapower.com. No brightness/invert filter here — the mark is
   orange on purpose and inverting it would destroy the one brand colour. */
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { height: 1.75rem; width: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-co {
  color: #fff; font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name {
  color: rgba(255, 255, 255, 0.55); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  margin-top: 0.12rem;
}
@media (max-width: 380px) { .brand-name { display: none; } }

.nav { display: none; align-items: center; gap: 1.6rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  color: rgba(255, 255, 255, 0.78); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--signal-500); color: var(--navy-950) !important;
  padding: 0.5rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--signal-400); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn svg { width: 1.25rem; height: 1.25rem; }
.menu-btn .icon-x { display: none; }
.menu-btn[aria-expanded="true"] .icon-x { display: block; }
.menu-btn[aria-expanded="true"] .icon-bars { display: none; }

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-950);
  padding: 0.75rem 0 1.25rem;
}
.mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  display: block; padding: 0.65rem 0; color: rgba(255, 255, 255, 0.8);
  text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: #fff; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--signal-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--signal-400); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.ks-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.ks-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 999px;
  background: var(--signal-400); flex-shrink: 0;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(43, 183, 126, 0.16), transparent 62%),
    radial-gradient(900px 500px at 12% 88%, rgba(27, 143, 166, 0.18), transparent 60%),
    var(--navy-950);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.03em; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.hero-claim {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0;
  list-style: none; padding: 0;
}
.hero-claim li {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(62, 207, 146, 0.35);
  background: rgba(43, 183, 126, 0.1); color: var(--signal-400);
}

/* ── Stat strip ──────────────────────────────────────────────────────────── */

.stats {
  display: grid; gap: 1px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0.85rem; overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats--light { background: var(--slate-200); border-color: var(--slate-200); }
.stat { background: var(--navy-950); padding: 1.25rem 1rem; }
.stats--light .stat { background: var(--white); }
.stat-v {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
  letter-spacing: -0.02em; color: var(--signal-400); line-height: 1.1;
}
.stats--light .stat-v { color: var(--navy-800); }
.stat-k {
  font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); margin-top: 0.35rem; font-weight: 600;
}
.stats--light .stat-k { color: var(--slate-500); }

/* ── Cards & grids ───────────────────────────────────────────────────────── */

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 0.9rem; padding: 1.6rem;
}
.sec-slate .card { background: var(--white); }
.card--dark {
  background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}
.card h3 { font-size: 1.1rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card-num {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  color: var(--teal-550); letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.card--dark .card-num { color: var(--signal-400); }

/* Scenario tiles */
.tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 0.9rem; overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tile:hover {
  border-color: var(--teal-450); transform: translateY(-3px);
  box-shadow: 0 12px 28px -18px rgba(4, 18, 29, 0.5);
}
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-900); }
.tile-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tile h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.tile p { font-size: 0.92rem; color: var(--slate-600); margin-bottom: 1rem; }
.tile-more {
  margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--teal-550);
  letter-spacing: 0.04em;
}
.tile-tier {
  display: inline-block; font-family: var(--font-mono); font-size: 0.66rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.7rem;
}
.tier-1 { background: rgba(43, 183, 126, 0.14); color: var(--signal-600); }
.tier-2 { background: rgba(27, 143, 166, 0.14); color: var(--teal-550); }
.tier-3 { background: rgba(240, 160, 32, 0.16); color: #a06a04; }

/* ── Comparison table ────────────────────────────────────────────────────── */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp {
  width: 100%; min-width: 48rem; border-collapse: collapse;
  font-size: 0.9rem; background: var(--white);
}
table.cmp caption {
  caption-side: bottom; text-align: left; padding-top: 0.9rem;
  font-size: 0.82rem; color: var(--slate-500); line-height: 1.5;
}
table.cmp th, table.cmp td {
  text-align: left; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}
table.cmp thead th {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-500); font-weight: 700; border-bottom: 2px solid var(--slate-200);
  white-space: nowrap;
}
table.cmp tbody tr.is-us { background: rgba(43, 183, 126, 0.07); }
table.cmp tbody tr.is-us td { font-weight: 600; }
table.cmp td.num { font-family: var(--font-mono); font-size: 0.85rem; white-space: nowrap; }
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.08em; padding: 0.18rem 0.5rem;
  border-radius: 0.3rem; white-space: nowrap;
}
.pill-3ph { background: rgba(43, 183, 126, 0.16); color: var(--signal-600); }
.pill-3ph-multi { background: rgba(240, 160, 32, 0.18); color: #8a5a03; }
.pill-split { background: var(--slate-100); color: var(--slate-600); }
.pill-single { background: var(--slate-100); color: var(--slate-600); }

/* ── Two-column feature rows ─────────────────────────────────────────────── */

.split { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split--flip > *:first-child { order: 0; }
@media (min-width: 880px) { .split--flip > *:first-child { order: 1; } }

.figure { margin: 0; }
.figure figcaption {
  font-size: 0.82rem; color: var(--slate-500); margin-top: 0.8rem; line-height: 1.5;
}
.onDark .figure figcaption, .sec-navy .figure figcaption { color: rgba(255, 255, 255, 0.55); }

/* ── Checklist ───────────────────────────────────────────────────────────── */

.check { list-style: none; padding: 0; margin: 0; }
.check li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.85rem; line-height: 1.55;
}
.check li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.85rem; height: 0.5rem; border-left: 2.5px solid var(--signal-500);
  border-bottom: 2.5px solid var(--signal-500); transform: rotate(-45deg);
}
.cross li::before {
  content: "\00d7"; border: 0; transform: none; top: 0;
  width: auto; height: auto; color: var(--slate-400);
  font-size: 1.3rem; line-height: 1.35; font-weight: 400;
}

/* ── Spec list ───────────────────────────────────────────────────────────── */

.specs { margin: 0; display: grid; gap: 0; }
.specs > div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--slate-200);
}
.sec-navy .specs > div { border-color: rgba(255, 255, 255, 0.12); }
.specs dt { color: var(--slate-500); font-size: 0.9rem; }
.sec-navy .specs dt { color: rgba(255, 255, 255, 0.6); }
.specs dd {
  margin: 0; font-weight: 600; text-align: right;
  font-family: var(--font-mono); font-size: 0.88rem;
}

/* ── Callout ─────────────────────────────────────────────────────────────── */

.callout {
  border-left: 3px solid var(--teal-450); padding: 0.2rem 0 0.2rem 1.4rem;
  color: var(--slate-600); margin-block: 1.75rem;
}
.sec-navy .callout { border-color: var(--signal-400); color: rgba(255, 255, 255, 0.75); }
.callout strong { color: var(--navy-950); }
.sec-navy .callout strong { color: #fff; }

.note {
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 0.7rem; padding: 1.1rem 1.3rem;
  font-size: 0.87rem; color: var(--slate-600); line-height: 1.6;
}
.note strong { color: var(--navy-900); }
.note p:last-child { margin-bottom: 0; }

/* ── Scenario page header ────────────────────────────────────────────────── */

.scn-hero {
  background:
    radial-gradient(900px 480px at 80% 10%, rgba(27, 143, 166, 0.2), transparent 60%),
    var(--navy-950);
  color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.scn-hero h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 18ch; }
.scn-hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .scn-hero-grid { grid-template-columns: 1.1fr 1fr; } }

.crumb { font-size: 0.82rem; margin-bottom: 1rem; }
.crumb a { color: var(--signal-400); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: rgba(255, 255, 255, 0.4); margin-inline: 0.4rem; }

/* Buyer / replaces / cycle / entry facts */
.facts {
  display: grid; gap: 1px; background: var(--slate-200);
  border: 1px solid var(--slate-200); border-radius: 0.8rem; overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--white); padding: 1.15rem 1.2rem; }
.fact dt {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal-550); margin-bottom: 0.45rem;
}
.fact dd { margin: 0; font-size: 0.92rem; color: var(--navy-900); line-height: 1.5; }

/* Head-to-head block */
.versus { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus-col { border-radius: 0.9rem; padding: 1.5rem 1.6rem; }
.versus-them { background: var(--slate-50); border: 1px solid var(--slate-200); }
.versus-us { background: var(--navy-950); color: rgba(255, 255, 255, 0.82); }
.versus-us h3 { color: #fff; }
.versus-col h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.versus-them h3 { color: var(--slate-500); }
.versus-us .check li::before { border-color: var(--signal-400); }

/* ── Contact form ────────────────────────────────────────────────────────── */

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.field .req { color: var(--teal-550); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--navy-950);
  padding: 0.7rem 0.85rem; border: 1px solid var(--slate-200);
  border-radius: 0.5rem; background: var(--white); width: 100%;
  transition: border-color 0.15s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-400); }
.field textarea { min-height: 8rem; resize: vertical; }
.field-hint { font-size: 0.78rem; color: var(--slate-500); }
.field-error { font-size: 0.8rem; color: #b4331f; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4331f; }
.field.has-error .field-error { display: block; }

.checkline { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--slate-600); }
.checkline input { width: auto; margin-top: 0.25rem; flex-shrink: 0; }

.form-status {
  border-radius: 0.6rem; padding: 0.9rem 1.1rem; font-size: 0.9rem; display: none;
}
.form-status.is-ok { display: block; background: rgba(43, 183, 126, 0.12); color: #16663f; }
.form-status.is-err { display: block; background: rgba(180, 51, 31, 0.1); color: #8a2718; }
.form-status a { color: inherit; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.6); padding-block: 3.5rem 2.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 {
  color: #fff; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 0.9rem;
}
.site-footer nav { display: grid; gap: 0.55rem; }
.site-footer nav a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.45);
}

/* ── Reveal on scroll (progressive enhancement) ──────────────────────────── */

.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(1.1rem); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* The hero product render is tall and narrow; cap it so it never out-scales
   the headline column on a big screen, and centre it in its grid cell. */
.hero .figure img,
.scn-hero .figure img { margin-inline: auto; }
.hero .figure img { max-height: 34rem; width: auto; }
@media (min-width: 900px) { .scn-hero .figure img { max-height: 32rem; width: auto; } }

/* ── Overflow guard ──────────────────────────────────────────────────────────
   Grid and flex items default to `min-width: auto`, so a single wide child
   refuses to shrink and pushes the whole page sideways. The <select> elements
   on the contact form are the usual offender: browsers size them from their
   longest <option>, which ignores `width: 100%`. */
.hero-grid > *,
.scn-hero-grid > *,
.split > *,
.grid > *,
.versus > *,
.field-row > *,
.form,
.field { min-width: 0; }

.field input,
.field select,
.field textarea { max-width: 100%; }

/* Wide technical diagrams become unreadable when squeezed onto a phone — the
   labels are baked into the SVG, so shrinking the figure shrinks the type. Let
   them keep a legible width and scroll, the same way the comparison table does. */
@media (max-width: 760px) {
  .figure--wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .figure--wide img { min-width: 38rem; max-width: none; }
  .figure--wide figcaption { position: sticky; left: 0; }
}

/* ── Hero side panel ─────────────────────────────────────────────────────────
   Heroes without an illustration used to leave their right column empty, which
   reads as a bug rather than as breathing room. This carries the page's facts
   at a glance instead. */
.panel { align-self: start; }
.panel h3 {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-400); margin-bottom: 1rem;
}
.card:not(.card--dark) .panel h3 { color: var(--teal-550); }
.panel .specs > div { padding: 0.6rem 0; gap: 1rem; }
.panel .specs dt { font-size: 0.82rem; }
.panel .specs dd { font-size: 0.82rem; }
.panel .specs > div:last-child { border-bottom: 0; padding-bottom: 0; }

/* Hero grids that pair prose with a panel rather than an image */
.hero-split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.35fr 1fr; } }
.hero-split > *:first-child { max-width: 44rem; }

/* A lead column that carries most of the prose, with a narrower support column */
@media (min-width: 880px) { .split--lead { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Numbered process chain used on the technology page */
ol.chain { list-style: none; counter-reset: chain; padding: 0; margin: 0; }
ol.chain li {
  counter-increment: chain; position: relative;
  padding: 0 0 1.1rem 2.4rem; margin: 0;
}
ol.chain li::before {
  content: counter(chain); position: absolute; left: 0; top: 0.1rem;
  width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: rgba(27, 143, 166, 0.12); color: var(--teal-550);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
}
ol.chain li::after {
  content: ""; position: absolute; left: 0.72rem; top: 1.8rem; bottom: 0.35rem;
  width: 1px; background: var(--slate-200);
}
ol.chain li:last-child { padding-bottom: 0; }
ol.chain li:last-child::after { display: none; }
ol.chain strong { display: block; font-size: 0.95rem; }
ol.chain span { font-size: 0.85rem; color: var(--slate-500); }

/* Wide diagrams are authored at a fixed pixel width; let them fill the column
   on large screens instead of leaving a ragged gap to their right. */
@media (min-width: 761px) {
  .figure--wide img { width: 100%; height: auto; }
}

/* ── Design renders ──────────────────────────────────────────────────────────
   Photographic figures, as opposed to the authored SVG diagrams. They carry no
   baked-in type, so none of the `figure--wide` minimum-width scrolling applies
   to them; they should simply fill their column and shrink on a phone. */
.figure--photo img {
  width: 100%; height: auto; border-radius: 0.75rem;
  background: var(--slate-100);
}
.sec-navy .figure--photo img,
.hero .figure--photo img,
.scn-hero .figure--photo img { background: rgba(255, 255, 255, 0.04); }
.figure--photo figcaption { font-size: 0.8rem; }
.figcaption--onDark { color: rgba(255, 255, 255, 0.55); }
.render-note { margin: 0; }
.sec-navy .render-note { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 760px) {
  /* Beat the wide-diagram rule: a render has nothing to scroll to. */
  .figure--photo.figure--wide { overflow-x: visible; }
  .figure--photo.figure--wide img { min-width: 0; max-width: 100%; }
}

/* Colourway swatches: four square-ish renders that read as one row. */
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.swatches figcaption {
  text-align: center; font-weight: 700; color: var(--slate-600); margin-top: 0.55rem;
}

/* A gallery of renders shot at different aspect ratios: normalise the tiles so
   the rows line up and the captions sit on a common baseline. */
.gallery .figure--photo img {
  aspect-ratio: 4 / 3; object-fit: contain; background: #f4f6f8;
}
