/* ============================================================
   Location Spoke — Help
   File: assets/css/spoke/spoke-help.css
   Scope: .spoke-help__* classes only
   Figma: "Help Block" node 2205:495 — cream bg, centered header,
   3 problem cards (title / body / link), a building-types chips
   grid under a heading, then a CTA block (heading / button / note).
   ============================================================ */

.spoke-help__header {
    text-align: center;
    max-width: 825px;
    margin: 0 auto 50px;
}

/* Figma "Help Block" node 2205:498 — H2 is 48px (not the global 44px) with
   -0.04em tracking; 14px gap to the intro below (matches Figma header gap). */
.spoke-help__heading {
    font-size: 48px;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0 0 14px;
}

/* Figma "Help Block" node 2205:499 — intro is DM Sans 500 / 16px / 22.5px /
   -0.04em, centered, and navy (#03002F) rather than the global grey. */
.spoke-help__intro {
    font-size: 16px;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0;
}

/* ============================
   PROBLEM CARDS
   ============================ */

.spoke-help__problems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1220px;
    margin: 0 auto 50px;
}

.spoke-help__problem {
    background: var(--spoke-white);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spoke-help__problem-title {
    font-family: var(--spoke-font-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0;
}

.spoke-help__problem-body {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0;
}

.spoke-help__problem-link {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    text-decoration: underline;
    margin-top: auto;
}

.spoke-help__problem-link:hover {
    color: var(--spoke-blue);
}

/* ============================
   BUILDING TYPES
   ============================ */

.spoke-help__types {
    max-width: 1220px;
    margin: 0 auto 50px;
}

.spoke-help__types-heading {
    font-family: var(--spoke-font-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0 0 20px;
}

.spoke-help__types-panel {
    background: var(--spoke-white);
    border-radius: 30px;
    padding: 30px;
}

.spoke-help__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 50px;
}

.spoke-help__chip {
    display: flex;
    align-items: center;
    gap: 14px;
}

.spoke-help__chip-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
}

.spoke-help__chip-label {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.0112em;
    text-transform: uppercase;
    color: var(--spoke-navy);
    white-space: nowrap;
}

/* ============================
   CTA BLOCK
   ============================ */

.spoke-help__cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spoke-help__cta-heading {
    font-family: var(--spoke-font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
    margin: 0;
}

.spoke-help__cta-note {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 22.5px;
    letter-spacing: -0.04em;
    color: var(--spoke-grey);
    margin: 0;
}

/* Figma node 2205:584 — lead sentence renders in navy. */
.spoke-help__cta-note-lead {
    color: var(--spoke-navy);
}

/* ============================
   NAVY VARIANT
   ============================ */

/* Opt-in via the help_bg ACF field, used on spokes that omit the Storm section
   so the light/dark rhythm is preserved. Only the text sitting directly on the
   navy background is inverted; the white problem cards and the white chips
   panel keep their navy text. */
.spoke-help.spoke-navy-section .spoke-help__heading,
.spoke-help.spoke-navy-section .spoke-help__intro,
.spoke-help.spoke-navy-section .spoke-help__types-heading,
.spoke-help.spoke-navy-section .spoke-help__cta-heading {
    color: var(--spoke-white);
}

.spoke-help.spoke-navy-section .spoke-help__cta-note {
    color: var(--spoke-cream);
}

.spoke-help.spoke-navy-section .spoke-help__cta-note-lead {
    color: var(--spoke-white);
}

/* ============================
   RESPONSIVE — HELP
   ============================ */

@media (max-width: 1024px) {
    .spoke-help__heading {
        font-size: 40px;
    }

    .spoke-help__problems {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 24px;
    }

    .spoke-help__problem {
        padding: 40px;
    }

    .spoke-help__chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 30px;
    }
}

@media (max-width: 768px) {
    .spoke-help__heading {
        font-size: 32px;
    }

    .spoke-help__problem {
        padding: 28px 24px;
    }

    .spoke-help__problem-title {
        font-size: 26px;
    }

    .spoke-help__types-heading {
        font-size: 26px;
    }

    .spoke-help__chips {
        grid-template-columns: 1fr;
    }

    .spoke-help__cta-heading {
        font-size: 28px;
    }
}
