/* site.css — shared design system for all 13 sites.
 *
 * Per-site colour is one line in each site's <head>:   :root{--brand:#1e40af;--accent:#0891b2}
 * Everything else is derived from those two with color-mix(). Named palettes: themes.css.
 * No web fonts — zero external requests.
 *
 * Layout note: pages are authored as plain documents (h1, p, ul of links). Rather than rewrite
 * markup across every site, structural styling is applied with :has() — link lists become card
 * grids, the opening h1+lede becomes a hero. Markup stays semantic and portable.
 */

:root {
  --brand: #1f6feb;
  --accent: var(--brand);

  --bg: #fdfdfc;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --sunken: #eceff4;
  --ink: #0f1319;
  --ink-2: #333c4a;
  --muted: #626c7d;
  --line: #e5e9ef;
  --line-strong: #cdd5e0;

  --ok: #0f7b46;
  --warn: #8a4b00;
  --warn-bg: #fff5e8;

  --brand-ink: color-mix(in srgb, var(--brand) 84%, #000 16%);
  --brand-soft: color-mix(in srgb, var(--brand) 7%, var(--bg));
  --brand-line: color-mix(in srgb, var(--brand) 24%, var(--line));
  --on-brand: #fff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 28px -12px rgba(15, 23, 42, .16);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 28px 56px -20px rgba(15, 23, 42, .26);
  --ring: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);

  /* Editorial serif display + neutral sans text. Both are system faces — nothing to download. */
  --font-display: ui-serif, "Iowan Old Style", Charter, "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 72rem;
  --measure: 40rem;
}

/* Dark tokens apply when the OS asks for dark AND the visitor hasn't forced light, or when they've
   explicitly chosen dark. The toggle writes data-theme onto <html>; with no choice stored the OS wins. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e13;
    --surface: #141821;
    --soft: #161b24;
    --sunken: #1c222c;
    --ink: #f2f5f9;
    --ink-2: #c6cedb;
    --muted: #8f99ab;
    --line: #232a36;
    --line-strong: #333c4b;
    --warn: #fbbf24;
    --warn-bg: #2a2010;
    --brand-ink: color-mix(in srgb, var(--brand) 68%, #fff 32%);
    --brand-soft: color-mix(in srgb, var(--brand) 13%, var(--bg));
    --brand-line: color-mix(in srgb, var(--brand) 32%, var(--line));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 28px 56px -20px rgba(0, 0, 0, .8);
  }
}
/* Explicit choice — same tokens, applied regardless of OS preference. */
:root[data-theme="dark"] {
  --bg: #0b0e13;
  --surface: #141821;
  --soft: #161b24;
  --sunken: #1c222c;
  --ink: #f2f5f9;
  --ink-2: #c6cedb;
  --muted: #8f99ab;
  --line: #232a36;
  --line-strong: #333c4b;
  --warn: #fbbf24;
  --warn-bg: #2a2010;
  --brand-ink: color-mix(in srgb, var(--brand) 68%, #fff 32%);
  --brand-soft: color-mix(in srgb, var(--brand) 13%, var(--bg));
  --brand-line: color-mix(in srgb, var(--brand) 32%, var(--line));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 28px 56px -20px rgba(0, 0, 0, .8);
}

/* ============================ base ============================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font: 400 1.0625rem/1.72 var(--font);
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--brand); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 5px; }
::selection { background: color-mix(in srgb, var(--brand) 20%, transparent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2.5rem); }
main { padding: 0 0 5rem; }
/* Body copy keeps a readable measure; structural blocks span the full column. */
main .wrap > * { max-width: var(--measure); }
main .wrap > #calculator,
main .wrap > table,
main .wrap > .calc-table-wrap,
main .wrap > ul:has(> li > a > strong),
main .wrap > .faq,
main .wrap > .disclaimer { max-width: none; }

/* ============================ type ============================ */
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -.028em;
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -.02em;
  margin: 3.75rem 0 1rem; position: relative;
}
/* accent rule above each section heading */
main h2::before {
  content: ""; display: block; width: 2.25rem; height: 2px; margin-bottom: 1.15rem;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent) 60%, var(--brand)));
  border-radius: 2px;
}
h3 { font-size: 1.2rem; font-weight: 660; letter-spacing: -.012em; margin: 2.25rem 0 .6rem; font-family: var(--font); }
p { margin: 0 0 1.15rem; }
strong { font-weight: 640; color: var(--ink); }
main ul, main ol { padding-left: 1.25rem; margin: 0 0 1.15rem; }
main li { margin-bottom: .45rem; }
main li::marker { color: color-mix(in srgb, var(--brand) 70%, var(--muted)); }

