/* Devyateremil — base: reset, variables, typography */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--color-accent);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-accent);
}

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

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

:root {
  --color-bg: #050505;
  --color-bg-elevated: #0f0f0f;
  --color-surface: #141414;
  --color-surface-2: #1a1a1a;
  --color-border: #2a2a2a;
  --color-text: #f5f5f5;
  --color-text-muted: #8a8a8a;
  --color-text-dim: #5c5c5c;
  --color-accent: #c5ff41;
  --color-accent-dim: #9fcc33;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: min(1160px, calc(100% - 2.5rem));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --space-section: clamp(4rem, 10vw, 7.5rem);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

small,
.small {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.muted {
  color: var(--color-text-muted);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 36ch;
  line-height: 1.65;
}

.accent-line {
  color: var(--color-accent);
  font-weight: 600;
}
