:root {
  color-scheme: light dark;
  --background: #f8f7fa;
  --surface: #f1ecfa;
  --surface-strong: #e9e0fa;
  --border: #cfc4dc;
  --text: #24212a;
  --muted: #5f5a68;
  --accent: #7558bd;
  --accent-text: #ffffff;
  --shadow: rgba(75, 58, 92, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #000103;
    --surface: #16151f;
    --surface-strong: #211e2a;
    --border: #2c2b36;
    --text: #f9f8ff;
    --muted: #b8bed2;
    --accent: #c7b2ff;
    --accent-text: #201a2c;
    --shadow: rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34rem),
    var(--background);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1;
}

.nav {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

main {
  width: min(100% - 32px, 820px);
  margin: 56px auto 72px;
}

.hero,
.card {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 48px var(--shadow);
}

.hero {
  padding: clamp(28px, 7vw, 54px);
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 7vw, 3.5rem);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

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

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

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

.lede {
  max-width: 64ch;
  font-size: 1.08rem;
}

.updated {
  margin-top: 16px;
  font-size: 0.92rem;
}

.card {
  padding: clamp(24px, 5vw, 38px);
  margin-top: 18px;
}

li + li {
  margin-top: 8px;
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 17px;
  border-radius: 14px;
  color: var(--accent-text);
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.callout {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-strong);
}

footer {
  width: min(100% - 32px, 820px);
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  main {
    margin-top: 28px;
  }
}
