:root {
    --ee-ink: #20313f;
    --ee-muted: #647184;
    --ee-line: #dce8e4;
    --ee-panel: #ffffff;
    --ee-bg: #f7fbf8;
    --ee-mint: #ecf8f0;
    --ee-teal: #e9f8f6;
    --ee-warm: #fff8e8;
    --ee-bluegray: #eef5fb;
    --ee-lavender: #f6f3ff;
    --ee-green: #1d8a72;
    --ee-green-dark: #12624f;
    --ee-blue: #3f82c9;
    --ee-yellow: #ffd86b;
    --ee-orange: #ee9861;
    --ee-radius: 8px;
    --ee-shadow: 0 14px 34px rgba(32, 49, 63, 0.1);
    --ee-soft-shadow: 0 8px 22px rgba(32, 49, 63, 0.06);
    --ee-section-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body.ee-home,
body.ee-site {
    margin: 0;
    background: var(--ee-bg);
    color: var(--ee-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.ee-page {
    min-height: 100vh;
    background: #fff;
}

.ee-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.ee-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--ee-line);
    backdrop-filter: blur(12px);
}

.ee-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.ee-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ee-ink);
    text-decoration: none;
    font-weight: 850;
    font-size: 20px;
    white-space: nowrap;
}

.ee-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.ee-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.ee-nav a {
    color: var(--ee-ink);
    text-decoration: none;
    font-weight: 650;
}

.ee-nav a:hover {
    color: var(--ee-green);
}

.ee-nav-item {
    position: relative;
}

.ee-nav-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    white-space: nowrap;
}

.ee-nav-caret {
    color: var(--ee-muted);
    font-size: 13px;
    line-height: 1;
}

.ee-submenu,
.ee-submenu-nested {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.ee-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 30;
    min-width: 220px;
    transform: translate(-50%, 8px);
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(32, 49, 63, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.ee-submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.ee-nav-item:hover > .ee-submenu,
.ee-nav-item:focus-within > .ee-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.ee-submenu li {
    position: relative;
}

.ee-submenu a,
.ee-submenu-nested a {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    color: var(--ee-ink);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.ee-submenu a:hover,
.ee-submenu-nested a:hover {
    background: var(--ee-mint);
    color: var(--ee-green-dark);
}

.ee-submenu .has-children > a::after {
    content: "›";
    color: var(--ee-muted);
}

.ee-submenu-nested {
    position: absolute;
    top: -8px;
    left: calc(100% + 8px);
    min-width: 180px;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(32, 49, 63, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.ee-submenu .has-children:hover > .ee-submenu-nested,
.ee-submenu .has-children:focus-within > .ee-submenu-nested {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.ee-nav-item.has-mega {
    position: static;
}

.ee-nav-item.has-mega > .ee-submenu {
    left: 50%;
    width: min(760px, calc(100vw - 56px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
}

.ee-nav-item.has-mega > .ee-submenu > li > a {
    background: var(--ee-mint);
    color: var(--ee-green-dark);
    font-weight: 800;
}

.ee-nav-item.has-mega .ee-submenu .has-children > a::after {
    content: "";
}

.ee-nav-item.has-mega .ee-submenu-nested {
    position: static;
    min-width: 0;
    margin-top: 6px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
}

.ee-nav-item.has-mega .ee-submenu-nested a {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 13px;
}

.ee-cta,
.ee-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--ee-radius);
    background: var(--ee-green);
    color: #fff !important;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(29, 138, 114, 0.22);
}

.ee-cta.secondary {
    background: #fff;
    color: var(--ee-green-dark) !important;
    border: 1px solid var(--ee-line);
    box-shadow: none;
}

.ee-section {
    padding: 68px 0;
    border-top: 1px solid rgba(220, 232, 228, 0.78);
    box-shadow: var(--ee-section-shadow);
}

.ee-section:first-child,
.ee-hero + .ee-section {
    border-top: 0;
}

.ee-bg-white { background: #fff; }
.ee-bg-mint { background: var(--ee-mint); }
.ee-bg-teal { background: var(--ee-teal); }
.ee-bg-warm { background: var(--ee-warm); }
.ee-bg-bluegray { background: var(--ee-bluegray); }
.ee-bg-lavender { background: var(--ee-lavender); }

.ee-hero {
    padding: 70px 0 58px;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 216, 107, 0.2), transparent 30%),
        linear-gradient(180deg, #f0fbf6 0%, #fff8e8 100%);
    border-bottom: 1px solid var(--ee-line);
}

.ee-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
    gap: 44px;
    align-items: center;
}

.ee-kicker,
.ee-eyebrow,
.ee-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 780;
}

.ee-kicker {
    padding: 7px 11px;
    background: #fff;
    border: 1px solid var(--ee-line);
    color: var(--ee-green-dark);
    font-size: 14px;
}

.ee-eyebrow {
    margin-bottom: 10px;
    padding: 6px 10px;
    background: rgba(29, 138, 114, 0.1);
    color: var(--ee-green-dark);
    font-size: 13px;
}

.ee-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--ee-yellow);
}

.ee-hero h1 {
    margin: 18px 0 8px;
    font-size: clamp(44px, 8vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.ee-hero h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.ee-hero p,
.ee-section-desc {
    color: var(--ee-muted);
    line-height: 1.75;
}

.ee-hero p {
    margin: 18px 0 0;
    font-size: 18px;
}

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

.ee-hero-art {
    position: relative;
    min-height: 390px;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246, 253, 249, 0.95));
    display: grid;
    place-items: center;
    padding: 18px;
    box-shadow: 0 22px 46px rgba(32, 49, 63, 0.12);
    overflow: hidden;
}

.ee-hero-art::before {
    content: "EE + Dream";
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ee-warm);
    color: #8a5c10;
    font-size: 12px;
    font-weight: 760;
}

.ee-hero-art img {
    width: 100%;
    max-height: 342px;
    object-fit: cover;
    border-radius: 6px;
}

.ee-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.ee-section-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.22;
    letter-spacing: 0;
}

