:root {
  --bg: #0b0f14;
  --fg: #e7ebf0;
  --muted: #a8b3c7;
  --primary: #2f7bff;
  --ring: #4c95ff;
}

[data-theme="light"] {
  --bg: #f7f9fc;
  --fg: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --ring: #3b82f6;
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--fg);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(10px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--fg) 7%, transparent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  letter-spacing: 0.12em;
  font-weight: 700;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}
.nav-link:hover { color: var(--fg) }

.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero-title {
  margin: 0;
  font-size: 48px;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  margin: 12px 0 24px;
  color: var(--muted);
}
.hero-actions {
  display: inline-flex;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid color-mix(in oklab, var(--fg) 15%, transparent);
}
.btn.primary {
  background: var(--primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.btn.primary:focus { outline: none; box-shadow: 0 0 0 4px color-mix(in oklab, var(--ring) 35%, transparent) }
.btn.ghost { color: var(--fg) }

.section {
  padding: 56px 0;
}
.section h2 {
  margin: 0 0 12px 0;
}
.section p { color: var(--muted) }

.site-footer {
  border-top: 1px solid color-mix(in oklab, var(--fg) 7%, transparent);
  padding: 24px 0;
  margin-top: 48px;
}
