:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --surface: #171a21;
  --text: #f3f4f6;
  --muted: #b6bdc9;
  --accent: #8b5cf6;
  --accent-strong: #a78bfa;
  --border: #2a2f3a;
  --max: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

a:hover {
  color: #c4b5fd;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 21, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
main,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

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

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

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 600;
}

main {
  padding: 56px 0 72px;
}

.hero {
  padding: 36px 0 16px;
}

.hero h1,
.policy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-top: 28px;
}

.card h2,
.policy h2 {
  margin-top: 0;
}

.button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: white;
  filter: brightness(1.08);
}

.policy > p:first-of-type {
  color: var(--muted);
}

.policy h2 {
  margin-top: 42px;
  padding-top: 8px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.policy ul {
  padding-left: 24px;
}

.policy li + li {
  margin-top: 6px;
}

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  main {
    padding-top: 36px;
  }
}
