@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/geologica-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/geologica-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/geologica-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Mimic-panel world: panel grey ground, IEC-style voltage colours for lines, lamps for status. */
:root {
  --panel: #d9ded8; --inset: #e9ece6; --rule: #b7bfb8;
  --ink: #1c2428; --ink-2: #47535a;
  --kv400: #b3261e; --kv150: #1d5fa8; --lamp: #f2b705; --alarm: #b3261e;
  --btn: #1c2428; --btn-ink: #eef1ec;
  --s1: #1d5fa8; --s2: #b3261e; --s3: #008a73;
  --focus: #1c2428;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --panel: #141a1d; --inset: #1d2428; --rule: #2e383d;
    --ink: #e3e8e2; --ink-2: #a3afa9;
    --kv400: #ff6b5e; --kv150: #6ea8ff; --lamp: #ffc23d; --alarm: #ff6b5e;
    --btn: #e3e8e2; --btn-ink: #141a1d;
    --s1: #5a93e8; --s2: #ef5a4c; --s3: #20a18a;
    --focus: #ffc23d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --panel: #141a1d; --inset: #1d2428; --rule: #2e383d;
  --ink: #e3e8e2; --ink-2: #a3afa9;
  --kv400: #ff6b5e; --kv150: #6ea8ff; --lamp: #ffc23d; --alarm: #ff6b5e;
  --btn: #e3e8e2; --btn-ink: #141a1d;
  --s1: #5a93e8; --s2: #ef5a4c; --s3: #20a18a;
  --focus: #ffc23d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--panel); }
body {
  margin: 0; background: var(--panel); color: var(--ink);
  font: 400 1.0625rem/1.6 "Geologica", system-ui, sans-serif;
  caret-color: var(--kv400);
}
::selection { background: var(--lamp); color: #1c2428; }
a { color: inherit; text-decoration-color: var(--kv400); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--btn); color: var(--btn-ink); padding: 8px 12px; }
.skip:focus { top: 8px; }
.cc, .src, .mark, .status, .date { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* header */
.top { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.logo svg { width: 28px; height: 28px; }
.logo path { stroke: var(--kv400); stroke-width: 3; fill: none; }
.logo circle { fill: var(--lamp); stroke: var(--ink); stroke-width: 1.5; }
.langs { display: flex; gap: 4px; }
.langs a { font-size: 0.875rem; font-weight: 500; text-decoration: none; padding: 6px 8px; border-radius: 4px; color: var(--ink-2); }
.langs a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--kv400); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .moon, .theme-toggle[aria-pressed="true"] .sun { display: none; }
.theme-toggle[aria-pressed="true"] .moon { display: block; }

/* hero */
.hero { padding-top: 24px; }
.hero-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 20px; max-width: 12ch; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 20px; text-wrap: balance; }
h3 { font-size: 1.125rem; font-weight: 600; margin: 0; }
.lede { font-size: 1.1875rem; color: var(--ink-2); max-width: 56ch; margin: 0; }

.signup { background: var(--inset); border: 1px solid var(--rule); border-radius: 6px; padding: 20px; }
.signup-head { font-weight: 600; margin: 0 0 12px; }
.field { display: flex; flex-wrap: wrap; gap: 8px; }
input[type=email] {
  flex: 1 1 220px; min-width: 0; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
}
input[type=email]::placeholder { color: var(--ink-2); }
button[type=submit], .button {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font: inherit; font-weight: 600;
  color: var(--btn-ink); background: var(--btn); border: 0; border-radius: 4px; cursor: pointer; text-decoration: none;
}
.lamp-icon { width: 12px; height: 12px; fill: var(--lamp); }
button[type=submit]:hover .lamp-icon, .button:hover .lamp-icon { filter: drop-shadow(0 0 4px var(--lamp)); }
.fine { font-size: 0.875rem; color: var(--ink-2); margin: 12px 0 0; }
.error { color: var(--alarm); font-weight: 500; margin: 12px 0 0; }
.error:not(:target) { display: none; } /* the Worker's redirect targets the one message that applies */
.hp { position: absolute; left: -9999px; }

/* area preview: one product window with coordinated views (map, detail, trend) */
.coverage { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); margin: 0 0 18px; }
.lamp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lamp) 30%, transparent); }
.dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); vertical-align: -1px; }
.dot.live { background: var(--lamp); }
.preview { margin-top: 56px; padding: 56px 0 64px; background: var(--inset); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.preview-head { max-width: 68ch; margin-bottom: 28px; }
.preview-head p { color: var(--ink-2); margin: 0; }

.app { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 16px 40px -24px rgb(0 0 0 / 0.35); overflow: hidden; }
.app-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.app-status { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-2); }
.country-switch { display: inline-flex; padding: 3px; gap: 3px; background: var(--inset); border: 1px solid var(--rule); border-radius: 7px; }
.country-switch button { font: inherit; font-weight: 600; padding: 6px 16px; border: 0; border-radius: 5px; background: none; color: var(--ink-2); cursor: pointer; }
.country-switch button[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); }
.js .country:not([data-active]) { display: none; }
.country + .country { border-top: 1px solid var(--rule); }
.js .country + .country { border-top: 0; }

