@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("fonts/lora-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #242825;
  --muted: #505b53;
  --accent: #28563d;
  --accent-ink: #fff;
  --tint: #f1f4ee;
  --line: #dce2d9;
  --nav-bg: var(--paper);
  --nav-fg: var(--ink);
  --nav-line: var(--line);
  --footer-bg: var(--tint);
  --ui: "DM Sans", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --reading: "Source Serif 4", Georgia, serif;
  --brand: var(--ui);
  --frame: 1200px;
  --gutter: clamp(18px, 4vw, 52px);
  --radius: 12px;
  --section-space: clamp(42px, 6.4vw, 88px);
}
*,
*::before,
*::after { box-sizing: border-box; }
html {
  scroll-padding-top: 24px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--ui);
  font-optical-sizing: auto;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.14;
  font-weight: 650;
  font-kerning: normal;
  font-synthesis: none;
}
h1 { font-size: clamp(36px, 5.3vw, 76px); letter-spacing: -.028em; text-wrap: balance; }
h2 { font-size: clamp(27px, 3.3vw, 42px); letter-spacing: -.016em; text-wrap: balance; }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, button:focus-visible, table:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
button { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.frame { width: min(var(--frame), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.flow { margin-block: var(--section-space); }
.stack { display: grid; align-content: start; gap: 19px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.lede { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; color: var(--muted); max-width: 61ch; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.button, .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 15px/1.35 var(--ui);
  text-decoration: none;
}
.button-outline { background: transparent; color: var(--accent); border-color: currentColor; }
.button:hover, .button-outline:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; }
.center .actions { justify-content: center; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 12; padding: 8px 14px; background: var(--paper); }

.site-header {
  position: relative;
  z-index: 5;
  background: var(--nav-bg);
  color: var(--nav-fg);
  border-bottom: 1px solid var(--nav-line);
}
.site-header a, .site-header summary { color: inherit; }
.masthead { min-height: 78px; display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: inherit;
  font: 750 clamp(19px, 2.3vw, 30px)/1.1 var(--brand);
  letter-spacing: -.022em;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; flex: none; }
.brand span { min-width: 0; }
.masthead-note { font-size: 15px; font-weight: 650; }
.masthead-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); }
.masthead-links a { font-size: 15px; font-weight: 700; text-decoration: none; }
.masthead-links a:hover { text-decoration: underline; }
.nav-band { border-top: 1px solid var(--nav-line); }
.nav-band .frame { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  column-gap: clamp(12px, 2.1vw, 30px);
  min-height: 46px;
  position: relative;
}
.section-item { display: flex; align-items: stretch; position: relative; min-width: 0; }
.section-item > a, .big-catalog > summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}
.section-item > a:hover,
.section-item > a[aria-current="page"] { text-decoration: underline; }
.section-menu > summary {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 46px;
  width: 31px;
}
.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
details[open] > summary > .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.dropdown {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 100%;
  min-width: 245px;
  max-width: 320px;
  width: max-content;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 32px #1b211e19;
}
.section-item:nth-child(n+4) .dropdown { left: auto; right: 0; }
.dropdown a {
  display: block;
  padding: 8px 10px;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--tint); color: var(--accent); }
