/* ============================================================
   Bento — How It Works Page Styles
   ============================================================ */

/* ---- Page Hero ---- */
.hiw-hero {
    padding: 140px 0 60px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hiw-hero-inner {
    margin: 0 auto;
}

.hiw-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #111;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.hiw-hero p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ---- Body wrapper ---- */
.hiw-body {
    background: #f9fafb;
    padding: 64px 0;
}

.hiw-container {
    /* full container width */
}

/* ---- Step ---- */
.hiw-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
}

.hiw-step-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(53, 147, 206, 0.35);
}

.hiw-step-label h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.hiw-step-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 24px;
    padding-left: 52px;
}

/* ---- Callouts ---- */
.hiw-callout {
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.hiw-callout:last-child { margin-bottom: 0; }

.hiw-callout-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.hiw-callout-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.hiw-callout-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.callout-icon {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.hiw-callout-success .callout-icon {
    color: #16a34a;
}

.callout-body, .callout-hint {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 8px;
}

.callout-hint {
    margin-bottom: 0;
}

.callout-hint strong { color: #374151; }

/* ---- Check lists ---- */
.hiw-check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hiw-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #374151;
    line-height: 1.5;
}

.check-icon-sm {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #9ca3af;
}

.check-green {
    color: #16a34a !important;
}

/* ---- Two-column cards ---- */
.hiw-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-left: 52px;
}

.hiw-card {
    border-radius: 10px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--border);
}

.hiw-card-blue {
    background: #eff8ff;
    border-color: #bfdbfe;
}

.hiw-card-green {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.hiw-card-full {
    grid-column: 1 / -1;
}

.hiw-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.hiw-card p {
    font-size: 0.775rem;
    color: #6b7280;
    line-height: 1.55;
}

.hiw-card-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.hiw-card-icon-green {
    background: #16a34a;
}

.hiw-card-icon svg {
    width: 18px;
    height: 18px;
}

/* ---- Sub blocks (export) ---- */
.hiw-sub-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    padding-left: 52px;
    border-bottom: 1px solid #f3f4f6;
}

.hiw-sub-block:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.hiw-sub-icon {
    width: 36px;
    height: 36px;
    background: #eff8ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.hiw-sub-icon-green {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.hiw-sub-icon svg {
    width: 18px;
    height: 18px;
}

.hiw-sub-block strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.hiw-sub-block p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 6px;
}

.hiw-link {
    font-size: 0.775rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.hiw-link:hover { text-decoration: underline; }

/* ---- Test grid inside step 4 ---- */
.hiw-test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.test-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

/* ---- Note ---- */
.hiw-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.775rem;
    color: #9ca3af;
    margin-top: 16px;
    padding-left: 52px;
    line-height: 1.5;
}

.note-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ---- Divider ---- */
.hiw-divider {
    height: 24px;
    width: 3px;
    background: #e5e7eb;
    margin: 0 0 0 58px;
    border-radius: 2px;
}

/* ---- Quick Summary ---- */
.hiw-summary {
    padding: 60px 0;
    background: #f9fafb;
}

.hiw-summary-inner {
    /* full container width */
}

.summary-card {
    background: #111827;
    border-radius: 16px;
    padding: 40px 44px;
    color: #fff;
}

.summary-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.summary-grid strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.summary-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.825rem;
    color: #9ca3af;
}

.sum-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ---- Active nav link ---- */
.nav-link-active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ---- CTA overrides (reuse landing.css .cta-section) ---- */

/* ---- Responsive ---- */
@media (max-width: 700px) {
    .hiw-step {
        padding: 24px 20px;
    }
    .hiw-step-desc,
    .hiw-cards-row,
    .hiw-sub-block,
    .hiw-note {
        padding-left: 0;
    }
    .hiw-cards-row {
        grid-template-columns: 1fr;
    }
    .hiw-test-grid {
        grid-template-columns: 1fr;
    }
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .summary-card {
        padding: 28px 24px;
    }
    .hiw-divider {
        margin-left: 24px;
    }
}
