:root {
  color-scheme: light;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --color-page: #f7f7f4;
  --color-surface: #ffffff;
  --color-surface-muted: #efefea;
  --color-text: #171717;
  --color-text-muted: #66645d;
  --color-border: #d8d7cf;
  --color-accent: #126d78;
  --color-accent-strong: #0b4f58;
  --color-warning: #9f5b00;
  --color-danger: #a23232;
  --shadow-soft: 0 18px 45px rgba(28, 31, 34, 0.08);
  --shadow-card: 0 24px 70px rgba(28, 31, 34, 0.14);
  --radius-sm: 6px;
  --radius-md: 8px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-page: #111315;
  --color-surface: #191c1f;
  --color-surface-muted: #23272a;
  --color-text: #f2f0ea;
  --color-text-muted: #b9b4aa;
  --color-border: #33383d;
  --color-accent: #55b7bd;
  --color-accent-strong: #83d2d5;
  --color-warning: #d69b3a;
  --color-danger: #ef8585;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.24);
  --shadow-card: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: var(--font-sans);
  background: var(--color-page);
  color: var(--color-text);
}

body {
  min-height: 100vh;
  margin: 0;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

code,
pre {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent), transparent 55%);
  outline-offset: 3px;
}
