/* ============================================================
 * How It Works page additions
 * ============================================================ */

.hero-hiw { padding: 72px 0 56px; }

.hiw-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hiw-hero-inner .eyebrow,
.hiw-hero-inner .hero-title,
.hiw-hero-inner .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hiw-hero-inner .hero-subtitle { max-width: 620px; margin-bottom: 28px; }

.hiw-hero-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 6px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-top: 8px;
}
.hiw-tab {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mute);
    border-radius: 999px;
    transition: all 0.2s;
}
.hiw-tab:hover { color: var(--text); }
.hiw-tab.is-active {
    background: var(--gradient-blue);
    color: #1A1308;
    box-shadow: 0 4px 12px -2px rgba(212,175,55,0.4);
}

/* ===== Timeline ===== */
.section-flow { background: var(--bg-deep); padding: 88px 0; }
.section-flow-sell { background: var(--bg-black); }

.timeline {
    max-width: 820px;
    margin: 56px auto 48px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    bottom: 36px;
    left: 36px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue) 0%, rgba(212,175,55,0.2) 100%);
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 24px;
    margin-bottom: 36px;
    align-items: flex-start;
}
.timeline-step:last-child { margin-bottom: 0; }

.ts-marker {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-panel) 100%);
    border: 2px solid var(--border-strong);
    color: var(--blue-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), 0 0 0 4px var(--bg-deep);
    position: relative;
    z-index: 2;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.section-flow-sell .ts-marker { box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), 0 0 0 4px var(--bg-black); }

.timeline-step:hover .ts-marker {
    border-color: var(--blue);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
}

.ts-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: border-color 0.2s, transform 0.2s;
}
.timeline-step:hover .ts-body {
    border-color: var(--border-strong);
    transform: translateX(4px);
}

.ts-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
.ts-body p {
    font-size: 15px;
    color: var(--text-mute);
    line-height: 1.6;
    margin-bottom: 14px;
}

.ts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ts-list li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.5;
}
.ts-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--blue-bright);
    font-weight: 800;
    font-size: 14px;
}

.flow-cta { text-align: center; }

/* ===== Trust band ===== */
.section-trust {
    background: var(--bg-deep);
    padding: 64px 0;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.trust-band-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px;
    text-align: center;
    transition: all 0.2s;
}
.trust-band-card:hover {
    border-color: var(--blue);
    background: var(--bg-elev);
    transform: translateY(-3px);
}

.tb-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212,175,55,0.1);
    color: var(--blue-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.tb-icon svg { width: 26px; height: 26px; }

.trust-band-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.trust-band-card p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .hero-hiw { padding: 48px 0 32px; }
    .section-flow { padding: 64px 0; }
    .timeline { margin: 36px auto 32px; }
    .timeline::before { left: 22px; top: 22px; }
    .timeline-step { grid-template-columns: 56px 1fr; gap: 16px; margin-bottom: 22px; }
    .ts-marker { width: 44px; height: 44px; font-size: 14px; }
    .section-flow .ts-marker { box-shadow: 0 6px 18px -6px rgba(0,0,0,0.6), 0 0 0 3px var(--bg-deep); }
    .section-flow-sell .ts-marker { box-shadow: 0 6px 18px -6px rgba(0,0,0,0.6), 0 0 0 3px var(--bg-black); }
    .ts-body { padding: 18px 20px; border-radius: 14px; }
    .ts-body h3 { font-size: 17px; }
    .ts-body p { font-size: 14px; }
    .trust-band { grid-template-columns: 1fr; }
    .hiw-tab { padding: 8px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
    .hiw-hero-tabs { flex-direction: column; border-radius: 14px; }
    .hiw-tab { padding: 10px 16px; }
}
