/* ═══════════════════════════════════════════════════════════
   BASE — Tokens, reset, scroll reveal, typography
   ═══════════════════════════════════════════════════════════ */

/* ───── TOKENS ───── */
:root {
  --blue:        #007BC1;
  --blue-hover:  #0069a5;
  --blue-pale:   #e8f4fb;
  --blue-glow:   rgba(0, 123, 193, 0.30);
  --blue-glow-lg:rgba(0, 123, 193, 0.14);
  --green:       #52AB33;
  --green-pale:  #edf7e9;
  --amber:       #d47e2f;
  --amber-pale:  #fef6ec;
  --dark:        #0F1923;
  --text:        #1d233b;
  --text-secondary: #5a5e72;
  --text-muted:  #8e89a6;
  --bg:          #f5f6fa;
  --white:       #ffffff;
  --border:      #e4e5ef;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.03);
  --card-shadow-hover: 0 6px 28px var(--blue-glow), 0 1px 3px rgba(0,0,0,0.06);
  --radius-sm:   0.8rem;
  --radius:      1.2rem;
  --radius-lg:   1.6rem;
  --radius-xl:   2.4rem;
  --nav-h:       88px;
  --container:   1240px;
  --container-wide: 1400px;
  --section-pad: clamp(5rem, 10vw, 10rem);

  /* ───── TYPOGRAPHY ───── */
  --fs-xs:        0.75rem;     /* badges, labels, fine print */
  --fs-sm:        0.8rem;      /* captions, meta text */
  --fs-body-sm:   0.85rem;     /* compact body, card descriptions */
  --fs-body:      0.9rem;      /* default body copy */
  --fs-base:      0.95rem;     /* comfortable body */
  --fs-md:        1.05rem;     /* intro paragraphs, button text */
  --fs-lg:        1.1rem;      /* large body */
  --fs-section:   clamp(2rem, 3.5vw, 3rem);   /* section titles */
  --fs-hero:      clamp(2.8rem, 5vw, 4.5rem); /* hero headings */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ───── SCROLL REVEAL ───── */
[data-v3-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-v3-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
