
html[data-theme="dark"] .es-module-card h3 {
  color: var(--text-primary);
}

html[data-theme="dark"] .es-module-card p {
  color: var(--text-secondary);
}

html[data-theme="dark"] .es-workflow-card h3 {
  color: var(--text-primary);
}
.es-landing {
    min-height: 100vh;
    color: #0f172a;
    background: #f7fafc;
}

.es-container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.es-landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(247, 250, 252, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(18px);
}

.es-landing-header__inner {
    width: min(1160px, calc(100% - 2rem));
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    padding: 0.55rem 0.65rem 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.es-landing-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #0f172a;
    text-decoration: none;
}

.es-landing-brand__logo {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.es-landing-brand__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.es-landing-brand__wordmark {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.es-landing-nav,
.es-landing-actions,
.es-hero__actions,
.es-cta__actions,
.es-demo-highlights {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.es-landing-nav a {
    color: #475569;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
}

.es-landing-nav a:hover,
.es-landing-nav a[aria-current="page"] {
    color: #0f766e;
    background: rgba(13, 148, 136, 0.1);
}

.es-landing-menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.es-landing-menu .es-landing-nav {
    margin-inline: auto;
}

.es-landing-theme-toggle,
.es-landing-menu-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    color: #64748b;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.es-landing-theme-toggle:hover,
.es-landing-menu-toggle:hover {
    background: rgba(226, 232, 240, 0.5);
}

.es-landing-theme-toggle i,
.es-landing-menu-toggle i {
    font-size: 1.5rem;
}

.es-landing-menu-toggle .ri-close-line,
.es-landing-header.is-menu-open .es-landing-menu-toggle .ri-menu-line {
    display: none;
}

.es-landing-header.is-menu-open .es-landing-menu-toggle .ri-close-line {
    display: inline;
}

/* Hidden until the mobile breakpoint and the menu script enable it. */
.es-landing-menu-toggle {
    display: none;
}

.es-landing-theme-toggle .ri-sun-line,
html[data-theme="dark"] .es-landing-theme-toggle .ri-moon-line {
    display: none;
}

html[data-theme="dark"] .es-landing-theme-toggle .ri-sun-line {
    display: inline;
}

.es-landing-footer {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.55rem 0 1.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
}

.es-landing-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.15rem;
    margin: 0 0 0.85rem;
}

.es-landing-footer__nav a {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.es-landing-footer__nav a:hover,
.es-landing-footer__nav a:focus-visible,
.es-landing-footer__nav a[aria-current="page"] {
    color: #0f766e;
}

.es-landing-footer__copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 700;
}

.es-landing-footer__copy strong {
    color: #0f172a;
    font-weight: 900;
}

.es-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border-radius: 8px;
    padding: 0.68rem 0.95rem;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.es-btn:hover {
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.es-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a 0%, var(--es-accent-700) 58%, #0f766e 100%);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
}

.es-btn--secondary,
.es-btn--ghost {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.es-btn--ghost {
    background: transparent;
    box-shadow: none;
}

.es-btn--large {
    min-height: 48px;
    padding: 0.82rem 1.15rem;
}

.es-hero {
    position: relative;
    min-height: calc(100svh - 156px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4.4rem 0 4rem;
    background:
        linear-gradient(90deg, rgba(247, 250, 252, 0.98) 0%, rgba(247, 250, 252, 0.88) 34%, rgba(247, 250, 252, 0.3) 64%, rgba(15, 23, 42, 0.18) 100%),
        url("/static/img/landing/hero-operations.405dcea0bb2c.png") center right / cover no-repeat;
}

.es-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(247, 250, 252, 0.98));
}

.es-hero__content {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.es-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 8px;
    padding: 0.42rem 0.76rem;
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid rgba(13, 148, 136, 0.16);
    font-size: 0.76rem;
    font-weight: 850;
}

.es-badge--light {
    color: var(--es-accent-700);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.es-hero h1 {
    max-width: 610px;
    margin: 1rem 0 0;
    color: #0f172a;
    font-size: 4.15rem;
    line-height: 0.98;
    letter-spacing: 0;
}

.es-hero p {
    max-width: 540px;
    margin: 1.15rem 0 0;
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.7;
}

.es-hero__actions {
    margin-top: 1.55rem;
}

.es-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 560px;
    margin-top: 1.2rem;
}

.es-hero-proof div {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.es-hero-proof strong {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 950;
}

.es-hero-proof span {
    margin-top: 0.16rem;
    color: #64748b;
    font-size: 0.77rem;
    font-weight: 800;
}

.es-section {
    padding: 4.4rem 0;
    background: rgba(255, 255, 255, 0.82);
}

.es-section--soft {
    background: #f1f6fb;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.es-section-header {
    max-width: 670px;
    margin: 0 auto 2rem;
    text-align: center;
}

.es-section-header > span,
.es-cta__box span {
    width: fit-content;
    display: inline-flex;
    border-radius: 8px;
    padding: 0.42rem 0.76rem;
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid rgba(13, 148, 136, 0.16);
    font-size: 0.76rem;
    font-weight: 850;
}

.es-section-header h2,
.es-demo-video-box__content h2,
.es-visual-story__copy h2,
.es-cta__box h2 {
    margin: 0.8rem 0 0;
    color: #0f172a;
    font-size: 2.45rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.es-section-header p,
.es-demo-video-box__content p,
.es-visual-story__copy p {
    margin: 0.75rem 0 0;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
}

.es-demo-section {
    background: #ffffff;
}

.es-demo-video-box {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
    gap: 2rem;
    align-items: center;
}

.es-demo-highlights {
    margin-top: 1.2rem;
}

.es-demo-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    padding: 0.46rem 0.64rem;
    color: #334155;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.es-demo-highlights i {
    color: #0f766e;
}

.es-demo-video-frame {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #020617;
    box-shadow: 0 30px 74px rgba(15, 23, 42, 0.18);
}

.es-demo-video-frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #020617;
}

.es-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.es-module-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.es-module-card__visual {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 8px;
    padding: 0.86rem;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(236, 253, 245, 0.82));
}

.es-module-card__visual i {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--es-accent-700);
    font-size: 1.2rem;
}

