/* ============================================================
   how-it-works-page.css — Self-contained styles for /en/how-it-works
   DO NOT modify main.css, navigation.css, buttons.css, or footer.css
   ============================================================ */

/* ---- Shared section utilities ---- */
.hiw-section {
    padding: 5em 1.25em;
}

/* Centred sub-heading variant — used in section headers with intro copy */
.hiw-section-body--centered {
    max-width: 38em;
    margin: 0.5em auto 0;
    text-align: center;
}

.hiw-container {
    max-width: 68em;
    margin: 0 auto;
}

.hiw-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin: 0 0 0.75em;
}

.hiw-section-title {
    font-family: 'Adieu', sans-serif;
    font-size: 2em;
    color: white;
    margin: 0 0 0.5em;
    line-height: 1.2;
}

.hiw-section-body {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   1. HERO
   ============================================================ */
.hiw-hero {
    background: var(--cyan-950);
    padding: 9em 1.25em 5em;
    text-align: center;
}

.hiw-hero__inner {
    max-width: 52em;
    margin: 0 auto;
}

.hiw-hero__headline {
    font-family: 'Adieu', sans-serif;
    font-size: 2.4em;
    color: white;
    margin: 0 0 0.6em;
    line-height: 1.15;
}

.hiw-hero__subhead {
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 40em;
    margin: 0 auto;
}

/* ============================================================
   2. THREE BLIND SPOTS
   ============================================================ */
.hiw-blindspots {
    background: #0e2a35;
}

.hiw-blindspots__heading {
    font-family: 'Adieu', sans-serif;
    font-size: 1.8em;
    color: white;
    margin: 0 0 0.4em;
}

.hiw-blindspots__intro {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2.5em;
    font-size: 1em;
    line-height: 1.65;
}

.hiw-blindspots__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
}

.hiw-card {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--orange-500);
    border-radius: 0 6px 6px 0;
    padding: 1.75em 1.75em 1.75em 1.5em;
}

.hiw-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05em;
    color: white;
    margin: 0 0 0.6em;
}

.hiw-card__body {
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   3. WHY AI ALONE DOESN'T SOLVE IT
   ============================================================ */
.hiw-why-ai {
    background: var(--cyan-950);
}

.hiw-why-ai__inner {
    max-width: 68em;
    margin: 0 auto;
}

.hiw-why-ai__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
    align-items: start;
}

.hiw-why-ai__heading {
    font-family: 'Adieu', sans-serif;
    font-size: 1.8em;
    color: white;
    margin: 0 0 1em;
}

.hiw-why-ai__body p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95em;
    line-height: 1.75;
    margin: 0 0 1em;
}

.hiw-why-ai__body p:last-child {
    margin-bottom: 0;
}

.hiw-pullquote {
    background: rgba(249, 115, 22, 0.1);
    border-left: 4px solid var(--orange-500);
    border-radius: 0 8px 8px 0;
    padding: 2em;
    position: sticky;
    top: 6em;
}

.hiw-pullquote__mark {
    font-size: 3.5em;
    line-height: 0.8;
    color: var(--orange-500);
    font-family: Georgia, serif;
    margin-bottom: 0.25em;
    display: block;
}

.hiw-pullquote__text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05em;
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin: 0 0 1em;
}

.hiw-pullquote__source {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ============================================================
   4. HOW EBBA WORKS — THREE STEPS
   ============================================================ */
.hiw-steps {
    background: #0e2a35;
}

.hiw-steps__header {
    text-align: center;
    margin-bottom: 3em;
}

.hiw-steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    max-width: 68em;
    margin: 0 auto;
}

.hiw-step-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2em;
    position: relative;
}

.hiw-step-card__number {
    font-family: 'Adieu', sans-serif;
    font-size: 2.5em;
    color: var(--orange-500);
    line-height: 1;
    margin: 0 0 0.5em;
    opacity: 0.9;
}

.hiw-step-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    color: white;
    margin: 0 0 0.6em;
}

.hiw-step-card__body {
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   5. WHAT YOU GET FROM DAY ONE
   ============================================================ */
.hiw-dayone {
    background: #08202A;
}

.hiw-dayone__inner {
    max-width: 68em;
    margin: 0 auto;
}

.hiw-dayone__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
    align-items: start;
}

.hiw-dayone__left-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin: 0 0 0.75em;
}

.hiw-dayone__left-heading {
    font-family: 'Adieu', sans-serif;
    font-size: 1.8em;
    color: white;
    margin: 0 0 0.75em;
    line-height: 1.2;
}

.hiw-dayone__left-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0 0 1em;
}

.hiw-dayone__left-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.hiw-deliverable-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.hiw-deliverable {
    display: flex;
    gap: 1em;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 1.25em;
}

