/* ==========================================================================
   Dictionary Genie — dictionarygenie.app
   Hand-written. No framework, no build step, no web fonts, no tracking.
   Palette and typography mirror the app design system (spec §6.4):
   Genie Indigo #4338CA (dark #818CF8), Lamp Gold #F59E0B,
   ink #111827 on paper #FAFAF7, dark surfaces #0F1117 / #1B1E2B.
   Headwords use the system serif (New York on Apple platforms), body SF Pro.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  /* Brand constants */
  --indigo:        #4338CA;
  --indigo-deep:   #3730A3;
  --indigo-light:  #818CF8;
  --gold:          #F59E0B;
  --gold-ink:      #8A5B00;

  /* Semantic — remapped wholesale for dark mode */
  --paper:         #FAFAF7;
  --paper-alt:     #F2F1EA;
  --surface:       #FFFFFF;
  --surface-sunk:  #F6F5EF;
  --rule:          #E3E1D6;
  --rule-strong:   #CFCCBD;

  --text:          #111827;
  --text-strong:   #0B1220;
  --text-body:     #374151;
  --text-muted:    #5C6472;

  --accent:        var(--indigo);
  --accent-hover:  var(--indigo-deep);
  --accent-wash:   #EDEEFC;
  --accent-edge:   #C9CBF4;
  --on-accent:     #FFFFFF;

  --spark:         var(--gold);
  --spark-ink:     var(--gold-ink);
  --spark-wash:    #FDF3E0;
  --spark-edge:    #EDD6A6;

  --shadow-soft: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 28px rgba(17, 24, 39, .055);
  --shadow-lift: 0 2px 6px rgba(17, 24, 39, .06), 0 22px 48px rgba(17, 24, 39, .10);
  --focus:       #4338CA;

  /* Type */
  --serif: ui-serif, "New York", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Metrics */
  --page:        1120px;
  --page-narrow: 720px;
  --gut:         clamp(20px, 5vw, 40px);
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #0F1117;
    --paper-alt:    #14161F;
    --surface:      #1B1E2B;
    --surface-sunk: #171A25;
    --rule:         #2B3040;
    --rule-strong:  #3D4358;

    --text:         #EDEEF5;
    --text-strong:  #FBFBFE;
    --text-body:    #C2C6D6;
    --text-muted:   #949AAF;

    --accent:       var(--indigo-light);
    --accent-hover: #A5B0FF;
    --accent-wash:  #1B2039;
    --accent-edge:  #333B63;
    --on-accent:    #0F1117;

    --spark-ink:    #F2B44B;
    --spark-wash:   #2A2113;
    --spark-edge:   #4A3A1B;

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .40), 0 10px 28px rgba(0, 0, 0, .34);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .45), 0 22px 48px rgba(0, 0, 0, .48);
    --focus:       #818CF8;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { 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: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--text);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.5rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }

p  { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin: 0 0 .42em; }
strong { color: var(--text); font-weight: 620; }

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 38%, transparent);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

code, kbd, .mono {
  font-family: var(--mono);
  font-size: .92em;
  font-variant-numeric: tabular-nums;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.6rem 0;
}

img, svg { max-width: 100%; }

::selection { background: var(--accent-wash); color: var(--text); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--page-narrow); }

.section { padding-block: clamp(3.2rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2.4rem, 4vw, 3.6rem); }

.band {
  background: var(--paper-alt);
  border-block: 1px solid var(--rule);
}