.big-catalog > summary { gap: 13px; }
.catalog-dropdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  width: min(875px, 86vw);
  max-width: none;
  max-height: min(65vh, 560px);
  overflow-y: auto;
  gap: 10px;
}
.catalog-parent { font-weight: 750; }
.mobile-nav { display: none; }
.mobile-nav > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}
.mobile-nav > nav {
  position: absolute;
  top: 100%;
  right: var(--gutter);
  width: min(390px, calc(100vw - 2 * var(--gutter)));
  max-height: min(70vh, 550px);
  overflow-y: auto;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 36px #1b211e23;
}
.mobile-nav nav a,
.mobile-nav nav summary { display: flex; align-items: center; min-height: 42px; padding: 8px 10px; font-size: 15px; }
.mobile-nav nav summary { justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.mobile-nav nav details > div { padding-inline-start: 9px; }
.mobile-nav nav a:hover { background: var(--tint); }

.photo { overflow: hidden; background: var(--tint); border-radius: var(--radius); min-width: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: 22px;
}
.section-heading p { max-width: 52ch; color: var(--muted); }
.category-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%, 200px),1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.category-links li { min-width: 0; }
.category-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  height: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
}
.category-links a span { color: var(--accent); }
.category-links a:hover { color: var(--accent); background: var(--tint); text-decoration: underline; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2.5vw, 35px); }
.guide-card { min-width: 0; padding-block: 16px; border-top: 1px solid var(--line); }
.guide-card h3 { text-wrap: pretty; }
.guide-card h3 a, .archive-list h2 a { color: inherit; text-decoration: none; }
.guide-card h3 a:hover, .archive-list h2 a:hover { color: var(--accent); text-decoration: underline; }
.guide-card p, .archive-list p { color: var(--muted); font-size: 16px; margin-top: 9px; }
.guide-card time, .archive-list time { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

.latest-index { margin-block: var(--section-space) 38px; padding-top: 18px; border-top: 1px solid var(--line); }
.latest-index .section-heading { margin-bottom: 8px; }
.latest-index h2 { font: 750 21px/1.25 var(--ui); letter-spacing: 0; }
.latest-index .text-link { font-size: 14px; }
.latest-index ul {
  max-height: 13.7rem;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.latest-index li { min-width: 0; }
.latest-index a[title] {
  display: block;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
}
.latest-index a[title]:focus-visible { outline-offset: -2px; }

.breadcrumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 9px;
  margin-block: 25px;
  color: var(--muted);
  font-size: 15px;
}
.breadcrumbs span { overflow-wrap: anywhere; }
.article-heading { max-width: 1170px; margin-block: 26px 35px; }
.article-heading h1, .archive-heading h1 {
  font-size: clamp(33px, 4.15vw, 62px);
  line-height: 1.12;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.article-heading h1 { font-size: clamp(32px, 3.75vw, 54px); }
.article-heading .lede, .archive-heading .lede { margin-top: 16px; }
.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 15px;
}
.byline a { font-weight: 700; }
.reading-layout { display: grid; grid-template-columns: minmax(180px, 235px) minmax(0, 760px); gap: clamp(24px, 4vw, 62px); align-items: start; }
.reading-layout.no-contents { display: block; }
.reading-column { width: 100%; max-width: 760px; min-width: 0; }
.reading-aside { min-width: 0; }
.contents {
  border: 1px solid var(--line);
  background: var(--tint);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.contents summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 750; padding: 12px 15px; }
.contents nav { padding: 0 15px 11px; }
.contents a { display: block; padding-block: 5px; font-size: 15px; line-height: 1.4; }
.commerce-note {
  display: grid;
  gap: 5px;
  padding: 12px 15px;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.prose {
  font: 400 clamp(17.5px, 1.5vw, 19px)/1.78 var(--reading);
  letter-spacing: .006em;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
.prose > * { margin-block: 0 1em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { text-wrap: pretty; }
.prose h2 { font-size: clamp(25px, 3vw, 35px); margin-top: 1.3em; margin-bottom: .5em; }
.prose h3 { font-size: clamp(22px, 2.3vw, 27px); margin-top: 1.1em; margin-bottom: .5em; }
.prose li + li { margin-top: .35em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose a { overflow-wrap: anywhere; }
.prose blockquote { padding-inline-start: 16px; margin-inline: 0; border-left: 3px solid var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose table {
  width: max-content;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font: 400 15px/1.5 var(--ui);
}
.prose td, .prose th { min-width: 110px; text-align: start; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--tint); font-weight: 750; }
.prose img { height: auto; border-radius: var(--radius); }
.prose pre { overflow: auto; padding: 12px 15px; background: var(--tint); font-size: 15px; }
.prose :not(pre) > code { overflow-wrap: anywhere; font-size: .9em; }
.article-editorial { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-block: 23px; font-size: 15px; }
.editorial-card {
  margin-block: 30px 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.editorial-card h2 { margin: 8px 0 4px; font-size: clamp(23px, 2.5vw, 31px); }
.editorial-card h2 a { color: inherit; text-decoration: none; }
.editorial-card h2 a:hover { color: var(--accent); text-decoration: underline; }
.editorial-card p { margin-top: 9px; }
.editorial-card .editorial-role { color: var(--muted); font-size: 15px; font-weight: 700; }
.editorial-card .text-link { display: inline-block; margin-top: 13px; font-size: 15px; }
.article-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0 6px; border-top: 1px solid var(--line); }
.article-share-top {
  margin: -4px 0 25px;
  padding: 0 0 15px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.article-share > span:first-child { font-size: 15px; font-weight: 750; margin-right: 6px; }
.article-share a, .share-copy {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--accent);
  font: 700 15px/1.25 var(--ui);
  text-decoration: none;
  cursor: pointer;
}
.article-share a:hover, .share-copy:hover { background: var(--tint); text-decoration: underline; }
.related-guides { margin-block: 40px 55px; }
.article-page, .list-page, .trust-page { margin-bottom: var(--section-space); }

.archive-heading { max-width: 900px; margin-block: 26px 29px; }
.subcategories { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.subcategories a { padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius); }
.archive-list { margin-top: 26px; }
.archive-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.archive-list h2 { font-size: clamp(21px, 2.9vw, 29px); text-wrap: pretty; }
.empty { margin-block: 18px; padding: 14px 0; color: var(--muted); }
.pagination { margin-block: 20px 44px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.reviewed { margin-top: 12px; color: var(--muted); font-size: 14px; }
.trust-body { max-width: 760px; }
.trust-body section + section { margin-top: 28px; }
.trust-body section h2 { margin-top: 0; }
.trust-body section p + p { margin-top: 13px; }

.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding-top: 32px; }
.footer-sections { display: grid; grid-template-columns: 1.25fr repeat(3,minmax(0,1fr)); gap: 24px; padding-bottom: 26px; }
.footer-brand p { color: var(--muted); margin: 9px 0; font-size: 15px; }
.footer-brand a { overflow-wrap: anywhere; }
.footer-sections nav a, .footer-bottom a { font-size: 15px; }
.footer-sections nav a { display: block; width: fit-content; margin-block: 7px; }
.footer-sections h2 { font: 750 16px/1.3 var(--ui); text-wrap: pretty; letter-spacing: 0; margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px 20px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  color: var(--muted);
  font-size: 14px;
}
.footer-bottom p { margin-top: 4px; }
.footer-bottom nav { display: flex; gap: 8px 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .section-nav, .nav-band, .masthead-links, .desktop-only { display: none; }
  .mobile-nav { display: block; flex: none; }
  .masthead { min-height: 65px; gap: 12px; }
  .masthead .brand img { width: 37px; height: 37px; }
  .reading-layout { display: block; }
  .reading-aside { margin: 0 0 16px; max-width: 760px; }
}
@media (max-width: 700px) {
  .guide-grid, .footer-sections { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom, .archive-list article { display: block; }
  .footer-bottom nav { margin-top: 8px; }
  .latest-index ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-sections { gap: 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-page .breadcrumbs { margin-block: 18px; }
  .article-heading { margin-block: 16px 22px; }
  .article-heading .lede, .article-heading .byline { margin-top: 12px; }
  .brand { line-height: 1.08; }
  .brand img { width: 37px; height: 37px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

