:root {
    --blue-900: #0f172a;
    --blue-800: #1e3a8a;
    --blue-700: #084594;
    --ink-900: #152033;
    --ink-700: #334155;
    --ink-500: #64748b;
    --line: #dbe3ef;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink-900);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    min-height: 64px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--blue-900);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: #c7d7ee;
    font-size: 12px;
    font-weight: 600;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topnav a {
    padding: 10px 14px;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.topnav a:hover,
.topnav a:focus-visible {
    background: var(--blue-800);
    color: #ffffff;
    outline: none;
}

.portal-page {
    width: 100%;
    margin: 0 auto;
    padding: 24px 0 40px;
}

.intro {
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.04;
    letter-spacing: 0;
}

.lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--ink-700);
    font-size: 18px;
    line-height: 1.65;
}

.actions {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.module-link {
    min-height: 210px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.module-link:hover,
.module-link:focus-visible {
    border-color: var(--blue-700);
    box-shadow: 0 10px 28px rgba(8, 69, 148, 0.10);
    outline: none;
}

.module-kicker {
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-link strong {
    display: block;
    font-size: 24px;
}

.module-link span:last-child {
    color: var(--ink-500);
    font-size: 15px;
    line-height: 1.55;
}

.footer {
    padding: 16px 40px;
    display: flex;
    justify-content: center;
    gap: 0;
    background: var(--blue-900);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 760px) {
    .topbar {
        padding: 16px 20px;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .topnav {
        width: 100%;
    }

    .topnav a {
        flex: 1;
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
    }

    .portal-page {
        padding-top: 16px;
    }

    .actions {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 18px 20px;
    }
}
