
.hiw {
    position: relative;
    /* Same cream as meet-the-tag — continuous warm field */
    background: #faf8f3;
    color: #1e293b;
    overflow: hidden;
    isolation: isolate;
}
/* (No top hairline — meet-the-tag flows directly into how-it-works on the same cream) */

.hiw-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 40px;
}
@media (max-width: 980px) { .hiw-inner { padding: 40px 20px 44px; } }

.hiw-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}
.hiw-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22, 112, 191, 0.08);
    border: 1px solid rgba(22, 112, 191, 0.22);
    color: #1670bf;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px;
    margin-bottom: 18px;
}
.hiw-eyebrow::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 999px; background: #1670bf;
    box-shadow: 0 0 10px rgba(22, 112, 191, 0.4);
}
.hiw-title {
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #1e293b;
    margin: 0 0 14px;
}
.hiw-title .accent {
    background: linear-gradient(135deg, #1670bf 0%, #0b3f7a 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hiw-sub {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* 3-card horizontal grid */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
}
@media (max-width: 880px) {
    .hiw-grid { grid-template-columns: 1fr; gap: 14px; }
}

.hiw-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.30) 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 32px 28px 30px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, background 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hiw-card:hover {
    border-color: rgba(22, 112, 191, 0.25);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

/* Big step number (background ghost) */
.hiw-num {
    position: absolute;
    top: -10px; right: 14px;
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(22, 112, 191, 0.14);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Small step badge (foreground) */
.hiw-step {
    position: relative;
    z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22, 112, 191, 0.08);
    border: 1px solid rgba(22, 112, 191, 0.22);
    color: #1670bf;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hiw-card-title {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #1e293b;
    margin: 0 0 12px;
}
.hiw-card-title .accent {
    background: linear-gradient(135deg, #1670bf 0%, #0b3f7a 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

.hiw-card-sub {
    position: relative;
    z-index: 1;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}
.hiw-card-sub strong {
    color: #1e293b;
    font-weight: 700;
}

/* Inline arrow connectors between cards (desktop only) */
.hiw-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%; right: -22px;
    width: 26px; height: 1px;
    background: linear-gradient(90deg, rgba(22, 112, 191, 0.40) 0%, rgba(22, 112, 191, 0) 100%);
    z-index: 4;
    pointer-events: none;
}
.hiw-card:not(:last-child)::before {
    content: '';
    position: absolute;
    top: calc(50% - 3px); right: -19px;
    width: 7px; height: 7px;
    border-top: 1px solid rgba(22, 112, 191, 0.55);
    border-right: 1px solid rgba(22, 112, 191, 0.55);
    transform: rotate(45deg);
    z-index: 4;
    pointer-events: none;
}
@media (max-width: 880px) {
    .hiw-card:not(:last-child)::after,
    .hiw-card:not(:last-child)::before {
        display: none;
    }
}
