:root {
  color-scheme: light dark;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1a1f2b;
  --muted: #5c667a;
  --accent: #2f6fed;
  --border: #d8dee8;
  --shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141c;
    --surface: #171d28;
    --text: #eef2f8;
    --muted: #a8b0c0;
    --accent: #6b9bff;
    --border: #2a3344;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(circle at top, #dfe8ff 0%, var(--bg) 42%);
}

@media (prefers-color-scheme: dark) {
  body {
    background: radial-gradient(circle at top, #1a2740 0%, var(--bg) 42%);
  }
}

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

a:hover {
  text-decoration: none;
}

.site-header,
.site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-nav a {
  font-size: 0.95rem;
  text-decoration: none;
}

html:has(body.maintenance-page) {
  height: 100%;
}

body.maintenance-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--muted);
  background: var(--bg);
  line-height: normal;
}

body.maintenance-page h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero {
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.policy h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.03em;
}

.policy h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.policy p,
.policy li {
  color: var(--text);
}

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

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
