.notify-health-module-v1 {
    --nhm-bg: #f4f7fc;
    --nhm-surface: #ffffff;
    --nhm-surface-2: #f8fbff;
    --nhm-border: #dfe8f5;
    --nhm-text: #0f172a;
    --nhm-muted: #5d6b85;
    --nhm-blue: #2563eb;
    --nhm-blue-dark: #1d4ed8;
    --nhm-violet: #7c3aed;
    --nhm-teal: #14b8a6;
    --nhm-emerald: #10b981;
    --nhm-rose: #f43f5e;
    --nhm-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    --nhm-shadow-sm: 0 16px 36px rgba(15, 23, 42, 0.08);
    color: var(--nhm-text);
    background: var(--nhm-bg);
}

.notify-health-module-v1 * {
    box-sizing: border-box;
}

.notify-health-module-v1 .container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.notify-health-module-v1 .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    font-size: 0.96rem;
    border: 1px solid transparent;
}

.notify-health-module-v1 .primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #4f9bff 0%, #2b6fe7 100%);
    box-shadow: 0 12px 28px rgba(43, 111, 231, 0.32);
}

.notify-health-module-v1 .primary-btn:hover {
    transform: translateY(-2px);
}

.notify-health-module-v1 .secondary-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.notify-health-module-v1 .secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.nhm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    color: #5d7596;
}

.nhm-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.26), transparent 18%),
        radial-gradient(circle at 66% 52%, rgba(124, 58, 237, 0.16), transparent 22%),
        linear-gradient(135deg, #050a13 0%, #0a1424 52%, #101d33 100%);
}

.nhm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

.nhm-hero .container,
.nhm-strip .container,
.nhm-section .container,
.nhm-final .container {
    position: relative;
    z-index: 1;
}

.nhm-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    gap: 30px;
    align-items: center;
    padding: 46px 0 36px;
}

.nhm-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.2rem, 3.8vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.nhm-lead {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.76);
}

.nhm-actions,
.nhm-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.nhm-microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nhm-microcopy span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
}

.nhm-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-top: 22px;
}

.nhm-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.84);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.nhm-quicklinks a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nhm-hero-board {
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.nhm-hero-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.nhm-hero-board__head strong {
    font-size: 1rem;
}

.nhm-hero-board__head span {
    color: rgba(255,255,255,0.64);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nhm-hero-diagram {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.nhm-hero-node {
    min-height: 146px;
    padding: 16px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nhm-hero-node i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.nhm-hero-node strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.24;
}

.nhm-hero-node span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.82rem;
    line-height: 1.55;
}

.nhm-hero-node--notify {
    background: linear-gradient(180deg, rgba(37,99,235,0.22) 0%, rgba(255,255,255,0.08) 100%);
}

.nhm-hero-node--action {
    background: linear-gradient(180deg, rgba(20,184,166,0.16) 0%, rgba(255,255,255,0.08) 100%);
}

.nhm-hero-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.84);
    font-size: 0.86rem;
}

.nhm-hero-events {
    display: grid;
    gap: 12px;
}

.nhm-hero-event {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(5, 10, 19, 0.5);
    border: 1px solid rgba(255,255,255,0.08);
}

.nhm-hero-event__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nhm-hero-event__body strong {
    display: block;
    font-size: 0.92rem;
}

.nhm-hero-event__body span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,0.68);
    font-size: 0.83rem;
    line-height: 1.56;
}

.nhm-hero-event__tag {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nhm-hero-event__tag--alert {
    background: rgba(244,63,94,0.18);
    color: #ffb3c4;
}

.nhm-hero-event__tag--watch {
    background: rgba(96,165,250,0.18);
    color: #c9e1ff;
}

.nhm-hero-event__tag--ok {
    background: rgba(16,185,129,0.18);
    color: #bff7df;
}

.nhm-hero-board__routes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.nhm-hero-board__routes span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 700;
}

.nhm-strip {
    padding: 24px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.nhm-strip__box {
    padding: 26px 30px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--nhm-border);
    box-shadow: var(--nhm-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.nhm-strip__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #13213f;
}

.nhm-strip__box p {
    margin: 10px 0 0;
    color: var(--nhm-muted);
    line-height: 1.72;
}

.nhm-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: #1e3a8a;
    font-weight: 700;
    text-decoration: none;
}

.nhm-section {
    padding: 78px 0 0;
}

.nhm-section--soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(248,251,255,0.9) 100%);
    padding-bottom: 6px;
}

.nhm-section-head {
    margin-bottom: 34px;
    text-align: center;
}

.nhm-section-head.compact {
    margin-bottom: 30px;
}

.nhm-section-head h2,
.nhm-final h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
    color: #13213f;
}

.nhm-section-head p,
.nhm-final p {
    margin: 12px auto 0;
    max-width: 820px;
    color: var(--nhm-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.nhm-scope-grid,
.nhm-problem-grid,
.nhm-feature-grid,
.nhm-boundary-grid,
.nhm-module-links {
    display: grid;
    gap: 20px;
}

.nhm-scope-grid,
.nhm-boundary-grid,
.nhm-module-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nhm-problem-grid,
.nhm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nhm-scope-card,
.nhm-card,
.nhm-feature-card,
.nhm-boundary-card,
.nhm-module-link-card,
.nhm-flow__step {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--nhm-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.95) 100%);
    box-shadow: var(--nhm-shadow-sm);
}

