/* ═══ Design tokens (mirrors the Covee app styles/index.js) ═══ */
:root {
  /* Brand */
  --indigo: #6366f1;
  --indigo-dark: #4338ca;
  --indigo-darker: #3730a3;
  --indigo-bg: #eef2ff;
  --indigo-bg-light: #fafaff;
  --indigo-border: #c7d2fe;

  /* Neutrals */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --bg-soft: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --border-dark: #d5d7db;

  /* Accents */
  --amber: #f59e0b;
  --amber-bg: #fef3c7;
  --amber-dark: #92400e;
  --green: #16a34a;
  --green-bg: #f0fdf4;

  /* Shadow scale */
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 48px rgba(17, 24, 39, 0.12);
  --shadow-brand: 0 40px 80px rgba(99, 102, 241, 0.28);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══ Typography ═══ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-primary); }
p { color: var(--text-secondary); line-height: 1.6; }

/* ═══ Layout ═══ */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .container { padding: 0 1.25rem; } }

/* ═══ Section labels (eyebrow pills) ═══ */
.section-label {
  display: inline-block;
  background: var(--indigo-bg);
  color: var(--indigo-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.section-title {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 3.5rem;
}
@media (max-width: 640px) { .section-title { margin-bottom: 2.5rem; } }

/* ═══ Accessibility ═══ */
@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;
  }
}
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }

/* ═══ Reveal animation (Intersection Observer driven) ═══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
