:root {
  --paper: #f6f8f4;
  --surface: #ffffff;
  --ink: #17231b;
  --muted: #5e6d63;
  --forest: #17533a;
  --forest-deep: #0d3927;
  --moss: #dce9df;
  --gold: #e9ad28;
  --gold-soft: #fff1c9;
  --line: #cad7ce;
  --danger: #8b2e2e;
  --shadow: 0 18px 45px rgba(20, 55, 37, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 83, 58, 0.16);
  background: rgba(246, 248, 244, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { letter-spacing: 0; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 700;
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { color: var(--forest); }

.hero-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--forest-deep) 0 10px, transparent 10px),
    radial-gradient(circle at 82% 25%, rgba(233, 173, 40, 0.22), transparent 28%),
    var(--surface);
}

.hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 540;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.effective {
  display: inline-flex;
  margin-top: 26px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.page-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: clamp(42px, 7vw, 90px);
  justify-content: center;
  padding: 56px 0 88px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 98px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover { color: var(--forest); }

.legal article > section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.legal article > section:last-child { border-bottom: 0; }

.legal h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 560;
}

.legal h3 {
  margin: 28px 0 10px;
  font-size: 22px;
  font-weight: 620;
}

.legal p, .legal li { color: #34443a; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 8px; }

.plain-language,
.notice,
.action-panel {
  border-left: 5px solid var(--gold);
  background: var(--gold-soft);
  padding: 20px 22px;
}

.plain-language strong,
.notice strong { color: var(--ink); }

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.summary-table th {
  width: 33%;
  color: var(--forest-deep);
  font-size: 13px;
}

.summary-table tr:last-child th,
.summary-table tr:last-child td { border-bottom: 0; }

.service-center {
  min-height: calc(100vh - 140px);
  background:
    linear-gradient(115deg, rgba(220, 233, 223, 0.72), transparent 54%),
    var(--paper);
}

.service-grid {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.service-grid h1 { font-size: clamp(44px, 6vw, 68px); }
.service-grid h2 { margin: 34px 0 10px; font-size: 27px; }
.service-grid p, .service-grid li { color: var(--muted); }

.action-panel {
  border-left-color: var(--forest);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.action-panel h2 { margin-top: 0; }

.action-panel hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.small-copy { font-size: 13px; line-height: 1.65; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--gold);
}

.button:hover { background: var(--forest-deep); color: #fff; }
.button.secondary { background: var(--ink); box-shadow: 5px 5px 0 var(--moss); }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 900; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 82px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: var(--muted); }

@media (max-width: 820px) {
  .header-inner { align-items: flex-start; padding: 15px 0; }
  .nav { max-width: 260px; }
  .hero { padding: 52px 0 44px; }
  .page-shell { grid-template-columns: 1fr; padding-top: 34px; }
  .toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .toc a { display: inline-block; margin-right: 15px; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner, .page-shell, .footer-inner, .hero, .service-grid { width: min(100% - 28px, 1120px); }
  .header-inner { display: block; }
  .nav { justify-content: flex-start; max-width: none; margin-top: 13px; gap: 7px 15px; }
  .hero { padding-top: 42px; }
  .summary-table, .summary-table tbody, .summary-table tr, .summary-table th, .summary-table td { display: block; width: 100%; }
  .summary-table th { padding-bottom: 3px; border-bottom: 0; }
  .summary-table td { padding-top: 3px; }
  .footer-inner { padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
