body.ea-portal-home {
    color-scheme: light dark;
    --ea-bg: #eff4ff;
    --ea-paper: #fff;
    --ea-ink: #172448;
    --ea-muted: #455574;
    --ea-line: #cad7ee;
    --ea-link: #2149a8;
    --ea-band: #e1ecff;
    margin: 0;
    min-height: 100vh;
    background: var(--ea-bg);
    color: var(--ea-ink);
    font: 400 1rem/1.6 "Inter", system-ui, sans-serif;
}
.ea-portal-home * { box-sizing: border-box; }
.ea-portal-home :is(h1,h2,h3) { color: var(--ea-ink); line-height: 1.15; margin: 0 0 .65rem; }
.ea-portal-home p { color: var(--ea-muted); margin: 0 0 1rem; }
.ea-portal-home a { color: var(--ea-link); text-underline-offset: .22em; }
.ea-portal-home a:focus-visible { outline: .2rem solid #de8c14; outline-offset: .25rem; }
.ea-portal-home .ea-portal-wrap { width: min(74rem, calc(100% - 2.4rem)); margin-inline: auto; }
.ea-portal-home .ea-portal-skip { position: absolute; transform: translateY(-150%); z-index: 20; background: var(--ea-paper); padding: .65rem; }
.ea-portal-home .ea-portal-skip:focus { transform: translateY(0); }
.ea-portal-home .ea-portal-header { background: var(--ea-paper); border-bottom: 1px solid var(--ea-line); }
.ea-portal-home :is(.ea-portal-header-row,.ea-portal-footer-row) {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.6rem; padding-block: .85rem;
}
.ea-portal-home nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(.65rem, 2.8vw, 1.55rem); font-size: .95rem; }
.ea-portal-home .ea-portal-brand {
    display: inline-flex; align-items: center; gap: .65rem; color: var(--ea-ink); font-weight: 750; text-decoration: none;
}
.ea-portal-home .ea-portal-brand img {
    width: 3rem; height: 3rem; background: #fff; border-radius: .55rem; padding: .12rem; object-fit: contain;
}
.ea-portal-home .ea-portal-nav-signin {
    display: inline-block; border: 1px solid var(--ea-line); padding: .4rem .8rem; border-radius: .45rem; font-weight: 750; text-decoration: none;
}
.ea-portal-home .ea-portal-hero {
    background: radial-gradient(ellipse at 95% 0%, #386dc2, transparent 58%), linear-gradient(120deg,#101c49,#16347b 66%,#302c78);
    padding-block: clamp(2rem, 6vw, 5.5rem);
}
.ea-portal-home .ea-portal-hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.1rem, 5vw, 4rem);
}
.ea-portal-home .ea-portal-hero h1 {
    color: #fff; font-size: clamp(2.65rem, 7vw, 5.4rem); letter-spacing: -.055em; line-height: 1; overflow-wrap: break-word;
}
.ea-portal-home .ea-portal-hero .ea-portal-label { color: #c4dcff; font-weight: 750; margin-bottom: .45rem; }
.ea-portal-home .ea-portal-hero .ea-portal-lead { color: #e5eeff; max-width: 32ch; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.ea-portal-home .ea-portal-hero-image {
    width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: center;
    border-radius: 1rem; border: 1px solid #abc4ff85; box-shadow: 0 .9rem 2.5rem #0a143f66;
}
.ea-portal-home .ea-portal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.35rem; }
.ea-portal-home .ea-portal-button {
    background: #eef4ff; color: #182e70; padding: .68rem .95rem; border: 1px solid #eef4ff; border-radius: .55rem;
    display: inline-flex; gap: .45rem; align-items: center; font-weight: 750; text-decoration: none;
}
.ea-portal-home .ea-portal-hero-link { color: #edf4ff; font-weight: 700; }
.ea-portal-home .ea-portal-section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.ea-portal-home :is(.ea-portal-section,.ea-portal-help) h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.ea-portal-home .ea-portal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin-top: 1rem; }
.ea-portal-home .ea-portal-card {
    background: var(--ea-paper); border: 1px solid var(--ea-line); border-radius: .8rem; padding: clamp(1rem, 3vw, 1.4rem);
    display: flex; flex-direction: column; align-items: flex-start;
}
.ea-portal-home .ea-portal-card h3 { font-size: 1.15rem; }
.ea-portal-home .ea-portal-card a { font-weight: 700; margin-top: auto; }
.ea-portal-home .ea-portal-help {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 1.5rem;
    padding: clamp(1rem, 3vw, 1.8rem); background: var(--ea-band); border: 1px solid var(--ea-line); border-radius: .8rem;
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.ea-portal-home .ea-portal-help p { margin: 0; max-width: 65ch; }
.ea-portal-home .ea-portal-support { background: #244ba6; color: #fff; border-color: #244ba6; }
.ea-portal-home .ea-portal-footer { background: var(--ea-paper); border-top: 1px solid var(--ea-line); }
.ea-portal-home .ea-portal-footer p { margin: 0; font-size: .9rem; }
@media (max-width: 720px) {
    .ea-portal-home .ea-portal-hero-grid, .ea-portal-home .ea-portal-grid { grid-template-columns: minmax(0,1fr); }
    .ea-portal-home .ea-portal-hero-image { aspect-ratio: 16/9; }
}
@media (prefers-color-scheme: dark) {
    body.ea-portal-home {
        --ea-bg: #121a32; --ea-paper: #192440; --ea-ink: #f0f5ff; --ea-muted: #c8d5ef;
        --ea-line: #465a83; --ea-link: #bad4ff; --ea-band: #202e51;
    }
    .ea-portal-home .ea-portal-support { background: #b8d1ff; color: #102450; border-color: #b8d1ff; }
}
