/* ============================================================
   Cydrah AI Marketing Site — STYLE GUIDE
   Single source of truth for the visual theme. Every other CSS
   file (main.css, and any page-specific CSS) should reference
   these variables rather than hardcoding colors, sizes, or
   spacing. Change the look of the whole site from this file alone.

   Fonts: Space Grotesk + Inter — both SIL Open Font License 1.1,
   free for commercial use, no attribution required.
   ============================================================ */

:root {

  /* ---------- Color: base palette ---------- */
  --color-bg:          #FFFDF9;  /* page background, warm off-white */
  --color-text:        #2e2e2e;  /* primary text */
  --color-text-soft:   #5b5952;  /* secondary/muted text */
  --color-accent:      #464a72;  /* navy — primary brand accent */
  --color-accent-700:  #2e3350;  /* navy, darker — hover states */
  --color-divider:     #dcd9e8;  /* hairline rules, borders */
  --color-danger:      #b3402f;  /* reserved: error/destructive states */

  /* ---------- Color: surface tints ---------- */
  --surface-lavender:  #EFEAF5;
  --surface-mint:      #E6F2ED;
  --surface-gradient:  linear-gradient(120deg, var(--surface-lavender) 0%, var(--surface-mint) 100%);

  /* ---------- Typography: families ---------- */
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* ---------- Typography: weights ---------- */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ---------- Typography: scale ----------
     Named by role, not just size, so the intent survives if a
     number changes. Responsive sizes use clamp(min, fluid, max). */
  --text-label:   13px;                          /* eyebrows, small print, stat labels */
  --text-nav:     14px;                          /* nav links, footer links */
  --text-button:  14.5px;                        /* button labels */
  --text-body:    15px;                          /* default paragraph copy */
  --text-body-lg: 16px;                          /* lead/hero paragraphs */
  --text-h3:      20px;                          /* card headings */
  --text-price:   36px;                           /* pricing card price display */
  --text-h2:      clamp(28px, 3.4vw, 40px);      /* section headings */
  --text-quote:   clamp(21px, 2.4vw, 28px);      /* testimonial */
  --text-display: clamp(30px, 3.2vw, 44px);      /* big stat numbers */
  --text-h1:      clamp(34px, 5.5vw, 62px);      /* page hero headline */

  --line-height-tight: 1.1;   /* headings */
  --line-height-base:  1.5;   /* body copy */
  --line-height-loose: 1.65;  /* long-form paragraphs */

  /* ---------- Spacing scale ----------
     4px-based. Covers section padding, grid gaps, card padding.
     A few fine-tuned one-off values (e.g. the hero's exact
     bottom padding) stay literal in main.css by design — not
     everything needs to be forced onto the scale. */
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ---------- Shape ----------
     Cards and images intentionally use 0 radius — sharp edges,
     not the rounded-SaaS-card look. Only interactive controls
     (buttons) get a small radius. */
  --radius-control: 4px;
  --radius-none: 0;

  /* ---------- Motion ---------- */
  --transition-fast: 150ms ease;
  /* prefers-reduced-motion is respected globally in main.css */

  /* ---------- Layout ---------- */
  --container-max: 1180px;
  --gutter: clamp(20px, 5vw, 72px);

  /* ---------- Breakpoints (reference only — CSS vars can't
     drive @media queries yet, so these are documented here and
     used as literals in main.css) ----------
     --bp-stack: 860px   → single-column stacking below this width
  */
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: var(--line-height-base);
}

a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-700); }