/* ---- hero: the opening h1 + lede on every page ---- */
main > .wrap > h1:first-child,
main > .wrap > .breadcrumb + h1 { margin-top: 0; }
main > .wrap { position: relative; }
main > .wrap::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 27rem; z-index: -1;
  background:
    radial-gradient(60rem 22rem at 12% -6rem, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
    radial-gradient(44rem 20rem at 92% -9rem, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%);
  pointer-events: none;
}
main .wrap > h1 { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
main .wrap > .breadcrumb + h1 { padding-top: .25rem; }

.answer {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.05rem + .55vw, 1.45rem);
  line-height: 1.55; font-weight: 400;
  color: var(--ink-2);
  border-left: 2px solid var(--brand);
  padding: .1rem 0 .1rem 1.35rem;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.answer strong { color: var(--ink); font-weight: 620; }

.updated {
  color: var(--muted); font-size: .8rem; margin: 0 0 2.5rem;
  text-transform: uppercase; letter-spacing: .07em; font-weight: 560;
}
.updated a { color: var(--muted); }
.breadcrumb { font-size: .8rem; color: var(--muted); padding-top: 2rem; margin: 0 0 1.5rem; letter-spacing: .02em; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ============================ header ============================ */
header.site {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.7) blur(14px);
  -webkit-backdrop-filter: saturate(1.7) blur(14px);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; flex-wrap: wrap; }
.logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: -.022em;
  text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .6rem;
}
/* Placeholder mark, used until a site has real brand artwork. */
.logo::before {
  content: ""; width: 1.55rem; height: 1.55rem; border-radius: 7px; flex: none;
  background: linear-gradient(145deg, var(--brand), color-mix(in srgb, var(--accent) 75%, var(--brand)));
  box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--brand) 55%, transparent);
}
/* Real artwork present — drop the placeholder. */
.logo:has(.logo-mark)::before { display: none; }
.logo-mark { display: inline-flex; line-height: 0; flex: none; }
.logo-mark svg {
  width: 1.75rem; height: 1.75rem; display: block; border-radius: 7px;
  box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--brand) 55%, transparent);
}
nav.site { display: flex; flex-wrap: wrap; gap: .2rem; }
nav.site a {
  text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 540;
  padding: .5rem .8rem; border-radius: 8px; transition: background .15s, color .15s;
}
nav.site a:hover { color: var(--ink); background: var(--soft); }

