:root {
    --uns-blue-900: #062d59;
    --uns-blue-800: #0a3f78;
    --uns-blue-700: #125697;
    --uns-blue-100: #eaf3fb;
    --uns-gold-500: #f2b134;
    --uns-ink: #172033;
    --uns-muted: #5d6878;
    --uns-surface: #ffffff;
    --uns-border: #dce5ee;
    --uns-shadow: 0 18px 50px rgba(6, 45, 89, 0.12);
}

html {
    scroll-behavior: smooth;
}

body.site-shell {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
    color: var(--uns-ink);
    background: #f7f9fc;
    font-family: Nunito, Arial, sans-serif;
    font-weight: 400;
}

.skip-link {
    position: fixed;
    z-index: 1100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    transform: translateY(-160%);
    border-radius: 0.5rem;
    color: #fff;
    background: var(--uns-blue-900);
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
}

.site-shell a:focus-visible,
.site-shell button:focus-visible {
    outline: 3px solid var(--uns-gold-500);
    outline-offset: 3px;
}

.site-shell .site-navbar {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(220, 229, 238, 0.85);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 24px rgba(6, 45, 89, 0.06);
}

.site-shell .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--uns-blue-900);
}

.site-shell .site-brand:hover {
    color: var(--uns-blue-700);
    text-decoration: none;
}

.site-shell .site-brand img {
    width: 42px;
    height: 42px;
    -o-object-fit: contain;
       object-fit: contain;
}

.site-shell .site-brand__name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.05;
}

.site-shell .site-brand__unit {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-shell .navbar-toggler {
    color: var(--uns-blue-900);
    border-color: var(--uns-border);
}

.site-shell .nav-link {
    margin-left: 0.35rem;
    color: var(--uns-ink);
    font-weight: 700;
}

.site-shell .nav-link:hover {
    color: var(--uns-blue-700);
}

.site-shell .nav-link--primary {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    border-radius: 0.55rem;
    color: #fff;
    background: var(--uns-blue-800);
}

.site-shell .nav-link--primary:hover {
    color: #fff;
    background: var(--uns-blue-900);
}

.site-shell .site-content {
    flex: 1 0 auto;
}

.site-shell .site-content > .container {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.site-shell .site-footer {
    flex-shrink: 0;
    padding: 1.5rem 0;
    color: #d9e7f5;
    background: var(--uns-blue-900);
}

.site-shell .site-footer p {
    margin: 0;
}

.site-shell .site-footer__brand {
    color: #fff;
    font-weight: 800;
}

.site-shell .homepage {
    background: var(--uns-surface);
}

.site-shell .homepage-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(145deg, #f8fbff 0%, #eaf3fb 100%);
}

.site-shell .homepage-hero::after {
    content: "";
    position: absolute;
    right: -9rem;
    bottom: -11rem;
    width: 28rem;
    height: 28rem;
    border: 5rem solid rgba(18, 86, 151, 0.08);
    border-radius: 50%;
}

.site-shell .homepage-eyebrow {
    color: var(--uns-blue-700);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-shell .homepage-title {
    max-width: 760px;
    margin: 0.9rem 0 1rem;
    color: var(--uns-blue-900);
    font-size: clamp(2.25rem, 5vw, 4.35rem);
    font-weight: 800;
    line-height: 1.08;
}

.site-shell .homepage-lead {
    max-width: 660px;
    color: var(--uns-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.site-shell .homepage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.site-shell .homepage-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--uns-blue-800);
    border-radius: 0.65rem;
    font-weight: 800;
    transition: transform 160ms ease, background-color 160ms ease;
}

.site-shell .homepage-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.site-shell .homepage-button--primary {
    color: #fff;
    background: var(--uns-blue-800);
    box-shadow: 0 12px 24px rgba(10, 63, 120, 0.18);
}

.site-shell .homepage-button--primary:hover {
    color: #fff;
    background: var(--uns-blue-900);
}

.site-shell .homepage-button--secondary {
    color: var(--uns-blue-800);
    background: transparent;
}

.site-shell .homepage-button--secondary:hover {
    color: var(--uns-blue-900);
    background: #fff;
}

.site-shell .homepage-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 330px;
}

.site-shell .homepage-visual__image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 510px);
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(6, 45, 89, 0.14));
}

.site-shell .homepage-section {
    padding: 4.75rem 0;
}

.site-shell .homepage-section--muted {
    background: #f7f9fc;
}

.site-shell .homepage-section__heading {
    max-width: 680px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.site-shell .homepage-section__heading h2 {
    color: var(--uns-blue-900);
    font-size: 2rem;
    font-weight: 800;
}

.site-shell .homepage-section__heading p {
    color: var(--uns-muted);
    line-height: 1.7;
}

.site-shell .access-card {
    display: block;
    height: 100%;
    padding: 1.6rem;
    border: 1px solid var(--uns-border);
    border-radius: 1rem;
    color: var(--uns-ink);
    background: #fff;
    box-shadow: 0 8px 28px rgba(6, 45, 89, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.site-shell .access-card:hover {
    transform: translateY(-4px);
    border-color: #a8c6e2;
    color: var(--uns-ink);
    box-shadow: var(--uns-shadow);
    text-decoration: none;
}

.site-shell .access-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.1rem;
    border-radius: 0.75rem;
    color: var(--uns-blue-800);
    background: var(--uns-blue-100);
}

.site-shell .access-card h3 {
    color: var(--uns-blue-900);
    font-size: 1.2rem;
    font-weight: 800;
}

.site-shell .access-card p {
    margin-bottom: 1rem;
    color: var(--uns-muted);
    font-weight: 400;
    line-height: 1.65;
}

.site-shell .access-card__action {
    color: var(--uns-blue-700);
    font-weight: 800;
}

.site-shell .workflow-step {
    height: 100%;
    padding: 1.5rem;
}

.site-shell .workflow-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: #fff;
    background: var(--uns-blue-800);
    font-weight: 800;
}

.site-shell .workflow-step h3 {
    color: var(--uns-blue-900);
    font-size: 1.1rem;
    font-weight: 800;
}

.site-shell .workflow-step p {
    color: var(--uns-muted);
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .site-shell .navbar-collapse {
        padding: 1rem 0;
    }

    .site-shell .nav-link {
        margin: 0.2rem 0;
        padding: 0.65rem 0.75rem;
    }

    .site-shell .homepage-hero {
        padding: 3.5rem 0;
    }

    .site-shell .homepage-visual {
        min-height: 260px;
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .site-shell .homepage-title {
        font-size: 2.2rem;
    }

    .site-shell .homepage-actions {
        flex-direction: column;
    }

    .site-shell .homepage-button {
        width: 100%;
    }

    .site-shell .homepage-section {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .site-shell *,
    .site-shell *::before,
    .site-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        -webkit-animation-duration: 0.01ms !important;
                animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
                animation-iteration-count: 1 !important;
    }
}
