:root {
  --paper: #f7f8f2;
  --white: #ffffff;
  --ink: #121611;
  --soft-ink: #30382f;
  --muted: #667061;
  --line: #d9dfd0;
  --stone: #e8eee2;
  --mist: #edf4e7;
  --moss: #264d35;
  --ivy: #10291b;
  --accent: #8a5138;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  background-image: linear-gradient(rgba(18, 22, 17, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 22, 17, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border: 1px solid var(--ivy);
  background: var(--white);
  color: var(--ivy);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 32px 0;
  background: rgba(247, 248, 242, 0.96);
  border-bottom: 1px solid var(--line);
  text-align: center;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.brand-deck {
  margin: 8px auto 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 750;
}

.site-nav a,
.footer-links a,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-nav a {
  padding: 0 2px;
}

.site-nav a.is-active {
  color: var(--moss);
  box-shadow: inset 0 -2px 0 var(--moss);
}

a[href] {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--moss);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 0 64px 58px;
  background: var(--ink);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 14, 0.42);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ece3c8;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: 78px;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: 40px;
}

h3 {
  margin: 0;
  font-size: 24px;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p,
.cta-band p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-copy p:not(.eyebrow) {
  color: #f4f0e6;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(16, 41, 27, 0.38);
  color: #f7f8f2;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-proof strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--moss);
  border-radius: 4px;
  background: var(--moss);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--ivy);
  background: var(--ivy);
}

.text-link {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.button:active,
.shop-link:active,
.brief-product:active {
  transform: translateY(1px);
}

.affiliate-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}

.affiliate-pick span {
  color: var(--soft-ink);
}

.shop-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--moss);
  border-radius: 4px;
  background: var(--white);
  color: var(--moss);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.shop-link:hover {
  background: var(--moss);
  color: var(--white);
}

.sourcebook-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.sourcebook-nav a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.sourcebook-nav a:last-child {
  border-right: 0;
}

.sourcebook-nav a:hover {
  color: var(--moss);
  background: var(--mist);
}

.fast-answer {
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 32px 0;
}

.fast-answer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: 40px;
  align-items: end;
  padding: 22px 0 18px;
  border-top: 1px solid var(--line);
}

.fast-answer-heading h2 {
  max-width: 640px;
  font-size: 38px;
}

.fast-answer-heading > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

.fast-answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fast-answer-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.fast-answer-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.fast-answer-card span {
  color: var(--moss);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fast-answer-card strong {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.08;
}

.fast-answer-card em {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.home-finder {
  max-width: 1260px;
  margin: 0 auto;
  padding: 68px 32px;
  scroll-margin-top: 150px;
}

.finder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.finder-heading > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.problem-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.problem-card > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.problem-card > strong {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
}

.problem-card > em {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.problem-card > b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--moss);
  font-size: 13px;
}

.problem-card > b::after {
  content: " →";
}

.home-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  max-width: 1260px;
  margin: 0 auto 68px;
  background: var(--ivy);
  color: var(--white);
  overflow: hidden;
}

.home-spotlight figure {
  min-height: 500px;
  margin: 0;
}

.home-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-copy {
  align-self: center;
  padding: 48px;
}

.spotlight-copy h2 {
  font-size: 48px;
}

.spotlight-copy > p:not(.eyebrow),
.spotlight-copy li {
  color: #dce6d9;
  font-family: var(--serif);
  font-size: 17px;
}

.spotlight-copy ul {
  margin: 24px 0 28px;
  padding-left: 20px;
}

.spotlight-copy .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--ivy);
}

.editorial-rule {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 42px;
  align-items: stretch;
  padding: 48px 64px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.rule-main {
  max-width: 520px;
}

.rule-list {
  display: grid;
  border-left: 1px solid var(--line);
}

.rule-list p {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
}

.rule-list p:last-child {
  border-bottom: 0;
}

.rule-list strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.rule-list span,
.guide-card span,
.legal-copy p,
.article-body p,
.article-body li,
.note p {
  color: var(--muted);
}

.section,
.page-main {
  max-width: 1260px;
  margin: 0 auto;
  padding: 68px 32px;
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 40px;
  margin-bottom: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 46px;
}

.featured-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px 30px;
  align-items: start;
}