.app-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px 16px; }
@media (min-width: 900px) { .app-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 32px; align-items: center; } }
.map { margin: 0; }
.map svg { display: block; width: 100%; max-height: 520px; height: auto; margin: 0 auto; }
.map .regions path { fill: var(--inset); stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .regions path.has-data { fill: color-mix(in srgb, var(--lamp) 22%, var(--inset)); stroke: color-mix(in srgb, var(--lamp) 70%, var(--ink)); cursor: pointer; transition: fill 0.2s ease-out; }
.map .regions path.has-data:hover { fill: color-mix(in srgb, var(--lamp) 45%, var(--inset)); }
.map .regions path.selected { fill: color-mix(in srgb, var(--lamp) 70%, var(--inset)); stroke: var(--ink); stroke-width: 2; }
.map .lines path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; pointer-events: none; stroke-linejoin: round; }
.map .lines .hi { stroke: var(--kv400); }
.map .lines .lo { stroke: var(--kv150); }
.map figcaption { font-size: 0.8125rem; color: var(--ink-2); margin-top: 12px; }
.map figcaption p { margin: 8px 0 0; max-width: 56ch; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; color: var(--ink); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 18px; }
.key-hi, .key-lo { height: 2px; }
.key-hi { background: var(--kv400); }
.key-lo { background: var(--kv150); }
.key-region { height: 12px; width: 14px; background: color-mix(in srgb, var(--lamp) 45%, var(--inset)); border: 1px solid color-mix(in srgb, var(--lamp) 70%, var(--ink)); }