.ee-section-desc {
    max-width: 640px;
    margin: 9px 0 0;
    font-size: 16px;
}

.ee-grid {
    display: grid;
    gap: 16px;
}

.ee-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ee-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ee-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ee-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.ee-card,
.ee-feature-card {
    display: block;
    min-height: 132px;
    padding: 20px;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: var(--ee-panel);
    color: var(--ee-ink);
    text-decoration: none;
    box-shadow: var(--ee-soft-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ee-section-spotlight .ee-wrap {
    position: relative;
}

.ee-section-spotlight .ee-wrap::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -18px;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: var(--ee-green);
}

.course-spotlight .ee-wrap::before {
    background: var(--ee-blue);
}

.teacher-spotlight .ee-wrap::before {
    background: var(--ee-orange);
}

.ee-card:hover,
.ee-feature-card:hover,
.ee-article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ee-shadow);
    border-color: rgba(29, 138, 114, 0.34);
}

.ee-card strong,
.ee-feature-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.ee-card span,
.ee-feature-card span {
    color: var(--ee-muted);
    line-height: 1.65;
    font-size: 14px;
}

.ee-feature-card {
    min-height: 164px;
    border-top: 4px solid var(--ee-green);
}

.ee-card.accent-free { border-top: 4px solid var(--ee-green); }
.ee-card.accent-course { border-top: 4px solid var(--ee-blue); }
.ee-card.accent-teacher { border-top: 4px solid var(--ee-orange); }

