/* ─────────────────────────────────── */
/* BLOCK: Hard reset                   */
/* ─────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
}

/* ─────────────────────────────────── */
/* BLOCK: Design tokens                */
/* ─────────────────────────────────── */

:root {
    /* ── White & black ── */
    --color-white: #fafbfc;

    /* ── Blues ── */
    --color-blue-dark: #091e42;
    --color-blue: #0052cc;
    --color-blue-light: #deebff;

    /* ── Purples ── */
    --color-purple: #6554C0;

    /* Semi-transparent overlays */
    --color-overlay-dark: rgba(0, 0, 0, 0.4);

    /* ── Greys ── */
    --color-grey-100: #ecedf0;
    --color-grey-200: #e0e2e7;
    --color-grey-300: #c4c8d0;
    --color-grey-400: #8c929a;
    --color-grey-500: #5f6368;

    /* ── Semantic aliases ── */
    --color-bg: #fafbfc;
    --color-bg-subtle: #f4f5f7;
    --color-border: #e0e2e7;

    --color-text: #242528;
    --color-text-subtle: #5f6368;
    --color-text-muted: #8c929a;
    --color-text-inverse: #fafbfc;

    --color-red: #bf2600;
    --color-red-light: #d2674d;
    --color-orange: #e06c00;
    --color-yellow: #fbc828;
    --color-green: #006644;

    /* ── Typography ── */
    --font-family: 'Inter Tight', sans-serif;

    --font-xs: 0.75rem;
    --font-sm: 0.85rem;
    --font-base: 1rem;
    --font-md: 1.125rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;

    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 800;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;

    /* ── Spacing ── */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 5rem;

    /* ── Radii ── */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* ── Transitions ── */
    --transition-fast: 150ms ease;
    --transition-slow: 400ms ease;

    /* ── Z-index scale ── */
    --z-nav: 10;
    --z-backdrop: 20;
    --z-sheet: 30;
    --z-top-nav: 40;

    /* ── Icon sizes ── */
    --icon-sm: 1.25rem;
    --icon-md: 1.5rem;
    --icon-lg: 2rem;
}

/* ─────────────────────────────────── */
/* BLOCK: Base typography              */
/* ─────────────────────────────────── */

body {
    font-family: var(--font-family);
    font-size: var(--font-base);
    font-weight: var(--weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────── */
/* BLOCK: Material Symbols baseline    */
/* ─────────────────────────────────── */

.material-symbols-outlined {
    font-size: var(--icon-md);
    font-variation-settings:
        'opsz' 24,
        'wght' 400,
        'FILL' 0,
        'GRAD' 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: none;
    flex-shrink: 0;
}