:root {
  --color-bg: oklch(98% 0.005 250);
  --color-surface: oklch(100% 0 0);
  --color-surface-2: oklch(96% 0.005 250);
  --color-border: oklch(88% 0.01 250);
  --color-text: oklch(18% 0.02 250);
  --color-text-muted: oklch(48% 0.015 250);
  --color-accent: oklch(52% 0.22 250);
  --color-accent-dim: oklch(92% 0.06 250);

  /* Change type colors */
  --color-increase: oklch(54% 0.22 25);
  --color-increase-bg: oklch(96% 0.04 25);
  --color-decrease: oklch(50% 0.18 150);
  --color-decrease-bg: oklch(95% 0.04 150);
  --color-free-cut: oklch(58% 0.2 55);
  --color-free-cut-bg: oklch(96% 0.05 55);
  --color-free-added: oklch(50% 0.18 150);
  --color-free-added-bg: oklch(95% 0.04 150);
  --color-quota: oklch(55% 0.2 295);
  --color-quota-bg: oklch(95% 0.04 295);
  --color-feature: oklch(52% 0.18 220);
  --color-feature-bg: oklch(95% 0.04 220);
  --color-neutral: oklch(48% 0.02 250);
  --color-neutral-bg: oklch(93% 0.01 250);

  --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  --text-lg: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --text-xl: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-2xl: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  --text-3xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
  --text-hero: clamp(2.2rem, 1.5rem + 3.5vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-section: clamp(3rem, 2rem + 5vw, 8rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px oklch(0% 0 0 / 0.06), 0 1px 2px oklch(0% 0 0 / 0.04);
  --shadow-md: 0 4px 12px oklch(0% 0 0 / 0.08), 0 2px 4px oklch(0% 0 0 / 0.04);
  --shadow-lg: 0 8px 24px oklch(0% 0 0 / 0.1), 0 4px 8px oklch(0% 0 0 / 0.06);

  --duration-fast: 120ms;
  --duration-normal: 220ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: 52rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
