@font-face {
  font-family: "Libre Baskerville";
  src: url("../assets/fonts/libre-baskerville-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../assets/fonts/libre-baskerville-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../assets/fonts/libre-baskerville-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../assets/fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../assets/fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #17241f;
  --pine-soft: #24362e;
  --linen: #f4efe6;
  --paper: #fbf7f1;
  --ink: #1c1915;
  --muted: #4a433c;
  --sand: #f0d2b0;
  --clay: #8a4630;
  --line: #ddd4c6;
  --header: 4.25rem;
  --article: 42rem;
  --hero-media: 64rem;
}

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

html { font-size: 112.5%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

a { color: var(--clay); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--sand);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 5;
}
.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.75rem 1.25rem;
  background: var(--pine);
  color: var(--linen);
  border-bottom: 1px solid #3a4d44;
}

.wordmark {
  color: var(--linen);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.wordmark:hover { color: var(--sand); }

.ad-pill {
  margin: 0;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
}

.hero {
  background: var(--pine);
  color: #f6f1e6;
  padding: 1.75rem 1rem 2.5rem;
}

.hero-inner, .article, .cta-wrap, .site-footer .footer-inner {
  width: min(100% - 2rem, var(--article));
  margin-inline: auto;
}

.hero-inner { width: min(100% - 2rem, var(--hero-media)); }

.hero-meta, .commercial {
  margin: 0;
  color: #e6ddd0;
  font-size: 0.95rem;
}

.hero-meta { letter-spacing: 0.04em; }

h1 {
  margin: 0.7rem 0 0.8rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.18;
  color: var(--ink);
}

.hero h1 {
  max-width: 18ch;
  color: #f6f1e6;
}

.page-hero h1 { color: #f6f1e6; }

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
}

.deck {
  max-width: 38rem;
  margin: 0 0 1rem;
  color: #f6f1e6;
  font-size: 1.08rem;
}

.commercial {
  max-width: 40rem;
  margin-bottom: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid #3a4d44;
}

.hero figure, .article figure { margin: 0; }

.hero img, .article img, .article .diagram {
  display: block;
  width: 100%;
  border-radius: 2px;
}

.article {
  padding: 1.75rem 0 2.5rem;
}

.disclosure {
  margin: 0 0 1.5rem;
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 3px solid var(--clay);
  color: var(--ink);
  background: var(--linen);
}

.article p { margin: 0 0 1rem; }

h2 {
  margin: 2.1rem 0 0.8rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

figure { margin: 1.4rem 0 1.6rem; }

figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0;
  border: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--pine);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.4rem;
  margin: 1.2rem 0 0.4rem;
  padding: 0;
  list-style: none;
}

.features li {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ink);
}

.features svg {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.45rem;
  stroke: var(--clay);
  fill: none;
  stroke-width: 1.6;
}

.features h3 {
  margin: 0 0 0.25rem;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.3;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-wrap { padding-bottom: 2.5rem; }

.cta-card {
  background: var(--pine);
  color: #f6f1e6;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 2px;
}

.cta-kicker {
  margin: 0 0 0.4rem;
  color: var(--sand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cta-card h2 {
  margin: 0 0 0.6rem;
  color: #f6f1e6;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.cta-card p { margin: 0 0 0.8rem; color: #f6f1e6; }

.offer-url {
  margin: 0 0 1rem;
  padding: 0.7rem 0.75rem;
  background: var(--pine-soft);
  color: var(--sand);
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.cta-button {
  display: inline-block;
  margin: 0.2rem 0 1rem;
  padding: 0.9rem 1.3rem;
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.cta-button:hover { background: #f7e4d0; color: var(--ink); }

.cta-note { color: #e6ddd0; font-size: 0.95rem; }

.site-footer {
  background: var(--pine);
  color: #f3ece2;
  padding: 2.2rem 0 2.6rem;
}

.site-footer a { color: var(--sand); }
.site-footer h2 {
  margin: 1.3rem 0 0.35rem;
  color: #f6f1e6;
  font-size: 1.05rem;
}
.site-footer p, .site-footer address { margin: 0 0 0.7rem; font-style: normal; }
.site-footer .fine { color: #e6ddd0; font-size: 0.95rem; }

.legal-list { padding-left: 1.1rem; }
.legal-list li { margin: 0.25rem 0; }

.page-hero {
  background: var(--pine);
  color: #f6f1e6;
  padding: 2rem 1rem 1.6rem;
}
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

@media (max-width: 800px) {
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 106.25%; }
  .hero-inner, .article, .cta-wrap, .site-footer .footer-inner {
    width: min(100% - 2rem, var(--article));
  }
  .features { grid-template-columns: 1fr; }
  .site-header { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
