:root {
  --ink: #18211f;
  --muted: #65706d;
  --green: #116b55;
  --green-deep: #0b4f40;
  --green-soft: #e8f4ee;
  --orange: #ff6a1a;
  --orange-soft: #fff0e6;
  --line: #dce6e1;
  --paper: #ffffff;
  --warm: #fffaf5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a { color: inherit; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.primary-nav a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.hero {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 88px 0 100px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(232, 244, 238, 0.95), rgba(255, 255, 255, 0) 42%),
    var(--paper);
}

.hero-content { max-width: 720px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero p {
  max-width: 540px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.intro {
  padding: 30px 0 92px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--warm);
}

.intro-card:nth-child(2) { background: var(--green-soft); }
.intro-card:nth-child(3) { background: var(--orange-soft); }

.intro-card h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.intro-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  background: #fbfdfc;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a { text-decoration: none; }

.legal-page { padding: 78px 0 92px; }

.legal-document {
  max-width: 840px;
}

.legal-document .doc-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.065em;
}

.legal-document .doc-subtitle {
  margin: 18px 0 10px;
  color: var(--green);
  font-weight: 750;
}

.legal-document h2 {
  margin: 42px 0 12px;
  color: var(--green-deep);
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-document p { margin: 0 0 16px; }

.legal-document a { color: var(--green); }

.legal-document ul,
.legal-document ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}

.doc-table-wrap {
  margin: 24px 0 30px;
  overflow-x: auto;
}

.doc-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
}

.doc-table-wrap th,
.doc-table-wrap td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
  line-height: 1.45;
}

.doc-table-wrap th {
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
}

.legal-page h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.legal-page .lede {
  max-width: 720px;
  margin: 24px 0 56px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin: 38px 0 10px;
  color: var(--green-deep);
  font-size: 1.3rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-copy ul { padding-left: 1.2rem; }

.back-link {
  display: inline-flex;
  margin-top: 48px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible { color: var(--orange); }

.document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.document-link:hover,
.document-link:focus-visible { background: var(--green-deep); }

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 600px); }

  .site-header { min-height: 76px; }
  .brand img { width: 39px; height: 39px; }
  .brand { font-size: 1.08rem; }

  .hero { min-height: 460px; padding: 68px 0 72px; }
  .intro { padding-bottom: 66px; }
  .intro-grid { grid-template-columns: 1fr; }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links { justify-content: flex-start; gap: 13px 18px; }
  .legal-page { padding: 58px 0 70px; }
}
