/* ============================================================
   ARGORIX ACADEMY — Base styles, reset, layout, utilities
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--brand-void);
  color: var(--neutral-200);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-cyan-bright); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(124,58,237,.5); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--brand-void); }
::-webkit-scrollbar-thumb { background: var(--neutral-650); border-radius: 10px; border: 2px solid var(--brand-void); }
::-webkit-scrollbar-thumb:hover { background: var(--neutral-600); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: #fff; margin: 0; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, var(--text-7xl)); line-height: var(--leading-display); letter-spacing: -0.045em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, var(--text-5xl)); line-height: var(--leading-title); letter-spacing: -0.035em; font-weight: 600; }
h3 { font-size: var(--text-2xl); line-height: var(--leading-title); letter-spacing: -0.025em; }
h4 { font-size: var(--text-lg); letter-spacing: -0.02em; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-cyan-bright);
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--neutral-400); }
.section-sub { color: var(--neutral-400); font-size: var(--text-lg); line-height: 1.55; max-width: 680px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.section { padding: clamp(64px, 9vw, var(--space-32)) 0; position: relative; }
.section-head { margin-bottom: var(--space-12); }
.section-head .eyebrow { margin-bottom: var(--space-4); display: inline-block; }
.stack-4 > * + * { margin-top: var(--space-4); }
.row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.row-center { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.grid { display: grid; gap: var(--space-6); }
.hidden { display: none !important; }

/* divider */
.hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* accessibility */
.sr-only {
  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: 2px solid var(--brand-cyan-bright); outline-offset: 2px; border-radius: 4px; }
a.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--brand-electric); color: #fff; padding: 10px 16px; border-radius: 8px;
}
a.skip-link:focus { left: 8px; }
