:root {
    color-scheme: light;
    --page-bg: #f7fafc;
    --surface: #ffffff;
    --ink: #111827;
    --muted: #5b6675;
    --line: #d8e2ec;
    --accent: #0878d1;
    --accent-strong: #005ea8;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(8, 120, 209, .08), transparent 520px), var(--page-bg);
    color: var(--ink);
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 252, .92);
}

.site-header__inner,
.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 24px;
}

.brand-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
}

.brand-link__mark {
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, transparent 45%, rgba(8, 120, 209, .28) 45% 55%, transparent 55%),
        linear-gradient(180deg, transparent 45%, rgba(8, 120, 209, .28) 45% 55%, transparent 55%),
        var(--surface);
    box-shadow: 0 0 0 5px rgba(8, 120, 209, .08);
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
}

.main-nav a,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-action,
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.header-action {
    flex: 0 0 auto;
    padding: 8px 16px;
}

.header-action,
.button--primary {
    background: var(--accent);
    color: #ffffff;
}

.header-action:hover,
.button--primary:hover {
    background: var(--accent-strong);
}

.button--secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--accent-strong);
}

.button--secondary:hover {
    border-color: var(--accent);
}

.content-page {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    flex: 1 0 auto;
    padding: 58px 0 72px;
}

.section-kicker {
    margin: 0 0 16px;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 800;
}

h1 {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    overflow-wrap: break-word;
}

.notice-body {
    display: grid;
    max-width: 790px;
    gap: 18px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.notice-body p {
    margin: 0;
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.registration-note {
    max-width: 730px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.notice-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    color: var(--muted);
}

.notice-help a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.notice-help a:hover {
    text-decoration: underline;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.site-footer__inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
}

.site-footer__inner p {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1100px) {
    .site-header__inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 0;
    }

    .main-nav {
        order: 3;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 16px;
    }
}

@media (max-width: 640px) {
    .site-header__inner,
    .site-footer__inner,
    .content-page {
        width: calc(100% - 24px);
    }

    .site-header__inner {
        gap: 12px;
    }

    .header-action {
        padding: 8px 12px;
        font-size: 14px;
    }

    .content-page {
        padding: 40px 0 48px;
    }

    h1 {
        font-size: 34px;
    }

    .notice-actions,
    .button {
        width: 100%;
    }

    .notice-help {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 24px 0;
    }
}
