/* Ship2zone website. The fonts are served from this site, not Google's, so a visit sends nobody's address to a
   third party and the site needs no cookie banner. Instrument Sans and JetBrains Mono: SIL Open Font Licence. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/instrument-sans-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: the Ship2zone website sketch (from the 18 Oct 2026 first sketch). A universe of charges condenses into what agrees and what was overcharged; then negotiate, check (one shipment taken apart), one place (the portal building itself), the offer, and the identity. */
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --fg: #0c111a;
  --muted: #5b6575;
  --line: #e2e6eb;
  --tile: #ffffff;
  --signal: #f47920;
  --signal-text: #b8530d;
  --slate: #8b97a8;
  --saved: #1e8a5a;
  --risk: #c2331d;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b0e14; --soft: #11151d; --fg: #eef1f5; --muted: #9aa5b4; --line: #232a35; --tile: #151a23; --signal-text: #ff9a4d; --saved: #3cc58a; --risk: #f07a66; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0b0e14; --soft: #11151d; --fg: #eef1f5; --muted: #9aa5b4; --line: #232a35; --tile: #151a23; --signal-text: #ff9a4d; --saved: #3cc58a; --risk: #f07a66; color-scheme: dark; }
body { background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.55 var(--sans); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--sans); }
p { margin: 0; }
.in { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow, .kicker { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-text); }
.big { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; max-width: 20ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 54ch; }
.sec { padding-block: clamp(72px, 10vw, 120px); }
.sec.soft { background: var(--soft); }
.head { display: grid; gap: 14px; margin-bottom: 44px; }

.draft { background: var(--soft); border-bottom: 1px solid var(--line); font: 500 0.74rem/1.4 var(--mono); color: var(--muted); }
.draft .in { padding-block: 8px; }
/* Site header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; }
.brand .wm { font: 600 1.25rem/1 var(--sans); letter-spacing: -0.04em; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.92rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font: 600 0.95rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn.go { background: var(--fg); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ── 1 The universe ── */
.top.over-sky { --bg: #04060a; --fg: #eef1f5; --muted: #9aa5b4; --line: #232a35; --tile: #151a23; --signal-text: #ff9a4d; color-scheme: dark; /* the sky is black in every theme, so the header is too */
  top: 0; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); /* reaches up behind the clock, no white strip */
  background: rgba(4,6,10,.55); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: rgba(255,255,255,.08); } /* black glass: the stars (drawn 70px up behind it) show through */
