/* Busbar marketing site. Palette = the product's Industrial Blue (battery-retail docs/DESIGN_LANGUAGE.md).
   Fonts are served from /assets/fonts (SIL Open Font License 1.1), never from a third party. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/public-sans-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-600.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/courier-prime-700.woff2") format("woff2"); }

:root {
  --band: #172B4D;        /* navy: hero, demo band, brand */
  --band-ink: #FFFFFF;
  --band-muted: #BAC6DA;
  --band-line: #2E4470;
  --canvas: #F4F6F8;
  --surface: #FFFFFF;
  --line: #DCE2EA;
  --ink: #172B4D;
  --muted: #526176;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --link: #2563EB;
  --btn: #2563EB;
  --btn-ink: #FFFFFF;
  --tint: #EFF6FF;
  --ok: #15803D;
  --ok-bg: #E7F5EC;
  --warn: #B45309;
  --warn-bg: #FDF2E3;
  --err: #B91C1C;
  --err-bg: #FDECEC;
  --shadow: 0 1px 2px rgba(23, 43, 77, .06), 0 10px 28px rgba(23, 43, 77, .10);

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-type: "Courier Prime", "Courier New", Courier, monospace;  /* the typed hero headline */
  --caret: #5B9BFF;  /* sits on the navy band in both themes */

  --fs-h1: clamp(2.15rem, 1.35rem + 3.1vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem);
  --fs-h3: 1.2rem;
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;
  --radius: 8px;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --band: #0A1324; --band-ink: #F2F5FA; --band-muted: #A9B6CC; --band-line: #22314D;
    --canvas: #0E1626; --surface: #152036; --line: #283753; --ink: #E8EEF7; --muted: #9FADC3;
    --accent: #7DA4FF; --accent-hover: #9AB9FF; --link: #8FB0FF; --btn: #2F63D9; --btn-ink: #FFFFFF;
    --tint: #1A2A4A; --ok: #6BD394; --ok-bg: #143322; --warn: #F0B062; --warn-bg: #3A2A12; --err: #F59A9A; --err-bg: #3A1616;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --band: #0A1324; --band-ink: #F2F5FA; --band-muted: #A9B6CC; --band-line: #22314D;
  --canvas: #0E1626; --surface: #152036; --line: #283753; --ink: #E8EEF7; --muted: #9FADC3;
  --accent: #7DA4FF; --accent-hover: #9AB9FF; --link: #8FB0FF; --btn: #2F63D9; --btn-ink: #FFFFFF;
  --tint: #1A2A4A; --ok: #6BD394; --ok-bg: #143322; --warn: #F0B062; --warn-bg: #3A2A12; --err: #F59A9A; --err-bg: #3A1616;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; text-wrap: balance; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 780; }
