/* base.css — reset, variables, typography, tokens */

:root {
  --magenta: #d6207a;
  --magenta-bright: #ff2e9a;
  --violet: #6d28d9;
  --violet-deep: #4c1d95;
  --violet-soft: #8b5cf6;
  --ink: #16091f;
  --ink-soft: #2a1738;
  --paper: #faf6ff;
  --paper-card: rgba(255, 255, 255, 0.08);
  --text: #f3ecff;
  --text-muted: #c6b6dd;
  --text-dark: #1f0f2c;
  --text-dark-muted: #5b4a6e;
  --border-glass: rgba(255, 255, 255, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 50px -18px rgba(76, 29, 149, 0.55);
  --shadow-card: 0 24px 60px -28px rgba(214, 32, 122, 0.45);
  --grad-hero: linear-gradient(135deg, #4c1d95 0%, #6d28d9 38%, #d6207a 100%);
  --grad-accent: linear-gradient(120deg, var(--magenta-bright), var(--violet-soft));
  --grad-text: linear-gradient(120deg, #ff5cb6, #b18bff);
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --font-head: "Onest", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Onest", system-ui, sans-serif;
  --t-fast: 0.18s ease;
  --t-mid: 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #1a0b27;
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(214, 32, 122, 0.35), transparent 60%),
    radial-gradient(800px 600px at 95% 8%, rgba(109, 40, 217, 0.4), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(139, 92, 246, 0.25), transparent 60%),
    #160922;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.7rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p {
  margin-bottom: 1.05rem;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

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

ul,
ol {
  padding-left: 1.3rem;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

::selection {
  background: var(--magenta-bright);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--magenta-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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