/* =========================================
   01 - Reset / Base (Brand v2)
   - All typography + focus driven by tokens
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

/* =================================================
   Root
================================================= */

html {
    font-size: var(--fs-base);
}

/* =================================================
   Body Base
================================================= */

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: var(--font-sans);

    font-size: var(--fs-body);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =================================================
   Links
================================================= */

a {
    color: inherit;
    text-decoration: none;
}

/* Keyboard focus only */
a:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
    border-radius: 8px;
}

/* =================================================
   Media
================================================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =================================================
   Skip link – accessibility
   Hidden by default, shown on focus
================================================= */

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    color: #000;

    padding: 8px 12px;
    border-radius: 10px;

    font-size: var(--fs-small);
    line-height: 1.2;

    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, .08);
}

.skip-link:focus {
    top: 16px;
}