:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --ink: #242424;
  --ink-soft: #6b6b6b;
  --accent: #1a8917;
  --accent-strong: #156f12;
  --border: #e6e6e6;
  --warn: #fef8e8;
  --warn-border: #efd388;
  --max: 1100px;
  --measure: 720px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", "Charter", "Times New Roman", serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: #0f6e0d;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: #0a5809;
}

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

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.58rem;
  border-radius: 4px;
  text-decoration: none;
  color: #4b4b4b;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: #f4f4f4;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  padding: 0.28rem 0.75rem;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.cta-badge:hover,
.cta-badge:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

main {
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 2rem;
  padding: 3.2rem 0 2rem;
  align-items: center;
}

.hero h1,
.page-title,
h1,
h2,
h3 {
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: #121212;
  letter-spacing: -0.015em;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  line-height: 1.08;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.page-title {
  margin: 0;
  line-height: 1.14;
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 24ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #575757;
  background: #fff;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  padding: 0.2rem 0.58rem;
  margin-bottom: 0.7rem;
}

.lead,
.section-intro,
.page-hero p,
.hero p {
  max-width: var(--measure);
}

.lead {
  color: #3f3f3f;
  font-size: clamp(1.12rem, 1.4vw, 1.27rem);
  margin: 1rem 0;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.button-outline {
  border: 1px solid #222;
  background: #fff;
  color: #222;
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: #000;
  color: #000;
}

.hero-media {
  border: 1px solid #e7e7e7;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.08);
}

.hero-media img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  filter: none;
}

.kpi-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kpi {
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  color: #555;
  background: #fff;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  padding: 0.2rem 0.62rem;
}

.section {
  padding: 1.5rem 0;
}

.section h2 {
  margin: 0 0 0.55rem;
  line-height: 1.2;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.section h3 {
  margin: 0 0 0.45rem;
  line-height: 1.26;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

.section-intro,
.page-hero p,
.card p,
.card li,
.faq p,
.callout p,
li,
p,
td,
th {
  color: #3c3c3c;
}

p,
li,
td,
th {
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 0.9rem;
}

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

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.callout {
  border: 1px solid var(--warn-border);
  background: var(--warn);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0.85rem;
}

th {
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  background: #fafafa;
}

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

.faq details {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 0;
  border-right: 0;
  padding: 0.8rem 0;
}

.faq details + details {
  margin-top: -1px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  color: #181818;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: #909090;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin: 0.55rem 0 0;
  max-width: var(--measure);
}

.breadcrumbs {
  margin: 1rem 0 0;
  color: #7a7a7a;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.breadcrumbs li::after {
  content: "/";
  color: #b8b8b8;
  margin-left: 0.35rem;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.page-hero {
  padding: 2.2rem 0 1rem;
}

.page-hero p {
  margin: 0.9rem 0 0;
  font-size: 1.1rem;
}

.source-box {
  border: 1px dashed #c9c9c9;
  border-radius: var(--radius);
  background: #fcfcfc;
  padding: 1rem;
}

.source-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
}

.source-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.source-box li {
  margin: 0.36rem 0;
  font-size: 0.95rem;
}

.last-updated {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  padding: 0.22rem 0.64rem;
  margin-top: 0.8rem;
}

.cta-panel {
  margin-top: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  padding: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-panel p {
  margin: 0;
  max-width: 55ch;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
  padding: 1.8rem 0 2.2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-note {
  color: #666;
  font-size: 0.92rem;
}

.footer-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.footer-grid a,
.footer-grid p {
  font-size: 0.92rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .site-header {
    position: static;
  }

  .site-nav ul {
    gap: 0.1rem;
  }

  p,
  li,
  td,
  th {
    font-size: 1rem;
  }
}
