/* Fontes auto-hospedadas (OFL). Geradas por fetch_fonts.py */
/* Atkinson Hyperlegible italic 400 (latin) */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-italic-400-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;
}

/* Atkinson Hyperlegible italic 700 (latin) */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-italic-700-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;
}

/* Atkinson Hyperlegible normal 400 (latin) */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-normal-400-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;
}

/* Atkinson Hyperlegible normal 700 (latin) */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-normal-700-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;
}

/* Fraunces italic 400-700 (latin) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic-400-700-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;
}

/* Fraunces normal 400-700 (latin) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-normal-400-700-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;
}

/* ==========================================================================
   Daily Root — site stylesheet
   Palette "Almanac": warm paper, root brown, clay, olive, ochre, dusk.
   Type: Fraunces (headings) + Atkinson Hyperlegible (body, 19px base).
   No frameworks. Mobile-first. High contrast. Large touch targets.
   ========================================================================== */

:root {
  --paper: #FAF6EE;
  --paper-2: #F2ECDF;
  --paper-3: #E9E0CD;
  --ink: #1C1A17;
  --ink-2: #4B463F;
  --ink-3: #66605A;
  --root: #5E3A2E;
  --root-deep: #46291F;
  --clay: #A34A2D;
  --clay-deep: #8A3C22;
  --olive: #4F6B3A;
  --olive-deep: #3E5530;
  --ochre: #C9922E;
  --dusk: #3A4A6B;
  --line: #DCD3C3;
  --line-strong: #C9BEA9;
  --focus: #2B5DA8;
  --white: #FFFFFF;

  --font-head: "Fraunces", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-body: 1.1875rem;   /* 19px */
  --lh-body: 1.65;
  --measure: 42rem;       /* ~68 characters at 19px */
  --container: 72rem;     /* 1152px */
  --radius: 12px;
  --radius-sm: 8px;
  --gutter: 1rem;
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.06), 0 8px 24px rgba(28, 26, 23, 0.06);
}

/* Text-size control (stored in localStorage by site.js) */
html { font-size: 100%; }
html.text-lg { font-size: 112.5%; }
html.text-xl { font-size: 125%; }

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--clay-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
a:hover { color: var(--root-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--root-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.1rem, 2.6vw + 1.3rem, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.05rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.3rem, 0.6vw + 1.1rem, 1.5rem); margin-top: 1.4em; }
h4 { font-size: 1.15rem; margin-top: 1.2em; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.3em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--clay); }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--ochre);
  font-family: var(--font-head);
  font-size: 1.22em;
  line-height: 1.45;
  color: var(--root-deep);
}
blockquote p { margin-bottom: 0.4em; }
code { font-family: Consolas, "Courier New", monospace; font-size: 0.92em; }
table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; font-size: 0.98em; }
th, td { text-align: left; padding: 0.7em 0.8em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--root-deep); background: var(--paper-2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--root); color: var(--paper);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 40em) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 64em) {
  :root { --gutter: 2rem; }
}
.measure { max-width: var(--measure); }
.center { margin-left: auto; margin-right: auto; }
.section { padding: 3rem 0; }
.section--tint { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 1.5rem; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 700; white-space: nowrap; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 0.7rem;
}
.lede {
  font-size: 1.22em;
  line-height: 1.55;
  color: var(--ink-2);
}

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64em) { .grid--5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 40em) and (max-width: 63.99em) { .grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--root);
  background: var(--root);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--root-deep); border-color: var(--root-deep); color: var(--paper); }
.btn--secondary { background: transparent; color: var(--root-deep); }
.btn--secondary:hover { background: var(--paper-3); color: var(--root-deep); }
.btn--clay { background: var(--clay); border-color: var(--clay); }
.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--root-deep); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--root-deep); }
.btn--ghost-light { background: transparent; border-color: rgba(250, 246, 238, 0.7); color: var(--paper); }
.btn--ghost-light:hover { background: rgba(250, 246, 238, 0.12); color: var(--paper); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--root-deep);
}
.brand img { width: 2.6rem; height: 2.6rem; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variation-settings: "opsz" 72;
}
.brand-tag {
  display: none;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin-left: 0.4rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-strong);
}
@media (min-width: 64em) { .brand-tag { display: inline; } }