.featured-grid .guide-card {
  grid-column: span 2;
}

.featured-grid .guide-card:nth-child(1) {
  grid-column: span 4;
}

.featured-grid .guide-card:nth-child(1) .guide-card-image {
  aspect-ratio: 16 / 10;
}

.featured-grid .guide-card:nth-child(4),
.featured-grid .guide-card:nth-child(5) {
  grid-column: span 3;
}

.featured-grid .guide-card h3 {
  font-size: 25px;
}

.library-section {
  padding-top: 0;
}

.library-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.library-link {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.library-link:nth-child(2n) {
  border-right: 0;
}

.library-link:hover {
  background: var(--mist);
}

.library-link span {
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.library-link strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.12;
}

.library-link em {
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.guide-card-image {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--stone);
  overflow: hidden;
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.guide-card:hover .guide-card-image img {
  transform: scale(1.02);
}

.guide-card-copy p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.guide-card a {
  text-decoration: none;
}

.guide-card a:hover {
  color: var(--moss);
}

.guide-card h3 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.12;
}

.guide-card span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 58px 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.page-hero {
  max-width: 900px;
  margin-bottom: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
  font-size: 62px;
}

.planning-anchor {
  scroll-margin-top: 180px;
}

.page-grid {
  padding-bottom: 32px;
}

.guide-library {
  margin-top: 42px;
}

.article-page {
  padding-bottom: 72px;
}

.article-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 32px 0;
}

.article-head {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.article-head h1 {
  font-size: 68px;
}

.article-head p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.article-head p.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta a {
  color: var(--moss);
  font-weight: 800;
}

.article-head-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.article-lead-image {
  height: 520px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--stone);
  overflow: hidden;
}

.article-head-actions .button {
  min-width: 190px;
}

.article-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 0 32px;
}

.article-aside {
  position: sticky;
  top: 160px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.article-aside a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
  font-weight: 800;
  text-decoration: none;
}

