:root {
  --indigo: #4f46e5;
  --indigo-dark: #312e81;
  --emerald: #10b981;
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #334155;
  --max-width: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg) 0%, #1a1f3d 45%, #0f2922 100%);
  min-height: 100vh;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  color: var(--emerald);
  font-size: 1.25rem;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy {
  padding: 2rem 0 3rem;
}

.policy h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.policy h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: #e0e7ff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.policy h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: #c7d2fe;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.policy p,
.policy li {
  color: #cbd5e1;
}

.policy a {
  color: #a5b4fc;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.policy a:hover {
  color: var(--emerald);
}

.policy ul {
  padding-left: 1.25rem;
}

.policy li {
  margin-bottom: 0.4rem;
}

.policy section {
  margin-bottom: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

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

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

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
  }

  body {
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 50%, #ecfdf5 100%);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.9);
  }

  .policy h2 {
    color: var(--indigo-dark);
  }

  .policy h3 {
    color: var(--indigo);
  }

  .policy p,
  .policy li {
    color: #334155;
  }

  .policy a {
    color: var(--indigo);
  }
}