/* ---- theme toggle ---- */
.theme-toggle {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: .4rem .5rem; cursor: pointer; line-height: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--brand); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; display: block; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* ---- hero artwork ---- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  max-width: none !important; margin-bottom: 1rem;
}
.hero > div { min-width: 0; }
.hero h1, .hero .answer, .hero .updated { max-width: none; }
.hero-art { margin: 0; min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
@media (max-width: 54rem) {
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-art { order: -1; max-width: 22rem; }
}

/* Artwork inherits the site's brand: strokes/fills use currentColor or the brand vars. */
.art-brand { color: var(--brand); }
.art-accent { color: color-mix(in srgb, var(--accent) 78%, var(--brand)); }
.art-line { stroke: var(--line-strong); }
.art-surface { fill: var(--surface); }
.art-soft { fill: var(--soft); }
.art-ink { fill: var(--ink); }

/* ---- card icons ---- */
.card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 10px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.card-icon svg { width: 1.3rem; height: 1.3rem; }

/* ---- inline figures in body copy ---- */
figure.inline-art {
  margin: 2rem 0; padding: 1.5rem; background: var(--soft);
  border: 1px solid var(--line); border-radius: var(--radius); max-width: none;
}
figure.inline-art svg { width: 100%; height: auto; display: block; }
figure.inline-art figcaption { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* ============ link lists become a card grid (no markup change) ============ */
main ul:has(> li > a > strong) {
  list-style: none; padding: 0; margin: 1.5rem 0 1rem;
  display: grid; gap: 1rem;
  /* min() keeps the track from forcing a floor wider than the column itself — a bare
     minmax(19rem,1fr) overflows a 320px viewport once wrap padding is taken off. */
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}
main ul:has(> li > a > strong) > li {
  margin: 0; padding: 1.5rem 1.6rem 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--muted); font-size: .94rem; line-height: 1.6;
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
main ul:has(> li > a > strong) > li::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent) 65%, var(--brand)));
  transition: transform .25s ease;
}
main ul:has(> li > a > strong) > li:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-line);
}
main ul:has(> li > a > strong) > li:hover::after { transform: scaleX(1); }
main ul:has(> li > a > strong) > li::marker { content: none; }
main ul:has(> li > a > strong) > li > a {
  text-decoration: none; display: block; margin-bottom: .55rem;
}
main ul:has(> li > a > strong) > li > a > strong {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600;
  letter-spacing: -.018em; color: var(--ink); line-height: 1.25;
  display: inline-flex; align-items: baseline; gap: .4rem;
}
main ul:has(> li > a > strong) > li > a > strong::after {
  content: "→"; font-family: var(--font); font-size: .95rem; color: var(--brand);
  transition: transform .2s ease; display: inline-block;
}
main ul:has(> li > a > strong) > li:hover > a > strong::after { transform: translateX(3px); }
main ul:has(> li > a > strong) > li > br { display: none; }

/* ============================ calculator ============================ */
#calculator {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2.1rem);
  margin: 2rem 0 2.5rem;
  background: var(--surface); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
