/* Algoridhm design tokens. Every colour, radius, shadow and timing lives here. See DESIGN.md. */
:root{
  /* ink and surfaces */
  --ink:#0E1525;
  --muted:#5B6478;
  --bg:#FFFFFF;
  --alt:#F7F8FC;
  --line:rgba(14,21,37,.08);
  --line-2:rgba(14,21,37,.14);
  --glass:rgba(255,255,255,.72);

  /* accent family: dots, pills, bars, underlines, icon fills */
  --coral:#FF6B57;
  --saffron:#FFC53D;
  --jade:#1FC98E;
  --azure:#2F8CFF;
  --violet:#7C5CFF;

  /* darker tints for any text drawn in an accent colour (all pass WCAG AA on white and on their soft tint) */
  --coral-t:#C23A27;
  --saffron-t:#8A5A00;
  --jade-t:#0A7A52;
  --azure-t:#1B62CC;
  --violet-t:#5B3DE8;

  /* soft tints for pill backgrounds */
  --coral-s:#FFEDEA;
  --saffron-s:#FFF6DC;
  --jade-s:#E3F9F0;
  --azure-s:#E6F1FF;
  --violet-s:#EFEBFF;

  /* primary button: a deeper violet so white text passes AA (5.3:1) */
  --cta:#6A4CF5;
  --cta-hover:#5A3BE6;

  /* radii */
  --r-s:10px;
  --r-m:16px;
  --r-l:24px;
  --r-pill:999px;

  /* shadows */
  --sh-1:0 1px 2px rgba(14,21,37,.05),0 6px 18px rgba(14,21,37,.05);
  --sh-2:0 2px 6px rgba(14,21,37,.05),0 22px 50px rgba(14,21,37,.10);
  --sh-cta:0 8px 22px rgba(106,76,245,.32);

  /* spacing */
  --gutter:clamp(16px,4vw,40px);
  --sec-y:clamp(72px,10vw,128px);
  --wrap:1200px;
  /* one size for every page and section title (hero h1, section h2s); phones override it in home.css */
  --title:clamp(2.2rem,.5rem + 2.7vw,3.3rem);

  /* type */
  --fd:"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --fb:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;

  /* motion */
  --ease:cubic-bezier(.2,.7,.2,1);
  --spring:cubic-bezier(.34,1.56,.64,1);
  --t-fast:.18s;
  --t-med:.45s;
  --t-slow:.9s;
}
