.yc-earn {
    color: var(--text-color);
    max-width: 1260px;
    margin: 0 auto;
    padding: 42px 28px 80px;
}

.yc-earn,
.yc-earn * {
    box-sizing: border-box;
}

.yc-earn a {
    text-decoration: none;
}

.yc-earn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}

.yc-earn-hero-copy,
.yc-earn-hero-panel,
.yc-earn-section {
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    border-radius: 8px;
}

.yc-earn-hero-copy {
    min-height: 420px;
    padding: 58px 42px;
    background:
        linear-gradient(135deg, rgba(171, 199, 255, 0.16), rgba(255, 211, 106, 0.12)),
        var(--surface-color);
}

.yc-earn-kicker {
    color: #ffd75e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.yc-earn h1,
.yc-earn h2,
.yc-earn h3,
.yc-earn p {
    margin-top: 0;
}

.yc-earn h1 {
    font-size: 62px;
    line-height: 1.02;
    max-width: 820px;
    margin-bottom: 22px;
}

.yc-earn h2 {
    font-size: 31px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.yc-earn h3 {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.yc-earn p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.55;
}

.yc-earn-hero-copy > p {
    max-width: 780px;
    color: var(--text-color);
    font-size: 22px;
}

.yc-earn-actions,
.yc-earn-hero-panel,
.yc-earn-cta {
    display: flex;
    gap: 12px;
}

.yc-earn-actions {
    flex-wrap: wrap;
    margin-top: 30px;
}

.yc-earn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--secondary-container);
    color: var(--on-secondary-container);
    font-weight: 800;
    padding: 0 22px;
}

.yc-earn-btn.is-primary {
    background: #ffd75e;
    border-color: #ffd75e;
    color: #101010;
}

.yc-earn-hero-panel {
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.yc-earn-hero-panel span {
    color: var(--text-muted);
    font-weight: 700;
}

.yc-earn-hero-panel strong {
    color: #ffd75e;
    font-size: 72px;
    line-height: 1;
}

.yc-earn-section {
    margin-top: 18px;
    padding: 30px;
}

.yc-earn-section-head {
    max-width: 850px;
    margin-bottom: 20px;
}

.yc-earn-proof-grid,
.yc-earn-package-grid,
.yc-earn-scenario-grid,
.yc-earn-service-grid {
    display: grid;
    gap: 14px;
}

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

.yc-earn-package-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.yc-earn-scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yc-earn-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yc-earn-proof-grid article,
.yc-earn-package-card,
.yc-earn-scenario-grid article,
.yc-earn-service-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-2-color);
    padding: 18px;
}

.yc-earn-proof-grid span,
.yc-earn-package-card span,
.yc-earn-scenario-grid span {
    display: block;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 8px;
}

.yc-earn-proof-grid strong,
.yc-earn-package-card strong,
.yc-earn-scenario-grid strong {
    display: block;
    color: var(--text-color);
    font-size: 25px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.yc-earn-scenario-grid strong {
    color: #ffd75e;
    font-size: 38px;
}

.yc-earn-package-card p,
.yc-earn-proof-grid p,
.yc-earn-scenario-grid p,
.yc-earn-service-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.yc-earn-service-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.yc-earn-service-card img,
.yc-earn-service-icon {
    width: 92px;
    height: 92px;
    border-radius: 8px;
}

.yc-earn-service-card img {
    object-fit: cover;
    background: var(--surface-3-color);
}

.yc-earn-service-icon {
    display: grid;
    place-items: center;
    background: #ffd75e;
    color: #101010;
    font-size: 28px;
}

.yc-earn-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 12px;
}

.yc-earn-cta {
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(255, 215, 94, 0.2), rgba(171, 199, 255, 0.14)),
        var(--surface-color);
}

.yc-earn-cta > div {
    max-width: 760px;
}

@media (max-width: 1180px) {
    .yc-earn-package-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .yc-earn {
        padding: 24px 16px 64px;
    }

    .yc-earn-hero,
    .yc-earn-proof-grid,
    .yc-earn-scenario-grid,
    .yc-earn-service-grid {
        grid-template-columns: 1fr;
    }

    .yc-earn-hero-copy {
        min-height: 0;
        padding: 34px 22px;
    }

    .yc-earn h1 {
        font-size: 42px;
    }

    .yc-earn h2 {
        font-size: 26px;
    }

    .yc-earn-hero-copy > p {
        font-size: 18px;
    }

    .yc-earn-section {
        padding: 22px;
    }

    .yc-earn-cta {
        display: block;
    }

    .yc-earn-cta .yc-earn-btn {
        width: 100%;
        margin-top: 14px;
    }
}

@media (max-width: 620px) {
    .yc-earn-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yc-earn-service-card {
        grid-template-columns: 1fr;
    }

    .yc-earn-service-card img,
    .yc-earn-service-icon {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .yc-earn-btn {
        width: 100%;
    }
}