.es-module-card__visual span {
    flex: 1;
    height: 56px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.08) 0 36%, transparent 36% 44%, rgba(15, 23, 42, 0.08) 44% 70%, transparent 70%),
        linear-gradient(180deg, rgba(13, 148, 136, 0.2), rgba(37, 99, 235, 0.1));
}

.es-module-card h3 {
  margin: 1rem 0 0;
    color: var(--text-heading);
    font-size: 1.05rem;
}

.es-module-card p {
  margin: 0.45rem 0 0;
    color: var(--text-secondary);
    line-height: 1.55;
}

.es-module-card--stock .es-module-card__visual {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.94), rgba(240, 253, 250, 0.86));
}

.es-module-card--stock .es-module-card__visual i {
    background: #0f766e;
}

.es-module-card--partner .es-module-card__visual {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.94), rgba(239, 246, 255, 0.8));
}

.es-module-card--partner .es-module-card__visual i {
    background: #b45309;
}

.es-module-card--sales .es-module-card__visual {
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.96), rgba(219, 234, 254, 0.84));
}

.es-module-card--sales .es-module-card__visual i {
    background: #334155;
}

.es-visual-story {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.2)),
        url("/static/img/landing/hero-operations.405dcea0bb2c.png") center right / cover no-repeat;
}

.es-visual-story__inner {
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
    align-items: end;
    gap: 2rem;
}

.es-visual-story__copy {
    max-width: 590px;
}

.es-visual-story__copy h2,
.es-visual-story__copy p {
    color: #ffffff;
}

.es-visual-story__copy p {
    color: rgba(226, 232, 240, 0.92);
}

.es-visual-flow {
    display: grid;
    gap: 0.8rem;
}

.es-visual-flow div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 0.95rem;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(16px);
    font-weight: 850;
}

.es-visual-flow i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #0f172a;
    background: #67e8f9;
}

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

.es-workflow-card {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    padding: 1.2rem;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

.es-workflow-card > span {
    color: var(--es-accent-700);
    font-weight: 950;
    font-size: 0.86rem;
}

.es-workflow-card h3 {
  margin: 0.65rem 0 0;
    color: var(--text-heading);
    font-size: 1.08rem;
}

.es-workflow-card p {
    margin: 0.42rem 0 0;
    color: #64748b;
    line-height: 1.55;
}

.es-cta {
    padding: 4.4rem 0;
    background: #ffffff;
}

.es-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(236, 253, 245, 0.78)),
        #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

