:root {
  color-scheme: light;
  --ink: #143d36;
  --body: #365a53;
  --muted: #718c86;
  --line: #dfe9e6;
  --soft: #f2f8f6;
  --accent: #03a88f;
  --warm: #ff7750;
  --paper: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: #087c6d; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(20, 61, 54, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.policy-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-nav a {
  min-height: 38px;
  padding: 7px 11px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.policy-nav a[aria-current="page"] {
  border-bottom-color: var(--warm);
  color: var(--ink);
}

.title-band {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.title-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 42px;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--body);
  font-size: 18px;
}

.effective-date {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 56px;
}

.toc {
  position: sticky;
  top: 94px;
  align-self: start;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

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

.legal-copy section {
  padding: 0 0 32px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.legal-copy section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-copy h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.legal-copy h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.legal-copy p { margin: 0 0 14px; }

.legal-copy ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}

.legal-copy li { margin: 7px 0; }

.notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border-left: 4px solid var(--warm);
  background: #fff7f3;
  color: #694539;
}

.notice strong { color: #55362d; }

.data-table-wrap {
  margin: 18px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 720;
}

tr:last-child td { border-bottom: 0; }

.local-label,
.online-label {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.local-label { color: var(--accent); }
.online-label { color: var(--warm); }

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

.footer-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .header-inner,
  .title-inner,
  .legal-layout,
  .footer-inner {
    width: min(100% - 28px, 680px);
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .brand { font-size: 16px; }
  .brand img { width: 30px; height: 30px; }
  .policy-nav a { padding: 7px; font-size: 12px; }

  .title-inner { padding: 38px 0 34px; }
  h1 { font-size: 34px; }
  .lede { font-size: 16px; }

  .legal-layout {
    padding: 30px 0 54px;
    display: block;
  }

  .toc { display: none; }
  .legal-copy h2 { font-size: 22px; }
  .legal-copy section { scroll-margin-top: 76px; }

  th,
  td { min-width: 150px; padding: 12px; }

  .footer-inner { display: block; }
  .footer-inner span { display: block; margin-top: 4px; }
}

@media (max-width: 420px) {
  .brand span { display: none; }
  .policy-nav { gap: 2px; }
  .policy-nav a { padding-right: 6px; padding-left: 6px; }
  .legal-copy { min-width: 0; }
}
