:root {
  --green: #14532d;
  --green-bright: #16a34a;
  --green-deep: #10331f;
  --paper: #f6f4ee;
  --white: #fff;
  --ink: #16181c;
  --muted: #52605a;
  --line: rgba(20, 83, 45, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-bright); }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .35);
  outline-offset: 4px;
}
.container { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 83, 45, .1);
  background: rgba(246, 244, 238, .95);
  backdrop-filter: blur(14px);
}
.nav-row {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font: 700 22px/1 "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.02em;
}
.brand span { color: var(--green-bright); }
.back-link { font-size: 14px; font-weight: 700; }
.legal-hero { padding: 72px 0 36px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; color: var(--green-deep); }
h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.lead { max-width: 760px; margin: 0; color: #3f4b44; font-size: 18px; }
.updated { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.legal-layout { padding: 18px 0 88px; }
.legal-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 83, 45, .08);
}
.legal-card section + section { margin-top: 38px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-card h2 { margin: 0 0 12px; font-size: clamp(23px, 4vw, 30px); line-height: 1.2; }
.legal-card h3 { margin: 22px 0 8px; font-size: 18px; }
.legal-card p { margin: 0 0 14px; }
.legal-card ul { margin: 10px 0 0; padding-left: 22px; }
.legal-card li + li { margin-top: 8px; }
.legal-card address { font-style: normal; }
.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green-bright);
  border-radius: 0 14px 14px 0;
  background: #eef7f1;
  color: #294837;
}
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #eef7f1; color: var(--green-deep); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.legal-footer { padding: 38px 0 48px; background: var(--green-deep); color: #bdd1c3; }
.footer-row { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; gap: 18px; }
.footer-row strong { color: var(--white); font: 700 20px/1 "Space Grotesk", Inter, sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a, .footer-links button { color: var(--white); font: 700 14px/1.4 Inter, sans-serif; }
.footer-links button { border: 0; padding: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal-meta { font-size: 13px; }

@media (max-width: 620px) {
  .container, .nav-row, .footer-row { width: min(100% - 28px, 920px); }
  .nav-row { min-height: 64px; }
  .brand { font-size: 19px; }
  .back-link { font-size: 13px; }
  .legal-hero { padding: 48px 0 28px; }
  .legal-layout { padding-bottom: 58px; }
  .legal-card { border-radius: 18px; }
}

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