.band--ink {
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(129, 140, 248, .22), transparent 58%),
    linear-gradient(180deg, #241F6B 0%, #1B1856 55%, #171445 100%);
  border-block: 0;
  color: #D8DBF6;
}
.band--ink h2, .band--ink h3, .band--ink strong { color: #FFFFFF; }
.band--ink a { color: #C7CDFF; }
.band--ink a:hover { color: #FFFFFF; }
.band--ink .eyebrow { color: #F7C86B; }

/* --------------------------------------------------------------------------
   4. Small type utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--spark-ink);
  margin: 0 0 .85rem;
}

.lede {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 46ch;
  text-wrap: pretty;
}

.fineprint {
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.fineprint--last { margin-bottom: 0; }

.rule-gold {
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--spark);
  margin: 0 0 1.4rem;
}

/* --------------------------------------------------------------------------
   5. Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 62px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
  padding-block: .55rem;
}
.brand:hover { color: var(--text); }
.brand__mark {
  display: block;
  width: 30px; height: 30px;
  flex: none;
  color: var(--accent);   /* the book and wisp take this; the spark stays gold */
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 550;
  color: var(--text-muted);
  text-decoration: none;
}
.nav a:hover { color: var(--text); background: var(--surface-sunk); }
.nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--spark);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

/* --------------------------------------------------------------------------
   6. Buttons and the store badge
   -------------------------------------------------------------------------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin: 1.9rem 0 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 46px;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost {
  border-color: var(--rule-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 1.1rem .6rem .95rem;
  border-radius: 14px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.store-badge:hover { border-color: var(--accent); color: var(--text); }
.store-badge__mark { width: 24px; height: 24px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge__top {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 650;
}
.store-badge__main { font-size: 1rem; font-weight: 620; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(78% 62% at 88% -4%, var(--accent-wash), transparent 62%),
    radial-gradient(52% 44% at 2% 100%, var(--spark-wash), transparent 66%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 3.6rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; }
}

.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.trustline {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .95rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .86rem;
  color: var(--text-muted);
}
.trustline li { display: inline-flex; align-items: center; gap: .38rem; margin: 0; }
.trustline li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--spark);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Entry card (the pronunciation showcase)
   -------------------------------------------------------------------------- */

.entrycard {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  max-width: 470px;
  margin-inline: auto;
}

.entrycard__top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.entrycard__word {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.05;
  margin: 0;
}
.chip {
  display: inline-block;
  padding: .16rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--accent-edge);
  background: var(--accent-wash);
  color: var(--accent);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .04em;
  font-style: italic;
  font-family: var(--serif);
}
.chip--plain {
  border-color: var(--rule-strong);
  background: var(--surface-sunk);
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .68rem;
}

.pron {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(6.4rem, auto) 1fr;
  gap: .1rem 1rem;
  padding-top: 1rem;
}
.pron dt {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: center;
  padding-block: .48rem;
}
.pron dd {
  margin: 0;
  padding-block: .48rem;
  color: var(--text);
  font-size: 1.02rem;
}
.pron dd + dt, .pron dt ~ dt { border-top: 1px solid var(--rule); }
.pron .row-line { border-top: 1px solid var(--rule); }
.pron .ipa { font-family: var(--mono); font-size: .95rem; letter-spacing: .01em; }
.pron .respell {
  font-family: var(--sans);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: .005em;
}
.pron .respell .stress { color: var(--accent); }
.pron .syll { color: var(--text-muted); letter-spacing: .06em; }

.entrycard__foot {
  margin: 1.15rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.entrycard__foot svg { width: 15px; height: 15px; flex: none; color: var(--spark-ink); }

/* --------------------------------------------------------------------------
   9. Feature grid
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
@media (min-width: 660px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.grid--top { align-items: start; }

.feature {
  border-top: 2px solid var(--rule-strong);
  padding-top: 1.05rem;
}
.feature__num {
  display: block;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--spark-ink);
  margin-bottom: .5rem;
}
.feature h3 { margin-bottom: .38rem; }
.feature p { margin: 0; font-size: .96rem; color: var(--text-body); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--text-body); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   10. Privacy strip / claim list
   -------------------------------------------------------------------------- */

.claims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem 2rem;
  align-content: start;
  grid-auto-rows: min-content;
}
@media (min-width: 640px) { .claims { grid-template-columns: repeat(2, 1fr); } }
.claims li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0;
  font-size: .97rem;
}
.claims li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--spark);
  border-bottom: 2px solid var(--spark);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   11. Prose pages (privacy, terms, sources, support)
   -------------------------------------------------------------------------- */

.pagehead {
  padding-block: clamp(2.6rem, 5vw, 4rem) clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(60% 70% at 100% 0%, var(--accent-wash), transparent 60%);
}
.pagehead h1 { font-size: clamp(1.95rem, 1.4rem + 2.2vw, 2.9rem); max-width: 20ch; }
.pagehead .lede { max-width: 58ch; margin-bottom: 0; }
.pagehead__meta {
  margin: 1.25rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.4rem;
  list-style: none;
  padding: 0;
}
.pagehead__meta li { margin: 0; }

