/*
 * tokens.css — Design tokens (single source of truth)
 *
 * Values come from the "BODMAS Handover" Figma file
 * (Bodmas handoff variables + Dev Handoff notes).
 */

:root {
    /* ── Brand palette ───────────────────────────────────── */

    --clr-blue:       #009bce;   /* Brand/Blue            */
    --clr-green:      #70b942;   /* Brand/Green           */
    --clr-green-down: #67aa3d;   /* Primary/Pressed fill  */
    --clr-deep-blue:  #00628a;   /* Text/Deep blue        */
    --clr-navy:       #00344a;   /* Surface/Navy          */
    --clr-navy-deep:  #001f2d;
    --clr-gold:       #e6be8a;   /* Accent/Gold (minor)   */
    --clr-placeholder:#dddfe4;   /* Image/Placeholder     */

    /* Text */
    --clr-ink:        #0d1d26;   /* headings in cards     */
    --clr-body:       #38474f;   /* body copy             */
    --clr-muted:      #5f707a;
    --clr-on-dark:    #d3eaf4;   /* body on brand bands   */
    --clr-on-dark-dim:#8fc4dc;   /* footer legal          */
    --clr-white:      #ffffff;

    /* Surfaces & lines */
    --clr-divider:    #dbe6eb;   /* TrustedBy/Divider     */
    --clr-tint:       #f0f8fb;   /* TrustedBy/Hover       */
    --clr-tint-blue:  #e2f2f9;
    --clr-sky:        #9fd3e8;
    --clr-line-soft:  #eef4f6;

    /* Gradients */
    --grad-band: linear-gradient(103deg, #00445f 0%, #00628a 45%, #009bce 75%, #70b942 100%);
    --grad-brand: linear-gradient(90deg, var(--clr-blue) 0%, var(--clr-green) 100%);
    --grad-light: linear-gradient(90deg, #f0f8fb 0%, #e2f2f9 70%, #eaf5e3 100%);

    /* ── Typography ──────────────────────────────────────── */

    /* Gotham is the brand face; Montserrat is the fallback named in the handoff. */
    --font-sans: 'Gotham', 'Montserrat', 'Segoe UI', Arial, sans-serif;

    --fw-light:  300;
    --fw-book:   400;
    --fw-medium: 500;
    --fw-bold:   700;
    --fw-black:  800;

    /* ── Layout ──────────────────────────────────────────── */

    --page-max:   1440px;
    --gutter:     96px;   /* desktop side padding  */
    --header-h:   64px;

    /* ── Radius ──────────────────────────────────────────── */

    --radius-xs:  4px;
    --radius-sm:  10px;
    --radius-md:  12px;
    --radius-lg:  14px;
    --radius-xl:  16px;
    --radius-2xl: 28px;
    --radius-pill:9999px;

    /* ── Effects (Interaction contract) ──────────────────── */

    --shadow-card: 0 18px 40px -24px rgba(0, 52, 74, 0.35);
    --ring-primary: 0 0 0 3px rgba(112, 185, 66, 0.35);
    --focus-ring: 2px solid var(--clr-blue);
    --focus-offset: 2px;
    --touch-min: 44px;

    /* ── Motion ──────────────────────────────────────────── */

    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
    --dur-state:    200ms;
    --dur-accordion:250ms;
    --dur-menu:     300ms;
    --dur-hero:     4000ms;
    --dur-pulse:    3600ms;
    --dur-logos:    40000ms;

    /* ── Z-index ─────────────────────────────────────────── */

    --z-raised: 1;
    --z-header: 200;
    --z-overlay: 300;
}

/* Tablet 768 — side padding 48 */
@media (max-width: 1099.98px) {
    :root {
        --gutter:   48px;
        --header-h: 64px;
    }
}

/* Mobile 375 — side padding 20 */
@media (max-width: 767.98px) {
    :root {
        --gutter: 20px;
    }
}