.nhm-scope-card--blue {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.nhm-scope-card--violet {
    background: linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
}

.nhm-scope-card__icon,
.nhm-feature-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 18px;
    font-size: 1.08rem;
}

.nhm-scope-card--blue .nhm-scope-card__icon,
.nhm-feature-card__icon {
    background: rgba(37, 99, 235, 0.10);
    color: var(--nhm-blue);
}

.nhm-scope-card--violet .nhm-scope-card__icon {
    background: rgba(124, 58, 237, 0.10);
    color: var(--nhm-violet);
}

.nhm-scope-card h3,
.nhm-card h3,
.nhm-feature-card h3,
.nhm-boundary-card h3,
.nhm-module-link-card h3,
.nhm-flow__step h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.14;
    color: #13213f;
}

.nhm-scope-card p,
.nhm-card p,
.nhm-feature-card p,
.nhm-boundary-card p,
.nhm-module-link-card p,
.nhm-flow__step p {
    margin: 12px 0 0;
    color: var(--nhm-muted);
    line-height: 1.7;
}

.nhm-scope-card ul,
.nhm-boundary-card ul {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.nhm-scope-card li,
.nhm-boundary-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    line-height: 1.58;
    color: var(--nhm-muted);
}

.nhm-scope-card li i,
.nhm-boundary-card li i {
    margin-top: 3px;
    color: var(--nhm-blue);
}

.nhm-boundary-card--good {
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
}

.nhm-boundary-card--good li i {
    color: var(--nhm-emerald);
}

.nhm-boundary-card--muted {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.nhm-boundary-card--muted li i {
    color: #64748b;
}

.nhm-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nhm-flow__step {
    position: relative;
}

.nhm-flow__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--nhm-blue);
    font-size: 0.9rem;
    font-weight: 800;
}

.nhm-module-link-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #5f7392;
}

.nhm-module-link-card a {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 10px 14px;
    border-radius: 999px;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.08);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.14);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nhm-module-link-card a:hover {
    color: #172554;
    background: rgba(30, 58, 138, 0.14);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.24);
    transform: translateY(-1px);
}

.nhm-final {
    padding: 78px 0 88px;
}

.nhm-final__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    padding: 32px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at right center, rgba(37,99,235,0.28), transparent 18%),
        linear-gradient(135deg, #09111f 0%, #10203a 100%);
    box-shadow: 0 24px 60px rgba(8,16,29,0.20);
}

.nhm-final .nhm-eyebrow,
.nhm-final h2,
.nhm-final p {
    color: #fff;
}

.nhm-final p {
    max-width: 760px;
    color: rgba(255,255,255,0.76);
}

@media (max-width: 1180px) {
    .nhm-hero__inner,
    .nhm-strip__box,
    .nhm-final__box,
    .nhm-subscription-note__box,
    .nhm-scope-grid,
    .nhm-problem-grid,
    .nhm-feature-grid,
    .nhm-boundary-grid,
    .nhm-module-links,
    .nhm-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .notify-health-module-v1 .container {
        width: min(1240px, calc(100% - 32px));
    }

    .nhm-hero__inner {
        padding: 36px 0 28px;
    }

    .nhm-hero-diagram {
        grid-template-columns: 1fr;
    }

    .nhm-hero-arrow {
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .nhm-hero-node {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .notify-health-module-v1 .container {
        width: min(1240px, calc(100% - 28px));
    }

    .nhm-actions,
    .nhm-final__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nhm-microcopy {
        flex-direction: column;
        align-items: flex-start;
    }

    .nhm-hero-event {
        grid-template-columns: auto 1fr;
    }

    .nhm-hero-event__tag {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .nhm-hero-board,
    .nhm-strip__box,
    .nhm-subscription-note__box,
    .nhm-scope-card,
    .nhm-card,
    .nhm-feature-card,
    .nhm-boundary-card,
    .nhm-module-link-card,
    .nhm-flow__step,
    .nhm-final__box {
        padding: 20px;
    }
}


.nhm-subscription-note {
    padding: 26px 0 88px;
}

.nhm-subscription-note__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 26px 28px;
    border-radius: 26px;
    border: 1px solid var(--nhm-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--nhm-shadow-sm);
}

.nhm-subscription-note__content h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.08;
    color: #13213f;
}

.nhm-subscription-note__content p {
    margin: 12px 0 0;
    max-width: 860px;
    color: var(--nhm-muted);
    line-height: 1.72;
}

.nhm-subscription-note__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nhm-subscription-note__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 11px 15px;
    border-radius: 999px;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.08);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.14);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nhm-subscription-note__link:hover {
    color: #172554;
    background: rgba(30, 58, 138, 0.14);
    box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.24);
    transform: translateY(-1px);
}
