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

/* ─── SHARED TOKENS ────────────────────────────────────────────────── */
:root {
  --bg:       #080810;
  --surface:  #0f0f1a;
  --surface2: #14141f;
  --border:   rgba(255,255,255,0.07);
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --subtle:   #4a5568;

  /* Per-page accent — overridden by each page's inline :root block */
  --accent:     #00d4aa;
  --accent-dim: #00b891;
  --accent-rgb: 0,212,170;
}

/* ─── BASE ─────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────────────── */
h1 {
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SECTION COMMON ───────────────────────────────────────────────── */
section {
  padding: 64px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 740px;
  line-height: 1.65;
  margin-bottom: 48px;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.65;
}

.full-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── MOBILE ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 48px 20px; }
  h1 { font-size: clamp(34px, 8vw, 50px); }
}
