:root {
  --ink: #17201c;
  --muted: #5f6c65;
  --paper: #f5f3ed;
  --surface: #fffdf8;
  --line: #d8d8ce;
  --green: #185f45;
  --green-dark: #0d3f2e;
  --lime: #c8f17a;
  --warning: #fff4cf;
  --warning-line: #e0bb42;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--green-dark); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--ink); font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--lime); background: var(--green-dark); font: 800 17px/1 ui-monospace, monospace; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.site-header nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px var(--green); }

.hero { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--green-dark); background: rgba(255,255,255,.45); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,95,69,.12); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
.hero h1 { max-width: 930px; margin: 1.4rem 0 1.6rem; font-size: clamp(3.3rem, 8vw, 7.4rem); font-weight: 620; }
.hero h1 span { color: var(--green); }
.hero-copy { max-width: 710px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; justify-content: center; padding: .82rem 1.15rem; border: 1px solid var(--green-dark); border-radius: 9px; font-weight: 700; text-decoration: none; }
.button.primary { color: white; background: var(--green-dark); }
.button.primary:hover { color: var(--lime); }
.button.secondary { color: var(--green-dark); background: transparent; }
.microcopy { margin-top: 1.2rem; color: var(--muted); font-size: .85rem; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 700px; }
.kicker { margin: 0 0 .7rem; color: var(--green); font: 750 .75rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; text-transform: uppercase; }
.section h2, .cta h2 { margin: 0 0 1rem; font-size: clamp(2.1rem, 4vw, 4.2rem); font-weight: 620; }
.section-heading > p:last-child, .data-note > div > p { color: var(--muted); font-size: 1.12rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.service-card { min-height: 280px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.4); }
.service-number { color: var(--green); font: 700 .8rem/1 ui-monospace, monospace; }
.service-card h3 { margin: 5rem 0 .8rem; font-size: 1.45rem; }
.service-card p { margin: 0; color: var(--muted); }
.split-section, .data-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); }
.principles article { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.principles article:first-child { padding-top: 0; }
.principles h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.principles p { margin: 0; color: var(--muted); }
.text-link { font-weight: 750; text-decoration: none; }
.cta { width: min(calc(100% - 40px), var(--max)); margin: 20px auto 90px; padding: clamp(2rem, 6vw, 5rem); border-radius: 20px; color: white; background: var(--green-dark); }
.cta .kicker, .cta a { color: var(--lime); }
.cta p:last-child { max-width: 650px; color: #dce7df; font-size: 1.1rem; }

.policy-layout { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(3rem, 8vw, 8rem); padding: 80px 0 110px; align-items: start; }
.policy-aside { position: sticky; top: 2rem; }
.policy-aside h1 { margin: 0 0 1rem; font-size: 2.55rem; }
.policy-aside > p:not(.kicker) { color: var(--muted); font-size: .9rem; }
.policy-aside nav { display: grid; gap: .5rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.policy-aside nav a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.policy-content { min-width: 0; }
.policy-content .lead { margin: 2.5rem 0 4rem; font-size: clamp(1.28rem, 2.5vw, 1.7rem); line-height: 1.5; }
.policy-content section { padding: 2.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.policy-content h2 { margin: 0 0 1.15rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.policy-content h3 { margin: 1.7rem 0 .45rem; font-size: 1.12rem; letter-spacing: -.02em; }
.policy-content p, .policy-content li { color: #3f4b45; }
.policy-content li + li { margin-top: .55rem; }
.notice { padding: 1rem 1.1rem; border: 1px solid var(--warning-line); border-radius: 10px; background: var(--warning); }
.notice p { margin: .3rem 0 0; color: #584916; font-size: .9rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: #e9ece5; }
tbody th { width: 120px; }
code { overflow-wrap: anywhere; white-space: normal; color: var(--green-dark); }
.limited-use { margin-top: 1.5rem; padding: 2rem !important; border: 1px solid #9ab5a7 !important; border-radius: 12px; background: #eaf2ed; }

.site-footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 2rem 0 3rem; display: flex; gap: 2rem; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer p { max-width: 690px; margin: 0; }
.site-footer div { display: flex; gap: 1rem; white-space: nowrap; }

@media (max-width: 800px) {
  .site-header { min-height: 76px; }
  .site-header nav { gap: .8rem; }
  .hero { padding: 72px 0 65px; }
  .service-grid, .split-section, .data-note, .policy-layout { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card h3 { margin-top: 2.5rem; }
  .policy-aside { position: static; }
  .policy-aside nav { display: none; }
  .policy-content .lead { margin-top: 0; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand > span:last-child { display: none; }
  .hero h1 { font-size: 3rem; }
  .section { padding: 72px 0; }
  .site-footer div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .policy-aside nav, .skip-link { display: none; }
  body { background: white; }
  .policy-layout { display: block; width: 100%; padding: 0; }
  .policy-aside { position: static; }
  .policy-content section { break-inside: avoid; }
}
