/* How It Works: one phone per flow, beside that flow's numbered steps. */

.hiw-hero {
    padding: clamp(128px, 16vw, 176px) 0 clamp(32px, 5vw, 48px);
    text-align: center;
}
.hiw-hero .headline { font-size: clamp(2.5rem, 6.4vw, 4.25rem); }

.hiw-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}
.hiw-toc a {
    padding: 9px 16px;
    border-radius: var(--radius-control);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

/* ---- Before you start: one quiet row ---- */

.hiw-before { padding-block: clamp(24px, 4vw, 40px) clamp(56px, 8vw, 88px); }
.hiw-needs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px clamp(24px, 4vw, 48px);
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.hiw-needs li { display: flex; gap: 14px; }
.hiw-needs .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--sunset-b); }
.hiw-needs b { display: block; font-weight: 600; }
.hiw-needs span { color: var(--text-secondary); font-size: 0.9375rem; }

/* ---- Flows ---- */

.hiw-flow {
    display: grid;
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(40px, 8vw, 112px);
    max-width: 920px;
}
.hiw-flow-visual { position: sticky; top: 120px; }

.hiw-flow-head { margin-bottom: clamp(28px, 4vw, 40px); }
.hiw-flow-head p { margin: 12px 0 0; color: var(--text-secondary); }
.hiw-flow-head strong { color: var(--text); font-weight: 600; }

.hiw-steps {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hiw;
}
.hiw-steps li {
    position: relative;
    padding-left: 48px;
    counter-increment: hiw;
}
.hiw-steps li::before {
    content: counter(hiw);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ground);
    background: var(--ink);
}
.hiw-steps h3 {
    margin: 2px 0 6px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
}
.hiw-steps p { margin: 0; color: var(--text-secondary); }
.hiw-steps strong { color: var(--text); font-weight: 600; }

/* ---- Troubleshooting and co-signing: a plain two-column list ---- */

.container-mid { max-width: 920px; }
.hiw-title { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }

.hiw-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(24px, 5vw, 64px);
    margin: 0;
}
.hiw-list > div { padding: 20px 0; border-top: 1px solid var(--hairline); }
.hiw-list dt { margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.hiw-list dd { margin: 0; color: var(--text-secondary); font-size: 0.9375rem; }
.hiw-list strong { color: var(--text); font-weight: 600; }

/* ---- Why together ---- */

.hiw-prose p { margin: 0 0 18px; font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); }
.hiw-claim { margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hairline); text-align: center; }
.hiw-claim p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    text-wrap: balance;
}

@media (max-width: 734px) {
    .hiw-needs, .hiw-list { grid-template-columns: 1fr; }
    .hiw-flow { grid-template-columns: 1fr; }
    .hiw-flow-visual { position: static; width: min(40%, 150px); margin: 0 auto; }
}
