:root {
  color-scheme: light dark;
  --bg: #f3f5f7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #10202e;
  --muted: #52606d;
  --border: rgba(16, 32, 46, 0.12);
  --accent: #1166cc;
  --accent-strong: #0c4fa0;
  --shadow: 0 18px 50px rgba(16, 32, 46, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141a;
    --surface: rgba(25, 34, 43, 0.9);
    --surface-strong: #17212b;
    --text: #edf3f8;
    --muted: #aab8c4;
    --border: rgba(237, 243, 248, 0.1);
    --accent: #66aaff;
    --accent-strong: #8bbcff;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(17, 102, 204, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(17, 102, 204, 0.08), transparent 30%),
    var(--bg);
}

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

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

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  padding: 28px;
  margin-bottom: 20px;
}

.card {
  padding: 24px;
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 102, 204, 0.12);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.15;
}

h1 {
  font-size: clamp(32px, 5vw, 46px);
}

h2 {
  font-size: 22px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 20px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: transparent;
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
  color: white;
}

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

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

.footer {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
