:root {
  color-scheme: light;
  --ink: #0b1413;
  --ink-soft: #46544f;
  --ink-muted: #69756f;
  --page: #fffdf5;
  --page-soft: #f4f0e7;
  --surface: #fffefa;
  --surface-strong: #ffffff;
  --surface-muted: #ecefe8;
  --evergreen: #0f2a23;
  --evergreen-raised: #17352d;
  --lime: #c6ff4d;
  --blue: #2563ff;
  --line: rgba(15, 42, 35, 0.16);
  --line-strong: rgba(15, 42, 35, 0.32);
  --shadow: 0 18px 48px rgba(11, 20, 19, 0.08);
  --radius: 18px;
  --measure: 72ch;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 0, rgba(15, 42, 35, 0.055), transparent 25rem),
    linear-gradient(180deg, var(--page-soft) 0, var(--page) 22rem);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: var(--evergreen); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: #1d4fd7; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(126px, 190px) 1fr auto;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  padding: 0.9rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 245, 0.96);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 154px; height: auto; }
.site-nav, .language-nav { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.site-nav a, .language-nav a {
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}
.site-nav a:hover, .language-nav a:hover { background: var(--surface-muted); color: var(--ink); }
.site-nav a[aria-current="page"], .language-nav a[aria-current="true"] { background: var(--evergreen); color: white; }
.language-nav { justify-content: flex-end; }

main { min-height: 70vh; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3.2rem, 8vw, 6rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: #23493e;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 { max-width: 17ch; margin-bottom: 1.35rem; font-size: clamp(2.7rem, 7vw, 6.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { margin-bottom: 0.65rem; font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
p { margin-top: 0; }
.hero-intro {
  max-width: 62ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}
.primary-action, .secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--evergreen);
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
}
.primary-action { background: var(--evergreen); color: white; }
.primary-action:hover { background: var(--evergreen-raised); color: white; }
.secondary-action { background: transparent; color: var(--evergreen); }
.hero-note {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 28px 28px 8px 28px;
  background: linear-gradient(145deg, var(--evergreen-raised), var(--evergreen));
  color: white;
  box-shadow: var(--shadow);
}
.hero-note strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--lime);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-note p { margin: 0; color: #dce6e2; }

.section { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-heading p { max-width: 60ch; color: var(--ink-soft); }
.resource-list { border-top: 1px solid var(--line-strong); }
.resource-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) minmax(220px, 0.55fr);
  gap: 1.3rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.resource-number { color: #23493e; font-weight: 850; letter-spacing: 0.08em; }
.resource-row h3 a { color: var(--ink); text-decoration: none; }
.resource-row h3 a:hover { color: #1d4fd7; text-decoration: underline; }
.resource-row p { margin: 0; color: var(--ink-soft); }
.resource-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(35, 73, 62, 0.28);
  border-radius: 999px;
  background: rgba(128, 144, 118, 0.11);
  color: #23493e;
  font-size: 0.7rem;
  font-weight: 780;
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.principle span { color: #23493e; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.principle h3 { margin-top: 0.7rem; }
.principle p { margin-bottom: 0; color: var(--ink-soft); }

.article-shell, .legal-shell {
  width: min(900px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.article-header { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-strong); }
.article-header h1, .legal-shell h1 { max-width: 15ch; font-size: clamp(2.5rem, 7vw, 5.6rem); }
.article-dek, .legal-dek {
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 1.4rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.article-body { max-width: var(--measure); padding-block: 2.6rem; }
.article-body section { margin-block: 0 3.4rem; scroll-margin-top: 6rem; }
.article-body p, .article-body li, .legal-shell p, .legal-shell li { color: var(--ink-soft); }
.article-body ul, .article-body ol, .legal-shell ul { padding-left: 1.35rem; }
.article-body li + li, .legal-shell li + li { margin-top: 0.6rem; }
.decision-box, .example-box, .privacy-note {
  margin-block: 1.5rem;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--lime);
  border-radius: 4px var(--radius) var(--radius) 4px;
  background: var(--evergreen);
  color: white;
}
.decision-box p, .privacy-note p { margin-bottom: 0; color: #e8efec; }
.decision-box strong, .privacy-note strong { color: var(--lime); }
.example-box { border-left-color: var(--blue); background: var(--surface-muted); color: var(--ink); }
.example-box p, .example-box strong { margin-bottom: 0; color: var(--ink); }
.evidence-table {
  width: 100%;
  margin-block: 1.5rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.evidence-table th, .evidence-table td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.evidence-table th { background: var(--evergreen); color: white; }
.source-list { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.source-list h2 { font-size: 1.5rem; }
.source-list li + li { margin-top: 0.8rem; }
.article-next {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.legal-shell { max-width: 820px; }
.legal-shell h2 { margin-top: 2.7rem; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.status-banner {
  margin-block: 1.5rem 2.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(35, 73, 62, 0.28);
  border-radius: 14px;
  background: rgba(128, 144, 118, 0.11);
  color: #23493e;
  font-weight: 700;
}
.site-footer {
  margin-top: 2rem;
  padding: 2.4rem clamp(1rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: var(--evergreen);
  color: white;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  width: min(1180px, 100%);
  margin-inline: auto;
}
.site-footer p { max-width: 56ch; margin: 0; color: #dce6e2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: flex-end; }
.site-footer a { color: white; }
.site-footer a:hover { color: var(--lime); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .site-header { position: static; grid-template-columns: 1fr auto; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .hero, .section-heading { grid-template-columns: 1fr; }
  .resource-row { grid-template-columns: 3rem 1fr; }
  .resource-row > p { grid-column: 2; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { gap: 0.7rem; padding-inline: 1rem; }
  .brand img { width: 126px; }
  .site-nav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .site-nav a {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding-inline: 0.35rem;
    text-align: center;
  }
  .hero { padding-top: 3rem; }
  .resource-row { grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.75rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .evidence-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .article-next, .skip-link { display: none; }
  body { background: white; }
  .article-shell, .legal-shell { width: 100%; padding: 0; }
  a { color: black; }
}
