/* Google Fonts — Inter variable weight; fallback: system-ui (defined in variables.css) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p { max-width: 68ch; }

a {
  color: var(--clr-cyan);
  text-decoration: none;
  transition: color var(--ease-fast), opacity var(--ease-fast);
}
a:hover { opacity: 0.85; }
a:focus-visible {
  outline: 2px solid var(--clr-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; }
button { cursor: pointer; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-8);
}

/* ── Grid helpers ── */
.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Text utilities ── */
.text--gradient {
  background: linear-gradient(130deg, var(--clr-cyan) 0%, var(--clr-purple) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text--neon {
  color: var(--clr-cyan);
  text-shadow: 0 0 12px var(--clr-cyan-glow);
}

.text--muted   { color: var(--text-secondary); }
.text--center  { text-align: center; }
.text--upper   { text-transform: uppercase; letter-spacing: 0.12em; }
.text--mono    { font-family: var(--font-mono); }

/* ── Accessibility ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Section chrome ── */
.section { padding-block: var(--sp-24); }

.section__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  margin-bottom: var(--sp-4);
}

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--sp-4);
}

.section__desc {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
}

.section__header { margin-bottom: var(--sp-16); }
.section__header--center { text-align: center; }
.section__header--center .section__desc { margin-inline: auto; }

/* ── Neon divider ── */
.neon-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-cyan), var(--clr-purple));
  border-radius: var(--radius-full);
  margin-block: var(--sp-5);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-16);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,229,255,0.08) 0%, transparent 70%),
              var(--bg-void);
}

.page-hero__content { position: relative; z-index: 1; }
.page-hero__tag { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clr-cyan); margin-bottom: var(--sp-4); }
.page-hero__title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
.page-hero__subtitle { font-size: var(--fs-xl); color: var(--text-secondary);
  margin-top: var(--sp-4); max-width: 56ch; }
