/* ==========================================================================
   Health One — brand tokens (direction A: bold indigo)
   Single source of truth for the public website, auth pages and patient portal.
   Load this FIRST, before any page stylesheet. Same indigo as the logo, the
   admin panel (--primary 243 64% 51%) and the marketplace artwork.
   ========================================================================== */

:root {
    /* Colour */
    --ho-indigo: #3B34D1;          /* primary: buttons, links, key numbers */
    --ho-indigo-hover: #2E28B0;
    --ho-indigo-soft: #ECEBFB;     /* tinted surfaces, selected states */
    --ho-indigo-mist: #F5F5FD;     /* soft section background */
    --ho-navy: #15133F;            /* dark colour-blocked sections, footer */
    --ho-navy-2: #1F1C57;          /* cards on navy */
    --ho-on-navy: #FFFFFF;
    --ho-on-navy-muted: #B9B7DA;
    --ho-on-navy-accent: #A9A4FF;  /* numbers/links on navy (AA on --ho-navy) */
    --ho-on-indigo-muted: #E2E0FF; /* secondary text on --ho-indigo blocks (AA) */
    --ho-on-navy-line: rgba(255, 255, 255, .14);        /* hairlines on navy */
    --ho-on-navy-line-strong: rgba(255, 255, 255, .3);  /* outlined controls on navy */
    --ho-on-navy-tint: rgba(255, 255, 255, .06);        /* quiet surface on navy (floating nav at top) */
    --ho-on-navy-hover: rgba(255, 255, 255, .08);
    --ho-ink: #121133;             /* body text on light */
    --ho-muted: #5A5878;           /* secondary text (AA on white) */
    --ho-faint: #8C8AA8;           /* captions, placeholders */
    --ho-line: #E6E5F2;            /* hairlines, input borders */
    --ho-line-strong: #CFCDE6;
    --ho-white: #FFFFFF;
    --ho-success: #0F8A5F;
    --ho-success-soft: #E5F5EE;
    --ho-warning: #B26B00;
    --ho-warning-soft: #FFF4E0;
    --ho-danger: #C2352B;
    --ho-danger-soft: #FDECEA;

    /* Type: one family everywhere. Display 700 for big headlines only, UI 500/600, body 400. */
    --ho-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ho-display: clamp(40px, 5.2vw, 72px);
    --ho-h1: clamp(34px, 4vw, 56px);
    --ho-h2: clamp(28px, 3vw, 44px);
    --ho-h3: 22px;
    --ho-body: 16px;
    --ho-small: 14px;
    --ho-track-tight: -0.025em;

    /* Shape & depth: modest radii, soft shadows, no glow */
    --ho-radius-sm: 8px;           /* buttons, inputs */
    --ho-radius: 12px;             /* cards, floating nav */
    --ho-radius-lg: 16px;          /* large photos, colour blocks inside the page */
    --ho-shadow-sm: 0 1px 2px rgba(18, 17, 51, .06), 0 1px 3px rgba(18, 17, 51, .05);
    --ho-shadow: 0 12px 32px -16px rgba(18, 17, 51, .22);
    --ho-shadow-lg: 0 30px 60px -28px rgba(18, 17, 51, .35);
    --ho-focus: 0 0 0 3px rgba(59, 52, 209, .28);

    /* Layout & motion */
    --ho-wrap: 1240px;
    --ho-gutter: 32px;
    --ho-section: 120px;
    --ho-ease: cubic-bezier(.2, .7, .2, 1);
    --ho-fast: 160ms;
    --ho-slow: 600ms;
}

@media (max-width: 991px) { :root { --ho-section: 88px; --ho-gutter: 24px; } }
@media (max-width: 640px) { :root { --ho-section: 64px; --ho-gutter: 16px; } }