.detail { align-self: start; }
.app-trend { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 16px 24px; }
@media (min-width: 900px) { .app-trend { padding: 0 32px 32px; } }
@media (min-width: 1100px) { .app-trend { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.chart-svg .axis-unit { fill: var(--ink-2); font-size: 12px; font-weight: 500; }
.chart-missing { display: flex; flex-direction: column; }
.missing-box { flex: 1; display: grid; align-content: center; gap: 6px; min-height: 180px; padding: 24px; border: 1px dashed var(--rule); border-radius: 6px; color: var(--ink-2); font-size: 0.9375rem; }
.missing-box p { margin: 0; max-width: 52ch; }
.missing-h { font-weight: 600; color: var(--ink); }
.chart-plot.narrow { display: none; }
@media (max-width: 640px) { .chart-plot.wide { display: none; } .chart-plot.narrow { display: block; } }
.detail-h { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.chips button { font: inherit; font-size: 0.9375rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--inset); color: var(--ink); cursor: pointer; }
.chips button:hover { border-color: var(--ink-2); }
.chips button[aria-selected="true"] { background: color-mix(in srgb, var(--lamp) 70%, var(--inset)); border-color: var(--ink); color: #1c2428; font-weight: 600; } /* fixed dark ink on amber in both themes (AA contrast) */
.js .area:not([data-active]) { display: none; }
.area + .area { margin-top: 24px; }
.js .area + .area { margin-top: 0; }
.funnel { margin: 0; display: grid; gap: 16px; }
.stage dt { font-weight: 500; margin-bottom: 4px; }
.stage dd { margin: 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; }
.stage .gw { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stage .count { color: var(--ink-2); font-size: 0.875rem; }
.stage .bar { grid-column: 1 / -1; height: 10px; border-radius: 2px; background: color-mix(in srgb, var(--rule) 60%, transparent); position: relative; overflow: hidden; }
.stage .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 2px; }
.stage.s1 .bar::after { background: var(--s1); }
.stage.s2 .bar::after { background: color-mix(in srgb, var(--s1) 55%, var(--panel)); }
.stage.ok .bar::after { background: var(--s3); }
.stage.bad .bar::after { background: var(--s2); }
@media (prefers-reduced-motion: no-preference) {
  .js .area[data-active] .bar::after { animation: fill 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .js .area[data-active] .s2 .bar::after { animation-delay: 0.12s; }
  .js .area[data-active] .ok .bar::after, .js .area[data-active] .bad .bar::after { animation-delay: 0.24s; }
  @keyframes fill { from { width: 0; } }
}
.area-note, .area-read { margin: 16px 0 0; color: var(--ink-2); font-size: 0.9375rem; max-width: 60ch; }
.area-note { padding-left: 12px; border-left: 2px solid var(--s2); }

.app-foot { display: grid; gap: 16px; padding: 16px; border-top: 1px solid var(--rule); background: var(--inset); }
@media (min-width: 900px) { .app-foot { grid-template-columns: 1fr auto; align-items: end; padding: 18px 32px; } }
.sources-h { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.src-key { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.src-key .dot.next { margin-left: 8px; }
.sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sources li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8125rem; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); }
.sources li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ink); }
.sources li.live::before { background: var(--lamp); }
.sources li.next { color: var(--ink-2); }
.foot-end { display: grid; gap: 8px; justify-items: start; }
@media (min-width: 900px) { .foot-end { justify-items: end; text-align: right; } }
.area-src { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
.follow { font: inherit; font-size: 0.875rem; padding: 8px 14px; border: 1px dashed var(--rule); border-radius: 4px; background: none; color: var(--ink-2); cursor: not-allowed; }

/* chart */
.chart { margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.chart figcaption { display: grid; gap: 4px; margin-bottom: 16px; }
.chart figcaption strong { font-size: 1rem; }
.chart figcaption span { color: var(--ink-2); max-width: 70ch; }
.chart-plot { position: relative; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg .grid { stroke: var(--rule); stroke-width: 1; }
.chart-svg .tick { fill: var(--ink-2); font-size: 13px; font-family: "JetBrains Mono", ui-monospace, monospace; }
.chart-svg .series path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .series .dot { stroke: var(--panel); stroke-width: 2; }
.chart-svg .series .swatch { stroke-width: 3; stroke-linecap: round; }
.chart-svg .end { fill: var(--ink); font-size: 14px; font-weight: 500; }
.chart-svg .end-v { fill: var(--ink-2); font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 400; }
.chart-svg .s1 path, .chart-svg .s1 .swatch { stroke: var(--s1); } .chart-svg .s1 .dot { fill: var(--s1); }
.chart-svg .s2 path, .chart-svg .s2 .swatch { stroke: var(--s2); } .chart-svg .s2 .dot { fill: var(--s2); }
.chart-svg .s3 path, .chart-svg .s3 .swatch { stroke: var(--s3); } .chart-svg .s3 .dot { fill: var(--s3); }
.chart-svg .crosshair { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart-svg .crosshair.on { opacity: 1; }
.chart-svg.bars .bar-g path { fill: var(--s2); }
.chart-svg.bars .bar-g.partial path { fill: var(--hatch); stroke: var(--s2); stroke-width: 1.5; }
.chart-svg .hatch-bg { fill: color-mix(in srgb, var(--s2) 18%, var(--panel)); }
.chart-svg .hatch-line { stroke: var(--s2); stroke-width: 2; }
.chart-svg .stk.s1 { fill: var(--s1); }
.chart-svg .stk.s3 { fill: var(--s3); }
.chart-svg .leg { fill: var(--ink); font-size: 13px; }
.chart-svg .stage-l { fill: var(--ink); font-size: 14px; font-weight: 500; }
.chart-svg .bar-v { fill: var(--ink); font-size: 13px; font-family: "JetBrains Mono", ui-monospace, monospace; }
.tip[hidden] { display: none; }
.tip { position: absolute; bottom: 40px; display: grid; gap: 2px; padding: 8px 10px; background: var(--btn); color: var(--btn-ink); border-radius: 4px; font-size: 0.8125rem; pointer-events: none; white-space: nowrap; }
.tip-row::before { content: ""; display: inline-block; width: 10px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.tip-row.s1::before { background: var(--s1); } .tip-row.s2::before { background: var(--s2); } .tip-row.s3::before { background: var(--s3); }
.chart-note { font-size: 0.8125rem; color: var(--ink-2); margin: 12px 0 0; }
.chart-note a { margin-right: 2px; }
.chart-table { margin-top: 12px; font-size: 0.875rem; }
.chart-table summary { cursor: pointer; color: var(--ink-2); }
.chart-table table { border-collapse: collapse; margin-top: 8px; }
.chart-table th, .chart-table td { padding: 4px 16px 4px 0; text-align: left; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.chart-table td { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* simulation: three scales as a zoom sequence */
.sim-section { padding-top: 80px; }
.sim-head { max-width: 68ch; margin-bottom: 32px; }
.sim-head p { color: var(--ink-2); margin: 0; }
.scales { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; counter-reset: scale; }
@media (min-width: 820px) { .scales { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.scales li { position: relative; padding: 0; }
@media (min-width: 820px) {
  .scales li { padding: 0 28px; border-left: 1px solid var(--rule); }
  .scales li:first-child { padding-left: 0; border-left: 0; }
}
.scale-fig { display: block; width: 100%; max-width: 220px; height: auto; margin-bottom: 16px; }
.scale-fig .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scale-fig .hi { stroke: var(--kv400); }
.scale-fig .lo { stroke: var(--kv150); }
.scale-fig .sp { stroke: var(--rule); stroke-width: 1.5; }
.scale-fig .nd { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.scale-fig .nd.main { fill: var(--inset); }
.scale-fig .nd.lamp { fill: var(--lamp); }
.scale-fig .tx { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.scales h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 1.25rem; margin-bottom: 8px; }
.scale-status { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); }
.scale-status.now { color: var(--ink); }
.scale-status.now::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--lamp); border: 1.5px solid var(--ink); vertical-align: 0; }
.scale-ex { margin: 0 0 8px; color: var(--ink-2); }
.scale-q { margin: 0; font-weight: 500; }
.audiences { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.aud-h { font-size: 1rem; color: var(--ink-2); margin: 0 0 12px; }
.audiences dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 820px) { .audiences dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.audiences dt { font-weight: 600; margin-bottom: 4px; }
.audiences dd { margin: 0; color: var(--ink-2); }

/* event log */
.log-section { padding-top: 80px; }
.log { width: 100%; border-collapse: collapse; font-size: 0.975rem; }
.log th { text-align: left; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); padding: 0 12px 8px 0; border-bottom: 2px solid var(--ink); }
.log td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.log .mark { width: 2ch; font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.mark.new { color: var(--kv150); }
.mark.changed { color: var(--kv400); }
.log .cc { width: 4ch; font-weight: 600; }
.log .src, .log .date { white-space: nowrap; color: var(--ink-2); font-size: 0.875rem; }
.log .src a { color: inherit; }
@media (max-width: 640px) {
  .log thead { display: none; }
  .log tr { display: grid; grid-template-columns: 2ch 4ch 1fr; column-gap: 8px; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .log td { border: 0; padding: 0; }
  .log td:nth-child(4) { grid-column: 1 / -1; padding-top: 4px; }
  .log .src { grid-column: 1 / -1; }
}
.note { font-size: 0.875rem; color: var(--ink-2); max-width: 70ch; }

/* roadmap: a feeder with terminals, in arrival order */
.roadmap-section { padding-top: 80px; }
.roadmap { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; max-width: 760px; }
.roadmap::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 3px; background: var(--kv150); }
.roadmap li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 0 0 32px; }
.roadmap li::before { content: ""; position: absolute; left: -36px; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--panel); }
.roadmap li.live::before { background: var(--lamp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lamp) 30%, transparent); }
.roadmap p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); max-width: 62ch; }
.status { font-size: 0.8125rem; color: var(--ink-2); }
.live .status { color: var(--ink); font-weight: 600; }

/* close */
.close { margin-top: 56px; padding: 72px 0; background: var(--btn); color: var(--btn-ink); }
.close h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.035em; }
.close p { max-width: 52ch; opacity: 0.85; margin: 0 0 28px; }
.close .button { background: var(--lamp); color: #1c2428; }
.close .lamp-icon { fill: #1c2428; }

.about { padding-top: 64px; font-size: 0.9375rem; color: var(--ink-2); }
.about h2 { font-size: 1.25rem; color: var(--ink); }
.about p { max-width: 70ch; }
.site-footer { margin-top: 64px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-2); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 40px; }
.footer-id { margin: 0; line-height: 1.7; }
.footer-id strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: flex-start; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* legal pages */
.legal { max-width: 760px; padding-top: 32px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: none; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal p, .legal li, .legal dd, .legal address { color: var(--ink-2); max-width: 70ch; }
.legal address { font-style: normal; line-height: 1.7; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.legal dt { font-weight: 500; }
.legal dd { margin: 0; }
.legal .translation { font-size: 0.875rem; padding: 10px 14px; border-left: 3px solid var(--rule); background: var(--inset); }
.legal .updated { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.8125rem; }
.legal mark { background: var(--lamp); color: #1c2428; padding: 0 4px; }

/* thanks and 404 */
.solo { padding-top: 12vh; padding-bottom: 20vh; }
.solo-lamp { width: 40px; height: 40px; margin-bottom: 20px; }
.solo-lamp circle { fill: var(--lamp); stroke: var(--ink); stroke-width: 3; }
.solo-lamp.open circle { fill: var(--panel); }

/* sample reports: two terminals side by side, the reference code and date in mono */
.samples-section { padding-top: 80px; }
.samples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 820px) {
  .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .samples li { padding: 0 28px; border-left: 1px solid var(--rule); }
  .samples li:first-child { padding-left: 0; border-left: 0; }
}
.samples h3 { font-size: 1.25rem; margin-bottom: 8px; max-width: 32ch; }
.samples p { margin: 0 0 8px; color: var(--ink-2); max-width: 52ch; }
.samples .sample-ref { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.8125rem; color: var(--ink); margin: 0; }
.sample-request { margin: 28px 0 0; max-width: 70ch; }
