/* Global design tokens, typography, document defaults, and accessibility helpers. */

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../../fonts/Roboto-Variable.ttf") format("truetype");
}

:root {
    --color-brand: #3395e1;
    --color-brand-deep: #0c5f9f;
    --color-brand-soft: #eaf5fd;
    --color-intro-gradient-center: #046cb8;
    --color-intro-gradient-mid: #1171bb;
    --color-intro-gradient-edge: #4db1ff;
    --color-ink: #17212c;
    --color-muted: #5f6b78;
    --color-border: #c9d4df;
    --color-border-strong: #8997a5;
    --color-surface: #ffffff;
    --color-canvas: #f3f7fa;
    --color-error: #b3261e;
    --color-error-soft: #fff1f0;
    --color-success: #16835b;
    --focus-border: #66afe9;
    --focus-shadow: rgba(102, 175, 233, 0.6);
    --mascot-blue-main: #82c4f2;
    --mascot-blue-dark: #236b9f;
    --mascot-blue-deep: #1a527d;
    --mascot-blue-highlight: #b9dff8;
    --mascot-blue-soft: #e4f2fc;
    --mascot-blue-belly: #f0f8fe;
    --mascot-blue-wing-highlight: #a9d6f5;
    --mascot-blue-foot: #58ace8;
    --mascot-feature-blue: #1b5b8b;
    --radius-sm: 0.35rem;
    --radius-md: 0.65rem;
    --radius-lg: 1.25rem;
    --shadow-card: 0 1.5rem 4rem rgba(15, 47, 71, 0.16);
    --font-sans: "Roboto", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 20rem;
    color: var(--color-ink);
    background: var(--color-canvas);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

a {
    color: var(--color-brand-deep);
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.5rem;
    color: var(--color-brand-deep);
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    box-shadow: 0 0.25rem 1rem rgba(15, 47, 71, 0.18);
    transform: translateY(-150%);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--color-brand);
    outline-offset: 2px;
}
