:root {
  color-scheme: light dark;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --color-bg: #0f172a;
  --color-surface: #111c33;
  --color-surface-alt: #15203a;
  --color-primary: #38bdf8;
  --color-primary-dark: #0ea5e9;
  --color-accent: #f97316;
  --color-text: #f8fafc;
  --color-muted: #cbd5f5;
  --color-success: #34d399;
  --color-danger: #f87171;
  --shadow-md: 0 18px 60px -30px rgba(15, 23, 42, 0.9);
  --shadow-sm: 0 8px 25px -15px rgba(15, 23, 42, 0.9);
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 200ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #020617 0%, #0b1120 100%);
  color: var(--color-text);
  min-height: 100vh;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

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

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

body.no-scroll {
  overflow: hidden;
}
