:root {
  --bg: #060608;
  --bg-elevated: #0a0a0e;
  --bg-overlay: rgba(10, 10, 14, 0.92);

  --ink-1: #f4f5f8;
  --ink-2: #c4cbda;
  --ink-3: #8a91a3;
  --ink-4: #5a6173;
  --ink-5: #3a4050;

  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.04);
  --line-3: rgba(255, 255, 255, 0.02);

  --accent: #818cf8;
  --accent-hover: #a5adf9;
  --accent-ink: rgba(129, 140, 248, 0.12);
  --accent-line: rgba(129, 140, 248, 0.35);

  --warn: #fcd34d;
  --ok: #86efac;
  --err: #fca5a5;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, "Menlo", monospace;

  --size-hero: 96px;
  --size-display: 56px;
  --size-h1: 32px;
  --size-h2: 22px;
  --size-body: 14px;
  --size-small: 12px;
  --size-micro: 10.5px;

  --track-tight: -0.03em;
  --track-snug: -0.015em;
  --track-normal: 0;
  --track-wide: 0.04em;
  --track-wider: 0.08em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --spine-w: 72px;
  --page-max: 1280px;
  --page-pad: 72px;

  --t-fast: 120ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-med: 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-slow: 360ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-text);
  font-size: var(--size-body);
  line-height: 1.5;
  letter-spacing: var(--track-snug);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

::selection {
  background: var(--accent-ink);
  color: var(--ink-1);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.08);
}
