:root {
  color-scheme: light;
  --ink: #212121;
  --muted: #6f7475;
  --line: #e3e6e4;
  --surface: #f7f9f8;
  --brand: #00c853;
  --brand-dark: #008f32;
  --brand-soft: #edf9f1;
  --brand-ink: #173c22;
  --charcoal: #353740;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.container {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
}

.site-header {
  border-top: 6px solid var(--brand);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 46px 0 38px;
}

.site-header.compact {
  padding-bottom: 46px;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.brand-logo {
  width: 76px;
  height: 82px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 760;
}

h2 {
  margin: 0 0 14px;
  color: var(--brand-ink);
  font-size: 1.35rem;
}

.summary {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.policy-content {
  background: var(--white);
  padding: 34px 0 64px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 6px 12px;
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
}

section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

li::marker {
  color: var(--brand-dark);
}

.callout {
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  padding: 12px 16px;
  color: var(--brand-ink);
  font-weight: 700;
}

.back-link {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  padding: 24px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: var(--brand);
}

@media (max-width: 760px) {
  .site-header {
    padding: 34px 0 30px;
  }

  .brand-lockup {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  .brand-logo {
    width: 62px;
    height: 68px;
  }

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