/* Bidline. Layout: a financial broadsheet. Centred masthead over a dated top bar and section rail; the front page sets a lead story beside a live data box, then a row of briefs divided by hairlines. Section pages share the masthead in compact form. */
:root {
  --paper: #ffffff;
  --paper-alt: #f5f6f8;
  --ink: #111418;
  --ink-2: #2b3138;
  --muted: #5f6873;
  --rule: #d9dde2;
  --rule-strong: #111418;
  --navy: #10233f;
  --on-navy: #e8edf4;
  --accent: #0b6e69;
  --series-a: #10233f;
  --series-b: #a8732a;
  --pos: #16703a;
  --neg: #b42318;
  --amber: #9a5b13;
  --amber-bg: #fbf1e3;
  --neg-bg: #fdecea;
  --pos-bg: #e7f4ec;
  --font-mast: "Libre Caslon Display", "Source Serif 4", Georgia, serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 3px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1216; --paper-alt: #151b21; --ink: #e9ecef; --ink-2: #cfd5db; --muted: #98a2ad; --rule: #2a323b; --rule-strong: #e9ecef;
    --navy: #0a1626; --on-navy: #cdd6e1; --accent: #4fc2b8; --series-a: #9db8dc; --series-b: #e0a75e;
    --pos: #5fcf86; --neg: #ff8a7f; --amber: #e0a75e; --amber-bg: #2c2112; --neg-bg: #33191a; --pos-bg: #13291c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1216; --paper-alt: #151b21; --ink: #e9ecef; --ink-2: #cfd5db; --muted: #98a2ad; --rule: #2a323b; --rule-strong: #e9ecef;
  --navy: #0a1626; --on-navy: #cdd6e1; --accent: #4fc2b8; --series-a: #9db8dc; --series-b: #e0a75e;
  --pos: #5fcf86; --neg: #ff8a7f; --amber: #e0a75e; --amber-bg: #2c2112; --neg-bg: #33191a; --pos-bg: #13291c; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }
.num, td { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
.pos { color: var(--pos); } .neg { color: var(--neg); }

/* Top bar */
.topbar { border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.topbar .left { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.topbar .asof { display: inline-flex; gap: 6px; align-items: center; }
.topbar .asof i { width: 6px; height: 6px; border-radius: 50%; background: var(--pos); display: inline-block; }
.topbar .asof.stale i { background: var(--amber); }
.sub-btn { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--navy); padding: 6px 12px; border-radius: var(--r); }
:root[data-theme="dark"] .sub-btn { background: var(--accent); color: #0e1216; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sub-btn { background: var(--accent); color: #0e1216; } }

/* Masthead */
.masthead { text-align: center; padding-block: 26px 18px; }
.mh-name { font-family: var(--font-mast); font-weight: 400; font-size: clamp(46px, 8vw, 84px); line-height: 1; letter-spacing: -.01em; text-decoration: none; color: var(--ink); display: inline-block; }
.mh-mark { display: block; margin: 10px auto 0; }
.mh-tag { margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--muted); }
.compact .masthead { padding-block: 16px 10px; }
.compact .mh-name { font-size: clamp(34px, 5vw, 46px); }
.compact .mh-tag { display: none; }
.compact .mh-mark { margin-top: 6px; }

/* Section rail */
.rail { border-top: 1px solid var(--rule-strong); border-bottom: 3px double var(--rule-strong); }
.rail .wrap { display: flex; justify-content: center; gap: 28px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.rail .wrap::-webkit-scrollbar { display: none; }
.rail a { text-decoration: none; font-size: 14px; color: var(--ink-2); white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.rail a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.rail a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
@media (max-width: 700px) { .rail .wrap { justify-content: flex-start; gap: 22px; } }

/* Ticker */
.ticker { border-bottom: 1px solid var(--rule); background: var(--paper-alt); }
.ticker .wrap { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; padding-block: 0; }
.ticker .wrap::-webkit-scrollbar { display: none; }
.tick { display: grid; gap: 0; padding: 9px 18px; border-right: 1px solid var(--rule); white-space: nowrap; font-size: 12px; text-decoration: none; }
.tick:first-child { padding-left: 0; }
.tick b { font-weight: 600; font-size: 12px; }
.tick span { color: var(--muted); }
.tick em { font-style: normal; font-weight: 600; }

/* Front page */
.front { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0; padding-block: 28px 8px; }
.front > * { min-width: 0; }
.lead { padding-right: 32px; border-right: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
.side { padding-left: 32px; display: grid; gap: 28px; align-content: start; }
@media (max-width: 900px) { .front { grid-template-columns: 1fr; } .lead { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 28px; } .side { padding-left: 0; padding-top: 24px; } }
.kick { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.015em; margin: 0; }
.lead h1 a { text-decoration: none; }
.lead h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead .dek { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 60ch; }
.by { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.figure { margin: 10px 0 0; border-top: 1px solid var(--rule); padding-top: 14px; display: grid; gap: 6px; }
.figure figcaption { font-size: 12px; color: var(--muted); }
.figure .ftitle { font-family: var(--font-serif); font-weight: 600; font-size: 17px; }
.more { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }

.box-h { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--rule-strong); padding-top: 8px; margin-bottom: 4px; }
.box-h h2 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin: 0; }
.box-h a { font-size: 12px; color: var(--muted); text-decoration: none; }
.box-h a:hover { color: var(--ink); text-decoration: underline; }
.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--rule); }
.mini td { padding: 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mini th.r, .mini td.r { text-align: right; padding-left: 10px; }
.mini td a { text-decoration: none; font-weight: 500; }
.mini td a:hover { text-decoration: underline; }
.mini .t { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.upcoming b { font-weight: 600; font-variant-numeric: tabular-nums; }
.upcoming span { color: var(--ink-2); }

.briefs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); margin-top: 28px; padding-top: 18px; }
.brief { padding: 0 20px; border-left: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.brief:first-child { padding-left: 0; border-left: 0; }
.brief:last-child { padding-right: 0; }
.brief h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0; }
.brief h3 a { text-decoration: none; }
.brief h3 a:hover { text-decoration: underline; }
.brief p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .briefs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } .brief:nth-child(3) { padding-left: 0; border-left: 0; } .brief:nth-child(2) { padding-right: 0; } }
@media (max-width: 560px) { .briefs { grid-template-columns: 1fr; } .brief { padding: 0 0 18px; border-left: 0; border-bottom: 1px solid var(--rule); } .brief:last-child { border-bottom: 0; } }

/* Newsletter band */
.band { border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong); margin-block: 40px; padding-block: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; gap: 18px; } }
.band h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0 0 6px; }
.band p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.subform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 520px) { .subform { grid-template-columns: 1fr; } }
.subform label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.subform .full { grid-column: 1 / -1; }
.subform input, .subform select { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: 10px 11px; width: 100%; min-width: 0; }
.subform button { grid-column: 1 / -1; font: inherit; font-weight: 600; font-size: 15px; background: var(--navy); color: #fff; border: 0; border-radius: var(--r); padding: 12px 16px; cursor: pointer; }
:root[data-theme="dark"] .subform button { background: var(--accent); color: #0e1216; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .subform button { background: var(--accent); color: #0e1216; } }
.subform button:disabled { opacity: .6; cursor: default; }
.subform .msg { grid-column: 1 / -1; font-size: 13px; min-height: 1.2em; margin: 0; }
.subform .msg.ok { color: var(--pos); } .subform .msg.err { color: var(--neg); }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }

/* Section pages */
.page-head { padding-block: 32px 18px; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; }
.page-head h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0; }
.page-head p { margin: 0; color: var(--ink-2); font-family: var(--font-serif); font-size: 18px; max-width: 64ch; }
section.sec { padding-block: 32px; display: grid; gap: 16px; }
section.sec + section.sec { border-top: 1px solid var(--rule); }
.sec h2 { font-family: var(--font-serif); font-weight: 700; font-size: 24px; margin: 0; }
.sec h3 { font-size: 15px; font-weight: 600; margin: 0; }
.note { margin: 0; color: var(--muted); font-size: 14px; }

