/* Brand tokens and base styles shared by the landing page and the registration flow. */

/* Self-hosted typefaces (app/assets/fonts). General Sans is the site typeface;
   Sentient is for marketing headlines only. Both from Indian Type Foundry via Fontshare.
   The leading slash lets Propshaft swap in the fingerprinted asset path. */
@font-face { font-family: "General Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/general-sans-400-a1257f42.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/general-sans-500-cddeb756.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/general-sans-600-74977b3c.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/general-sans-700-ab099d95.woff2") format("woff2"); }
@font-face { font-family: "Sentient"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/sentient-500-42497490.woff2") format("woff2"); }

:root {
    --background: #F8FAFC;
    --foreground: #1E293B;

    /* Font */
    --font-body: "General Sans", ui-sans-serif, system-ui, sans-serif;      /* everything, including all app UI */
    --font-headline: "Sentient", Georgia, "Times New Roman", serif;        /* marketing headlines only */

    /* Brand colours */
    --color-brand-slate:       #1E293B;
    --color-brand-blue:        #4468BC;   /* Mosaic Blue — primary */
    --color-brand-blue-deep:   #3555A0;   /* hover */
    --color-brand-blue-light:  #EBF0FA;   /* tinted backgrounds */
    --color-brand-terra:       #E35335;   /* Terracotta — CTA accent */
    --color-brand-terra-deep:  #C4412A;   /* CTA hover */
    --color-brand-terra-light: #FEF0ED;   /* warm highlights */
    --color-brand-warm-grey:   #F8FAFC;   /* page background */

    /* Type scale — mobile */
    --font-size-80:   3.3125rem;
    --line-height-80: 3.5rem;
    --font-size-48:   2rem;
    --line-height-48: 2.1875rem;
    --font-size-36:   1.6875rem;
    --line-height-36: 1.875rem;
}

@media (min-width: 75rem) {
    :root {
        --font-size-80:   5rem;
        --line-height-80: 5rem;
        --font-size-48:   3rem;
        --line-height-48: 3.125rem;
        --font-size-36:   2.25rem;
        --line-height-36: 2.5rem;
    }
}


@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --font-sans: var(--font-body);
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay:    0ms   !important;
        transition-duration: 0.01ms !important;
    }
}
