/* ==========================================================================
   The Paddle Factory — Design tokens
   Single source of truth for color, type, spacing and motion.
   ========================================================================== */

:root {
  /* Color ---------------------------------------------------------------- */
  --color-brand: #34c6f4;          /* Primary brand blue — accent only */
  --color-brand-deep: #0a6f93;     /* Brand blue darkened for text on white (AA) */

  --color-black: #000000;
  --color-ink: #1d1d1f;            /* Primary text on light */
  --color-ink-2: #424245;          /* Secondary text on light */
  --color-muted: #6e6e73;          /* Tertiary text on light (AA on white) */
  --color-line: #d2d2d7;           /* Hairlines on light */
  --color-gray: #f5f5f7;           /* Light section background */
  --color-gray-2: #e8e8ed;         /* Placeholder fill on light */
  --color-white: #ffffff;

  --color-on-dark: #f5f5f7;
  --color-on-dark-2: #a1a1a6;      /* Secondary text on black (AA) */
  --color-line-dark: #2c2c2e;
  --color-surface-dark: #161617;   /* Placeholder fill on black */

  /* Typography ------------------------------------------------------------ */
  --font-sans: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;

  /* Type scale. Fluid between 390px and 1440px; values at 1440px noted.
     Headlines are large but never dominate the viewport; supporting text
     stays confident and readable (18px body copy). */
  --fs-display: clamp(2.875rem, 1.6rem + 5.3vw, 6.5rem);       /* hero, 104px */
  --fs-h1: clamp(2.625rem, 1.7rem + 3.4vw, 4.25rem);          /* closing statement, 68px */
  --fs-h2: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);           /* primary section headline, 60px */
  --fs-statement: clamp(1.5625rem, 1.2rem + 1.4vw, 2.375rem); /* intro statement, 38px */
  --fs-h3: clamp(1.75rem, 1.3rem + 1.05vw, 2.25rem);          /* product category, 36px */
  --fs-lede: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);       /* section introduction, 26px */
  --fs-title: clamp(1.3125rem, 1.12rem + 0.5vw, 1.5625rem);   /* service title, 25px */
  --fs-h4: clamp(1.1875rem, 1.05rem + 0.4vw, 1.4375rem);      /* tile title, 23px */
  --fs-body-l: clamp(1.125rem, 1.02rem + 0.28vw, 1.25rem);    /* descriptions, 20px */
  --fs-body: 1.125rem;             /* 18px */
  --fs-small: 1rem;                /* 16px */
  --fs-eyebrow: 0.84375rem;        /* 13.5px, section labels */
  --fs-caption: 0.8125rem;         /* 13px, captions */

  --lh-tight: 1.04;
  --lh-heading: 1.1;
  --lh-snug: 1.25;
  --lh-lede: 1.4;
  --lh-body: 1.5;

  --tracking-display: -0.032em;
  --tracking-heading: -0.024em;
  --tracking-title: -0.014em;
  --tracking-eyebrow: 0.1em;

  /* Layout & spacing ------------------------------------------------------ */
  --container: 1320px;
  --container-narrow: 960px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --grid-gap: clamp(1rem, 2.2vw, 2rem);

  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.5rem + 2vw, 3rem);
  --space-xl: clamp(2.5rem, 1.75rem + 2.6vw, 4rem);
  --space-section: clamp(4.5rem, 2.5rem + 5.5vw, 7.5rem);
  --space-group: clamp(3.5rem, 2.25rem + 3.6vw, 6rem);   /* between groups within a section */

  --header-height: 64px;
  --radius-pill: 980px;
  --radius-media: clamp(0.75rem, 0.6rem + 0.4vw, 1rem); /* 12px to 16px */

  /* Motion ---------------------------------------------------------------- */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 200ms;
  --duration: 450ms;
  --duration-reveal: 900ms;
}

@media (min-width: 900px) {
  :root {
    --header-height: 76px;
  }
}
