:root {
  color-scheme: dark;
  --bg: #05060c;
  --bg-card: #0d111c;
  --border: #1c2438;
  --text: #e8ecf4;
  --muted: #9aa6bf;
  --accent: #5b9dff;
  --accent-hover: #8bb8ff;
  --max-width: 42rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #10182a 0%, var(--bg) 55%);
  color: var(--text);
}

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

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

.site-header {
  text-align: center;
  padding: 3rem 1.25rem 1.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header h1,
.legal h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

main,
.legal {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto 3rem;
}

.card,
.legal section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.card h2,
.legal h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.card p:last-child,
.legal p:last-child,
.legal ul:last-child {
  margin-bottom: 0;
}

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

.small {
  font-size: 0.9rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #04101f !important;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  color: #04101f !important;
}

.link-list {
  margin: 0;
  padding-left: 1.25rem;
}

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

.site-footer nav {
  margin-top: 0.5rem;
}

.site-footer a {
  text-decoration: none;
}

.legal .updated {
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal h2 {
  margin-top: 1.75rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

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

.legal li + li {
  margin-top: 0.35rem;
}

code {
  font-size: 0.88em;
  background: #151b2b;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