.top.over-sky.solid { background: rgba(4,6,10,.94); }
.top.over-sky + .sky { margin-top: calc(-1 * var(--hh, 62px)); } /* the sky's black runs behind the header */
.sky { position: relative; height: 240vh; background: #04060a; }
.skystage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 58px); height: calc(100vh - 58px); height: calc(100svh - 58px); clip-path: inset(-140px 0 0 0); } /* svh: the height Safari leaves with its bars showing */
#stars { position: absolute; inset: 0; top: -140px; z-index: 2; pointer-events: none; display: block; }
.skytext { position: absolute; left: 0; right: 0; top: 10vh; z-index: 3; }
.skytext h1 { color: #f4f6f9; font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin-top: 16px; max-width: 13ch; }
.skytext .sub { color: #9aa6b8; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40ch; margin-top: 20px; }
.skytext .eyebrow { color: #ff9a4d; }
.skytext .btn.go { background: #ffffff; color: #0c111a; }
.skytext .btn.ghost { color: #ffffff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.uniB { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: clamp(18px, 3.4vh, 34px);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
#skyH { position: relative; z-index: 3; color: #f4f6f9; font-size: clamp(1.6rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-align: center; max-width: 22ch; opacity: 0; }
.uniGrid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; width: min(940px, 100%); }
.orbbox { display: grid; justify-items: center; gap: 18px; }
.orb { width: clamp(96px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%; }
.orbcap { color: #c3cddb; text-align: center; max-width: 24ch; opacity: 0; }
.orbcap b { color: #ffffff; font-weight: 600; }
.oks { display: grid; gap: 8px; width: min(320px, 100%); opacity: 0; }
.okr { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: #c3cddb; font-size: 0.92rem; }
.okr i { width: 10px; height: 10px; border-radius: 50%; }
.okr i.wd { background: #ffffff; box-shadow: 0 0 10px 2px rgba(255,255,255,.55); opacity: 0; }
.okr b { font: 500 0.82rem/1 var(--mono); color: #7fd6a8; }
.okr.more { color: #8f9bad; }
.ovl { display: grid; gap: 11px; color: #e6ebf2; opacity: 0; }
.ovh { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #ff8a7a; }
.ov { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 1rem; }
.ov i { width: 10px; height: 10px; border-radius: 50%; }
.ov i.rd { background: #ff5a4a; box-shadow: 0 0 12px 2px rgba(255,90,74,.7); opacity: 0; }
.ov b { font: 500 0.98rem/1 var(--mono); color: #ff8a7a; font-variant-numeric: tabular-nums; }
.ov small { display: block; color: #8f9bad; font-size: 0.78rem; }
.ov.more { color: #8f9bad; }
.ov.more b { color: #c98a80; }
.ovt { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid #ff5a4a; padding-top: 12px; font-weight: 600; font-size: 1.15rem; color: #ffffff; }
.ovt b { font-family: var(--mono); font-weight: 500; }
.ovl .ex { font: 400 0.62rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #6f7b8d; }
.nfnf { position: relative; z-index: 3; color: #c3cddb; font-size: clamp(1rem, 1.5vw, 1.2rem); text-align: center; opacity: 0; }
.nfnf b { color: #ffffff; }
.sky.static { height: auto; }
.sky.static .skystage { position: relative; top: 0; height: auto; display: grid; gap: 56px; padding-block: 64px; }
.sky.static .skytext, .sky.static .uniB { position: static; }
.sky.static #stars { display: none; }
.sky.static #skyH, .sky.static .orbcap, .sky.static .oks, .sky.static .ovl, .sky.static .nfnf, .sky.static .ov i.rd, .sky.static .okr i.wd { opacity: 1; }
.sky.static .orb { background: radial-gradient(circle, #ffffff 0, rgba(190,210,255,.55) 30%, rgba(120,150,220,.12) 58%, transparent 70%); }

/* ── The carriers we check ── */
.carriers { border-bottom: 1px solid var(--line); }
.carriers .in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 26px; }
.clist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.clist li { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.clist li.fw { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* ── Words that light up ── */

/* ── 2 Negotiate ── */
.neg .in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.npts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.npts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.npts li svg { margin-top: 3px; }
.ncard { background: var(--tile); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(12,17,26,.06); }
.nhead { display: flex; justify-content: space-between; gap: 12px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nrow { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.nl { display: grid; gap: 2px; font-size: 0.95rem; }
.nl .was { font: 400 0.72rem/1 var(--mono); color: var(--muted); text-decoration: line-through; }
.nb { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.nb i { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--slate); }
.nrow.done .nb i { background: var(--signal); }
.nv { font: 500 0.95rem/1 var(--mono); min-width: 8.5ch; text-align: right; font-variant-numeric: tabular-nums; }
.nsum { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; }
.nsum b { font: 600 clamp(2rem, 4vw, 2.8rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--signal-text); font-variant-numeric: tabular-nums; }
.nsum span { color: var(--muted); }
.ex2 { font: 400 0.66rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── 3 One shipment, taken apart ── */
.story { position: relative; height: 390vh; background: var(--soft); }
.stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 58px); height: calc(100vh - 58px); height: calc(100svh - 58px); display: grid; align-items: center; overflow: hidden; }
.st-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; width: 100%; }
.caps { position: relative; min-height: 15rem; }
.capx { position: absolute; inset: 0 0 auto 0; display: grid; gap: 14px; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.capx.on { opacity: 1; transform: none; pointer-events: auto; }
.capx .n { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal-text); }
.capx h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.capx p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 40ch; }
.dots { display: flex; gap: 8px; margin-top: 20rem; } /* below the longest caption, 6 of 6 with Colm's two lines */
.dots i { width: 20px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s ease, width .3s ease; }
.dots i.on { background: var(--signal); width: 34px; }
.vizwrap { position: relative; width: 100%; }
.viz { position: absolute; left: 0; top: 0; width: 560px; height: 540px; transform-origin: 0 0; perspective: 1400px; }
.bill { position: absolute; left: 0; top: 0; width: 330px; height: 540px; transform-origin: 50% 40%; z-index: 3; }
.paper { position: absolute; inset: 0; background: #ffffff; border: 1px solid #e3e7ec; border-radius: 16px; box-shadow: 0 24px 60px rgba(12,17,26,.12), 0 3px 10px rgba(12,17,26,.06); }
.ihead { position: absolute; left: 18px; top: 16px; right: 18px; display: grid; gap: 4px; color: #0c111a; }
.ihead b { font: 600 0.98rem/1.2 var(--sans); }
.ihead span { font: 400 0.7rem/1.3 var(--mono); color: #6b7585; }
.row { position: absolute; left: 18px; width: 294px; height: 42px; border-radius: 10px; padding: 6px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-content: center; color: #0c111a; border: 1px solid transparent; }
.row .a { font: 500 0.6rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #8a94a3; }
.row.freight .a { color: #b8530d; }
.row .s { font: 500 0.8rem/1.25 var(--sans); grid-column: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .v { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 0.85rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.row .chip { position: absolute; right: 10px; top: -11px; white-space: nowrap; font: 600 0.7rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; opacity: 0; box-shadow: 0 2px 6px rgba(12,17,26,.08); }
.chip.ok { color: #157049; background: #e1f3ea; }
.chip.over { color: #a34708; background: #fde9da; }
.chip.fixed { color: #157049; background: #e1f3ea; }
.itot { position: absolute; left: 18px; right: 18px; top: 408px; padding-top: 12px; border-top: 3px solid #f47920; display: flex; justify-content: space-between; font: 600 0.95rem/1 var(--sans); color: #0c111a; }
.itot span:last-child { font-family: var(--mono); }
.stamp { position: absolute; left: 18px; top: 448px; font: 600 0.78rem/1 var(--sans); color: #157049; background: #e1f3ea; border-radius: 999px; padding: 7px 11px; opacity: 0; }
.scan { position: absolute; left: 6px; width: 318px; height: 3px; border-radius: 2px; background: #f47920; box-shadow: 0 0 18px 4px rgba(244,121,32,.45); opacity: 0; z-index: 5; }
.side { position: absolute; left: 350px; width: 206px; border-radius: 16px; background: #ffffff; border: 1px solid #e3e7ec; box-shadow: 0 18px 44px rgba(12,17,26,.10); padding: 15px; color: #0c111a; display: grid; gap: 7px; opacity: 0; }
.side h4 { font: 600 0.88rem/1.2 var(--sans); }
.side .k { font: 400 0.66rem/1.3 var(--mono); color: #6b7585; }
.side .r { display: flex; justify-content: space-between; gap: 8px; font-size: 0.74rem; }
.side .r span:last-child { font-family: var(--mono); text-align: right; }
#rate { top: 40px; }
#claim { top: 40px; }
#claim .bigN { font: 600 2rem/1 var(--mono); color: #b8530d; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
#credit { top: 196px; border-color: #bfe4cf; }
#credit .bigN { font: 600 1.4rem/1 var(--mono); color: #157049; }
/* 6 of 6 (.sp6, not .sp: the footer's .sp is its spacer): the portal, drawn like its Invoices page (top bar, heading and counters, tabs, the grouped list), filling the
   drawing; the corrected invoice goes into its line (site.js storyAt, 0.79–0.9). Light like the real thing in both themes. */
#claim, #credit { z-index: 2; }
.sp6 { position: absolute; left: 0; top: 0; width: 560px; z-index: 1; opacity: 0; transform-origin: 50% 45%; background: #f3f4f7; color: #0c111a; border: 1px solid #e3e7ec; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(12,17,26,.18); }
.sp-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: #17191e; color: #ffffff; }
.sp-bar b { font: 600 0.86rem/1 var(--sans); letter-spacing: -0.04em; margin-right: 6px; }
.sp-bar nav { display: flex; gap: 1px; }
.sp-bar nav span { font-size: 0.62rem; color: rgba(255,255,255,.72); padding: 5px 7px; border-radius: 6px; }
.sp-bar nav span.on { color: #ffffff; font-weight: 600; background: rgba(255,255,255,.12); }
.sp-q { margin-left: auto; font-size: 0.58rem; color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); border-radius: 6px; padding: 6px 9px; white-space: nowrap; }
.sp-page { padding: 14px 16px 16px; display: grid; gap: 10px; }
.sp-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.sp-head h5 { margin: 0 0 3px; font: 600 1.05rem/1.1 var(--sans); letter-spacing: -0.02em; }
.sp-head > div > span { font-size: 0.6rem; color: #6b7585; }
.sp-kpi { display: flex; gap: 14px; }
.sp-kpi span { display: grid; gap: 3px; font-size: 0.54rem; color: #6b7585; }
.sp-kpi b { font: 600 0.78rem/1 var(--sans); color: #0c111a; }
.sp-tabs { justify-self: start; display: flex; gap: 2px; padding: 3px; background: #e9ecf1; border-radius: 9px; }
.sp-tabs span { font-size: 0.58rem; color: #4d5767; padding: 5px 8px; border-radius: 7px; white-space: nowrap; }
.sp-tabs span.on { background: #ffffff; color: #0c111a; font-weight: 600; box-shadow: 0 1px 3px rgba(12,17,26,.1); }
.sp-tabs i { font-style: normal; color: #8b97a8; margin-left: 3px; }
.sp-card { background: #ffffff; border: 1px solid #e3e7ec; border-radius: 12px; overflow: hidden; }
.sp-grp { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid #eceff3; font-size: 0.66rem; font-weight: 600; }
.sp-grp i { display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 2px; border-right: 1.5px solid #6b7585; border-bottom: 1.5px solid #6b7585; transform: rotate(45deg); }
.sp-grp b { font: 600 0.66rem/1 var(--mono); color: #157049; }
.sp-row { display: grid; grid-template-columns: 8px 26px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eceff3; }
.sp-row:last-child { border-bottom: 0; }
.sp-ch { width: 5px; height: 5px; border-right: 1.5px solid #9aa5b4; border-bottom: 1.5px solid #9aa5b4; transform: rotate(-45deg); }
.sp-tile { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font: 700 0.5rem/1 var(--sans); color: #ffffff; background: #3c4554; }
.sp-tile.t2 { background: #2f5d8a; } .sp-tile.t3 { background: #8a7a55; } .sp-tile.t4 { background: #5b6575; }
.sp-main { display: grid; gap: 4px; min-width: 0; }
.sp-no { font: 500 0.7rem/1 var(--mono); }
.sp-no::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border: 1.2px solid #8b97a8; border-radius: 1px; vertical-align: 0; }
.sp-st { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.sp-pill { font: 600 0.56rem/1 var(--sans); font-style: normal; padding: 3px 7px 3px 6px; border-radius: 5px; }
.sp-pill::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.sp-pill.ok { color: #157049; background: #e1f3ea; }
.sp-st em { font: normal 500 0.58rem/1 var(--sans); color: #157049; overflow: hidden; text-overflow: ellipsis; }
.sp-amt { display: grid; gap: 4px; justify-items: end; }
.sp-amt b { font: 600 0.74rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.sp-amt span { font-size: 0.56rem; color: #6b7585; }
.sp-tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c3cad5; }
#sprow { opacity: 0; background: #f0faf4; box-shadow: inset 3px 0 0 #1e8a5a; }
#sprow .sp-tick { border-color: #1e8a5a; background: #1e8a5a; }
.side .cl { font: 500 0.6rem/1 var(--mono); color: #b8530d; background: #fdf0e6; border-radius: 4px; padding: 2px 4px; margin-right: 6px; font-style: normal; }
svg.links { position: absolute; inset: 0; width: 560px; height: 540px; z-index: 4; pointer-events: none; overflow: visible; }
svg.links path { fill: none; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ck { background: var(--tile); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.ck .cat { font: 500 0.66rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal-text); }
.ck b { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.ck p { color: var(--muted); font-size: 0.95rem; }
.ck .req { justify-self: start; margin-top: 4px; font: 500 0.6rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 5px 9px; }
a.ck { color: inherit; text-decoration: none; }
.ck > .todo, .person .todo { justify-self: start; }
a.ck:hover { border-color: var(--slate); }
#talk .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ck .addr { justify-self: start; font: 500 0.92rem/1.3 var(--sans); color: var(--fg); border-bottom: 1px solid var(--line); }
a.ck:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.story.static { height: auto; }
.story.static .stage { position: static; height: auto; padding-block: 64px; }
.story.static .caps { min-height: 0; display: grid; gap: 28px; }
.story.static .capx { position: static; opacity: 1; transform: none; }
.story.static .dots { display: none; }

/* ── 4 One place ── */
.pwin { background: #f3f4f7; color: #0c111a; border: 1px solid #e3e7ec; border-radius: 18px; box-shadow: 0 30px 80px rgba(12,17,26,.14); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 380px; }
.pside { background: #f6f7f9; border-right: 1px solid #eceff3; padding: 16px 10px; display: grid; align-content: start; gap: 4px; }
.pside .pb { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; }
.pside .pb b { font: 600 1rem/1 var(--sans); letter-spacing: -0.04em; }
.pnav { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 0.84rem; color: #4d5767; }
.pnav.on { background: #ffffff; color: #0c111a; font-weight: 600; box-shadow: 0 1px 3px rgba(12,17,26,.08); }
.pnav i { width: 7px; height: 7px; border-radius: 2px; background: #c3cad5; }
.pnav.on i { background: #f47920; }
.pmain { padding: 20px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.pmain h4 { font: 600 1.05rem/1.2 var(--sans); }
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ptile { border: 1px solid #eceff3; border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.ptile span { font-size: 0.72rem; color: #6b7585; }
.ptile b { font: 500 1.02rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.ptile.hot b { color: #b8530d; }
.about .copy { display: grid; gap: 14px; max-width: 62ch; margin: -18px 0 44px; color: var(--muted); }
.about .copy .ex2 { margin-top: 4px; }
/* Join us, under Who we are (Colm, 11 Nov 2026): the same column as the story, set off by a rule */
.about .join { display: grid; gap: 14px; max-width: 62ch; margin: 0 0 44px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.about .join .btn { justify-self: start; margin-top: 4px; }
.ptiles.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glist { display: grid; gap: 6px; }
.grow { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto 172px; align-items: center; gap: 12px; background: #ffffff; border: 1px solid #e6e8ec; border-radius: 10px; padding: 9px 12px; font-size: 0.84rem; }
.grow .gc { font-weight: 600; white-space: nowrap; }
.grow .gd { color: #5b6575; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow .ga { font: 500 0.82rem/1 var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.grow .gs { justify-self: end; font: 600 0.7rem/1 var(--sans); padding: 5px 9px; border-radius: 999px; white-space: nowrap; background: #eef0f3; color: #5b6575; }
.grow .gs.over { background: #fdf0e6; color: #b8530d; }
.grow .gs.ok { background: #e1f3ea; color: #157049; }
@media (max-width: 860px) {
  .grow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "c a" "d s"; gap: 4px 10px; padding: 8px 10px; }
  .grow .gc { grid-area: c; } .grow .gd { grid-area: d; font-size: 0.76rem; } .grow .ga { grid-area: a; } .grow .gs { grid-area: s; }
}

/* ── Offer and identity ── */
.offer { background: var(--fg); color: var(--bg); border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.offer h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.offer p { opacity: .75; margin-top: 14px; max-width: 44ch; }
.offer ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.offer ol li::marker { font-family: var(--mono); color: var(--signal); }
.offer .btn.go { background: var(--signal); color: #0c111a; margin-top: 22px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--tile); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.person .ph { width: 88px; height: 88px; border-radius: 50%; background: var(--soft); border: 2px dashed var(--line); }
.person b { display: block; font-size: 1.1rem; font-weight: 600; }
.person .role { display: block; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-text); margin-top: 4px; }
.person p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.person a { display: inline-block; margin-top: 8px; color: var(--fg); font-size: 0.9rem; }
@media (max-width: 860px) { .people { grid-template-columns: minmax(0, 1fr); } .person { grid-template-columns: 64px minmax(0, 1fr); } .person .ph { width: 64px; height: 64px; } }
.quote { margin: 40px 0 0; padding-left: 24px; border-left: 3px solid var(--signal); display: grid; gap: 12px; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; max-width: 40ch; }
.quote figcaption { color: var(--muted); font-size: 0.95rem; }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.4rem/1 var(--mono); color: var(--signal-text); }
.faq details[open] summary::after { content: '−'; }
.faq summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 65ch; }
.faq details a { color: var(--fg); }
.trial { margin-top: 16px; border: 1px solid var(--line); background: var(--tile); border-radius: 28px; padding: clamp(24px, 4vw, 40px) clamp(32px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.trial h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; }
.trial h3:first-child { margin-top: 0; } /* no label above it */
.trial p { color: var(--muted); margin-top: 10px; max-width: 60ch; }
@media (max-width: 860px) { .trial { grid-template-columns: minmax(0, 1fr); } .trial .btn { justify-self: start; } }
.ident { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.t { background: var(--tile); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-width: 0; display: grid; gap: 14px; align-content: start; }
.t.s3 { grid-column: span 3; } .t.s6 { grid-column: span 6; }
.t .lbl { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.plate { border-radius: 14px; padding: 26px 18px; display: grid; place-items: center; }
.plate.paper { background: #ffffff; color: #0c111a; border: 1px solid #e6e9ee; }
.plate.ink { background: #0c111a; color: #f4f6f9; }
.lock { display: flex; align-items: center; gap: 10px; }
.lock .wm { font: 600 2rem/1 var(--sans); letter-spacing: -0.045em; }
.lock .end { font: 500 0.68rem/1.2 var(--sans); opacity: .6; margin-top: 4px; }
.sizes { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; background: #ffffff; color: #0c111a; border: 1px solid #e6e9ee; border-radius: 14px; padding: 14px 16px; }
.sizes figure { margin: 0; display: grid; justify-items: center; gap: 6px; }
.sizes figcaption { font: 400 0.68rem/1 var(--mono); color: #6b7585; }
.btab { display: flex; align-items: center; gap: 7px; background: #e8ebef; border-radius: 8px 8px 0 0; padding: 7px 11px; font: 400 12px/1 var(--sans); color: #2c3440; margin-left: auto; }
.pal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pal div { display: grid; gap: 6px; }
.pal i { display: block; height: 56px; border-radius: 10px; border: 1px solid var(--line); }
.pal span { font: 400 0.7rem/1.25 var(--mono); color: var(--muted); }
.aa { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.nums { font: 500 1.6rem/1.1 var(--mono); font-variant-numeric: tabular-nums; }

.pre { opacity: 0; transform: translateY(36px); }
.rise { transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1; transform: none; } .rise, .capx { transition: none; } }
@media (max-width: 860px) {
  .top nav { display: none; }
  .uniGrid, .neg .in, .st-grid, .offer { grid-template-columns: minmax(0, 1fr); }
  .uniGrid { gap: 18px; }
  .caps { min-height: 11rem; order: 2; }
  .dots { margin-top: 15rem; }
  .stage { align-items: start; padding-top: 12px; }
  .cgrid { grid-template-columns: minmax(0, 1fr); }
  .pwin { grid-template-columns: minmax(0, 1fr); }
  .pside { display: none; }
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ident { grid-template-columns: minmax(0, 1fr); }
  .t.s3, .t.s6 { grid-column: auto; }
  .pal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #talk .cgrid { grid-template-columns: minmax(0, 1fr); }
  .checks .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .checks .ck { padding: 13px 12px; gap: 5px; border-radius: 14px; }
  .checks .ck b { font-size: 0.95rem; } .checks .ck p { font-size: 0.8rem; line-height: 1.38; }
  .checks .ck .req { font-size: 0.52rem; padding: 4px 7px; }
}
/* Contact: the free-audit form (posts to the portal, which emails contact@) beside the email card */
.talkgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.enq { position: relative; gap: 13px; }
.enq label { display: grid; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.enq label small { font-size: 0.8rem; }
.enq input:not([type="checkbox"]), .enq select, .enq textarea { width: 100%; font: 400 1rem/1.3 var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.enq textarea { resize: vertical; min-height: 84px; }
.enq input:focus-visible, .enq select:focus-visible, .enq textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.enq .frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.enq fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.enq legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 0.86rem; color: var(--muted); }
.enq .chk { display: inline-flex; grid-auto-flow: column; align-items: center; gap: 8px; color: var(--fg); font-size: 0.95rem; }
.enq .chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--signal); }
.enq .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enq .btn { justify-self: start; margin-top: 4px; border: 0; cursor: pointer; }
.enq .fine { font-size: 0.8rem; } .enq .fine a { color: var(--fg); }
@media (max-width: 860px) { .talkgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .enq .frow { grid-template-columns: minmax(0, 1fr); } }
/* On a laptop, Contact is two columns: the heading with the email card under it, beside the form, and less padding
   above, so every link that jumps here (Contact, Talk to us, the free health check) lands with the whole form in view
   rather than a heading and half a form (Tim, 11 Nov 2026: "takes more with header than full page"). The talkgrid's
   two children join the section's own grid. */
@media (min-width: 861px) {
  #talk { padding-top: 48px; }
  #talk > .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto 1fr; gap: 16px 48px; align-items: start; }
  #talk .head { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  #talk .talkgrid { display: contents; }
  #talk .enq { grid-column: 2; grid-row: 1 / span 2; }
  #talk .talkgrid > a.ck { grid-column: 1; grid-row: 2; }
  #talk .enq textarea { min-height: 62px; }
}

/* Everything we check: six, then the button (site.js) */
.checks.few .ck:nth-child(n+7) { display: none; }
.allck { margin-top: 18px; cursor: pointer; }
/* phones, upright: the story's caption under the drawing, smaller, with no dots ("3 of 6" carries the step) */
@media (max-width: 860px) and (orientation: portrait), (max-width: 600px) {
  .story .st-grid { gap: 16px; }
  .story .dots { display: none; }
  .story .capx { gap: 9px; }
  .story .capx h2 { font-size: 1.55rem; }
  .story .capx p { font-size: 0.95rem; line-height: 1.45; }
}
/* phones: the opening's second view (heading, orb, what agrees, what was overcharged) fits under the header */
@media (max-width: 600px) {
  #skyH { font-size: 1.45rem; max-width: 20ch; }
  .uniB { gap: 14px; align-content: center; padding-block: 8px; }
  .uniGrid { gap: 14px; }
  .orbbox { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 16px; row-gap: 6px; width: 100%; }
  .orb { grid-row: 1 / span 2; width: 64px; }
  .orbcap { text-align: left; font-size: 0.85rem; max-width: none; }
  .oks { width: 100%; gap: 4px; } .okr { font-size: 0.8rem; gap: 8px; } .okr b { font-size: 0.72rem; }
  .ovl { gap: 7px; } .ov { font-size: 0.9rem; gap: 10px; } .ov small { display: none; } .ov b { font-size: 0.88rem; }
  .ovt { font-size: 1rem; padding-top: 8px; }
  .nfnf { font-size: 0.92rem; }
}
@media (max-width: 600px) and (max-height: 560px) { .ov.more, .okr.more, .ovl .ex { display: none; } }
/* small phones: the header's three items fit in 360px */
@media (max-width: 420px) { .top .in { gap: 10px; } .mnav > summary { padding: 8px 11px; gap: 7px; } .top .btn.signin { padding-inline: 13px; } }
/* a phone on its side: the shipment story goes back to two columns, caption beside the drawing, so neither is cut off */
@media (max-width: 860px) and (max-height: 500px) and (orientation: landscape) {
  .st-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
  .caps { order: 0; min-height: 12rem; } .dots { display: none; } .stage { align-items: center; padding-top: 0; }
  .capx h2 { font-size: 1.6rem; } .capx p { font-size: 0.92rem; }
}

/* Ship2zone: the orange 2 of the portal's wordmark; the header's links; the real portal, framed. */
.two { color: var(--signal); }
.top nav a { color: inherit; text-decoration: none; }
.top nav a:hover { color: var(--fg); }
/* the page you are on, in the menu (Tim, 10 Nov 2026: "it's not clear in the header that you're on that page") */
.top nav a[aria-current="page"] { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.top nav + .btn { margin-left: 4px; }
.shots { display: grid; gap: clamp(28px, 4vw, 44px); }
.shot { margin: 0; display: grid; gap: 12px; }
.frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--tile); box-shadow: 0 30px 80px rgba(12,17,26,.14); }
.chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--line); font: 400 0.72rem/1 var(--mono); color: var(--muted); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.chrome span { margin-left: 10px; }
.shot img { display: block; width: 100%; height: auto; max-width: 100%; }
.shot figcaption { color: var(--muted); font-size: 0.98rem; max-width: 64ch; }
.shot figcaption b { color: var(--fg); font-weight: 600; }
.foot { border-top: 1px solid var(--line); }
.foot .in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-block: 28px; color: var(--muted); font-size: 0.9rem; }
.foot .brand .wm { font-size: 1.05rem; }
.foot .sp { margin-left: auto; }
.foot a { color: inherit; }
@media (max-width: 860px) { .top .btn.go { display: none; } .top .signin { margin-left: auto; } }
/* Six links need ~1,030px beside the logo and both buttons; below that they wrapped onto two lines. */
.top nav a, .top .btn { white-space: nowrap; }
@media (max-width: 1080px) { .top nav { display: none; } .top .signin { margin-left: auto; } }
/* the phone and tablet menu: a native details element, so it opens and closes on every page with no script */
.mnav { display: none; }
.mnav > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: 600 0.9rem/1 var(--sans); color: var(--fg); padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; user-select: none; -webkit-user-select: none; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav .mb { position: relative; width: 14px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.mnav .mb::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.mnav .mc, .mnav[open] .mo { display: none; } .mnav[open] .mc { display: inline; }
.mpanel { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 58px); z-index: 20; display: grid; padding: 4px 16px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.28); }
.mpanel a { color: var(--fg); text-decoration: none; font-size: 1.08rem; font-weight: 500; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.mpanel a[aria-current="page"] { color: var(--signal-text); font-weight: 600; }
.top .mpanel .btn.go { display: inline-flex; justify-self: start; margin-top: 18px; padding: 12px 18px; border-bottom: 0; }
@media (max-width: 1080px) { .mnav { display: block; } }

/* The drawn portal in the new portal's own layout: the dark top bar with
   the tabs across it, grey paper, white cards, orange airport labels. */
.pbar { display: flex; align-items: center; gap: 10px; background: #17191e; color: #ffffff; padding: 10px 14px; min-width: 0; }
.pbar b { font: 600 0.98rem/1 var(--sans); letter-spacing: -0.04em; margin-right: 8px; }
.pbar nav { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.pbar nav span { font-size: 0.76rem; color: rgba(255,255,255,.7); padding: 6px 9px; border-radius: 6px; white-space: nowrap; }
.pbar nav span.on { color: #ffffff; font-weight: 600; background: rgba(255,255,255,.12); }
.pbar .pco { margin-left: auto; font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.phead { display: grid; gap: 4px; }
.plbl { font: 500 0.66rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #b8530d; }
.pwin .ptile { background: #ffffff; border-color: #e6e8ec; }
.pwin .ptile span { font: 500 0.6rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #b8530d; }
@media (max-width: 860px) { .pbar nav span:nth-child(n+3), .pbar .pco { display: none; } }

/* The footer's second line: who we are. */
.foot .links { padding-block: 0 18px; gap: 8px 24px; font-size: 0.9rem; }
.foot .legal { padding-block: 0 28px; font-size: 0.8rem; gap: 8px 24px; }
/* the two offices, each on its own line, then the company line (Tim, 10 Nov 2026; flags off, 11 Nov: "get rid of the irish uk flags") */
.foot .addr { display: grid; gap: 7px; }
.foot .office { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; }
.foot .office b { color: var(--fg); font-weight: 600; min-width: 4.2em; } /* so the two addresses start in line */
.foot .co { margin-top: 3px; }
/* Facts still to supply: loud in the preview, and the launch check refuses the page while any is left. */
.todo { background: #fff3c4; color: #7a4b00; border-radius: 3px; padding: 0 3px; }

/* The privacy notice and the not-found page: one column of reading. */
.prose .in { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 18px; }
.prose p { max-width: 65ch; }
.prose a { color: var(--fg); }
.facts { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; max-width: 65ch; }
.facts li::marker { color: var(--signal); }
.facts .gloss { display: block; margin-top: 4px; font-size: 0.92em; } /* a term explained under its point, in the point's own colour (Tim, 11 Nov 2026: not grey) */
.facts b { font-weight: 600; }
.xwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--tile); }
.xtable { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.xtable th { text-align: left; font: 500 0.68rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.xtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.xtable tr:last-child td { border-bottom: 0; }
.xtable td:not(:first-child), .xtable th:not(:first-child) { text-align: right; white-space: nowrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.xtable th:not(:first-child) { font-family: var(--mono); }
.xtable .over { color: var(--risk); }
.xtable .ok { color: var(--saved); }
/* On a phone a four-column table would scroll sideways inside its box; each row stacks instead, labels from data-l. */
@media (max-width: 600px) {
  .xtable { font-size: 0.88rem; }
  .xtable th, .xtable td { padding: 10px 8px; }
  .xtable.stack thead { display: none; }
  .xtable.stack tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .xtable.stack tr:last-child { border-bottom: 0; }
  .xtable.stack td { padding: 0; border: 0; text-align: left; white-space: normal; }
  .xtable.stack td:first-child { grid-column: 1 / -1; font-weight: 600; }
  .xtable.stack td:not(:first-child)::before { content: attr(data-l); display: block; font: 500 0.6rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}
/* worked examples (case-studies.html) and the home page's link to them. The page is out (Colm, 11 Nov 2026); kept so it
   can come back (git log --diff-filter=D -- public/case-studies.html names the commit that removed it) */
.exw { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 30px); display: grid; gap: 10px; background: var(--tile); }
.exw h2 { margin-top: 0; }
.exw .who { color: var(--muted); font-size: 0.95rem; }
.exl { display: grid; margin-top: 6px; }
.exr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.exr span { display: grid; gap: 3px; } .exr small { color: var(--muted); font-size: 0.85rem; }
.exr b { font: 600 0.95rem/1 var(--mono); color: var(--signal-text); white-space: nowrap; }
.exres { border-top: 1px solid var(--line); padding-top: 12px; }
.checks .more { margin-top: 28px; } .checks .more a { color: var(--fg); font-weight: 600; text-decoration-color: var(--signal); text-underline-offset: 4px; }
.prose .trial { margin-top: 24px; padding: clamp(22px, 4vw, 32px); }
