@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    /* Approved brand colours */
    --color-primary: #2F5BEA;
    --color-primary-soft: #E6ECFF;
    --color-ink: #0B0B0F;
    --color-line: #E4E4E7;

    /* Accessible surfaces and functional states */
    --color-surface: #FFFFFF;
    --color-surface-subtle: #F7F8FC;
    --color-text-muted: #52525B;
    --color-success: #166534;
    --color-success-soft: #DCFCE7;
    --color-warning: #854D0E;
    --color-warning-soft: #FEF3C7;
    --color-error: #B42318;
    --color-error-soft: #FEE4E2;
    --color-focus: #2F5BEA;
    --color-whatsapp: #087A5B;

    /* Typography */
    --font-family-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-size-12: 0.75rem;
    --font-size-14: 0.875rem;
    --font-size-16: 1rem;
    --font-size-18: 1.125rem;
    --font-size-20: 1.25rem;
    --font-size-24: 1.5rem;
    --font-size-32: 2rem;
    --font-size-48: 3rem;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-heading: 1.15;
    --line-height-body: 1.6;

    /* Spacing */
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-48: 3rem;
    --space-64: 4rem;

    /* Geometry and restrained elevation */
    --radius-6: 6px;
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --shadow-card: 0 8px 24px rgb(11 11 15 / 8%);
    --shadow-raised: 0 16px 40px rgb(11 11 15 / 12%);
}

html {
    color: var(--color-ink);
    background: var(--color-surface);
    font-family: var(--font-family-sans);
    font-size: 100%;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-surface);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
}

button,
input,
select,
textarea {
    font: inherit;
    font-size: var(--font-size-16);
}

h1,
h2,
h3 {
    margin-block: 0 var(--space-16);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    text-wrap: balance;
}

h1 {
    font-size: clamp(var(--font-size-32), 5vw, var(--font-size-48));
}

h2 {
    font-size: clamp(var(--font-size-24), 3.5vw, var(--font-size-32));
}

h3 {
    font-size: clamp(var(--font-size-20), 2.5vw, var(--font-size-24));
}

p {
    margin-block: 0 var(--space-16);
}

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}
