/* ==========================================================
   MicroUP Challenge
   Scoped to .microup-challenge to avoid conflicts with site CSS
   ========================================================== */

.microup-challenge {
    --mc-green: #07894f;
    --mc-green-dark: #05663e;
    --mc-lime: #86c934;
    --mc-mint: #8fd07b;
    --mc-ink: #10231c;
    --mc-text: #3d4d47;
    --mc-muted: #6f7d78;
    --mc-bg: #f5f8f5;
    --mc-white: #ffffff;
    --mc-border: #dfe9e2;
    --mc-radius: 22px;
    color: var(--mc-text);
    background: var(--mc-white);
    font-family: inherit;
    overflow: hidden;
}

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

.microup-challenge img {
    max-width: 100%;
    height: auto;
}

.microup-challenge a {
    transition: all .25s ease;
}

.mc-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.mc-narrow {
    width: min(880px, calc(100% - 40px));
}

.mc-section {
    padding: 92px 0;
}

.mc-section-tint {
    background: var(--mc-bg);
}

.mc-section-dark {
    position: relative;
    background: var(--mc-green-dark);
    color: rgba(255,255,255,.84);
}

.mc-section-kicker,
.mc-eyebrow,
.mc-phase-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--mc-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mc-section-dark .mc-section-kicker,
.mc-section-heading-light .mc-section-kicker,
.mc-apply-section .mc-section-kicker {
    color: #bfe586;
}

.microup-challenge h1,
.microup-challenge h2,
.microup-challenge h3 {
    margin-top: 0;
    color: var(--mc-ink);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.microup-challenge h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
}

.microup-challenge h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 750;
}

.microup-challenge h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.microup-challenge p {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.mc-section-intro {
    color: var(--mc-ink);
    font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
    font-weight: 600;
}

.mc-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 48px;
}

.mc-section-heading > p {
    margin-bottom: 8px;
}

/* HERO */
.mc-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 85% 20%, rgba(134,201,52,.16), transparent 32%),
        linear-gradient(180deg, #f8fbf7 0%, #ffffff 100%);
}

.mc-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28vw;
    height: 7px;
    background: linear-gradient(90deg, var(--mc-mint), var(--mc-lime), var(--mc-green));
}

.mc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 70px;
    align-items: center;
    padding: 90px 0;
}

.mc-lead {
    max-width: 760px;
    color: var(--mc-ink);
    font-size: clamp(1.22rem, 2vw, 1.55rem) !important;
    font-weight: 560;
    line-height: 1.55 !important;
}

.mc-hero-line {
    max-width: 720px;
    margin-top: 26px !important;
    padding-left: 20px;
    border-left: 4px solid var(--mc-lime);
    color: var(--mc-green-dark);
    font-weight: 700;
}

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

.mc-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.mc-btn-primary {
    background: var(--mc-green);
    color: #fff !important;
}

.mc-btn-primary:hover {
    background: var(--mc-green-dark);
    transform: translateY(-2px);
}

.mc-btn-outline {
    border-color: var(--mc-green);
    color: var(--mc-green) !important;
    background: transparent;
}

.mc-btn-outline:hover {
    background: rgba(7,137,79,.07);
    transform: translateY(-2px);
}

.mc-deadline {
    display: inline-grid;
    gap: 2px;
    padding: 14px 18px;
    border-left: 3px solid var(--mc-lime);
    background: rgba(255,255,255,.72);
}

.mc-deadline-label {
    color: var(--mc-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mc-deadline strong {
    color: var(--mc-ink);
    font-size: 1.05rem;
}

.mc-deadline > span:last-child {
    color: var(--mc-muted);
    font-size: .85rem;
}

.mc-hero-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-logo-card {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 58px 45px;
    border: 1px solid rgba(7,137,79,.12);
    border-radius: var(--mc-radius);
    background: #fff;
    box-shadow: 0 28px 70px rgba(16,35,28,.10);
}

.mc-logo-card img {
    display: block;
    width: 100%;
}

.mc-hero-accent {
    position: absolute;
    right: -40px;
    bottom: 18px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 28px solid rgba(134,201,52,.12);
}

/* CALLOUT */
.mc-callout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    margin: 0 0 38px;
    padding: 28px 30px;
    border-left: 4px solid var(--mc-lime);
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,35,28,.045);
}

.mc-callout strong {
    color: var(--mc-green-dark);
    font-size: 1.1rem;
    line-height: 1.45;
}

.mc-callout span {
    line-height: 1.7;
}

/* THEMES */
.mc-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mc-theme-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 94px;
    padding: 20px 24px;
    border: 1px solid var(--mc-border);
    border-radius: 14px;
    background: #fff;
}

.mc-theme-card span {
    color: var(--mc-lime);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.mc-theme-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.mc-note {
    margin: 34px 0 0 !important;
    color: var(--mc-muted);
    font-size: .95rem !important;
}

/* ELIGIBILITY */
.mc-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: 80px;
}

.mc-eligible {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.mc-eligible span {
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef7ef;
    color: var(--mc-green-dark);
    font-size: .88rem;
    font-weight: 700;
}

.mc-requirements {
    padding: 34px;
    border-radius: var(--mc-radius);
    background: var(--mc-bg);
}

.mc-requirements h3 {
    margin-bottom: 22px;
}

.mc-checklist {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.mc-checklist li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 30px;
    line-height: 1.55;
}

.mc-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mc-green);
    font-weight: 900;
}

