:root {
  color-scheme: light dark;
  --background: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.92);
  --text: #172033;
  --muted: #677289;
  --border: #dce3ee;
  --accent: #3768e8;
  --accent-soft: #e8efff;
  --success: #168153;
  --shadow: 0 24px 70px rgba(33, 49, 83, 0.09);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #10141c;
    --surface: rgba(29, 35, 46, 0.94);
    --text: #eff3fa;
    --muted: #a6b0c1;
    --border: #343d4d;
    --accent: #72a2ff;
    --accent-soft: #1d3157;
    --success: #66d7a3;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 5%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 31rem),
    var(--background);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.site-header,
main,
footer {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #2d91ff, #5844dd);
  border-radius: 10px;
  font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  box-shadow: 0 8px 22px rgba(55, 104, 232, 0.28);
}

.source-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.source-link:hover { color: var(--accent); }

main { padding: 76px 0 88px; }

.hero { max-width: 760px; }

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 5.7rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.97;
}

.lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 28%, transparent);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.updated {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.policy-card {
  padding: clamp(27px, 5vw, 52px);
  margin-top: 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.policy-card + .policy-card { margin-top: 24px; }

h2 {
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-size: 1.5rem;
  line-height: 1.25;
}

h3 {
  margin: 34px 0 10px;
  font-size: 1.06rem;
  line-height: 1.35;
}

h2 + h3 { margin-top: 0; }

.policy-card p {
  margin-bottom: 16px;
  color: var(--muted);
}

.policy-card strong { color: var(--text); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer { width: min(100% - 28px, 920px); }

  main { padding: 54px 0 64px; }

  .source-link { font-size: 0.82rem; }

  .status {
    align-items: flex-start;
    border-radius: 14px;
    line-height: 1.4;
  }

  .status-dot { margin-top: 0.3em; }

  .policy-card {
    margin-top: 50px;
    border-radius: 18px;
  }

  footer { flex-direction: column; }
}

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