:root {
    --blue: #2f67a8;
    --blue-dark: #24558d;
    --bg: #ececec;
    --surface: #f5f5f5;
    --white: #ffffff;
    --text: #111111;
    --text-soft: rgba(17, 17, 17, 0.88);
    --border: rgba(47, 103, 168, 0.28);
    --frame-color: rgba(47, 103, 168, 0.22);

    --fs-sm: 0.875rem;
    --fs-md: 0.95rem;
    --lh-copy: 1.12;
    --ls-base: 0.025em;
    --ls-title: 0.1em;
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/AvenirLTW01-35Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/AvenirLTW01-55Roman.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/AvenirLTW01-65Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/AvenirLTW01-85Heavy.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Avenir";
    src: url("fonts/AvenirLTW01-95Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--bg);
}

body {
    font-family: "Avenir", Arial, Helvetica, sans-serif;
    color: var(--text);
    font-size: var(--fs-md);
    line-height: var(--lh-copy);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

p,
h1 {
    margin: 0;
}

.site {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: 1fr auto;
    background: var(--bg);
    border-top: 4px solid var(--blue);
}

.stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px);
}

.panel {
    width: 100%;
    max-width: 680px;
    background: var(--surface);
    border: 3px solid var(--frame-color);
    padding: clamp(44px, 7.5vw, 76px) clamp(24px, 6vw, 68px);
    text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
    .panel {
        animation: panel-fade-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
}

@keyframes panel-fade-in {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.panel__brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel__logo {
    width: clamp(200px, 44vw, 310px);
    height: auto;
    object-fit: contain;
}

.panel__rule {
    width: 52px;
    height: 2px;
    background: var(--blue);
    margin: clamp(28px, 4.5vw, 42px) auto clamp(20px, 3vw, 28px);
}

.panel__label {
    display: block;
    color: var(--blue);
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: var(--lh-copy);
    letter-spacing: var(--ls-title);
    text-transform: uppercase;
}

.panel__title {
    margin-top: 14px;
    color: var(--text);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 300;
    line-height: 1.28;
    letter-spacing: var(--ls-base);
    text-wrap: balance;
}

.footer {
    padding: 0 16px 24px;
    background: var(--bg);
}

.footer__inner {
    width: 100%;
    text-align: center;
}

.footer__inner p {
    color: #1d1d1d;
    font-size: var(--fs-sm);
    line-height: var(--lh-copy);
    letter-spacing: var(--ls-base);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .panel {
        padding: 40px 22px;
    }

    .panel__logo {
        width: min(230px, 72vw);
    }

    .panel__label {
        font-size: 0.8rem;
    }

    .footer {
        padding-bottom: 18px;
    }

    .footer__inner p {
        font-size: 0.8rem;
    }
}