.header-tools { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  color: var(--root-deep);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.icon-btn:hover { background: var(--paper-2); border-color: var(--root); }
.text-size-btn .aa { font-family: var(--font-head); font-size: 1.15rem; line-height: 1; }
.menu-btn { display: inline-flex; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.site-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  color: var(--root-deep);
  border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--clay-deep); box-shadow: inset 0 -3px 0 var(--clay); border-radius: 0; }
.site-nav { padding-bottom: 0.8rem; }
html.js .site-nav[hidden] { display: none; }

@media (min-width: 56em) {
  .menu-btn { display: none; }
  .site-nav { padding: 0; }
  html.js .site-nav[hidden] { display: block; }
  .masthead { padding: 1rem 0; }
  .header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .site-nav ul { flex-direction: row; gap: 0.2rem; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 3.2rem;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }
.hero h1 { font-size: clamp(2.4rem, 3.4vw + 1.4rem, 3.9rem); margin-bottom: 0.4em; }
.hero .lede { max-width: 36rem; }
.hero-art { max-width: 30rem; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media { aspect-ratio: 16 / 9; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0.3rem 0 0.5rem; font-size: 1.36rem; }
.card-body h3 a { color: var(--root-deep); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { color: var(--ink-2); margin-bottom: 0.8rem; font-size: 1.02rem; }
.card-meta { margin-top: auto; font-size: 0.94rem; color: var(--ink-3); }
.topic-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-deep);
  text-decoration: none;
}
.topic-pill:hover { text-decoration: underline; }

.card--feature { }
@media (min-width: 56em) {
  .card--feature { flex-direction: row; }
  .card--feature .card-media { flex: 0 0 52%; aspect-ratio: auto; }
  .card--feature .card-body { padding: 2rem; justify-content: center; }
  .card--feature .card-body h3 { font-size: 1.9rem; }
  .card--feature .card-body p { font-size: 1.12rem; }
}

/* Topic tiles */
.topic-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  min-height: 100%;
  box-shadow: var(--shadow);
}
.topic-tile:hover { border-color: var(--root); }
.topic-tile img { width: 3.4rem; height: 3.4rem; }
.topic-tile h3 { margin: 0.2rem 0 0; font-size: 1.3rem; }
.topic-tile p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.topic-tile .count { font-size: 0.9rem; color: var(--ink-3); margin-top: auto; }

/* List of articles (compact rows) */
.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { border-top: 1px solid var(--line); padding: 1.3rem 0; margin: 0; }
.article-list li:last-child { border-bottom: 1px solid var(--line); }
.row { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 40em) { .row { grid-template-columns: 11rem 1fr; gap: 1.4rem; } }
.row img { border-radius: var(--radius-sm); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.row h3 { margin: 0.2rem 0 0.4rem; font-size: 1.4rem; }
.row h3 a { color: var(--root-deep); text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row p { margin-bottom: 0.5rem; color: var(--ink-2); }
.row .card-meta { margin-top: 0; }

/* --------------------------------------------------------------------------
   Trust block
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 1.2rem; }
@media (min-width: 40em) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 1.3rem 1.3rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.pillar h3 { margin: 0 0 0.4rem; font-size: 1.22rem; }
.pillar p { margin: 0 0 0.6rem; color: var(--ink-2); font-size: 1rem; }
.pillar a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--root);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
}
@media (min-width: 56em) { .newsletter { padding: 2.6rem 2.8rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; } }
.newsletter h2 { color: var(--paper); margin-top: 0; }
.newsletter p { color: rgba(250, 246, 238, 0.9); }
.newsletter a { color: var(--paper); }
.nl-form { display: flex; flex-direction: column; gap: 0.8rem; }
.nl-form label { font-weight: 700; }
.nl-form input[type="email"] {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--paper-3);
  border-radius: var(--radius-sm);
}
.nl-form .btn { width: 100%; }
.nl-note { font-size: 0.92rem; margin: 0.2rem 0 0; color: rgba(250, 246, 238, 0.85); }
.newsletter--page { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.newsletter--page h2 { color: var(--root-deep); }
.newsletter--page p, .newsletter--page .nl-note { color: var(--ink-2); }
.newsletter--page a { color: var(--clay-deep); }
.newsletter--page .nl-form input[type="email"] { border-color: var(--line-strong); }

/* --------------------------------------------------------------------------
   Page & article layouts
   -------------------------------------------------------------------------- */
.page-header { padding: 2.6rem 0 1.4rem; }
.page-header h1 { margin-bottom: 0.35em; }
.page-header .lede { margin-bottom: 0; }
.page-body { padding-bottom: 3.5rem; }
.page-body h2:first-child { margin-top: 0; }
.updated { font-size: 0.95rem; color: var(--ink-3); margin: 0 0 1.5rem; }

.breadcrumb { font-size: 0.95rem; color: var(--ink-3); margin: 1.4rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 0.35rem; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-2); }

.article-header { padding: 1.4rem 0 1.2rem; }
.article-header h1 { margin: 0.5rem 0 0.6rem; }
.article-header .dek { font-size: 1.28em; line-height: 1.5; color: var(--ink-2); margin-bottom: 1.2rem; }
.byline { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.98rem; color: var(--ink-3); margin: 0; }
.byline strong { color: var(--ink-2); font-weight: 700; }
.hero-figure { margin: 1.2rem 0 2rem; }
.hero-figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.hero-figure figcaption { font-size: 0.92rem; color: var(--ink-3); margin-top: 0.6rem; }

.key-points {
  background: var(--paper-2);
  border-left: 5px solid var(--clay);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem 0.8rem;
  margin: 0 0 2rem;
}
.key-points h2 { font-size: 1.15rem; margin: 0 0 0.6rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--clay-deep); }
.key-points ul { margin-bottom: 0.4rem; }

