/* Handbuilt Web design tokens.
   The single source for colour, type, shape and depth on every page.
   DESIGN.md at the project root explains each value and when to use it.
   Pages refer to these names only; raw hex, rgba and font sizes belong here. */
:root{
  /* Surfaces */
  --color-bg:#ede4d2;               /* page background, warm taupe */
  --color-surface:#fbf8f2;          /* cards, form fields, trust strip */
  --color-band:#e1d3b5;             /* one deeper band per page, e.g. the review form section */
  --color-chrome:#e4d9c2;           /* browser frame bar around screenshots */
  --color-chrome-dot:#c9bb9c;       /* the three dots in that bar */
  --color-dark:#332d24;             /* footer, CTA band, skip link */

  /* Text */
  --color-text:#332d24;             /* headings and body text */
  --color-text-muted:#5c5346;       /* supporting copy, hints, captions, input borders */
  --color-on-fill:#ffffff;          /* text and icons on primary fills and on dark surfaces */
  --color-on-dark:#efe8db;          /* body text and links on --color-dark */
  --color-on-dark-muted:#c9bfae;    /* small print on --color-dark */

  /* Lines */
  --color-border:#d9cdb3;           /* hairlines, card borders, dividers */
  --color-dark-line:#4a4335;        /* dividers on --color-dark (decorative only) */
  --color-dark-line-strong:#9c917c; /* secondary button border on --color-dark */

  /* Brand */
  --color-primary:#a85c3b;          /* terracotta: button fills, logo mark, step numbers. Never text on light surfaces */
  --color-primary-strong:#8a4a2e;   /* text links, eyebrows, icons, hover fill, secondary button */
  --color-primary-on-dark:#c47852;  /* outlines and borders on --color-dark */
  --color-primary-tint:rgba(168,92,59,0.12);   /* tag pills, icon tiles */
  --color-primary-wash:rgba(138,74,46,0.08);   /* secondary button hover */
  --color-primary-ring:rgba(138,74,46,0.14);   /* halo around the featured pricing card */
  --color-note-bg:rgba(217,205,179,0.35);      /* inline note boxes inside cards */
  --color-on-dark-wash:rgba(255,255,255,0.08); /* button hover on --color-dark */
  --color-focus:#8a4a2e;            /* focus outline on light surfaces; use --color-bg on dark */

  /* Hero blueprint sketch (illustration only) */
  --color-sketch-line:rgba(138,74,46,0.5);
  --color-sketch-ink:rgba(51,45,36,0.55);
  --color-sketch-fill:rgba(251,248,242,0.35);

  /* Status */
  --color-error:#b3412a;            /* error border */
  --color-error-text:#7a2c19;
  --color-error-bg:#fbeae4;
  --color-success:#3d6b3a;          /* reserved: success text or icon on light surfaces */
  --color-warning:#7a5200;          /* reserved: warning text or icon on light surfaces */

  /* Type */
  --font-sans:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --text-xs:0.75rem;      /* mono labels: eyebrows, tags, badges */
  --text-sm:0.875rem;     /* hints, footnotes, captions, small print */
  --text-md:0.9375rem;    /* card body, list items, form labels, buttons */
  --text-base:1rem;       /* body copy */
  --text-lg:1.125rem;     /* lead paragraphs, small headings */
  --text-xl:clamp(1.25rem, 1.1rem + 0.5vw, 1.4rem);    /* card and case study headings, pull quotes */
  --text-2xl:1.875rem;    /* prices */
  --text-h3:clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);    /* section headings set in a narrow column (case study side headings) */
  --text-h2:clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);     /* section headings at full width */
  --text-h1:clamp(2rem, 1.4rem + 2.6vw, 3rem);         /* page titles on inner pages */
  --text-display:clamp(2.1rem, 1.5rem + 3vw, 3.4rem);  /* homepage hero only */
  --leading-tight:1.1;
  --leading-snug:1.2;
  --leading-body:1.55;

  /* Space: 4px based. Use these for any new spacing. */
  --space-1:0.25rem;
  --space-2:0.5rem;
  --space-3:0.75rem;
  --space-4:1rem;
  --space-5:1.25rem;
  --space-6:1.5rem;
  --space-8:2rem;
  --space-10:2.5rem;
  --space-12:3rem;
  --section-y:4.5rem;     /* vertical padding of a section */
  --section-y-sm:3.25rem; /* same, under 700px */
  --container:1180px;     /* content width */
  --gutter:1.5rem;        /* side padding of the container */
  --measure:60ch;         /* longest line of running text */

  /* Shape and depth */
  --radius-xs:4px;        /* focus outline corners */
  --radius-sm:8px;        /* buttons in nav, inputs, small tiles, screenshots */
  --radius-md:14px;       /* content cards, FAQ rows */
  --radius-lg:20px;       /* pricing cards, framed screenshots, the form */
  --radius-pill:999px;    /* buttons, tags, badges */
  --shadow-card:0 1px 2px rgba(51,45,36,0.06), 0 8px 24px -12px rgba(51,45,36,0.18);
  --shadow-lift:0 2px 4px rgba(51,45,36,0.08), 0 18px 36px -14px rgba(51,45,36,0.32);
}