/* TIMELINE */
.mc-section-dark h2,
.mc-section-dark h3 {
    color: #fff;
}

.mc-timeline {
    position: relative;
    display: grid;
    gap: 24px;
}

.mc-timeline::before {
    content: "";
    position: absolute;
    top: 70px;
    bottom: 70px;
    left: 42px;
    width: 1px;
    background: rgba(255,255,255,.18);
}

.mc-phase {
    position: relative;
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 30px;
    padding: 34px 36px 34px 0;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
}

.mc-phase-number {
    position: relative;
    z-index: 2;
    display: flex;
    width: 85px;
    min-height: 85px;
    align-items: center;
    justify-content: center;
    align-self: start;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: var(--mc-green-dark);
    color: #bfe586;
    font-weight: 900;
}

.mc-phase-label {
    margin-bottom: 8px;
    color: #bfe586;
}

.mc-phase h3 {
    margin-bottom: 16px;
}

.mc-phase p,
.mc-phase li {
    color: rgba(255,255,255,.82);
}

.mc-phase ul {
    margin: 20px 0;
    padding-left: 20px;
}

.mc-phase li {
    margin-bottom: 8px;
}

.mc-jury {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 22px;
}

.mc-jury span {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    font-size: .84rem;
}

/* BENEFITS */
.mc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mc-benefits-grid article {
    min-height: 210px;
    padding: 28px;
    border: 1px solid var(--mc-border);
    border-radius: 16px;
    background: #fff;
}

.mc-benefits-grid strong {
    display: block;
    margin-bottom: 30px;
    color: var(--mc-lime);
    font-size: 2rem;
    letter-spacing: .08em;
}

.mc-benefits-grid p {
    margin: 0;
    color: var(--mc-ink);
    font-weight: 560;
    line-height: 1.55;
}

/* APPLY */
.mc-apply-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.mc-apply-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    padding: 56px;
    border-radius: 28px;
    background: var(--mc-green);
    box-shadow: 0 24px 60px rgba(7,137,79,.18);
}

.mc-apply-card h2,
.mc-apply-card p {
    color: #fff;
}

.mc-apply-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mc-deadline-light {
    margin-bottom: 22px;
    border-left-color: #bfe586;
    background: rgba(255,255,255,.10);
}

.mc-deadline-light .mc-deadline-label,
.mc-deadline-light > span:last-child {
    color: rgba(255,255,255,.72);
}

.mc-deadline-light strong {
    color: #fff;
}

.mc-btn-light {
    background: #fff;
    color: var(--mc-green-dark) !important;
}

.mc-btn-light:hover {
    transform: translateY(-2px);
    background: #f4f8f4;
}

.mc-small {
    margin: 14px 0 0 !important;
    color: rgba(255,255,255,.7) !important;
    font-size: .86rem !important;
}

/* DOCS + CONTACT */
.mc-doc-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.mc-doc-links {
    display: grid;
    gap: 10px;
}

.mc-doc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--mc-border);
    border-radius: 12px;
    background: #fff;
    color: var(--mc-ink) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.mc-doc-link:hover {
    border-color: var(--mc-green);
    color: var(--mc-green) !important;
    transform: translateY(-2px);
}

.mc-contact-card {
    padding: 34px;
    border-radius: var(--mc-radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(16,35,28,.055);
}

.mc-contact-card h3 {
    font-size: 1.55rem;
}

.mc-contact-card a {
    color: var(--mc-green) !important;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.mc-contact-card a:hover {
    color: var(--mc-green-dark) !important;
}

/* PROJECT STRIP */
.mc-project-strip {
    padding: 26px 0;
    background: #eef6ef;
    border-top: 1px solid var(--mc-border);
}

.mc-project-strip p {
    margin: 0;
    color: var(--mc-green-dark);
    font-size: .92rem;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .mc-section {
        padding: 72px 0;
    }

    .mc-hero {
        min-height: auto;
    }

    .mc-hero-grid,
    .mc-section-heading,
    .mc-two-col,
    .mc-apply-card,
    .mc-doc-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mc-hero-grid {
        padding: 70px 0;
    }

    .mc-hero-visual {
        min-height: auto;
    }

    .mc-logo-card {
        max-width: 620px;
        margin: 0 auto;
    }

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

    .mc-callout {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .mc-container,
    .mc-narrow {
        width: min(100% - 28px, 1180px);
    }

    .mc-section {
        padding: 58px 0;
    }

    .microup-challenge h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .microup-challenge h2 {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .mc-theme-grid,
    .mc-benefits-grid {
        grid-template-columns: 1fr;
    }

    .mc-logo-card {
        padding: 36px 24px;
    }

    .mc-hero-accent {
        display: none;
    }

    .mc-phase {
        grid-template-columns: 60px 1fr;
        gap: 16px;
        padding: 26px 20px 26px 0;
    }

    .mc-phase-number {
        width: 60px;
        min-height: 60px;
    }

    .mc-timeline::before {
        left: 30px;
    }

    .mc-apply-card {
        padding: 34px 26px;
    }

    .mc-requirements,
    .mc-contact-card {
        padding: 26px;
    }
}

@media (max-width: 479.98px) {
    .mc-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-btn {
        width: 100%;
    }

    .mc-theme-card {
        grid-template-columns: 38px 1fr;
        padding: 18px;
    }

    .mc-eligible {
        align-items: flex-start;
        flex-direction: column;
    }

    .mc-jury {
        align-items: flex-start;
        flex-direction: column;
    }
}