.ee-route {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ee-route-step {
    padding: 22px;
    border-radius: var(--ee-radius);
    background: linear-gradient(180deg, #ffffff, #f5fbfa);
    border: 1px solid var(--ee-line);
    box-shadow: var(--ee-soft-shadow);
}

.ee-route-step b {
    display: block;
    color: var(--ee-green-dark);
    font-size: 24px;
    margin-bottom: 8px;
}

.ee-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ee-article-card {
    overflow: hidden;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: #fff;
    box-shadow: var(--ee-soft-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ee-article-media {
    display: grid;
    place-items: center;
    min-height: 150px;
    background: linear-gradient(135deg, #e8f7ef, #fff4d6);
    color: var(--ee-green-dark);
    font-weight: 850;
    text-decoration: none;
}

.ee-article-media img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ee-article-body {
    padding: 18px;
}

.ee-chip {
    margin-bottom: 10px;
    padding: 4px 9px;
    background: #f0f8f6;
    color: var(--ee-green-dark);
    font-size: 12px;
}

.ee-article-body h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.38;
}

.ee-article-body h3 a {
    color: var(--ee-ink);
    text-decoration: none;
}

.ee-article-body p {
    min-height: 76px;
    margin: 0 0 14px;
    color: var(--ee-muted);
    line-height: 1.65;
    font-size: 14px;
}

.ee-read-more {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
    box-shadow: none;
}

.ee-page-hero {
    padding: 64px 0 50px;
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 216, 107, 0.16), transparent 28%),
        linear-gradient(180deg, #f0fbf6, #fff);
    border-bottom: 1px solid var(--ee-line);
}

.ee-page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.52fr);
    gap: 30px;
    align-items: center;
}

.ee-page-hero h1,
.ee-single-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
    letter-spacing: 0;
}

.ee-page-panel {
    padding: 22px;
    border-radius: var(--ee-radius);
    background: #fff;
    border: 1px solid var(--ee-line);
    box-shadow: var(--ee-soft-shadow);
}

.ee-start-section .ee-card {
    min-height: 150px;
    background: linear-gradient(180deg, #ffffff, #f7fcfa);
}

.ee-page-panel ul {
    margin: 12px 0 0;
    padding-left: 19px;
    color: var(--ee-muted);
    line-height: 1.8;
}

.ee-simple-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 0;
}

.ee-single-hero {
    padding: 44px 0 34px;
    background: var(--ee-bluegray);
    border-bottom: 1px solid var(--ee-line);
}

.ee-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--ee-muted);
    font-size: 14px;
}

.ee-breadcrumb a {
    color: var(--ee-green-dark);
    text-decoration: none;
    font-weight: 650;
}

.ee-breadcrumb strong {
    color: var(--ee-muted);
    font-weight: 600;
}

.ee-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    padding: 46px 0 62px;
}

.ee-single-content {
    padding: 30px;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: #fff;
    box-shadow: var(--ee-soft-shadow);
}

.ee-single-feature {
    display: grid;
    place-items: center;
    min-height: 230px;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 216, 107, 0.25), transparent 32%),
        linear-gradient(135deg, #e8f7ef, #fff4d6);
    color: var(--ee-green-dark);
    font-size: 30px;
    font-weight: 850;
}

.ee-single-feature img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.ee-single-content p,
.ee-single-content li {
    color: #415060;
    font-size: 17px;
    line-height: 1.85;
}

.ee-single-content h2 {
    margin-top: 28px;
    font-size: 25px;
}

.ee-tip-box,
.ee-summary-box,
.ee-next-box {
    margin-top: 30px;
    padding: 22px;
    border-radius: var(--ee-radius);
    border: 1px solid var(--ee-line);
}

.ee-tip-box {
    margin-top: 0;
    margin-bottom: 28px;
    background: var(--ee-bluegray);
}

.ee-summary-box {
    background: var(--ee-mint);
}

.ee-next-box {
    background: var(--ee-warm);
}

.ee-tip-box h2,
.ee-summary-box h2,
.ee-next-box h2 {
    margin-top: 0;
}

.ee-tip-box p {
    margin-bottom: 0;
}

.ee-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.ee-sidebar-card {
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--ee-line);
    border-radius: var(--ee-radius);
    background: #fff;
    box-shadow: var(--ee-soft-shadow);
}

.ee-sidebar-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.ee-sidebar-card a {
    display: block;
    color: var(--ee-green-dark);
    text-decoration: none;
    line-height: 1.7;
    font-weight: 650;
}

