/* ============================================================
   TOKENS.CSS — Design Tokens & Base Reset
   GetOnData.io Design System — ported from the React build's global.css
   Loaded on every page, before any other theme stylesheet.
   ============================================================ */

:root {
  /* Brand Colors */
  --clr-teal:          #00D2B4;
  --clr-teal-dark:     #00B89C;
  --clr-teal-glow:     rgba(0, 210, 180, 0.15);
  --clr-blue:          #2563EB;
  --clr-blue-hover:    #1D4ED8;

  /* Dark Palette */
  --clr-dark:          #091527;
  --clr-dark-2:        #0B1D3A;
  --clr-dark-3:        #0E2244;
  --clr-dark-card:     #0D2040;

  /* Light Palette */
  --clr-white:         #FFFFFF;
  --clr-bg-light:      #F8FAFC;
  --clr-bg-alt:        #EEF4FF;
  --clr-border:        #E2E8F0;
  --clr-border-light:  #F1F5F9;

  /* Text */
  --clr-text-dark:     #0F172A;
  --clr-text-body:     #334155;
  --clr-text-muted:    #64748B;
  --clr-text-light:    #94A3B8;
  --clr-text-white:    #FFFFFF;
  --clr-text-on-dark:  #CBD5E1;

  /* Typography */
  --font-family:       'Inter', system-ui, -apple-system, sans-serif;

  --h1-size: 58px; --h1-line: 68px; --h1-weight: 700;
  --h2-size: 45px; --h2-line: 54px; --h2-weight: 700;
  --h3-size: 22px; --h3-line: 32px; --h3-weight: 700;
  --body-size: 18px; --body-line: 28px; --body-weight: 400;
  --text-sm: 14px;
  --text-xs: 12px;

  /* Spacing Scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Layout */
  --container-width: 1280px;
  --container-pad:   24px;

  /* Radius */
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 20px rgba(9,21,39,0.08);

  /* Transitions */
  --ease:    0.2s ease;
  --ease-md: 0.3s ease;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--body-size);
  line-height: var(--body-line);
  font-weight: var(--body-weight);
  color: var(--clr-text-body);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky footer: the header is position:fixed (out of flow), so on any
   page shorter than the viewport, #main-content needs to grow and absorb
   the leftover space or the footer ends early and exposes the body
   background beneath it. */
#main-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.grecaptcha-badge { visibility: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