.note {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-body {
  min-width: 0;
  padding-bottom: 40px;
  font-size: 18px;
  line-height: 1.75;
}

.article-decision-figure {
  margin: 0 0 34px;
  scroll-margin-top: 180px;
}

.article-decision-figure picture,
.article-decision-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-decision-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

.buying-brief {
  display: grid;
  gap: 18px;
  margin: 0 0 34px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #f1f5eb;
  scroll-margin-top: 150px;
}

.buying-brief h2 {
  margin: 6px 0 0;
  max-width: 620px;
  font-size: 32px;
  line-height: 1.1;
}

.buying-brief ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.buying-brief li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.worksheet-preview {
  margin: 4px 0 0;
}

.worksheet-preview a {
  display: block;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.worksheet-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}

.worksheet-preview a:hover img {
  transform: scale(1.008);
}

.worksheet-preview figcaption {
  max-width: 760px;
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

.brief-products {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brief-product {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--moss);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.brief-product:hover {
  background: #2f4f38;
}

.brief-product-secondary {
  border: 1px solid var(--moss);
  background: var(--paper);
  color: var(--moss);
}

.brief-product-secondary:hover {
  background: var(--white);
}

.buying-brief .brief-disclosure {
  margin: -6px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
}

.product-comparison {
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-comparison > h2 {
  margin-top: 6px;
}

.comparison-note {
  max-width: 650px;
  margin: 12px 0 26px;
  font-size: 16px;
}

.comparison-table-wrap {
  margin: 1.4rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table caption {
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--moss);
  background: var(--mist);
}

.comparison-table tbody th {
  width: 25%;
  color: var(--ink);
}

.product-list {
  border-bottom: 1px solid var(--line);
}

.product-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.product-choice h3 {
  margin: 4px 0 8px;
  font-size: 25px;
}

.product-choice p {
  margin: 0;
}

.product-choice .choice-label {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-choice .shop-link {
  min-width: 154px;
}

.article-body p,
.article-body li {
  font-family: var(--serif);
  color: #3f413a;
}

.article-body h2 {
  margin-top: 44px;
  font-size: 34px;
}

.article-body h2[id],
.article-body h3[id] {
  scroll-margin-top: 170px;
}

.article-body h3 {
  margin-top: 30px;
  font-size: 25px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body code {
  white-space: normal;
  color: var(--moss);
  font-family: inherit;
  font-weight: 800;
}

.article-explainer {
  margin: 36px 0 44px;
}

.article-explainer picture,
.article-explainer img {
  display: block;
  width: 100%;
}

.article-explainer img {
  aspect-ratio: 2 / 3;
  height: auto;
  border: 1px solid var(--line);
  background: var(--stone);
  object-fit: cover;
}

.article-explainer figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin-top: 32px;
  font-size: 30px;
}

.legal-copy p,
.legal-copy li {
  color: #3f413a;
  font-family: var(--serif);
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 64px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-footer,
  .section-heading,
  .cta-band {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero {
    min-height: 600px;
    padding: 0 32px 44px;
  }

  .finder-heading,
  .home-spotlight {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-spotlight {
    margin-left: 32px;
    margin-right: 32px;
  }

  .home-spotlight figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  h1 {
    font-size: 60px;
  }

  .sourcebook-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fast-answer-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fast-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-rule,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .editorial-rule {
    padding: 42px 32px;
  }

  .rule-list {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rule-list p {
    padding-left: 0;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid,
  .library-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid .guide-card,
  .featured-grid .guide-card:nth-child(1),
  .featured-grid .guide-card:nth-child(4),
  .featured-grid .guide-card:nth-child(5) {
    grid-column: auto;
  }

  .featured-grid .guide-card:nth-child(1) .guide-card-image {
    aspect-ratio: 4 / 5;
  }

  .affiliate-pick {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .product-choice {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .product-choice .shop-link {
    justify-self: start;
  }

  .article-aside {
    position: static;
  }

  .article-head h1,
  .page-hero.compact h1 {
    font-size: 52px;
  }

  .article-lead-image {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 34px;
  }

  .brand-deck {
    font-size: 11px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    font-size: 11px;
    gap: 12px;
  }

  .hero {
    min-height: 0;
    padding: 0 18px 24px;
  }

  .hero img {
    object-position: center 52%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
  }

  .hero-proof span {
    min-width: 0;
    min-height: 38px;
    padding: 5px 3px;
    justify-content: center;
    text-align: center;
    font-size: 9px;
    line-height: 1.2;
  }

  .hero-proof strong {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-self: center;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow) {
    margin: 12px 0;
    font-size: 15px;
    line-height: 1.5;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy p:not(.eyebrow),
  .page-hero p,
  .section-heading p,
  .cta-band p {
    font-size: 16px;
  }

  .sourcebook-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fast-answer {
    padding: 8px 18px 0;
  }

  .fast-answer-heading {
    gap: 8px;
    padding: 12px 0 10px;
  }

  .fast-answer-heading h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .fast-answer-heading > p {
    font-size: 14px;
    line-height: 1.45;
  }

  .fast-answer-card {
    min-height: 148px;
    padding: 16px;
  }

  .fast-answer-card strong {
    font-size: 20px;
  }

  .fast-answer-card em {
    font-size: 12px;
  }

  .section,
  .page-main,
  .article-hero,
  .article-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-finder {
    padding: 52px 18px;
  }

  .finder-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 178px;
    padding: 20px;
  }

  .home-spotlight {
    margin: 0 18px 52px;
  }

  .home-spotlight figure {
    aspect-ratio: 4 / 3;
  }

  .spotlight-copy {
    padding: 32px 22px 36px;
  }

  .spotlight-copy h2 {
    font-size: 38px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .library-list {
    grid-template-columns: 1fr;
  }

  .rule-list p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .library-link,
  .library-link:nth-child(2n) {
    border-right: 0;
  }

  .cta-band {
    padding: 38px 18px;
  }

  .article-head h1,
  .page-hero.compact h1 {
    font-size: 42px;
  }

  .article-lead-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .article-head-actions {
    margin-top: 18px;
  }

  .article-head-actions .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 18px;
  }
}
