:root {
  --bg: #f7fbfa;
  --ink: #10211f;
  --muted: #5f716d;
  --teal: #0f766e;
  --teal-dark: #075f59;
  --mint: #dff5ef;
  --mint-2: #edf9f6;
  --gold: #d99a2b;
  --gold-soft: #fff4da;
  --card: #ffffff;
  --line: #dce9e6;
  --shadow: 0 24px 70px rgba(16, 33, 31, 0.11);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 250, 0.85);
  border-bottom: 1px solid rgba(220, 233, 230, 0.9);
}
.nav-inner {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -0.02em; font-size: 1.15rem; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--teal), #27b89e);
  box-shadow: 0 14px 35px rgba(15, 118, 110, 0.28);
  font-weight: 900;
}
.nav-cta {
  background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: .92rem;
  box-shadow: 0 14px 34px rgba(16, 33, 31, 0.18);
  transition: transform 180ms ease;
}
.nav-cta:hover { transform: translateY(-2px); text-decoration: none; }

.policy-hero { padding: 66px 0 34px; }
.policy-hero .kicker {
  color: var(--teal); font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px;
}
.policy-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.055em; margin-bottom: 16px;
  max-width: 940px;
}
.policy-hero .lede {
  color: #2d423e; font-size: 1.12rem; max-width: 860px; margin-bottom: 20px;
}
.policy-meta {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--muted); font-size: 0.9rem; font-weight: 600;
}
.policy-meta strong { color: var(--ink); }
.policy-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.policy-wrap {
  display: grid; grid-template-columns: 250px 1fr; gap: 48px;
  padding: 30px 0 90px;
  align-items: start;
}
.toc {
  position: sticky; top: 100px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px;
  max-height: calc(100vh - 130px); overflow: auto;
}
.toc h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 12px; font-weight: 900;
}
.toc ol { list-style: none; counter-reset: item; padding: 0; margin: 0; }
.toc li { counter-increment: item; margin-bottom: 8px; font-size: 0.88rem; line-height: 1.35; }
.toc li a {
  color: #2d423e; font-weight: 600; display: flex; gap: 10px;
  padding: 6px 8px; border-radius: 10px; transition: background 160ms;
}
.toc li a::before {
  content: counter(item, decimal-leading-zero);
  color: var(--teal); font-weight: 800; font-variant-numeric: tabular-nums;
  min-width: 22px;
}
.toc li a:hover { background: var(--mint-2); text-decoration: none; }

.prose {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 44px 48px;
  box-shadow: 0 12px 40px rgba(16, 33, 31, 0.05);
}
.prose section { padding: 22px 0; border-bottom: 1px dashed var(--line); counter-increment: sec; }
.prose section:last-of-type { border-bottom: none; }
.prose h2 {
  font-size: 1.5rem; letter-spacing: -0.035em; line-height: 1.15;
  margin-bottom: 14px; display: flex; align-items: baseline; gap: 14px;
  scroll-margin-top: 100px;
}
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  color: var(--teal); font-size: 0.9rem; font-weight: 900;
  letter-spacing: 0.1em; font-variant-numeric: tabular-nums;
  padding: 4px 10px; background: var(--mint); border-radius: 999px;
  flex-shrink: 0;
}
.prose h3 {
  font-size: 1.05rem; margin: 18px 0 8px;
  color: var(--teal-dark); letter-spacing: -0.01em;
}
.prose p { margin-bottom: 12px; color: #223532; }
.prose ul, .prose ol { margin: 8px 0 12px 20px; }
.prose li { margin-bottom: 8px; color: #223532; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--teal-dark); font-style: normal; font-weight: 600; }
.prose { counter-reset: sec; }

.callout {
  margin: 14px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 14px 14px 0;
  color: #3d2b0a;
  font-weight: 600;
  font-size: 0.98rem;
}
.callout.teal {
  border-left-color: var(--teal);
  background: var(--mint-2);
  color: var(--teal-dark);
}

.contact-block {
  margin-top: 12px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--mint-2);
}
.contact-block h3 { color: var(--teal-dark); margin-top: 0; }
.contact-block .row { margin-bottom: 6px; }
.contact-block .row strong { display: inline-block; min-width: 160px; color: var(--ink); }

.legal-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}
.legal-footer-inner {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.legal-footer a { color: var(--teal-dark); font-weight: 700; }
.legal-footer .links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 940px) {
  .policy-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
  .prose { padding: 30px 24px; }
  .prose h2 { font-size: 1.28rem; }
}
