/* ==========================================================
   SOLA PLUS - DESIGN TOKENS  (variables.css)
   Change a value here and the whole website updates.
   ========================================================== */

:root {
  /* ---------- COLORS ---------- */
  --brand-primary: #D90000;
  --brand-primary-hover: #B80000;
  --brand-secondary: #202020;

  --background-main: #F5F3EF;      /* Ivory */
  --background-surface: #FFFFFF;   /* White */
  --background-subtle: #E7E2DA;    /* Stone */
  --background-dark: #202020;
  --background-dark-surface: #292929;
  --background-black: #000000;     /* NEW: Let's Talk section */

  --text-inverse: #FFFFFF;

  /* Text on light sections */
  --text-light-heading: #202020;
  --text-light-body: #626262;
  --text-light-muted: #6B6B6B;
  --text-light-eyebrow: #D90000;

  /* Text on dark sections */
  --text-dark-heading: #FFFFFF;
  --text-dark-body: #D1D1D1;
  --text-dark-secondary: #B7B7B7;
  --text-dark-muted: #A0A0A0;
  --text-dark-eyebrow: #FF5A5A;

  --border-default: #E2DED6;
  --focus-ring: #202020;

  /* ---------- FONTS ---------- */
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;

  /* ---------- TYPOGRAPHY (desktop) ---------- */
  --hero-size: 64px;     --hero-line: 70px;   --hero-track: 0;
  --h2-size: 44px;       --h2-line: 53px;     --h2-track: -0.02em;
  --h3-size: 24px;       --h3-line: 31px;     --h3-track: -0.01em;
  --h4-size: 20px;       --h4-line: 28px;     --h4-track: 0;

  --body-large-size: 18px;  --body-large-line: 27px;
  --body-size: 16px;        --body-line: 24px;
  --body-small-size: 14px;  --body-small-line: 21px;
  --caption-size: 13px;     --caption-line: 20px;

  --eyebrow-size: 12px;  --eyebrow-line: 17px;  --eyebrow-track: 0.08em;
  --nav-size: 14px;      --nav-line: 20px;
  --button-size: 16px;   --button-line: 21px;
  --form-label-size: 14px;  --form-label-line: 20px;
  --form-input-size: 16px;  --form-input-line: 24px;

  /* ---------- SPACING & LAYOUT (desktop) ---------- */
  --space-heading-to-body: 24px;
  --space-content-to-actions: 40px;   /* heading+body to buttons/cards */

  --side-padding: 96px;
  --section-padding-y: 96px;
  --container-max: 1440px;            /* 1248px of content + 96px each side */

  /* ---------- SHAPE ---------- */
  --radius: 8px;
  --nav-height: 104px;
  --card-padding: 24px;
  --button-padding-y: 16px;
  --button-padding-x: 32px;

  /* ---------- FOCUS ---------- */
  --focus-width: 2px;
  --focus-offset: 3px;

  /* ---------- MOTION ---------- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-reveal: 0.6s;
}

/* Tablet: smooth in-between */
@media (max-width: 1023px) {
  :root {
    --side-padding: 48px;
  }
}

/* ---------- MOBILE (390px design) ---------- */
@media (max-width: 767px) {
  :root {
    --hero-size: 40px;  --hero-line: 44px;  --hero-track: -0.03em;
    --h2-size: 32px;    --h2-line: 38px;    --h2-track: -0.02em;

    --space-heading-to-body: 16px;
    --space-content-to-actions: 24px;

    --side-padding: 24px;
    --nav-height: 72px;
    /* section vertical padding stays 96px, as per your design */

    --button-padding-y: 12px;
    --button-padding-x: 24px;
  }
}
