.edu {
    --edu-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
    --edu-ink: #1c1410;
    --edu-muted: #6b5a52;
    --edu-soft: #f3ece4;
    --edu-rule: rgba(28, 20, 16, 0.08);

    font-family: var(--edu-sans);
    color: var(--edu-ink);
    line-height: 1.6;
}

.edu ::selection {
    background: var(--my-red);
    color: #fff;
}

/* ─── PILL BADGE ─── */
.edu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.45em 1em;
    background: var(--edu-soft);
    color: var(--my-dark-red);
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.edu-badge i {
    font-size: 1em;
}

/* ─── BUTTONS ─── */
.edu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    padding: 0.85em 1.6em;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
    line-height: 1.2;
}

.edu-btn-primary {
    background: var(--my-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(191, 67, 66, 0.25);
}

.edu-btn-primary:hover {
    background: var(--my-dark-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(191, 67, 66, 0.32);
}

.edu-btn-outline {
    background: #fff;
    color: var(--edu-ink);
    border-color: rgba(28, 20, 16, 0.18);
}

.edu-btn-outline:hover {
    border-color: var(--edu-ink);
    color: var(--edu-ink);
    transform: translateY(-2px);
}

.edu-btn i {
    font-size: 1.05em;
    transition: transform 0.18s ease;
}

.edu-btn:hover i.bi-arrow-right {
    transform: translateX(3px);
}

/* ─── HERO ─── */
.edu-hero {
    padding: 4rem 0 5rem;
    text-align: center;
    position: relative;
}

.edu-hero::before {
    content: "";
    position: absolute;
    inset: -2rem 0 0;
    background: radial-gradient(ellipse 80% 70% at 50% 0%, var(--edu-soft) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.edu-hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 1.5rem auto 1.25rem;
    max-width: 22ch;
    color: var(--edu-ink);
}

.edu-hero h1 .accent {
    color: var(--my-red);
}

.edu-hero p.lead {
    font-size: 1.1875rem;
    line-height: 1.55;
    color: var(--edu-muted);
    max-width: 38em;
    margin: 0 auto 2.25rem;
}

.edu-hero-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── STATS STRIP ─── */
.edu-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--edu-rule);
    border-bottom: 1px solid var(--edu-rule);
    margin: 1rem 0 5rem;
}

.edu-stat {
    text-align: center;
    padding: 0.5rem;
}

.edu-stat-value {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--my-red);
    line-height: 1.1;
}

.edu-stat-label {
    font-size: 0.875rem;
    color: var(--edu-muted);
    margin-top: 0.4rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .edu-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ─── SECTION ─── */
.edu-section {
    padding: 4.5rem 0;
}

.edu-section-head {
    text-align: center;
    max-width: 42em;
    margin: 0 auto 3rem;
}

.edu-section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 1rem 0 0.75rem;
    line-height: 1.15;
    color: var(--edu-ink);
}

.edu-section-head p {
    font-size: 1.0625rem;
    color: var(--edu-muted);
    margin: 0;
    line-height: 1.55;
}

/* ─── STEPS (how it works) ─── */
.edu-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: edu-step;
}

.edu-step {
    background: #fff;
    border: 1px solid var(--edu-rule);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.edu-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(28, 20, 16, 0.08);
    border-color: rgba(28, 20, 16, 0.14);
}

.edu-step-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--edu-soft);
    color: var(--my-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.edu-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.015em;
    color: var(--edu-ink);
}

.edu-step p {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--edu-muted);
    margin: 0;
}

.edu-step-link {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: var(--my-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.edu-step-link:hover {
    color: var(--my-dark-red);
}

.edu-step-link i {
    transition: transform 0.18s ease;
}

.edu-step-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .edu-steps {
        grid-template-columns: 1fr;
    }
}

/* ─── COMPARE TABLE ─── */
.edu-compare {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--edu-rule);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.edu-compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
}

