/* Gauge website tokens. One file, drop it in and build from the variables.
   Values are the ones drawn in the design; where a page shows a near-duplicate, the token wins. */

:root {
  /* Brand */
  --g-burgundy: #7C2434;
  --g-burgundy-dark: #5A161F;

  /* Text */
  --g-ink: #15171C;
  --g-body: #3D4350;
  --g-muted: #636A75;
  --g-faint: #A09A8D;       /* decorative only, fails AA for text */
  --g-on-dark: #FFFFFF;
  --g-on-dark-muted: #E9CFD3;

  /* Grounds */
  --g-sand-0: #FFFDFA;
  --g-sand-1: #F7F2EA;
  --g-sand-2: #F0E9DD;
  --g-sand-3: #EFEBE2;      /* tab bar in the app mockup */
  --g-rose: #FBF2F3;        /* converter strip, icon tiles */
  --g-surface: #FFFFFF;
  --g-page-gradient: linear-gradient(#FFFDFA, #F7F2EA 46%, #F0E9DD);

  /* Lines */
  --g-hairline: #E5E3DC;
  --g-input-border: #E2DED4;
  --g-divider: #F0EDE5;     /* rows inside a card */
  --g-track: #EAE6DB;       /* progress track */
  --g-segment: #F3F0E9;     /* segmented control ground */

  /* Illustration greys (vial caps, plungers, needles) */
  --g-steel: #B5B2A9;
  --g-steel-light: #DEDCD4;
  --g-tick: #C9C5BA;
  --g-tick-strong: #D5D1C6;

  /* Semantic. State colours, never decorative. */
  --g-alert-tint: #FCF5F2;  --g-alert-line: #EFCEC0;  --g-alert-ink: #C2410C;
  --g-caution-tint: #F8F1E8; --g-caution-line: #E4D7C2; --g-caution-ink: #8B6207;
  --g-logged-tint: #EDF5F1;  --g-logged-ink: #167851;

  /* Type */
  --g-font: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --g-display-xl: 800 54px/1.05 var(--g-font);   /* home h1, tracking -1.8px */
  --g-display-l: 800 40px/1.1 var(--g-font);     /* inner h1, tracking -1.3px */
  --g-display-m: 800 32px/1.15 var(--g-font);    /* section h2, tracking -0.9px */
  --g-display-s: 800 28px/1.2 var(--g-font);     /* section h2 small, tracking -0.8px */
  --g-title: 700 18px/1.3 var(--g-font);         /* card h2, tracking -0.3px */
  --g-title-s: 700 16.5px/1.3 var(--g-font);     /* FAQ h3, tracking -0.2px */
  --g-lead: 400 19px/1.5 var(--g-font);
  --g-body-l: 400 16px/1.55 var(--g-font);
  --g-body-m: 400 14.5px/1.55 var(--g-font);
  --g-caption: 400 13px/1.55 var(--g-font);
  --g-eyebrow: 700 11.5px/1.2 var(--g-font);     /* uppercase, tracking +1.3px */
  --g-number-xl: 800 58px/1 var(--g-font);       /* converter result, tracking -2.4px, tabular */
  --g-number-l: 800 30px/1 var(--g-font);        /* dose figure in the app card, tracking -1.1px */

  /* Shape */
  --g-radius-card: 20px;
  --g-radius-card-s: 18px;
  --g-radius-tile: 22px;    /* illustration tiles */
  --g-radius-input: 13px;
  --g-radius-pill: 999px;
  --g-radius-phone: 34px;

  /* Space (4px base) */
  --g-space-1: 4px;  --g-space-2: 8px;  --g-space-3: 12px; --g-space-4: 16px;
  --g-space-5: 20px; --g-space-6: 24px; --g-space-7: 32px; --g-space-8: 40px;
  --g-space-9: 56px; --g-space-10: 72px;
  --g-container: 1120px;
  --g-gutter: 40px;         /* 20px at phone width */
  --g-tap-min: 44px;

  /* Elevation */
  --g-shadow-card: 0 2px 10px rgba(21,23,28,0.05);
  --g-shadow-phone: 0 22px 52px rgba(21,23,28,0.19);
  --g-shadow-segment: 0 1px 3px rgba(21,23,28,0.10);
}
