:root {
  --ink: #15201d;
  --muted: #5c6965;
  --line: #dbe3df;
  --paper: #fbfcf9;
  --surface: #ffffff;
  --green: #195e4b;
  --green-dark: #0f4435;
  --mint: #dff1e9;
  --sand: #f3eee3;
  --shadow: 0 18px 50px rgba(23, 49, 41, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 3%, rgba(178, 219, 203, 0.32), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

.site-header {
  border-bottom: 1px solid rgba(219, 227, 223, 0.85);
  background: rgba(251, 252, 249, 0.88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

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

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(25, 94, 75, 0.18);
}

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }

.page-shell { padding: 72px 0 96px; }

.hero {
  max-width: 770px;
  margin-bottom: 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.035em; }
h1 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 7vw, 70px); font-weight: 500; }
h2 { margin: 48px 0 13px; font-size: 26px; }
h3 { margin: 28px 0 7px; font-size: 18px; letter-spacing: -0.02em; }

.lede { margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.updated { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.layout { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: 64px; align-items: start; }

.toc {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.toc-title { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--green); }

.content {
  padding: 42px clamp(25px, 5vw, 58px) 58px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content h2:first-child { margin-top: 0; }
.content p, .content li { color: #35433f; }
.content ul { padding-left: 1.25rem; }
.content li + li { margin-top: 8px; }

.callout {
  margin: 28px 0;
  padding: 21px 24px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: var(--mint);
}
.callout p { margin: 0; color: var(--ink); }

.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.legal-card {
  min-height: 190px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(23, 49, 41, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.legal-card:hover { transform: translateY(-3px); border-color: #a7cabe; box-shadow: var(--shadow); }
.legal-card h2 { margin: 15px 0 7px; font-size: 22px; }
.legal-card p { margin: 0; color: var(--muted); }
.card-number { color: var(--green); font-size: 12px; font-weight: 780; letter-spacing: 0.1em; }

.contact-strip {
  display: flex;
  gap: 14px 36px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding: 22px 25px;
  border-radius: 18px;
  background: var(--sand);
}
.contact-strip p { margin: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 11px 17px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { color: white; background: var(--green-dark); }

.site-footer { border-top: 1px solid var(--line); background: #f5f7f3; }
.footer-inner { padding: 34px 0 42px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@media (max-width: 780px) {
  .nav { display: none; }
  .page-shell { padding-top: 50px; }
  .layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .header-inner, .page-shell, .footer-inner { width: min(100% - 26px, 1120px); }
  .content { border-radius: 18px; padding: 30px 21px 42px; }
  .hero { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