.edu-compare-row + .edu-compare-row {
    border-top: 1px solid var(--edu-rule);
}

.edu-compare-row > div {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.edu-compare-feature {
    font-weight: 600;
    color: var(--edu-ink);
}

.edu-compare-free {
    color: var(--edu-muted);
    text-align: center;
}

.edu-compare-student {
    color: var(--edu-ink);
    font-weight: 700;
    text-align: center;
    background: var(--edu-soft);
}

.edu-compare-head .edu-compare-free,
.edu-compare-head .edu-compare-student {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.edu-compare-head .edu-compare-student {
    color: var(--my-dark-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    width: 100%;
}

@media (max-width: 768px) {
    .edu-compare-row {
        grid-template-columns: 1.2fr 0.9fr 0.9fr;
    }

    .edu-compare-row > div {
        padding: 0.8rem 0.7rem;
        font-size: 0.875rem;
    }
}

/* ─── WHY (3 columns) ─── */
.edu-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.edu-why-item {
    text-align: center;
    padding: 1rem;
}

.edu-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--edu-soft);
    color: var(--my-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.edu-why-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
    color: var(--edu-ink);
}

.edu-why-item p {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--edu-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .edu-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ─── CTA BANNER ─── */
.edu-cta-banner {
    margin: 4rem 0;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, var(--my-red) 0%, var(--my-dark-red) 100%);
    border-radius: 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(140, 28, 19, 0.18);
}

.edu-cta-banner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
}

.edu-cta-banner p {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 2rem;
    max-width: 36em;
}

.edu-btn-on-dark {
    background: #fff;
    color: var(--edu-ink);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.edu-btn-on-dark:hover {
    background: var(--edu-ink);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .edu-cta-banner {
        padding: 2.5rem 1.5rem;
        border-radius: 18px;
    }
}

/* ─── COLLAB NOTE ─── */
.edu-collab {
    max-width: 720px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    background: var(--edu-soft);
    border-left: 4px solid var(--my-red);
    border-radius: 14px;
}

.edu-collab i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--my-red);
    font-size: 1.5rem;
}

.edu-collab p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--edu-ink);
}

@media (max-width: 768px) {
    .edu-collab {
        padding: 1.25rem;
    }
}

/* ─── CONTACT ─── */
.edu-contact {
    padding: 2rem 0 3rem;
}

.edu-contact-shell {
    background: #fff;
    border: 1px solid var(--edu-rule);
    border-radius: 20px;
    padding: 2.75rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Style overrides for included contact-form.html */
.edu-contact-shell h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 0.5rem;
    color: var(--edu-ink);
}

.edu-contact-shell > p {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--edu-muted);
    margin-bottom: 1.75rem;
}

.edu-contact-shell .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--edu-ink);
    margin-bottom: 0.4rem;
}

.edu-contact-shell .col-xl-6:has(#question) {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.edu-contact-shell .form-control {
    border-radius: 10px;
    border: 1px solid rgba(28, 20, 16, 0.14);
    padding: 0.7rem 0.9rem;
    font-family: var(--edu-sans);
    background: #fff;
}

.edu-contact-shell .form-control:focus {
    border-color: var(--my-red);
    box-shadow: 0 0 0 3px rgba(191, 67, 66, 0.12);
}

.edu-contact-shell .btn {
    border-radius: 12px;
    padding: 0.8em 1.75em;
    font-size: 1rem;
    font-weight: 600;
    background: var(--my-red);
    border: 1px solid var(--my-red);
    color: #fff;
    box-shadow: 0 6px 18px rgba(191, 67, 66, 0.22);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.edu-contact-shell .btn:hover {
    background: var(--my-dark-red);
    border-color: var(--my-dark-red);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 24px rgba(191, 67, 66, 0.28);
}

@media (max-width: 768px) {
    .edu-contact-shell {
        padding: 2rem 1.5rem;
    }
}