h2 { font-size: var(--fs-h2); font-weight: 760; }
h3 { font-size: var(--fs-h3); font-weight: 700; font-stretch: 106%; letter-spacing: 0; }
p { margin: 0; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.lede { color: var(--muted); font-size: 1.075rem; max-width: 62ch; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: var(--radius); }
.soon {
  display: inline-block; vertical-align: 1px;
  font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--muted); border-radius: 4px; padding: 0 6px; margin-left: 6px; white-space: nowrap;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; line-height: 1.3;
  padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--ink); white-space: nowrap;
}
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 13px 20px; border-radius: 7px; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn.primary { background: var(--btn); color: var(--btn-ink); }
.btn.primary:hover { background: var(--accent-hover); }
:root[data-theme="dark"] .btn.primary:hover { background: #3A70E6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary:hover { background: #3A70E6; } }
.btn.ghost { background: transparent; color: var(--band-ink); border-color: var(--band-line); }
.btn.ghost:hover { border-color: var(--band-muted); }
.btn.outline { background: var(--surface); color: var(--ink); border-color: var(--line); width: 100%; }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero band */
.band { background: var(--band); color: var(--band-ink); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--band-ink); text-decoration: none; font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.2rem; }
.brand-bar { width: 5px; height: 26px; background: var(--accent); border-radius: 2px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a.navlink { color: var(--band-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a.navlink:hover { color: var(--band-ink); }
.site-nav .btn { padding: 10px 16px; font-size: .92rem; }
@media (max-width: 760px) { .site-nav a.navlink { display: none; } }

.hero .wrap { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 22px; min-width: 0; align-content: start; }
.typed {
  display: grid;
  font-family: var(--f-type); font-stretch: normal; font-weight: 700;
  font-size: clamp(2.5rem, .3rem + 6.6vw, 7rem); line-height: 1.02; letter-spacing: -.03em;
  color: var(--band-ink); text-wrap: balance; margin-top: 8px;
}
/* every headline sits in one grid cell; hidden copies hold the height of the tallest so nothing below jumps */
.t-ghost, .t-live { grid-area: 1 / 1; min-width: 0; }
.t-ghost { visibility: hidden; }
.t-rest { color: transparent; }
.typed { position: relative; }
.band { overflow: hidden; }  /* birds fly out of the band, never out of the page */
.t-flock { position: absolute; inset: 0; pointer-events: none; }
.bird { position: absolute; display: block; color: var(--band-ink); will-change: transform, opacity; }
.bird svg { display: block; width: 100%; height: auto; transform-origin: 50% 70%; animation: flap .3s ease-in-out infinite alternate; }
@keyframes flap { to { transform: scaleY(-.35); } }
.t-caret { display: inline-block; position: relative; width: 0; height: .78em; vertical-align: -.04em; }
.t-caret::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: .04em; width: .52em;
  background: var(--caret); animation: blink 1.05s steps(1) infinite;
}
.typing .t-caret::before { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .t-caret::before { animation: none; } }
.hero .label { color: var(--band-muted); }
.hero h1 { color: var(--band-ink); }
.hero .lede { color: var(--band-muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-note { font-size: var(--fs-small); color: var(--band-muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; flex: none; }

/* Receipt vignette */
.receipt {
  margin: 0; background: var(--surface); color: var(--ink); border-radius: 10px; box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
  padding: 22px clamp(16px, 3vw, 26px) 18px; display: grid; gap: 14px; min-width: 0;
}
.receipt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.receipt .label { color: var(--muted); }
.receipt-meta { font-size: var(--fs-small); color: var(--muted); margin-top: -8px; }
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines li > div { display: grid; gap: 2px; min-width: 0; }
.lines strong { font-weight: 600; }
.lines .sub { font-size: .84rem; color: var(--muted); }
.lines .spec, .lines .code { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.lines .code { color: var(--accent); }
.amt { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.receipt-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.receipt figcaption { font-size: .78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* Sections */
section { scroll-margin-top: 12px; }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }

/* Problem / solution */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } }
.why-col { display: grid; gap: 18px; align-content: start; min-width: 0; }
.pains { list-style: none; margin: 0; padding: 0; display: grid; }
.pains li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 2px; background: var(--warn);
}
.why-col p.body { color: var(--muted); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust li, .checks li { position: relative; padding-left: 28px; }
.trust li::before, .checks li::before {
  content: ""; position: absolute; left: 3px; top: .42em; width: 6px; height: 11px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Feature groups */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(24px, 3vw, 40px); }
@media (max-width: 1000px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .groups { grid-template-columns: minmax(0, 1fr); } }
.group { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.group p { color: var(--muted); font-size: .95rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.group .more { font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.group .more:hover { text-decoration: underline; }
.roadmap {
  margin-top: 52px; border: 1px dashed var(--muted); border-radius: var(--radius); padding: 18px 20px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; align-items: baseline;
}
@media (max-width: 640px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }
.roadmap ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }

/* Built for batteries */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
@media (max-width: 880px) { .plates { grid-template-columns: minmax(0, 1fr); } }
.plate {
  background: var(--canvas); border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; align-content: start; min-width: 0;
}
.plate-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plate p { color: var(--muted); }
.vignette {
  margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: grid; gap: 12px; font-size: .9rem; min-width: 0;
}
.vignette .vlabel { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tally div { padding: 10px 12px; display: grid; gap: 2px; }
.tally div + div { border-left: 1px solid var(--line); }
.tally b { font-family: var(--f-display); font-stretch: 112%; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tally span { font-size: .78rem; color: var(--muted); }
.tally .out b { color: var(--warn); }
.rule { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.rule dt { color: var(--muted); font-size: .84rem; }
.rule dd { margin: 0; font-weight: 500; min-width: 0; }
.tag { font-family: var(--f-mono); font-size: .78rem; background: var(--tint); padding: 1px 7px; border-radius: 4px; }

.wbar { display: grid; gap: 6px; padding-top: 22px; }
.wbar-track { position: relative; height: 26px; border-radius: 4px; background: var(--tint); border: 1px solid var(--line); }
.wbar-free { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--accent); border-radius: 3px 0 0 3px; }
.wbar-claim { position: absolute; left: 60%; top: -8px; bottom: -8px; width: 2px; background: var(--warn); }
.wbar-claim span {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--f-mono); font-size: .7rem; color: var(--warn); font-weight: 600; padding-bottom: 2px;
}
.wbar-ticks { position: relative; height: 18px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.wbar-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.wbar-ticks span:first-child { transform: none; }
.wbar-ticks span:last-child { transform: translateX(-100%); }
.wbar-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: var(--muted); }
.wbar-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.wbar-legend .k-free { background: var(--accent); }
.wbar-legend .k-pro { background: var(--tint); border: 1px solid var(--line); }
.calc { font-size: .88rem; border-top: 1px solid var(--line); padding-top: 10px; }
.calc .amt { font-weight: 600; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; }
.steps .arrow { color: var(--muted); }

.lookup { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-family: var(--f-mono); font-size: .86rem; }
.lookup svg { flex: none; color: var(--muted); }
.found { display: grid; gap: 4px; }
.found .muted { color: var(--muted); font-size: .84rem; }

/* Shopify */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split .checks { gap: 10px; font-size: 1rem; }
.table-scroll { overflow-x: auto; }
table.preview { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.preview .chip { white-space: normal; }
table.preview th { text-align: left; font-family: var(--f-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.preview td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.preview td.mono { font-family: var(--f-mono); font-size: .8rem; }
table.preview tr:last-child td { border-bottom: 0; }
.preview-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fake-btn { font: 600 .86rem/1 var(--f-body); padding: 9px 14px; border-radius: 6px; background: var(--btn); color: var(--btn-ink); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 26px clamp(20px, 2.4vw, 28px); display: grid; gap: 18px; min-width: 0; }
.plan-head { display: grid; gap: 8px; }
.plan-head p { color: var(--muted); font-size: .95rem; }
.plan .price { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: 1.15rem; border-block: 1px solid var(--line); padding-block: 14px; }
.plan .inherit { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.plan .checks { font-size: .93rem; }
.addons { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: 80ch; }

/* Demo request */
.demo .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(56px, 8vw, 104px); align-items: start; }
@media (max-width: 900px) { .demo .wrap { grid-template-columns: minmax(0, 1fr); } }
.demo-copy { display: grid; gap: 18px; }
.demo-copy h2 { color: var(--band-ink); }
.demo-copy p { color: var(--band-muted); max-width: 52ch; }
form.request { background: var(--surface); color: var(--ink); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; box-shadow: 0 18px 48px rgba(0, 0, 0, .25); }
@media (max-width: 560px) { form.request { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot small { color: var(--muted); font-size: .82rem; }
.form-foot small a { color: var(--link); }
.status { grid-column: 1 / -1; font-size: .92rem; padding: 10px 12px; border-radius: 6px; background: var(--ok-bg); color: var(--ok); font-weight: 500; }
.status.err { background: var(--err-bg); color: var(--err); }
.check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--btn); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }
form.request { position: relative; }
form.request.sent .field, form.request.sent .check, form.request.sent .form-foot { display: none; }
form.request.sent .status { font-size: 1.05rem; padding: 16px; }

/* Plain pages (privacy, 404) */
.page { padding-block: clamp(40px, 6vw, 80px); }
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h1 { font-size: var(--fs-h2); }
.prose h2 { font-size: 1.25rem; font-stretch: 106%; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .meta { color: var(--muted); font-size: var(--fs-small); }

/* Footer */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); }
.site-foot .wrap { padding-block: 40px 32px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-foot .brand { color: var(--ink); }
.site-foot p, .site-foot li { color: var(--muted); font-size: .92rem; }
.site-foot ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .84rem; color: var(--muted); }

/* Former inline styles (kept out of the HTML so the CSP needs no 'unsafe-inline' for styles) */
.wbar-ticks .t0 { left: 0; } .wbar-ticks .t20 { left: 20%; } .wbar-ticks .t40 { left: 40%; }
.wbar-ticks .t60 { left: 60%; } .wbar-ticks .t80 { left: 80%; } .wbar-ticks .t100 { left: 100%; }
.sec-head.flush { margin-bottom: 0; }
.label.on-band { color: var(--band-muted); }
.foot-tag { margin-top: 12px; max-width: 44ch; }
