/* ============================================================
   HERO
   ============================================================ */
.sc-hp-hero {
    background-color: var(--hp-bg);
    padding: 5rem 0 4rem;
    text-align: center;
}

.sc-hp-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.sc-hp-hero__h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--hp-text);
    margin-bottom: 1.25rem;
}

.sc-hp-hero__sub {
    font-size: 1.15rem;
    color: var(--hp-text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sc-hp-hero__cta-wrap {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.sc-hp-btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: opacity 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
}

.sc-hp-btn--primary {
    background-color: var(--hp-accent-primary);
    color: #0B1020 !important;
}

.sc-hp-btn--secondary {
    background-color: transparent;
    color: var(--hp-text) !important;
    border: 1px solid var(--hp-border);
}

.sc-hp-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.sc-hp-hero__status {
    font-size: 0.8rem;
    color: var(--hp-text-muted);
    opacity: 0.75;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.sc-hp-section {
    padding: 4rem 0;
}

.sc-hp-section--surface  { background-color: var(--hp-surface); }
.sc-hp-section--surface2 { background-color: var(--hp-surface-2); }
.sc-hp-section--dark     { background-color: var(--hp-bg); }

.sc-hp-section--light {
    background-color: var(--hp-bg-light);
    color: var(--hp-text-light);
}

.sc-hp-section__heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--hp-text);
    letter-spacing: -0.02em;
}

.sc-hp-section--light .sc-hp-section__heading {
    color: var(--hp-text-light);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.sc-hp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    justify-content: center;
    gap: 1.25rem;
}

.sc-hp-card-grid--single {
    grid-template-columns: 1fr;
    max-width: 480px;
}

/* ============================================================
   CARDS
   ============================================================ */
.sc-hp-card {
    background-color: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sc-hp-card__tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--hp-accent-primary);
}

.sc-hp-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-text);
    line-height: 1.3;
}

.sc-hp-card__desc {
    font-size: 0.9rem;
    color: var(--hp-text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

.sc-hp-card__link {
    font-size: 0.85rem;
    color: var(--hp-accent-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.75rem;
    display: inline-block;
}

.sc-hp-card__link:hover { text-decoration: underline; }

.sc-hp-card__link--muted {
    color: var(--hp-text-muted);
    font-weight: 400;
    margin-top: 0.75rem;
    display: inline-block;
}

.sc-hp-card--lab {
    border-left: 3px solid var(--hp-accent-warm);
}

.sc-hp-card__lab-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--hp-accent-warm);
    background-color: rgba(245, 158, 11, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    width: fit-content;
}

/* ============================================================
   EDITORIAL PROMISE
   ============================================================ */
.sc-hp-promise {
    max-width: 560px;
}

.sc-hp-promise__heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--hp-text-light);
}

.sc-hp-promise__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sc-hp-promise__list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.sc-hp-promise__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--hp-accent-secondary);
    font-weight: 700;
}

/* ============================================================
   HOMEPAGE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .sc-hp-hero {
        padding: 3rem 0 2.5rem;
    }

    .sc-hp-hero__h1 {
        font-size: 2.1rem;
    }

    .sc-hp-hero__sub {
        font-size: 1rem;
    }

    .sc-hp-hero__cta-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .sc-hp-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.75rem;
    }
    .sc-hp-btn:last-child {
        margin-bottom: 0;
    }

    .sc-hp-section {
        padding: 2.5rem 0;
    }

    .sc-hp-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Published card status badge ---- */
.sc-hp-card__status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hp-accent-secondary);
}

/* Homepage CTA desktop width fix */
@media (min-width: 769px) {
    .sc-hp-hero__cta-wrap {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        max-width: 100% !important;
    }
    .sc-hp-btn {
        width: auto !important;
        min-width: 200px !important;
        max-width: 280px !important;
    }
}
