.home-page {
    --home-ink: #0f172a;
    --home-muted: #526075;
    --home-border: #dce3ec;
    --home-surface: #ffffff;
    --home-blue: #2563eb;
    color: var(--home-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 1.5rem 0 4.5rem;
}

.home-hero {
    align-items: center;
    background: #071225;
    border-radius: 1.75rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
    display: flex;
    isolation: isolate;
    min-height: 22rem;
    overflow: hidden;
    position: relative;
}

.home-hero::before {
    background:
        linear-gradient(90deg, rgba(5, 15, 34, 0.98) 0%, rgba(5, 15, 34, 0.93) 42%, rgba(5, 15, 34, 0.52) 70%, rgba(5, 15, 34, 0.24) 100%),
        linear-gradient(0deg, rgba(37, 99, 235, 0.16), transparent 46%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.home-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.home-hero-image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.home-hero-content {
    color: #ffffff;
    max-width: 47rem;
    padding: clamp(2rem, 4.5vw, 4rem);
    position: relative;
    z-index: 2;
}

.home-eyebrow {
    align-items: center;
    color: #bfdbfe;
    display: flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.65rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.home-eyebrow-mark {
    background: #60a5fa;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.16);
    height: 0.55rem;
    width: 0.55rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.home-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    display: inline-flex;
    font-size: 0.98rem;
    font-weight: 750;
    gap: 0.65rem;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.home-button-primary {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    color: #1649a5;
}

.home-button-primary:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    color: #0e3c91;
}

.home-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.home-button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.home-button:focus-visible,
.home-action-card:focus-visible,
.home-resource-links a:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 4px;
}

.home-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.home-highlights li {
    align-items: center;
    color: #cbd8e8;
    display: flex;
    font-size: 0.86rem;
    font-weight: 650;
    gap: 0.45rem;
}

.home-highlights i {
    color: #60a5fa;
}

.home-section {
    padding-top: clamp(3.75rem, 7vw, 5.5rem);
}

.home-section-heading {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.home-section-heading h2,
.home-resources h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0;
}

.home-section-heading p {
    color: var(--home-muted);
    line-height: 1.65;
    margin: 0 0 0.2rem;
    max-width: 25rem;
}

.home-section-kicker,
.home-resources-kicker {
    color: var(--home-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.home-action-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-action-card {
    --home-card-accent: #2563eb;
    --home-card-soft: #eaf1ff;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    color: var(--home-ink);
    display: flex;
    flex-direction: column;
    min-height: 19rem;
    overflow: hidden;
    padding: 1.6rem;
    position: relative;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-action-card::before {
    background: var(--home-card-accent);
    content: "";
    height: 0.3rem;
    inset: 0 0 auto;
    position: absolute;
}

.home-action-card:hover {
    border-color: color-mix(in srgb, var(--home-card-accent) 36%, white);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.13);
    color: var(--home-ink);
    text-decoration: none;
    transform: translateY(-6px);
}

.home-action-card-teal {
    --home-card-accent: #0f766e;
    --home-card-soft: #e3f7f4;
}

.home-action-card-amber {
    --home-card-accent: #b45309;
    --home-card-soft: #fff3dc;
}

.home-action-icon {
    align-items: center;
    background: var(--home-card-soft);
    border-radius: 1rem;
    color: var(--home-card-accent);
    display: flex;
    font-size: 1.35rem;
    height: 3.25rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 3.25rem;
}

.home-action-kicker {
    color: var(--home-card-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-action-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 0.3rem;
}

.home-action-copy {
    color: var(--home-muted);
    line-height: 1.6;
    margin-top: 0.7rem;
}

.home-action-link {
    align-items: center;
    color: var(--home-card-accent);
    display: flex;
    font-size: 0.9rem;
    font-weight: 750;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.home-action-link i,
.home-resource-arrow {
    transition: transform 160ms ease;
}

.home-action-card:hover .home-action-link i,
.home-resource-links a:hover .home-resource-arrow {
    transform: translateX(4px);
}

.home-resources {
    align-items: center;
    background: #0f1c31;
    border-radius: 1.5rem;
    color: #ffffff;
    display: grid;
    gap: clamp(2rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin-top: clamp(3.75rem, 7vw, 5.5rem);
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
}

.home-resources::before {
    background: #2563eb;
    border-radius: 999px;
    content: "";
    filter: blur(70px);
    height: 12rem;
    opacity: 0.16;
    position: absolute;
    right: -3rem;
    top: -4rem;
    width: 12rem;
}

.home-resources-intro,
.home-resource-links {
    position: relative;
    z-index: 1;
}

.home-resources-intro > img {
    background: #ffffff;
    border-radius: 0.8rem;
    height: auto;
    margin-bottom: 1.5rem;
    max-width: 13rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
}

.home-resources-kicker {
    color: #93c5fd;
}

.home-resources p {
    color: #b9c6d8;
    line-height: 1.65;
    margin: 1rem 0 0;
    max-width: 31rem;
}

.home-resource-links {
    display: grid;
    gap: 0.85rem;
}

.home-resource-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1rem;
    color: #ffffff;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1rem;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-resource-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(147, 197, 253, 0.65);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(3px);
}

.home-resource-icon {
    align-items: center;
    background: rgba(96, 165, 250, 0.18);
    border-radius: 0.8rem;
    color: #93c5fd;
    display: flex;
    font-size: 1.1rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.home-resource-links strong,
.home-resource-links small {
    display: block;
}

.home-resource-links strong {
    font-size: 1rem;
}

.home-resource-links small {
    color: #aebdd0;
    line-height: 1.35;
    margin-top: 0.2rem;
}

.home-resource-arrow {
    color: #93c5fd;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .home-hero::before {
        background: linear-gradient(90deg, rgba(5, 15, 34, 0.97) 0%, rgba(5, 15, 34, 0.88) 62%, rgba(5, 15, 34, 0.42) 100%);
    }

    .home-action-grid {
        grid-template-columns: 1fr;
    }

    .home-action-card {
        min-height: 0;
    }

    .home-action-link {
        margin-top: 1rem;
    }

    .home-resources {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .home-page {
        padding-top: 1rem;
    }

    .home-hero {
        border-radius: 1.25rem;
        min-height: 27rem;
    }

    .home-hero-image {
        object-position: 58% center;
    }

    .home-hero::before {
        background: linear-gradient(0deg, rgba(5, 15, 34, 0.98) 0%, rgba(5, 15, 34, 0.9) 68%, rgba(5, 15, 34, 0.56) 100%);
    }

    .home-hero-content {
        align-self: end;
        padding: 2rem 1.5rem;
    }

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

    .home-highlights {
        display: grid;
        gap: 0.55rem;
    }

    .home-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .home-action-card {
        padding: 1.4rem;
    }

    .home-resources {
        border-radius: 1.25rem;
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button,
    .home-action-card,
    .home-action-link i,
    .home-resource-links a,
    .home-resource-arrow {
        transition: none;
    }
}

@media print {
    .home-hero,
    .home-action-card,
    .home-resources {
        box-shadow: none;
    }
}
