:root {
    --ea-navy: #0b2a5b;
    --ea-navy-2: #123f78;
    --ea-blue: #1d64d8;
    --ea-cyan: #1ba6c9;
    --ea-ink: #0f1f35;
    --ea-muted: #62748b;
    --ea-line: #dbe5f1;
    --ea-soft: #f3f8fd;
}

body.landing-body,
body.login-body {
    margin: 0;
    color: var(--ea-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ea-soft);
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 229, 241, .8);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ea-ink);
    text-decoration: none;
}

.brand-logo-img {
    display: block;
    width: min(310px, 58vw);
    height: auto;
    object-fit: contain;
}

.site-nav .brand-logo-img {
    width: min(300px, 52vw);
    max-height: 58px;
}

.login-intro .brand-logo-img {
    width: min(470px, 58vw);
    max-height: 118px;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(145deg, var(--ea-blue), var(--ea-cyan));
    box-shadow: 0 14px 34px rgba(29, 100, 216, .24);
}

.brand-title {
    font-weight: 850;
    line-height: 1.05;
}

.brand-subtitle {
    color: var(--ea-muted);
    font-size: .84rem;
    font-weight: 650;
}

.hero-landing {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 116px 0 52px;
    background-image:
        linear-gradient(90deg, rgba(8, 29, 58, .92) 0%, rgba(10, 42, 91, .72) 42%, rgba(10, 42, 91, .22) 70%, rgba(10, 42, 91, .12) 100%),
        url("/images/e-agenda-hero.png");
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 760px;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #d8ecff;
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero-title {
    margin: 22px 0 18px;
    font-size: clamp(3rem, 6vw, 6.3rem);
    line-height: .94;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 660px;
    color: #d9e8f8;
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.55;
    font-weight: 520;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn-ea-primary {
    background: #fff;
    border-color: #fff;
    color: var(--ea-navy);
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 8px;
}

.btn-ea-primary:hover {
    background: #eaf4ff;
    border-color: #eaf4ff;
    color: var(--ea-navy);
}

.btn-ea-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .52);
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 8px;
}

.btn-ea-outline:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
    max-width: 700px;
}

.metric-item {
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(12px);
}

.metric-number {
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    line-height: 1;
    font-weight: 900;
}

.metric-label {
    color: #cfe1f4;
    font-weight: 650;
    font-size: .92rem;
    margin-top: 8px;
}

.content-band {
    padding: clamp(56px, 7vw, 96px) 0;
}

.section-kicker {
    color: var(--ea-blue);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 1.04;
    font-weight: 900;
    margin: 10px 0 14px;
}

.section-copy {
    color: var(--ea-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.feature-card {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--ea-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 31, 53, .07);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--ea-blue);
    background: #eaf3ff;
    font-size: 1.35rem;
}

.feature-card h3 {
    margin: 18px 0 8px;
    font-size: 1.22rem;
    font-weight: 850;
}

.feature-card p {
    color: var(--ea-muted);
    line-height: 1.6;
    margin: 0;
}

.display-preview-band {
    background: linear-gradient(180deg, #ffffff 0%, #edf5fc 100%);
}

.display-preview {
    border-radius: 8px;
    border: 1px solid rgba(219, 229, 241, .9);
    background: #fff;
    box-shadow: 0 26px 70px rgba(15, 31, 53, .12);
    overflow: hidden;
}

.preview-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--ea-navy);
    color: #fff;
    font-weight: 850;
}

.preview-row {
    display: grid;
    grid-template-columns: 130px 1fr 220px;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    border-top: 1px solid var(--ea-line);
}

.preview-time {
    color: var(--ea-blue);
    font-size: 1.75rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.preview-title {
    font-weight: 850;
    font-size: 1.18rem;
}

.preview-meta {
    color: var(--ea-muted);
    font-weight: 700;
}

.landing-footer {
    padding: 26px 0;
    color: #d8e8f8;
    background: var(--ea-navy);
}

.login-body {
    min-height: 100vh;
    background-image:
        linear-gradient(90deg, rgba(8, 29, 58, .88), rgba(10, 42, 91, .6)),
        url("/images/e-agenda-hero.png");
    background-size: cover;
    background-position: center;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(500px, 660px);
}

.login-intro {
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 4.2vw, 64px);
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-intro .brand-lockup,
.login-intro .brand-title {
    color: #fff;
}

.login-intro .brand-subtitle {
    color: rgba(255, 255, 255, .72);
}

.login-intro h1 {
    font-size: clamp(2.35rem, 4.45vw, 4.55rem);
    line-height: .98;
    font-weight: 900;
    max-width: 760px;
}

.login-intro p {
    color: #d8e8f8;
    font-size: 1.1rem;
    max-width: 620px;
    line-height: 1.6;
}

.login-panel-wrap {
    display: flex;
    align-items: center;
    padding: clamp(28px, 4vw, 58px);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(20px);
}

.login-panel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(36px, 4vw, 54px);
    border: 1px solid var(--ea-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 31, 53, .16);
}

.login-panel .form-control {
    border-color: var(--ea-line);
    padding: 12px 14px;
}

@media (max-width: 992px) {
    .hero-landing {
        min-height: auto;
        padding-top: 104px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .preview-row {
        grid-template-columns: 1fr;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: 42vh;
    }
}

@media (max-width: 576px) {
    .site-nav .brand-logo-img {
        width: min(230px, 58vw);
        max-height: 46px;
    }

    .login-intro .brand-logo-img {
        width: min(280px, 76vw);
        max-height: 70px;
    }
}
