:root {
  --ink: #17201c;
  --muted: #5b665f;
  --paper: #f7f7f1;
  --surface: #ffffff;
  --line: #d9ddd7;
  --accent: #1f6b4f;
  --accent-dark: #154936;
  --accent-soft: #dfeee6;
  --warm: #f0e5ce;
  --max-width: 1120px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body {
  margin: 0;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

nav,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 620;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  padding: clamp(76px, 11vw, 142px) 0 clamp(86px, 12vw, 154px);
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  font-weight: 790;
}

.hero-copy {
  max-width: 700px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  color: #fff;
}

.section {
  padding: clamp(70px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4.2vw, 3.65rem);
}

h3 {
  margin: 22px 0 13px;
  font-size: 1.35rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 255px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.card p,
.notice p,
.topic,
article p {
  color: var(--muted);
}

.split,
.notice {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 100px);
}

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

.topic {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 680;
}

.topic-link {
  color: var(--muted);
  text-decoration: none;
}

.topic-link:hover {
  color: var(--ink);
}

.status {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notice {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 24px auto 86px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: 24px;
  background: var(--warm);
}

.notice p:last-child {
  align-self: end;
  margin: 0;
  color: #544b3c;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.article-layout {
  max-width: 780px;
  padding: clamp(70px, 10vw, 124px) 0;
}

.guide-layout {
  max-width: 960px;
  padding: clamp(70px, 10vw, 124px) 0;
}

.guide-layout h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.guide-layout .lede {
  max-width: 780px;
  margin: 28px 0 34px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.editorial-note {
  max-width: 780px;
  margin: 0 0 50px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 42px 0 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.fact-strip div {
  padding: 22px;
  background: var(--surface);
}

.fact-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-strip dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 760;
}

.guide-section {
  max-width: 780px;
  margin-top: 64px;
}

.guide-section h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.guide-section h3 {
  margin-top: 34px;
}

.table-scroll {
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.84rem;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.decision-list li,
.source-list li {
  margin-bottom: 12px;
}

.source-list {
  padding-left: 20px;
}

.source-list span {
  color: var(--muted);
}

.guide-cta {
  margin-top: 58px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 20px;
  background: var(--warm);
}

.guide-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.guide-cta p {
  max-width: 680px;
}

.article-layout h1,
.not-found h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.article-layout .lede {
  margin: 28px 0 64px;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.article-layout h2 {
  margin-top: 52px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.article-layout article > p:not(.eyebrow, .lede, .updated) {
  font-size: 1.04rem;
}

.updated {
  margin-top: 56px;
  font-size: 0.9rem;
}

.not-found {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 760px;
  padding: 80px 0;
}

.not-found p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .site-header nav {
    gap: 16px;
  }

  .card-grid,
  .split,
  .notice,
  .fact-strip {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }
}

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