:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #596377;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #d8d3c8;
  --navy: #17385f;
  --coral: #d65f4b;
  --coral-soft: #f7ddd7;
  --focus: #0b66c3;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body { margin: 0; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--coral); }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.topbar .shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  background: var(--navy);
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  box-shadow: inset -7px -7px 0 var(--coral);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
}

.nav a { text-decoration: none; }

main { padding: 72px 0 88px; }

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.legal h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }

.lede {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #238636;
  box-shadow: 0 0 0 4px #dff2e2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.card h2, .prose h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.card p, .card ul { margin: 0; }

.card ul, .prose ul {
  padding-left: 1.2rem;
}

.card li + li, .prose li + li { margin-top: 8px; }

.scope {
  grid-column: 1 / -1;
  border-color: #e3a99d;
  background: var(--coral-soft);
}

.scope code {
  color: #56251c;
  font-size: 0.84em;
  overflow-wrap: anywhere;
}

.prose {
  max-width: 760px;
  margin-top: 52px;
}

.prose h2 {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
}

.prose p, .prose ul { color: #303a4d; }

.prose strong { color: var(--ink); }

.date {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
}

.notice p { margin: 0; color: var(--ink); }

.footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer p { margin: 0; }

@media (max-width: 680px) {
  .topbar .shell {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav { gap: 14px; }
  main { padding: 52px 0 64px; }
  .grid { grid-template-columns: 1fr; margin-top: 40px; }
  .scope { grid-column: auto; }
  .card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