#calculator::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent) 65%, var(--brand)));
}
.calc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.1rem 1.25rem; }
.calc-field label, .calc-label, legend {
  display: block; font-weight: 600; font-size: .76rem; margin-bottom: .45rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.calc-input {
  display: flex; align-items: stretch; background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.calc-input:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.calc-input .affix { padding: 0 .75rem; display: flex; align-items: center; background: var(--sunken); color: var(--muted); font-size: .9rem; font-weight: 560; }
.calc-input input, .calc-field select, .calc-row input {
  width: 100%; border: 0; padding: .75rem .85rem; font: inherit;
  background: transparent; color: var(--ink); min-height: 3rem;
}
.calc-input input:focus, .calc-field select:focus { outline: none; }
.calc-field select, .calc-row input {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.calc-field select:focus-visible, .calc-row input:focus-visible { border-color: var(--brand); box-shadow: var(--ring); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-radio, .calc-check { display: flex; align-items: center; gap: .55rem; font-weight: 400; min-height: 2rem; text-transform: none; letter-spacing: 0; }
.calc-radio input, .calc-check input { accent-color: var(--brand); width: 1.05rem; height: 1.05rem; }
.calc-help { color: var(--muted); font-size: .82rem; margin: .4rem 0 0; }
.calc-repeater, .calc-field.calc-repeater { grid-column: 1 / -1; }
.calc-row { display: flex; gap: .5rem; margin-bottom: .5rem; }
.calc-row input { flex: 1; min-width: 0; }

.calc-add, .calc-remove, .calc-actions button {
  font: inherit; font-weight: 580; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); border-radius: var(--radius-sm);
  padding: .65rem 1rem; cursor: pointer; min-height: 2.75rem;
  transition: background .15s, border-color .15s, transform .08s;
}
.calc-add:hover, .calc-remove:hover, .calc-actions button:hover { background: var(--soft); border-color: var(--brand); }
.calc-add:active, .calc-actions button:active { transform: translateY(1px); }
.calc-remove { width: 2.75rem; padding: 0; }

.calc-result { margin-top: 1.9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.calc-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(11.5rem, 100%), 1fr)); gap: .85rem; }
.calc-stat { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.calc-stat .k { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .075em; margin-bottom: .45rem; }
.calc-stat .v {
  display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem);
  font-weight: 600; letter-spacing: -.028em; font-variant-numeric: tabular-nums; line-height: 1.08; color: var(--ink);
}
.calc-stat.strong {
  background: linear-gradient(150deg, var(--brand), color-mix(in srgb, var(--brand) 62%, #000 20%));
  border-color: transparent; box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--brand) 65%, transparent);
}
.calc-stat.strong .k { color: rgba(255, 255, 255, .78); }
.calc-stat.strong .v { color: #fff; }

.calc-table-wrap { overflow-x: auto; margin-top: 1.25rem; }
.calc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.calc-table th, .calc-table td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.calc-table th { font-weight: 600; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.calc-table td { text-align: right; }
.calc-table tbody tr:hover { background: var(--soft); }
.calc-table tr.total th, .calc-table tr.total td { font-weight: 700; border-top: 2px solid var(--line-strong); border-bottom: 0; }

.calc-notes { color: var(--muted); font-size: .86rem; padding-left: 1.1rem; margin-top: 1.1rem; }
.calc-warn {
  background: var(--warn-bg); color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 26%, transparent);
  border-radius: var(--radius-sm); padding: .85rem 1.1rem; margin-bottom: 1rem; font-size: .92rem;
}
.calc-warn p { margin: .2rem 0; }
.calc-actions { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ============================ content ============================ */
/* display:block makes the table its own scroll container — authors write bare <table>, so this has
   to work without a wrapper. Column alignment survives via the anonymous table box. */
table, table.data {
  display: block; width: 100%; max-width: 100%; overflow-x: auto;
  border-collapse: separate; border-spacing: 0;
  margin: 1.6rem 0; font-size: .93rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch; background: var(--surface);
}
table th, table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table thead th {
  background: var(--soft); font-weight: 600; font-size: .74rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .07em; white-space: nowrap;
}
table tbody tr:last-child td { border-bottom: 0; }
table tbody tr:hover { background: color-mix(in srgb, var(--brand) 3.5%, transparent); }
table td:not(:first-child) { font-variant-numeric: tabular-nums; }
table td:first-child { color: var(--ink); font-weight: 500; }

.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; margin-bottom: .65rem; background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.faq details:hover { border-color: var(--brand-line); }
.faq details[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 620; cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; font-weight: 300; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { margin-top: .8rem; }

.sources { font-size: .92rem; color: var(--muted); }
.sources a { color: var(--muted); }
.sources a:hover { color: var(--brand); }

.disclaimer {
  font-size: .86rem; color: var(--muted); background: var(--soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-top: 3rem; padding: 1.1rem 1.35rem; max-width: none;
}
.ad-slot { min-height: 0; }   /* reserve height once AdSense is live, to avoid CLS */

/* ============================ footer ============================ */
footer.site {
  border-top: 1px solid var(--line); background: var(--soft);
  padding: 3.5rem 0 2.5rem; color: var(--muted); font-size: .88rem; margin-top: 5rem;
}
/* footer lockup: same mark as the header, paired with the site name */
.footer-brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; margin: 0 0 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -.022em; color: var(--ink);
}
.footer-brand:hover { color: var(--brand); }
.footer-brand .logo-mark svg { width: 1.9rem; height: 1.9rem; }

footer.site .wrap > p { margin: 0 0 1rem; max-width: none; }
footer.site .wrap > p:first-child {
  display: flex; flex-wrap: wrap; gap: .3rem 1.6rem;
  padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
footer.site .wrap > p:first-child a { font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin: 0; }
footer.site a { color: var(--ink-2); margin-right: 1.2rem; text-decoration: none; font-weight: 520; }
footer.site a:hover { color: var(--brand); text-decoration: underline; }

/* ============================ print ============================ */
@media print {
  header.site, nav.site, footer.site, .calc-actions, .ad-slot, .calc-form, .breadcrumb { display: none !important; }
  main > .wrap::before { display: none; }
  #calculator { border: 0; padding: 0; box-shadow: none; }
  #calculator::before { display: none; }
  .calc-stat.strong { background: #fff !important; border: 1px solid #000; box-shadow: none; }
  .calc-stat.strong .k, .calc-stat.strong .v { color: #000 !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; }
  table { border-color: #999; }
}
