:root {
  color-scheme: light;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --surface-base: oklch(98.2% 0.006 78);
  --surface-panel: oklch(96.8% 0.007 82);
  --surface-muted: oklch(92.8% 0.01 78);
  --surface-inset: oklch(99% 0.004 82);
  --ink-strong: oklch(19% 0.016 95);
  --ink: oklch(32% 0.014 92);
  --ink-muted: oklch(48% 0.012 86);
  --line: oklch(86% 0.011 80);
  --line-strong: oklch(75% 0.015 82);
  --accent: oklch(49% 0.075 186);
  --accent-strong: oklch(39% 0.083 188);
  --accent-soft: oklch(92% 0.035 186);
  --amber: oklch(68% 0.105 72);
  --danger: oklch(53% 0.16 31);
  --danger-soft: oklch(95% 0.024 31);
  --success: oklch(49% 0.095 154);
  --shadow-soft: 0 24px 80px oklch(23% 0.02 90 / 18%);
  --shadow-tight: 0 10px 28px oklch(23% 0.02 90 / 12%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-base);
  font-family: var(--font-sans);
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--surface-base);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: oklch(84% 0.06 186);
  color: var(--ink-strong);
}

:focus-visible {
  outline: 3px solid oklch(76% 0.08 186 / 72%);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