.article-body { font-size: 1.04em; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body p, .article-body li { max-width: 100%; }
.article-body img { border-radius: var(--radius-sm); }
.note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
  font-size: 0.98em;
}
.note strong { color: var(--root-deep); }

.sources { margin-top: 3rem; padding-top: 1.6rem; border-top: 2px solid var(--line-strong); }
.sources h2 { margin-top: 0; font-size: 1.5rem; }
.sources p { color: var(--ink-2); font-size: 0.98em; }
.sources ul { padding-left: 1.2em; }
.sources li { margin-bottom: 0.6em; overflow-wrap: anywhere; }

.article-footer { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.98em; color: var(--ink-2); }
.article-footer p { margin-bottom: 0.7em; }

.related { padding: 2.5rem 0 3rem; }

/* Legal & long-form static pages */
.legal .page-body h2 { font-size: 1.55rem; }
.legal .page-body h3 { font-size: 1.22rem; }
.toc {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin: 0 0 2rem;
}
.toc h2 { font-size: 1.05rem; margin: 0 0 0.5rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
@media (min-width: 40em) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { break-inside: avoid; margin-bottom: 0.3em; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin: 1.5rem 0;
}
.contact-card h2 { margin-top: 0; font-size: 1.35rem; }
.contact-card address { font-style: normal; line-height: 1.6; }
.contact-card .big-link { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { padding-left: 1.8em; position: relative; margin-bottom: 0.8em; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 0.9em; height: 0.9em; border-radius: 50%;
  background: var(--olive);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 3rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: 1rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 40em) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; } }
.site-footer h2 { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.55rem; }
.site-footer a { color: var(--root-deep); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand .brand { margin-bottom: 0.8rem; }
.footer-brand p { color: var(--ink-2); margin-bottom: 0.8rem; }
.footer-brand address { font-style: normal; color: var(--ink-2); line-height: 1.55; }
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   Cookie notice (non-modal)
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 50;
  background: var(--root-deep);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(28, 26, 23, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 46rem;
  margin: 0 auto;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.cookie-bar a { color: var(--paper); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 2.8rem; padding: 0.5rem 1.2rem; font-size: 1rem; }
@media (min-width: 40em) {
  .cookie-bar { flex-direction: row; align-items: center; left: 1.5rem; right: 1.5rem; }
  .cookie-actions { flex-shrink: 0; }
}

/* --------------------------------------------------------------------------
   404 / thank-you
   -------------------------------------------------------------------------- */
.simple-page { padding: 4rem 0 5rem; text-align: center; }
.simple-page h1 { margin-bottom: 0.4em; }
.simple-page .lede { margin: 0 auto 1.6rem; max-width: 34rem; }
.simple-page .btn-row { justify-content: center; }
.simple-page img { margin: 0 auto 1.5rem; width: 9rem; }

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie-bar, .newsletter, .related, .skip-link, .header-tools { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .hero-figure img { max-width: 60%; }
}