.prose { padding-block: clamp(2.2rem, 4vw, 3.4rem) clamp(3rem, 6vw, 4.5rem); }
.prose h2 {
  font-size: 1.42rem;
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.prose h2:first-of-type { margin-top: 1rem; }
.prose h3 { margin-top: 1.9rem; font-size: 1.1rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul li::marker { color: var(--spark); }

.callout {
  border: 1px solid var(--accent-edge);
  background: var(--accent-wash);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout h3 { margin-top: 0; }

.toc {
  border: 1px solid var(--rule);
  background: var(--surface-sunk);
  border-radius: var(--r);
  padding: 1.1rem 1.35rem;
  margin: 0 0 2.4rem;
}
.toc h2 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 0;
  margin: 0 0 .7rem;
  padding: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
  font-size: .93rem;
}
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
.toc li::marker { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Definition-style key/value table used in privacy and sources */
.deftable {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  font-size: .94rem;
}
.deftable caption {
  text-align: left;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  padding-bottom: .6rem;
}
.deftable th, .deftable td {
  text-align: left;
  vertical-align: top;
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--rule);
}
.deftable thead th {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--rule-strong);
  white-space: nowrap;
}
.deftable tbody th { font-weight: 600; color: var(--text); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   12. FAQ (details/summary — no JavaScript)
   -------------------------------------------------------------------------- */

.faq { margin: 0 0 2.6rem; }
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__item:first-of-type { border-top: 1px solid var(--rule); }
.faq__item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2.4rem 1.05rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 1.5rem;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq__item[open] > summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq__item > summary:hover { color: var(--accent); }
.faq__body { padding: 0 0 1.25rem; }
.faq__body > :last-child { margin-bottom: 0; }
.faq__body p, .faq__body li { font-size: .97rem; max-width: 68ch; }

/* --------------------------------------------------------------------------
   13. Source cards
   -------------------------------------------------------------------------- */

.srcgrid { display: grid; gap: 1.25rem; }
.srcgrid--inline { margin: 1.8rem 0 2.4rem; }
@media (min-width: 760px) { .srcgrid { grid-template-columns: repeat(2, 1fr); } }

.src {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--surface);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
.src h3 { margin: 0 0 .15rem; font-size: 1.08rem; }
.src__id {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: .7rem;
}
.src p { font-size: .93rem; margin-bottom: .8rem; }
.src p:last-child { margin-bottom: 0; }
.src__lic {
  display: inline-block;
  font-size: .78rem;
  font-weight: 650;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: var(--spark-wash);
  border: 1px solid var(--spark-edge);
  color: var(--spark-ink);
}

/* --------------------------------------------------------------------------
   14. Contact / interstitial pages
   -------------------------------------------------------------------------- */

.stack-center {
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.stack-center .lede { margin-inline: auto; }
.stack-center .btn-row { justify-content: center; }
.stack-center .rule-gold { margin-inline: auto; }
.stack-center--flush { padding-block: 0; }

.bigword {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.5rem + 5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.05;
  margin: .2rem 0 .9rem;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 3px solid var(--spark);
  background: var(--paper-alt);
  padding-block: clamp(2.4rem, 5vw, 3.4rem) 2rem;
  font-size: .9rem;
}
.site-footer__cols {
  display: grid;
  gap: 1.8rem 2.4rem;
  margin-bottom: 2.2rem;
}
@media (min-width: 700px) {
  .site-footer__cols { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 0 .8rem;
  border: 0;
  padding: 0;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--text-body); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .6rem;
}
.site-footer__brand svg { width: 26px; height: 26px; color: var(--accent); }
.site-footer__legal {
  border-top: 1px solid var(--rule);
  padding-top: 1.3rem;
  color: var(--text-muted);
  font-size: .82rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  justify-content: space-between;
}
.site-footer__legal p { margin: 0; max-width: 62ch; }

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer__cols, .skip-link, .btn-row, .toc { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .faq__body { display: block !important; }
  .pagehead { background: none; }
}
