/* SafeAssure design tokens
   Lifted from the approved artboards in design/artboards/.
   Values are exact — do not round them to a 4/8px grid. */

:root {
  /* ---- brand ------------------------------------------------------ */
  --sa-ink:          #292829;  /* charcoal — primary dark surface        */
  --sa-ink-deep:     #19161C;  /* deeper charcoal — nav, hero, CTA bands */
  --sa-orange:       #F06522;  /* primary accent, CTAs                   */
  --sa-amber:        #F8992B;  /* secondary accent, eyebrows on dark     */

  /* ---- neutrals --------------------------------------------------- */
  --sa-grey:         #4F4F51;  /* body copy on light                     */
  --sa-grey-mid:     #6D6E70;  /* secondary copy                         */
  --sa-grey-light:   #95979A;  /* body copy on dark, muted labels        */
  --sa-paper:        #FFFFFF;
  --sa-paper-warm:   #F6F4F2;  /* alternating section ground             */
  --sa-paper-tint:   #F0ECE8;  /* chips, subtle fills                    */

  /* ---- lines ------------------------------------------------------ */
  --sa-line:         #E9E5E1;  /* card borders                           */
  --sa-line-soft:    #E3DED8;  /* section rules                          */
  --sa-line-field:   #DAD5D0;  /* form field borders                     */
  --sa-line-dark:    rgba(255, 255, 255, 0.12);
  --sa-line-dark-2:  rgba(255, 255, 255, 0.32);

  /* ---- copy on dark ----------------------------------------------- */
  --sa-on-dark:      #FFFFFF;
  --sa-on-dark-soft: #C9C5C1;
  --sa-on-dark-nav:  #E7E4E1;
  --sa-on-dark-mute: #B5B1AD;

  /* ---- editorial flag (build-time only, never ships) --------------- */
  --sa-todo-ink:     #B0752E;
  --sa-todo-bg:      #FDF3E4;
  --sa-todo-border:  #E0A75A;

  /* ---- type ------------------------------------------------------- */
  /* Print brand face is Neue Haas Grotesk. Archivo is the web substitute. */
  --sa-font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --sa-size-h1:      52px;   /* page titles                    */
  --sa-size-h2:      42px;   /* homepage + CTA section heads   */
  --sa-size-h2-sm:   38px;   /* inner section heads            */
  --sa-size-h3:      21px;
  --sa-size-h4:      19px;
  --sa-size-lead:    18px;   /* hero standfirst                */
  --sa-size-body-lg: 16.5px;
  --sa-size-body:    15px;
  --sa-size-small:   14px;
  --sa-size-label:   11px;   /* uppercase eyebrows             */

  --sa-tracking-tight: -0.02em;  /* headings   */
  --sa-tracking-label:  0.16em;  /* eyebrows   */

  /* ---- layout ----------------------------------------------------- */
  --sa-page-width:   1440px;
  --sa-gutter:       64px;
  --sa-gutter-mobile: 20px;
  --sa-nav-height:   76px;
  --sa-section-y:    80px;   /* standard vertical section padding */

  /* ---- controls --------------------------------------------------- */
  /* Nothing in this system has a border radius. Deliberate. */
  --sa-btn-height:      54px;
  --sa-btn-height-sm:   44px;  /* nav button, also the mobile tap minimum */
  --sa-btn-height-form: 52px;
  --sa-field-height:    48px;
  --sa-accent-rule:     4px;   /* the orange bar above headings */

  /* Dark surfaces are textured, not flat (Elizabeth, 10 Sep 2026): a fine
     grain plus two faint orange blooms. The grain is an inline SVG noise
     filter as a data URI — no image request, and the CSP allows data: for
     images. Keep the alphas low; this should read as depth, not decoration. */
  --sa-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.30'/%3E%3C/svg%3E");
  --sa-bloom-warm: radial-gradient(74% 58% at 82% 4%, rgba(240,101,34,.20), rgba(240,101,34,0) 62%);
  --sa-bloom-cool: radial-gradient(62% 52% at 6% 104%, rgba(248,153,43,.11), rgba(248,153,43,0) 64%);
}

/* Motion is opt-out by default across the site. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
