/* ── HOW IT WORKS PAGE ── */

.page-hiw { background: var(--bg); }

/* ── HERO ── */
.hiw-hero {
    position: relative;
    height: 75vh; min-height: 500px;
    overflow: hidden;
    display: flex; align-items: flex-end; justify-content: center;
}
.hiw-hero-bg { position: absolute; inset: 0; z-index: 0; }
.hiw-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
.hiw-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.25) 100%);
}
.hiw-hero-content {
    position: relative; z-index: 1;
    max-width: 1080px; width: 100%; margin: 0 auto;
    padding: 0 24px 80px;
    text-align: center;
}
.hiw-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 54.1px; font-weight: 500;
    letter-spacing: -2.24px; line-height: 58.8px;
    color: var(--white); margin-bottom: 20px;
}
.hiw-hero .subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: rgba(255,255,255,0.75);
    line-height: 26px; letter-spacing: -0.01em;
    max-width: 600px; margin: 0 auto;
}

/* ── JOURNEY STEPS ── */
.hiw-journey {
    margin-top: 156px;
    max-width: 1080px; margin-left: auto; margin-right: auto;
    padding: 0 24px;
}
.hiw-journey .section-label {
    justify-content: center; margin-bottom: 16px;
}
.hiw-journey h2 {
    font-family: 'Inter', sans-serif;
    font-size: 39.2px; font-weight: 500;
    letter-spacing: -1.6px; line-height: 48px;
    color: var(--dark); margin-bottom: 48px;
    text-align: center;
}
.hiw-journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hiw-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.hiw-step-num {
    position: absolute; top: 16px; right: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 120px; font-weight: 600;
    color: rgba(17,17,17,0.03);
    line-height: 1;
    pointer-events: none;
}
.hiw-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 27.2px; font-weight: 500;
    letter-spacing: -0.56px; line-height: 33.6px;
    color: var(--dark); margin-bottom: 12px;
    position: relative; z-index: 1;
}
.hiw-step p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: var(--dark-70);
    line-height: 24px; letter-spacing: -0.01em;
    position: relative; z-index: 1;
}

/* ── PROOF OF FUNDS BOX ── */
.hiw-pof {
    margin-top: 156px;
    position: relative; overflow: hidden;
    padding: 80px 24px;
}
.hiw-pof-bg { position: absolute; inset: 0; z-index: 0; }
.hiw-pof-bg img { width: 100%; height: 100%; object-fit: cover; }
.hiw-pof-bg::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(8,18,13,0.72);
}
.hiw-pof-glow {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(41,102,77,0.18) 0%, transparent 70%);
}
.hiw-pof-inner {
    position: relative; z-index: 2;
    max-width: 800px; margin: 0 auto;
    border: 1px solid rgba(41,102,77,0.3);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
}
.hiw-pof h2 {
    font-family: 'Inter', sans-serif;
    font-size: 38px; font-weight: 500;
    letter-spacing: -1.6px; line-height: 46px;
    color: var(--white); margin-bottom: 20px;
}
.hiw-pof > .hiw-pof-inner > p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: rgba(255,255,255,0.55);
    line-height: 26px; letter-spacing: -0.01em;
    margin-bottom: 40px;
}
.hiw-pof-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hiw-pof-doc {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: rgba(255,255,255,0.85);
    line-height: 24px; letter-spacing: -0.01em;
}
.hiw-pof-doc svg {
    flex-shrink: 0;
    color: var(--green);
}

/* ── SPLIT PATH ── */
.hiw-paths {
    margin-top: 156px;
    max-width: 1080px; margin-left: auto; margin-right: auto;
    padding: 0 24px;
}
.hiw-paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.hiw-path-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}
.hiw-path-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: var(--radius-pill);
    background: rgba(41,102,77,0.08);
    color: var(--green);
    margin-bottom: 24px;
}
.hiw-path-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 27.2px; font-weight: 500;
    letter-spacing: -0.56px; line-height: 33.6px;
    color: var(--dark); margin-bottom: 12px;
}
.hiw-path-card p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: var(--dark-70);
    line-height: 24px; letter-spacing: -0.01em;
}

/* ── FINAL CTA ── */
.hiw-final-cta {
    margin-top: 156px;
    padding: 0 24px;
    text-align: center;
}
.hiw-final-cta h2 {
    font-family: 'Inter', sans-serif;
    font-size: 39.2px; font-weight: 500;
    letter-spacing: -1.6px; line-height: 48px;
    color: var(--dark); margin-bottom: 32px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hiw-hero h1 { font-size: 36px; line-height: 44px; }
    .hiw-hero { height: 60vh; }
    .hiw-journey-grid { grid-template-columns: 1fr; }
    .hiw-paths-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .hiw-pof-docs { grid-template-columns: 1fr; }
    .hiw-pof-inner { padding: 40px 24px; }
}