.hiw-deliverable__icon {
    flex-shrink: 0;
    width: 2.25em;
    height: 2.25em;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-500);
}

.hiw-deliverable__icon svg {
    width: 1.1em;
    height: 1.1em;
}

.hiw-deliverable__text {}

.hiw-deliverable__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    color: white;
    margin: 0 0 0.2em;
}

.hiw-deliverable__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.55;
}

.hiw-dayone__footer {
    margin-top: 2.5em;
    padding-top: 2em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.6;
}

/* ============================================================
   6. BUILD VS. BUY
   ============================================================ */
.hiw-buildvsbuy {
    background: var(--cyan-950);
}

.hiw-buildvsbuy__header {
    text-align: center;
    margin-bottom: 2.5em;
}

.hiw-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hiw-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    min-width: 480px;
}

.hiw-table th {
    padding: 0.875em 1.25em;
    text-align: left;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.hiw-table th:not(:first-child) {
    text-align: center;
}

.hiw-table td {
    padding: 1em 1.25em;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.hiw-table td:not(:first-child) {
    text-align: center;
}

.hiw-table th.hiw-th-ebba,
.hiw-table td.hiw-td-ebba {
    color: white;
}

.hiw-table td.hiw-td-ebba {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hiw-table tr:last-child td {
    border-bottom: none;
}

.hiw-table tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.hiw-buildvsbuy__callout {
    margin-top: 2.5em;
    background: rgba(249, 115, 22, 0.08);
    border-left: 4px solid var(--orange-500);
    border-radius: 0 8px 8px 0;
    padding: 1.5em 1.75em;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ============================================================
   7. SOCIAL PROOF
   ============================================================ */
.hiw-social-proof {
    background: #08202A;
}

.hiw-social-proof__header {
    text-align: center;
    margin-bottom: 2.5em;
}

.hiw-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    max-width: 68em;
    margin: 0 auto 3em;
}

.hiw-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2em;
    position: relative;
}

.hiw-testimonial__mark {
    font-family: Georgia, serif;
    font-size: 4em;
    line-height: 0.75;
    color: var(--orange-500);
    margin-bottom: 0.4em;
    display: block;
}

.hiw-testimonial__text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05em;
    font-style: italic;
    color: white;
    line-height: 1.65;
    margin: 0 0 1.25em;
}

.hiw-testimonial__author {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hiw-testimonial__role {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.2em 0 0;
}

.hiw-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5em;
    max-width: 68em;
    margin: 0 auto 2em;
    padding: 1.5em 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hiw-logos__img {
    height: 2em;
    max-width: 8em;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
}

.hiw-casestudies-link {
    display: block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    color: var(--orange-500);
    text-decoration: none;
    margin: 1.5em auto 0;
    transition: opacity 0.2s;
}

.hiw-casestudies-link:hover {
    opacity: 0.75;
}

/* ============================================================
   8. CTA
   ============================================================ */
.hiw-cta {
    background: #08202A;
    padding: 6em 1.25em;
    text-align: center;
}

.hiw-cta__inner {
    max-width: 44em;
    margin: 0 auto;
}

.hiw-cta__headline {
    font-family: 'Adieu', sans-serif;
    font-size: 2em;
    color: white;
    margin: 0 0 0.75em;
    line-height: 1.2;
}

.hiw-cta__body {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 2em;
}

.hiw-cta__button {
    display: inline-block;
    background: var(--orange-500);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1em;
    padding: 0.85em 2em;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.hiw-cta__button:hover {
    background: var(--orange-400);
    transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (min-width: 768px) {
    .hiw-hero__headline {
        font-size: 3em;
    }

    .hiw-blindspots__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hiw-why-ai__cols {
        grid-template-columns: 1.15fr 1fr;
    }

    .hiw-steps__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hiw-dayone__cols {
        grid-template-columns: 1fr 1.4fr;
        gap: 4em;
    }

    .hiw-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    .hiw-section-title,
    .hiw-blindspots__heading,
    .hiw-why-ai__heading,
    .hiw-dayone__left-heading,
    .hiw-buildvsbuy .hiw-section-title {
        font-size: 2em;
    }

    .hiw-cta__headline {
        font-size: 2.4em;
    }
}

/* ============================================================
   RESPONSIVE — 480px (mobile tightening)
   ============================================================ */
@media (max-width: 480px) {
    .hiw-hero {
        padding: 7.5em 1em 3.5em;
    }

    .hiw-hero__headline {
        font-size: 1.85em;
    }

    .hiw-section {
        padding: 3.5em 1em;
    }

    /* .hiw-section padding is already overridden above for all .hiw-section elements */
    .hiw-cta {
        padding-left: 1em;
        padding-right: 1em;
    }

    .hiw-cta__headline {
        font-size: 1.65em;
    }

    .hiw-logos__img {
        height: 1.5em;
    }
}