.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
@media (max-width: 980px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.strip > div { padding: 14px 16px 14px 0; display: grid; gap: 2px; align-content: start; min-width: 0; }
.strip .k { font-size: 12px; color: var(--muted); }
.strip .v { font-family: var(--font-serif); font-size: 28px; font-weight: 700; line-height: 1.15; }
.strip .s { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

/* Tables */
.tbox { overflow-x: auto; border-top: 2px solid var(--rule-strong); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; vertical-align: bottom; }
.data td { padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.data th.r, .data td.r { text-align: right; }
.data th button { all: unset; cursor: pointer; }
.data th button:hover { color: var(--ink); }
.data th[aria-sort="ascending"] button::after { content: " \2191"; }
.data th[aria-sort="descending"] button::after { content: " \2193"; }
.deals { min-width: 1000px; }
.deals tbody tr.row { cursor: pointer; }
.deals tbody tr.row:hover td { background: var(--paper-alt); }
.deals td:first-child, .deals th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.deals tbody tr.row:hover td:first-child { background: var(--paper-alt); }
.deals tr.detail td, .deals tr.detail td:first-child { position: static; background: var(--paper-alt); padding: 18px 20px; }
.tgt { display: grid; min-width: 150px; }
.tgt b { font-weight: 600; }
.tgt span { font-size: 12px; color: var(--muted); }
.chip { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.chip.warn { background: var(--amber-bg); color: var(--amber); border-color: transparent; }
.chip.bad { background: var(--neg-bg); color: var(--neg); border-color: transparent; }
.chip.ok { background: var(--pos-bg); color: var(--pos); border-color: transparent; }
.odds { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.odds .bar { width: 54px; height: 6px; border-radius: 3px; background: var(--rule); position: relative; overflow: hidden; }
.odds .bar i { position: absolute; inset: 0 auto 0 0; background: var(--series-a); border-radius: 3px; }
.odds .bar i.lo { background: var(--neg); }
.exp { color: var(--muted); font-size: 18px; display: inline-block; transition: transform .15s; }
tr.row[aria-expanded="true"] .exp { transform: rotate(90deg); }
.dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1080px; white-space: normal; }
@media (max-width: 900px) { .dgrid { grid-template-columns: 1fr; } }
.dgrid h4 { margin: 0 0 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dgrid p { margin: 0 0 10px; font-size: 14px; }
.dgrid a { color: var(--accent); }
.ref { min-width: 760px; }
.kind { font-size: 12px; font-weight: 500; }
.kind.Vote { color: var(--amber); } .kind.Payment { color: var(--pos); } .kind.Deadline { color: var(--neg); }
.month td { font-family: var(--font-serif); font-weight: 700; font-size: 16px; padding-top: 22px; border-bottom: 1px solid var(--rule-strong); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; border-top: 2px solid var(--rule-strong); padding-top: 16px; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
.calc-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc-in label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.calc-in .full { grid-column: 1 / -1; }
.calc-in select, .calc-in input { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: 9px 10px; width: 100%; min-width: 0; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.calc-out .k { color: var(--muted); font-size: 14px; }
.calc-out .v { font-family: var(--font-serif); font-size: 26px; font-weight: 700; }

/* Charts */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; }
.fig { display: grid; gap: 8px; align-content: start; min-width: 0; border-top: 2px solid var(--rule-strong); padding-top: 12px; }
.fig .finding { font-family: var(--font-serif); font-size: 18px; margin: 0; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-sans); }
.tip { position: absolute; pointer-events: none; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); padding: 6px 9px; font-size: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); opacity: 0; max-width: 240px; z-index: 3; }
.tip .t { color: var(--muted); }

/* Article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-block: 32px; }
@media (max-width: 880px) { .article-wrap { grid-template-columns: 1fr; gap: 28px; } }
.article { display: grid; gap: 22px; min-width: 0; }
.article header { display: grid; gap: 10px; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.article h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.article .dek { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 60ch; }
.article h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.article p { margin: 0 0 12px; max-width: 66ch; font-family: var(--font-serif); font-size: 18px; line-height: 1.65; }
.article ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; max-width: 66ch; font-family: var(--font-serif); font-size: 18px; line-height: 1.6; }
.tl { list-style: none; padding: 0; margin: 4px 0 12px; }
.tl li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.tl li:first-child { border-top: 0; }
.tl b { font-weight: 600; }
.facts { border-top: 3px solid var(--rule-strong); position: sticky; top: 16px; }
@media (max-width: 880px) { .facts { position: static; } }
.facts h3 { margin: 10px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* Method, about */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 820px) { .cols3 { grid-template-columns: 1fr; gap: 20px; } }
.cols3 > div { border-top: 2px solid var(--rule-strong); padding-top: 12px; }
.cols3 h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.cols3 p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; border-top: 2px solid var(--rule-strong); padding-top: 10px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.steps h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 820px) { .cover { grid-template-columns: 1fr; gap: 24px; } }
.cover h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.cover ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--rule-strong); }
.cover li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.cover li.yes::before { content: "\2713"; color: var(--pos); font-weight: 600; }
.cover li.no::before { content: "\00D7"; color: var(--neg); font-weight: 600; }
.glossary { display: grid; grid-template-columns: 220px 1fr; border-top: 2px solid var(--rule-strong); margin: 0; }
.glossary dt, .glossary dd { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.glossary dt { font-weight: 600; padding-right: 16px; }
.glossary dd { color: var(--ink-2); }
@media (max-width: 640px) { .glossary { grid-template-columns: 1fr; } .glossary dt { border-bottom: 0; padding-bottom: 2px; } .glossary dd { padding-top: 0; } }
.loglist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule-strong); }
.loglist li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.founder { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 16px; font-size: 14px; color: var(--muted); }
.founder p { margin: 0; max-width: 70ch; }
.btn { display: inline-flex; align-items: center; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: var(--r); white-space: nowrap; }
:root[data-theme="dark"] .btn { background: var(--accent); color: #0e1216; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { background: var(--accent); color: #0e1216; } }
.loading { color: var(--muted); font-size: 14px; padding: 20px 0; }

/* Footer */
footer.foot { border-top: 3px double var(--rule-strong); margin-top: 40px; }
footer.foot .wrap { padding-block: 26px 36px; display: grid; gap: 12px; font-size: 13px; color: var(--muted); }
footer.foot .fname { font-family: var(--font-mast); font-size: 28px; color: var(--ink); line-height: 1; }
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot nav a { text-decoration: none; color: var(--ink-2); }
footer.foot nav a:hover { text-decoration: underline; }
footer.foot p { margin: 0; max-width: 90ch; }
