/* ==========================================================
   MDofficeMail — How HIPAA Email Works
   Narrative / process page. Reuses the color tokens and
   .hipaa-intro / .hipaa-cta / .hipaa-prose rules already
   defined in mdomhipaa.css (loaded before this file).
========================================================== */

.how-page {
    background: linear-gradient(rgba(255, 255, 255, 1), rgba(245, 248, 250, 0.8));
    padding: 56px 0 10px;
}

.how-container {
       margin: 0 auto;
}


/* =========================
   LEDE + STAT
========================= */

.how-lede {
    margin-bottom: 40px;
}

.how-lede p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.how-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 24px 0 4px;
}

.how-stat .num {
    font-family: "Poppins", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.how-stat p {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}


/* =========================
   3-STEP SUMMARY STRIP
========================= */

.how-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 44px 0 56px;
}

.how-summary-step {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px 20px 22px;
    text-align: center;
}

.how-summary-step .n {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-summary-step .icon {
    width: 52px;
    height: 52px;
    margin: 6px auto 16px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--brand);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-summary-step h3 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.how-summary-step p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.how-summary-arrow {
    display: none;
}


/* =========================
   OTHER OUTSTANDING FACILITIES & FEATURES
========================= */

.how-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
}

.how-feature-card {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.how-feature-card:nth-child(1),
.how-feature-card:nth-child(2) {
    border-top: none;
}

.how-feature-card h4 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.how-feature-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.how-feature-card p a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
}


/* =========================
   SECTION HEADINGS
========================= */

.how-section {
    scroll-margin-top: 110px;
    padding-bottom: 48px;
    margin-bottom: 8px;
	padding: 25px;
}

.how-section-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
}

.how-section-head .tag-pill {
    flex: none;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    background: var(--brand);
    border-radius: 20px;
    padding: 5px 13px;
}

.how-section-head h2 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.how-section-sub {
    color: var(--muted);
    font-size: 15px;
    max-width: 640px;
    margin: -12px 0 26px;
}


/* =========================
   SENDER / RECIPIENT FLOW
========================= */

.how-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 8px;
}

.how-flow-col-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.how-flow-col-label i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.how-flow-col-label span {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--ink);
    font-size: 16px;
}

.how-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--line);
}

.how-flow-steps li {
    position: relative;
    padding: 0 0 26px 24px;
}

.how-flow-steps li:last-child {
    padding-bottom: 0;
}

.how-flow-steps li::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-mid);
    border: 2px solid var(--panel);
}

.how-flow-steps h4 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}

.how-flow-steps p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.how-flow-steps code {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 12.5px;
    color: var(--brand-deep);
}


/* =========================
   TIP / SHORTCUT CALLOUT
========================= */

.how-tip {
    display: flex;
    gap: 16px;
    background: var(--verified-tint);
    border: 1px solid #cfe7db;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 36px 0 0;
}

.how-tip i {
    flex: none;
    font-size: 20px;
    color: var(--verified);
    margin-top: 2px;
}

.how-tip h4 {
    font-family: "Poppins", sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}

.how-tip p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.how-tip code {
    background: #fff;
    border: 1px solid #cfe7db;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 12.5px;
    color: var(--verified);
    font-weight: 700;
}


/* =========================
   CRYPT-N-SEND PANEL
========================= */

.how-crypt {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px;
}

.how-crypt-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.how-crypt-head h3 {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
}

.how-crypt-head p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
    max-width: 520px;
}

.how-crypt-badge {
    flex: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--brand);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 4px 9px;
}

.how-crypt-ways {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.how-crypt-way {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
}

.how-crypt-way i {
    color: var(--brand);
    font-size: 16px;
}

.how-crypt-way span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .how-summary {
        grid-template-columns: 1fr;
    }

    .how-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-flow {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .how-crypt-ways {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .how-page {
        padding: 34px 0 10px;
    }

    .how-section-head h2 {
        font-size: 20px;
    }

    .how-features {
        grid-template-columns: 1fr;
    }

    .how-feature-card:nth-child(2) {
        border-top: 1px solid var(--line);
    }

    .how-crypt {
        padding: 22px;
    }

    .how-crypt-ways {
        grid-template-columns: 1fr;
    }

    .how-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