@media (max-width: 1080px) {
    .es-hero {
        min-height: calc(100svh - 150px);
        padding: 4.2rem 0;
        background-position: 58% center;
    }

    .es-hero__content {
        text-align: center;
    }

    .es-badge,
    .es-hero__actions {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .es-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .es-demo-video-box,
    .es-visual-story__inner {
        grid-template-columns: 1fr;
    }

    .es-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .es-landing-header {
        position: static;
        padding: 0.6rem 0;
    }

    .es-landing-header__inner {
        width: min(1160px, calc(100% - 1rem));
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "brand theme toggle"
            "menu menu menu";
        align-items: center;
        gap: 0 0.5rem;
        padding: 0.58rem;
    }

    .es-landing-brand {
        grid-area: brand;
    }

    .es-landing-theme-toggle {
        grid-area: theme;
    }

    .es-landing-menu-toggle {
        grid-area: toggle;
    }

    .es-landing-header[data-menu-ready] .es-landing-menu-toggle {
        display: grid;
    }

    .es-landing-menu {
        grid-area: menu;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin-top: 0.58rem;
        padding-top: 0.58rem;
        border-top: 1px solid rgba(148, 163, 184, 0.28);
    }

    .es-landing-header[data-menu-ready]:not(.is-menu-open) .es-landing-menu {
        display: none;
    }

    .es-landing-footer {
        width: min(1160px, calc(100% - 1rem));
        padding: 1.25rem 0 1.5rem;
    }

    .es-landing-footer__nav {
        gap: 0.55rem 0.9rem;
    }

    .es-landing-nav,
    .es-landing-actions {
        width: 100%;
        gap: 0.5rem;
        justify-content: stretch;
    }

    .es-landing-menu .es-landing-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.25rem;
        margin-inline: 0;
    }

    .es-landing-nav a {
        min-width: 0;
        padding: 0.7rem 0.75rem;
        white-space: nowrap;
    }

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

    .es-landing-actions .es-btn {
        width: 100%;
        min-width: 0;
        padding-inline: 0.55rem;
        white-space: nowrap;
    }

    .es-hero {
        min-height: auto;
        padding: 3.4rem 0;
        background:
            linear-gradient(180deg, rgba(247, 250, 252, 0.98) 0%, rgba(247, 250, 252, 0.9) 50%, rgba(247, 250, 252, 0.76) 100%),
            url("/static/img/landing/hero-operations.405dcea0bb2c.png") center right / cover no-repeat;
    }

    html[data-theme="dark"] .es-hero {
        background:
            linear-gradient(180deg, rgba(11, 18, 32, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%),
            url("/static/img/landing/hero-operations.405dcea0bb2c.png") center right / cover no-repeat;
    }

    .es-hero h1 {
        font-size: 2.35rem;
    }

    .es-hero p {
        font-size: 1rem;
    }

    .es-hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .es-hero-proof div {
        min-height: 68px;
        padding: 0.62rem;
    }

    .es-hero-proof strong {
        font-size: 1rem;
    }

    .es-hero-proof span {
        font-size: 0.68rem;
    }

    .es-module-grid,
    .es-workflow-grid {
        grid-template-columns: 1fr;
    }

    .es-section,
    .es-cta,
    .es-visual-story {
        padding: 3.2rem 0;
    }

    .es-section-header h2,
    .es-demo-video-box__content h2,
    .es-visual-story__copy h2,
    .es-cta__box h2 {
        font-size: 2rem;
    }

    .es-visual-story__inner {
        min-height: auto;
    }

    .es-cta__box {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .es-container {
        width: min(1160px, calc(100% - 1rem));
    }

    .es-landing-brand {
        width: 100%;
    }

    .es-landing-brand__logo {
        width: 36px;
        height: 36px;
    }

    .es-landing-brand__wordmark {
        font-size: 0.86rem;
    }

    .es-hero h1 {
        font-size: 2rem;
    }

    .es-hero__actions,
    .es-cta__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .es-hero__actions .es-btn,
    .es-cta__actions .es-btn {
        width: 100%;
    }
}

/* ===== Dark theme overrides (tenant) ===== */
html[data-theme="dark"] .es-landing {
  color: var(--text-primary);
  background: var(--bg-deep-950);
}
html[data-theme="dark"] .es-landing-header {
  background: rgba(15, 23, 42, 0.82);
}
html[data-theme="dark"] .es-landing-header__inner {
  background: var(--bg-dark-90);
  box-shadow: 0 18px 44px var(--shadow-black-a30);
}
html[data-theme="dark"] .es-landing-theme-toggle,
html[data-theme="dark"] .es-landing-menu-toggle {
  color: #94a3b8;
  border-color: #1e293b;
}
html[data-theme="dark"] .es-landing-theme-toggle:hover,
html[data-theme="dark"] .es-landing-menu-toggle:hover {
  background: rgba(30, 41, 59, 0.5);
}
html[data-theme="dark"] .es-landing-menu {
  border-top-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .es-landing-brand {
  color: var(--text-primary);
}
html[data-theme="dark"] .es-landing-nav a:hover {
  background: rgba(45, 212, 191, 0.12);
}
html[data-theme="dark"] .es-hero h1 {
  color: var(--text-primary);
}
html[data-theme="dark"] .es-hero p {
  color: var(--text-strong);
}
html[data-theme="dark"] .es-hero::after {
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.98));
}
html[data-theme="dark"] .es-hero {
  background:
    linear-gradient(90deg, rgba(11, 18, 32, 0.96) 0%, rgba(15, 23, 42, 0.9) 34%, rgba(15, 23, 42, 0.45) 64%, rgba(11, 18, 32, 0.3) 100%),
    url("/static/img/landing/hero-operations.405dcea0bb2c.png") center right / cover no-repeat;
}
html[data-theme="dark"] .es-badge {
  color: var(--success-text);
  background: var(--success-soft-a14);
  border-color: var(--border-success-a30);
}
html[data-theme="dark"] .es-badge--light {
  color: var(--es-accent-indigo-600);
  background: var(--color-primary-soft);
  border-color: rgba(129, 140, 248, 0.25);
}
html[data-theme="dark"] .es-hero-proof div {
  background: var(--bg-dark-70);
}
html[data-theme="dark"] .es-hero-proof strong {
  color: var(--text-faint);
}
html[data-theme="dark"] .es-hero-proof span {
  color: var(--text-secondary);
}
html[data-theme="dark"] .es-btn {
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-color: var(--border-a40);
}
/* keep the brand gradient on the primary CTA (same specificity, later wins) */
html[data-theme="dark"] .es-btn--primary {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--es-accent-700) 58%, #0f766e 100%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
  color: #ffffff;
}
html[data-theme="dark"] .es-btn--secondary,
html[data-theme="dark"] .es-btn--ghost {
  background: var(--bg-dark-92);
  box-shadow: 0 12px 28px var(--shadow-black-a25);
}
html[data-theme="dark"] .es-btn--ghost {
  background: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .es-section {
  background: var(--bg-deep-85);
}
html[data-theme="dark"] .es-section--soft {
  background: var(--bg-primary);
}
html[data-theme="dark"] .es-section-header h2,
html[data-theme="dark"] .es-demo-video-box__content h2,
html[data-theme="dark"] .es-visual-story__copy h2,
html[data-theme="dark"] .es-cta__box h2 {
  color: var(--text-primary);
}
html[data-theme="dark"] .es-section-header p,
html[data-theme="dark"] .es-demo-video-box__content p,
html[data-theme="dark"] .es-visual-story__copy p {
  color: var(--text-secondary);
}
html[data-theme="dark"] .es-demo-section {
  background: var(--bg-deep-950);
}
html[data-theme="dark"] .es-demo-highlights span {
  background: var(--bg-dark-85);
  color: var(--text-strong);
}
html[data-theme="dark"] .es-module-card {
  background: var(--bg-dark-90);
}
html[data-theme="dark"] .es-module-card__visual {
  background: linear-gradient(135deg, var(--bg-dark-90), rgba(15, 23, 42, 0.9));
}
html[data-theme="dark"] .es-workflow-card {
  background: var(--bg-dark-90);
  box-shadow: 0 20px 50px var(--shadow-black-a30);
}
html[data-theme="dark"] .es-cta {
  background: var(--bg-deep-85);
}
html[data-theme="dark"] .es-cta__box {
  background:
    linear-gradient(135deg, var(--es-soft-50), rgba(15, 118, 110, 0.35)),
    rgba(30, 41, 59, 0.9);
  box-shadow: 0 24px 64px var(--shadow-black-a30);
}

/* Dark: wordmark / visual-flow text */
html[data-theme="dark"] .es-landing-brand__wordmark,
html[data-theme="dark"] .es-visual-flow i {
  color: var(--text-primary);
}
html[data-theme="dark"] .es-landing-nav a {
  color: var(--text-strong);
}
html[data-theme="dark"] .es-landing-nav a[aria-current="page"] {
  color: var(--success-text);
  background: rgba(45, 212, 191, 0.12);
}

html[data-theme="dark"] .es-landing-footer {
  border-top-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .es-landing-footer__nav a {
  color: var(--text-secondary);
}

html[data-theme="dark"] .es-landing-footer__nav a:hover,
html[data-theme="dark"] .es-landing-footer__nav a:focus-visible,
html[data-theme="dark"] .es-landing-footer__nav a[aria-current="page"] {
  color: var(--success-text);
}

html[data-theme="dark"] .es-landing-footer__copy {
  color: var(--text-secondary);
}

html[data-theme="dark"] .es-landing-footer__copy strong {
  color: var(--text-primary);
}
