:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --text: #111827;
  --muted: #4b5563;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --border: #e5e7eb;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #60a5fa;
    --blue-dark: #93c5fd;
    --blue-soft: #1e3a8a;
    --text: #f3f4f6;
    --muted: #9ca3af;
    --surface: #0b1120;
    --surface-alt: #111827;
    --border: #1f2937;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--blue);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

header.site img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

header.site a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 48px 0 32px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 24px;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 600;
}

h2 {
  font-size: 26px;
  margin: 48px 0 16px;
}

h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

ul.plain {
  padding-left: 20px;
}

footer {
  margin: 64px 0 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}

.policy h2 {
  font-size: 22px;
}

.policy table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 15px;
}

.policy th,
.policy td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.updated {
  color: var(--muted);
}
