:root {
  color-scheme: light;
  --brand-dark: #064e3b;
  --brand: #10b981;
  --brand-soft: #d1fae5;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #17211d;
  --muted: #52615b;
  --border: #dce5e1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 2;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  color: var(--surface);
  background: var(--brand-dark);
}

.skip-link:focus { top: 1rem; }
.site-header { color: var(--surface); background: var(--brand-dark); }

.header-content,
.policy {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.header-content { padding: 2.5rem 0 3rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.6rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.eyebrow {
  margin: 2.25rem 0 0.5rem;
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.summary {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: #d8f3e8;
  font-size: 1.05rem;
}

.updated { margin: 1.25rem 0 0; color: #a7c9bc; font-size: 0.9rem; }
.policy { padding: 2rem 0 3.5rem; }

.notice,
section {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 0.35rem 1.25rem rgb(6 78 59 / 5%);
}

.notice { border-left: 0.35rem solid var(--brand); background: #f0fdf7; }
section { margin-top: 1rem; }

h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-dark);
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  line-height: 1.3;
}

p, ul, dl { margin-top: 0; }
p:last-child, ul:last-child, dl:last-child { margin-bottom: 0; }
li + li { margin-top: 0.45rem; }
dl > div + div { margin-top: 0.8rem; }
dt { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
dd { margin: 0.15rem 0 0; overflow-wrap: anywhere; font-weight: 700; }

code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
}

footer { padding: 1.5rem 1rem; color: var(--muted); text-align: center; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@media (max-width: 30rem) {
  .header-content, .policy { width: min(100% - 1.25rem, 52rem); }
  .header-content { padding-block: 1.5rem 2rem; }
  .eyebrow { margin-top: 1.5rem; }
  .policy { padding-top: 1rem; }
}

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