.ee-footer {
    padding: 44px 0;
    background: #1f3136;
    color: #eaf4f0;
}

.ee-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 26px;
}

.ee-footer h3,
.ee-footer h4 {
    margin: 0 0 12px;
    color: #fff;
}

.ee-footer a,
.ee-footer p {
    display: block;
    color: #c9d8d3;
    text-decoration: none;
    margin: 0 0 8px;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .ee-header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: stretch;
        flex-direction: column;
    }

    .ee-brand {
        align-self: center;
    }

    .ee-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ee-nav-item {
        position: relative;
    }

    .ee-nav-link {
        min-height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--ee-line);
        border-radius: var(--ee-radius);
        background: #fff;
        text-align: center;
        font-size: 14px;
        padding: 0 8px;
    }

    .ee-submenu,
    .ee-submenu-nested,
    .ee-nav-item.has-mega > .ee-submenu {
        position: static;
        width: auto;
        min-width: 0;
        display: none;
        grid-template-columns: 1fr;
        margin-top: 6px;
        padding: 8px;
        transform: none;
        border: 1px solid var(--ee-line);
        border-radius: var(--ee-radius);
        background: #fff;
        box-shadow: var(--ee-soft-shadow);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .ee-submenu::before {
        display: none;
    }

    .ee-nav-item:hover > .ee-submenu,
    .ee-nav-item:focus-within > .ee-submenu {
        display: block;
        transform: none;
    }

    .ee-nav-item.has-mega:hover > .ee-submenu,
    .ee-nav-item.has-mega:focus-within > .ee-submenu {
        display: grid;
    }

    .ee-submenu .has-children > .ee-submenu-nested {
        display: block;
        margin: 4px 0 8px 8px;
        padding: 0 0 0 8px;
        border: 0;
        border-left: 2px solid var(--ee-line);
        box-shadow: none;
    }

    .ee-submenu .has-children > a::after {
        content: "";
    }

    .ee-nav-item.has-mega > .ee-submenu > li > a {
        justify-content: flex-start;
    }

    .ee-header-cta {
        align-self: center;
        min-width: 160px;
    }

    .ee-hero-grid,
    .ee-page-hero-inner,
    .ee-grid.cols-2,
    .ee-grid.cols-3,
    .ee-grid.cols-4,
    .ee-grid.cols-5,
    .ee-route,
    .ee-article-grid,
    .ee-footer-grid,
    .ee-single-layout {
        grid-template-columns: 1fr;
    }

    .ee-hero-art {
        min-height: auto;
        padding: 14px;
    }

    .ee-hero-art img {
        max-height: none;
    }

    .ee-section {
        padding: 44px 0;
    }
}

@media (max-width: 700px) {
    .ee-wrap {
        width: min(calc(100% - 24px), 360px);
        max-width: 360px;
        margin-left: 12px;
        margin-right: auto;
    }

    .ee-nav a {
        font-size: 13px;
    }

    .ee-header-cta {
        width: 100%;
    }

    .ee-hero {
        padding-top: 40px;
    }

    .ee-hero h1 {
        font-size: 46px;
    }

    .ee-hero h2,
    .ee-page-hero h1,
    .ee-single-hero h1 {
        font-size: 26px;
        line-height: 1.28;
        word-break: break-word;
    }

    .ee-hero p,
    .ee-section-desc {
        font-size: 16px;
    }

    .ee-section-title,
    .ee-card strong,
    .ee-card span,
    .ee-article-body h3,
    .ee-article-body p {
        word-break: break-word;
    }

    .ee-hero-actions {
        flex-direction: column;
    }

    .ee-cta {
        width: 100%;
    }

    .ee-hero-art img {
        height: auto;
        object-fit: contain;
    }

    .ee-single-content {
        padding: 22px;
    }

    .ee-single-feature {
        min-height: 160px;
        font-size: 22px;
    }

    .ee-inline-actions {
        flex-direction: column;
    }
}
