:root {
  --bg: #08080A;
  --surface: #101014;
  --surface-2: #17171C;
  --border: #27272A;
  --border-strong: #3F3F46;
  --text: #FAFAFA;
  --text-2: #A1A1AA;
  --accent: #7C3AED;
  --accent-strong: #6D28D9;
  --accent-text: #A78BFA;
  --green: #22C55E;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-sm: 8px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface-2: #F4F4F5;
  --border: #E4E4E7;
  --border-strong: #D4D4D8;
  --text: #18181B;
  --text-2: #52525B;
  --accent: #6D28D9;
  --accent-strong: #5B21B6;
  --accent-text: #6D28D9;
  --green: #15803D;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--font-mono); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  padding: 10px 16px; background: var(--surface);
  border: 1px solid var(--accent); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.8125rem;
  color: var(--accent-text); margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--text-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.9375rem; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--border-strong); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 0.9375rem;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 12px 24px 20px; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }
.nav.open .mobile-menu { display: block; }

@media (max-width: 820px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .section { padding: 72px 0; }
}
