:root {
    --ink: #1f2430;
    --sub: #6b7280;
    --line: #b7bec9;
    --line-strong: #4b5563;
    --surface: #ffffff;
    --page-bg: #eef0f3;
    --accent: #2555c9;
    --accent-soft: #e3ebfb;
}

* {
    box-sizing: border-box;
}

html,
body {
    background: var(--page-bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
}

a {
    color: var(--accent);
}

a:hover {
    color: #173a8f;
}

h1:focus {
    outline: none;
}

.landing {
    margin: 0 auto;
    max-width: 640px;
    padding: 72px 28px 60px;
    text-align: center;
}

.landing-intro {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing h1 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin: 0;
}

.landing p {
    color: var(--sub);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.landing .eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.landing-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px auto 0;
    max-width: 480px;
    text-align: left;
}

.link-card {
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    font-size: 0.875rem;
    font-weight: 600;
    justify-content: space-between;
    min-height: 58px;
    padding: 16px 20px;
    text-decoration: none;
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.link-card:hover {
    border-color: var(--accent);
    box-shadow: 0 3px 10px rgb(31 36 48 / 12%);
    color: var(--ink);
    transform: translateY(-1px);
}

.link-card:focus-visible {
    outline: 3px solid var(--accent-soft);
    outline-offset: 2px;
}

.arrow {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 700;
}

.landing-sub {
    color: var(--sub);
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 2px;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.landing-hint {
    margin: 28px auto 0 !important;
    max-width: 480px;
}

.landing-signed-out {
    min-height: calc(100vh - 60px);
}

.sign-in-button {
    background: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 5px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 12px;
    padding: 9px 18px;
    text-decoration: none;
}

.sign-in-button:hover {
    background: #173a8f;
    border-color: #173a8f;
    color: #fff;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgb(0 0 0 / 20%);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 640px) {
    .landing {
        padding: 52px 18px 42px;
    }

    .link-card {
        min-height: 54px;
        padding: 14px 16px;
    }
}
