:root {
    color-scheme: light;
    --background: #f5f7fa;
    --surface: #ffffff;
    --text: #20242a;
    --muted: #5c6673;
    --line: #d9dee7;
    --red: #bd1126;
    --gold: #f2c94c;
    --blue: #205375;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(189, 17, 38, 0.08), rgba(189, 17, 38, 0) 34%),
        var(--background);
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}

a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

.page {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    place-items: center;
}

.notice {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.brand {
    width: 160px;
    height: auto;
}

.status {
    margin: 8px 0 0;
    padding: 7px 14px;
    border: 1px solid rgba(189, 17, 38, 0.22);
    border-radius: 999px;
    color: var(--red);
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    max-width: none;
    margin: 0;
    font-size: 4.4rem;
    line-height: 1.03;
    font-weight: 700;
    white-space: nowrap;
}

.lead {
    max-width: 720px;
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 900px) {
    h1 {
        font-size: 3.55rem;
    }
}

@media (max-width: 680px) {
    .brand {
        width: 132px;
    }

    h1 {
        font-size: 2.65rem;
    }

    .lead {
        font-size: 1.18rem;
    }
}

.footer {
    width: min(100% - 48px, 860px);
    margin: 0 auto;
    padding: 22px 0 28px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

@media (max-width: 560px) {
    .page {
        padding: 42px 18px 24px;
    }

    .notice {
        gap: 15px;
    }

    .footer {
        width: min(100% - 36px, 860px);
        padding-bottom: 22px;
    }
}

@media (max-width: 460px) {
    .brand {
        width: 112px;
    }

    h1 {
        font-size: 2rem;
    }

    .status {
        font-size: 0.72rem;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.72rem;
    }
}
