/* kots.club — one stylesheet, no framework */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-400-normal.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: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-500-normal.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: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-700-normal.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: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-800-normal.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: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext-800-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --ground: #F3F5F4;
  --band: #E7ECEA;
  --surface: #FFFFFF;
  --surface-2: #F7F9F8;
  --ink: #15201D;
  --muted: #4C5753;
  --line: #D3DAD7;
  --line-soft: #E5EAE8;
  --accent: #4527A0;
  --accent-hover: #321A7C;
  --accent-soft: #ECE7FA;
  --live: #186B43;
  --partial: #8A5200;
  --unknown: #5B6662;
  --on-ink: #C9D2CF;

  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; }
code { font-family: var(--mono); font-size: 0.875em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.narrow { max-width: 820px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.icon-sm { width: 0.95em; height: 0.95em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 20px; border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* language suggestion */
.suggest { background: var(--accent-soft); border-bottom: 1px solid #D8CFF5; }
.suggest-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; font-size: 0.9375rem; }
.suggest a { font-weight: 600; }
.suggest button { margin-left: auto; min-height: 44px; padding: 0 14px; background: none; border: 0;
  font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 12px; }
.logo { font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--ink); }
.logo-light { color: #fff; }
.logo-light span { color: #B9A8F0; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-right: auto; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink);
  text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--line); color: var(--ink); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; }
.lang-switch { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.lang-switch .icon { margin-right: 4px; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted);
  text-decoration: none; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; border-bottom: 2px solid transparent; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* safety banner */
.banner { background: var(--band); border-bottom: 1px solid var(--line); }
.banner-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding-block: 12px; font-size: 0.9375rem; }
.banner-inner .icon { align-self: start; margin-top: 0.2em; }
.banner-inner a { font-weight: 600; }
@media (max-width: 760px) { .banner-inner { grid-template-columns: auto minmax(0, 1fr); } .banner-inner a { grid-column: 2; } }

/* hero */
.hero { display: grid; gap: 48px; padding-block: clamp(48px, 8vw, 104px) clamp(48px, 6vw, 80px); align-items: start; }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }
.hero h1 { font-size: clamp(2.75rem, 4.6vw + 1.2rem, 5.25rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.98; max-width: 11ch; text-wrap: balance; }
.hero .lede { margin-top: 28px; }
.hero .actions { margin-top: 32px; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 36em; }

.checklist { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); }
.checklist h2 { font-size: 1.125rem; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.checklist dl, .panel-list, .facts { margin: 0; }
.checklist dl > div, .panel-list > div { padding: 16px 24px; border-bottom: 1px solid var(--line-soft); }
.checklist dl > div:last-child { border-bottom: 0; }
.checklist dt, .panel-list dt, .facts dt { font-size: 0.875rem; color: var(--muted); margin-bottom: 6px; }
.checklist dd, .panel-list dd, .facts dd { margin: 0; }
.figure { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.note { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.read-at { font-size: 0.8125rem; color: var(--muted); padding: 12px 24px 16px; }
.page-head .read-at { padding: 16px 0 0; }

/* addresses */
.addr { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; max-width: 100%; }
td .addr { flex-wrap: nowrap; }
.addr-link { color: var(--ink); text-decoration-style: dotted; overflow-wrap: anywhere; }
.addr-link:hover { color: var(--accent); }
.addr-link code { font-size: 0.875rem; }
.copy { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius); font: 600 0.8125rem var(--sans); color: var(--ink); cursor: pointer; }
.copy:hover { border-color: var(--ink); }
.pending { color: var(--unknown); font-size: 0.9375rem; }
.live { font-variant-numeric: tabular-nums; }
.hash { overflow-wrap: anywhere; }
.live-error { margin-top: 16px; padding: 12px 16px; background: #FBF1E6; color: #6B3F00; border-radius: var(--radius); font-size: 0.9375rem; }

/* sections */
.block { padding-block: clamp(40px, 6vw, 72px) 0; }
.block-tight { padding-top: 40px; }
.block h2 + .muted, .block h2 + p { margin-top: 10px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }
.section-head .muted { margin-top: 8px; }
.section-head a { font-weight: 600; }
.band { background: var(--band); border-block: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px); }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px; }
.tile-label { color: var(--muted); font-size: 0.9375rem; }
.tile-value { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tile-link { font-size: 0.875rem; margin-top: auto; }
.two-col { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); padding-block: clamp(48px, 6vw, 72px) 0; }
.page-head { padding-block: clamp(40px, 6vw, 72px) 0; }
.page-head h1 { font-size: clamp(2.25rem, 3vw + 1.2rem, 3.5rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.page-head .lede { margin-top: 18px; }
.split { display: grid; gap: 32px 56px; }
.split-even { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.empty { margin-top: 20px; padding: 20px 24px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.notice { margin-top: 20px; padding: 14px 18px; border-left: 0; background: var(--accent-soft); border-radius: var(--radius); }
.bullets { margin-top: 20px; padding-left: 1.2em; display: grid; gap: 10px; }
.page-head h2 { margin-top: 40px; }
.plain { list-style: none; padding: 0; display: grid; gap: 8px; }

/* table of contents */
.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.toc a:hover { border-color: var(--ink); }

/* tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
thead th { background: var(--surface-2); font-size: 0.8125rem; font-weight: 600; color: var(--muted); border-bottom-color: var(--line); }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total > * { border-top: 1px solid var(--line); font-weight: 700; }

.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.state-live { color: var(--live); }
.state-partial { color: var(--partial); }
.state-planned, .state-unknown { color: var(--unknown); }
.state-planned::before, .state-unknown::before { background: transparent; border: 2px solid currentColor; }

/* allocation bar */
.alloc-bar { display: flex; height: 18px; margin-top: 28px; border-radius: 3px; overflow: hidden; border: 1px solid var(--ink); }
.seg-dex { flex: 31.95; background: var(--ink); }
.seg-reserve { flex: 66.07; background: #8E9A96; }
.seg-ops { flex: 1.98; background: var(--accent); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 10px; vertical-align: -1px; }
.swatch-dex { background: var(--ink); }
.swatch-reserve { background: #8E9A96; }
.swatch-ops { background: var(--accent); }

/* facts grid */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.facts > div { background: var(--surface); padding: 18px 22px; }
.facts dd { font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
@media (min-width: 840px) { .facts .span-2 { grid-column: span 2; } }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel > h2 { font-size: 1.25rem; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel > .muted { padding: 16px 24px 20px; }
.split .panel-list, .split > dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-list > div:last-child { border-bottom: 0; }
.report-item { padding: 18px 24px; border-bottom: 1px solid var(--line-soft); }
.report-item:last-child { border-bottom: 0; }
.report-item h3 { font-size: 1rem; margin-bottom: 6px; }
.never { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 30px 32px; }
.never h2 { font-size: 1.5rem; }
.never ul { margin-top: 18px; padding-left: 1.2em; display: grid; gap: 12px; font-size: 1.0625rem; }
.never li::marker { color: #B9A8F0; }

/* home: feeds, risk */
.feed ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.feed li a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; }
.feed li a:hover .feed-title { color: var(--accent); text-decoration: underline; }
.feed-title { font-weight: 600; }
.feed-meta { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.feed-msg:empty { display: none; }
.feed-msg { padding: 18px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.table-wrap .feed-msg { border: 0; border-radius: 0; }
.riskbox { display: grid; gap: 24px 48px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
@media (min-width: 860px) { .riskbox { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.riskbox h2 { font-size: 1.5rem; }
.riskbox p { margin-top: 12px; color: var(--muted); }
.riskbox a { display: inline-block; margin-top: 16px; font-weight: 600; }
.riskbox ul { padding-left: 1.2em; display: grid; gap: 10px; }
main > .block:last-child, main > section:last-child { padding-bottom: clamp(56px, 8vw, 96px); }

/* transparency extras */
.changelog { list-style: none; padding: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.changelog li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.changelog time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* forum */
.forum-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.forum-layout { display: grid; gap: 40px; padding-top: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
@media (min-width: 980px) { .forum-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.search { padding-top: 24px; }
.search label { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 6px; }
.search-row { display: flex; gap: 8px; max-width: 560px; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--surface); color: var(--ink); }
.search input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.cats { list-style: none; padding: 0; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cats li + li { border-top: 1px solid var(--line-soft); }
.cat { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; color: var(--ink); text-decoration: none; }
a.cat:hover .cat-name { color: var(--accent); text-decoration: underline; }
.cat-name { font-weight: 700; font-size: 1.0625rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-desc { color: var(--muted); font-size: 0.9375rem; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.feed-table a { color: var(--ink); font-weight: 600; }
.forum-side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.side-card-strong { border: 2px solid var(--ink); }
.side-card h2 { font-size: 1.125rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.side-card ol { padding-left: 1.2em; display: grid; gap: 10px; font-size: 0.9375rem; margin-bottom: 16px; }
.side-card > a { font-weight: 600; font-size: 0.9375rem; }
.badge-row { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; margin-bottom: 10px; }
.badge { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 7px; border-radius: 3px; flex: none; }
.badge-team { background: var(--ink); color: #fff; }
.badge-mod { border: 1.5px solid var(--ink); }

/* safety */
.risks { margin-top: 24px; border-top: 1px solid var(--line); }
.risk { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.risk p { margin-top: 8px; color: var(--muted); max-width: 66ch; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-ink); margin-top: 0; }
.site-footer .wrap { padding-block: 56px 32px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); font-size: 0.9375rem; }
.footer-brand { display: grid; gap: 10px; align-content: start; }
.site-footer h2 { font-size: 0.9375rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-ink); display: inline-block; padding-block: 6px; }
.site-footer a:hover { color: #fff; }
.footer-notes { margin-top: 40px; padding-top: 24px; border-top: 1px solid #34413D; font-size: 0.8125rem; line-height: 1.6; color: #A9B4B0; display: grid; gap: 6px; }

@media (max-width: 640px) {
  .header-inner { gap: 4px 12px; }
  .header-cta { display: none; }
  .main-nav { margin-right: 0; width: calc(100% + 24px); order: 3; margin-inline: -12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .main-nav a { padding: 0 10px; white-space: nowrap; }
  .lang-switch { margin-left: auto; }
  .changelog li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .site-header, .banner, .suggest, .copy, .site-footer { display: none; }
  body { background: #fff; }
}
