/* MedTech MSO public site: landing page, login, sign up, team, thank you and terms.
   Type: Sora (display) + DM Sans (body). Palette taken from the MedTech MSO logo. */

:root {
    /* Values come from mso/tokens.css so the public site and the app share one design source. */
    --ink: var(--mso-navy);
    --navy: var(--mso-navy);
    --navy-2: var(--mso-navy-2);
    --navy-3: var(--mso-navy-3);
    --brand: var(--mso-brand);
    --brand-700: var(--mso-brand-hover);
    --brand-50: var(--mso-brand-50);
    --brand-100: var(--mso-brand-100);
    --brand-200: var(--mso-brand-200);
    --sky: var(--mso-sky);
    --sky-100: var(--mso-sky-50);
    --cyan: var(--mso-cyan);
    --cyan-100: var(--mso-cyan-50);
    --body: var(--mso-text);
    --muted: var(--mso-muted);
    --line: var(--mso-line);
    --app: var(--mso-app);
    --surface: var(--mso-surface);
    --f-display: var(--mso-f-display);
    --f-body: var(--mso-f-body);
    --g-brand: var(--mso-g-brand);
    --g-text: var(--mso-g-text);
    --r: var(--mso-r-sm);
    --sh-sm: var(--mso-sh-sm);
    --sh: var(--mso-sh);
    --wrap: var(--mso-wrap);
    --pad: clamp(20px, 4vw, 40px);
    --hdr: 80px;
}

/* ---------- Base ---------- */
body.mso-site {
    margin: 0;
    background: var(--surface);
    color: var(--body);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

    body.mso-site h1, body.mso-site h2, body.mso-site h3, body.mso-site h4, body.mso-site h5 {
        font-family: var(--f-display);
        color: var(--ink);
        letter-spacing: -.02em;
    }

    body.mso-site a {
        color: var(--brand);
    }

.mso-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
    box-sizing: border-box;
}

.mso-grad-text {
    background: var(--g-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

/* ---------- Buttons ---------- */
.mso-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--r);
    border: 2px solid transparent;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

    .mso-btn:hover {
        transform: translateY(-1px);
    }

.mso-btn-primary {
    background: var(--brand);
    color: #fff !important;
    box-shadow: var(--sh-sm);
}

    .mso-btn-primary:hover {
        background: var(--brand-700);
    }

.mso-btn-ghost {
    background: transparent;
    color: var(--ink) !important;
    border-color: var(--line);
}

    .mso-btn-ghost:hover {
        border-color: var(--brand);
        color: var(--brand) !important;
    }

.mso-btn-light {
    background: #fff;
    color: var(--ink) !important;
}

    .mso-btn-light:hover {
        background: var(--cyan);
    }

.mso-btn-outline-light {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .45);
}

    .mso-btn-outline-light:hover {
        border-color: #fff;
    }

/* ---------- Header ---------- */
.mso-topbar {
    background: var(--navy);
    color: #B9CCFF;
    font-size: 13px;
}

    .mso-topbar .mso-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 38px;
        flex-wrap: wrap;
    }

    .mso-topbar a, .mso-topbar span {
        color: #DCE6FF !important;
        text-decoration: none;
    }

    .mso-topbar i {
        color: var(--cyan);
        margin-right: 6px;
    }

    .mso-topbar .mso-topbar-links {
        display: flex;
        gap: 22px;
        flex-wrap: wrap;
    }

.mso-hdr {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}

    .mso-hdr.is-scrolled {
        border-bottom-color: var(--line);
        box-shadow: var(--sh-sm);
    }

    .mso-hdr .mso-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--hdr);
        gap: 24px;
    }

.mso-logo img {
    display: block;
    height: 44px;
    width: auto;
}

.mso-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .mso-nav a:not(.mso-btn) {
        display: block;
        padding: 8px 14px;
        color: var(--ink) !important;
        font-weight: 500;
        font-size: 15px;
        text-decoration: none;
        border-radius: var(--r);
    }

        .mso-nav a:not(.mso-btn):hover {
            color: var(--brand) !important;
            background: var(--brand-50);
        }

    .mso-nav .mso-btn {
        margin-left: 10px;
        padding: 10px 20px;
    }

.mso-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mso-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mso-nav {
        display: none;
        position: absolute;
        top: var(--hdr);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px var(--pad) 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--sh-sm);
    }

        .mso-nav.is-open {
            display: flex;
        }

        .mso-nav .mso-btn {
            margin: 8px 0 0;
        }

    .mso-logo img {
        height: 38px;
    }
}

/* ---------- Sections ---------- */
.mso-sec {
    padding: clamp(64px, 9vw, 112px) 0;
}

.mso-sec-alt {
    background: var(--app);
}

.mso-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

    .mso-eyebrow::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--brand);
    }

.mso-h1 {
    font-size: clamp(38px, 5.4vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 22px;
}

.mso-h2 {
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
}

.mso-h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
}

.mso-lead {
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--body);
    margin: 0 0 30px;
    max-width: 620px;
}

.mso-sec-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

    .mso-sec-head .mso-lead {
        margin: 0 auto;
    }

/* ---------- Hero ---------- */
.mso-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
    background: radial-gradient(900px 480px at 90% 0%, var(--sky-100) 0%, rgba(230, 246, 255, 0) 70%), radial-gradient(700px 420px at 0% 100%, var(--brand-50) 0%, rgba(238, 243, 255, 0) 70%), #fff;
}

    .mso-hero .mso-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: clamp(32px, 5vw, 64px);
        align-items: center;
    }

.mso-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mso-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--muted);
}

    .mso-hero-points i {
        color: var(--brand);
        margin-right: 6px;
    }

.mso-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--sh);
    background: #fff;
}

.mso-hero-visual {
    position: relative;
}

    .mso-hero-visual::before {
        content: "";
        position: absolute;
        inset: 8% -6% -8% 10%;
        background: var(--g-brand);
        border-radius: 14px;
        opacity: .12;
        transform: rotate(-3deg);
    }

    .mso-hero-visual .mso-shot {
        position: relative;
    }

@media (max-width: 900px) {
    .mso-hero .mso-wrap {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cards and grids ---------- */
.mso-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

@media (max-width: 1000px) {
    .mso-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .mso-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mso-grid-3, .mso-grid-4 {
        grid-template-columns: 1fr;
    }
}

.mso-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    box-sizing: border-box;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .mso-card:hover {
        transform: translateY(-3px);
        border-color: var(--brand-100);
        box-shadow: var(--sh);
    }

    .mso-card p {
        margin: 0;
        font-size: 15px;
        line-height: 1.65;
    }

.mso-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: var(--r);
    background: var(--brand-50);
    color: var(--brand);
    font-size: 20px;
}

.mso-icon-sky {
    background: var(--sky-100);
    color: #0089C7;
}

.mso-icon-cyan {
    background: var(--cyan-100);
    color: var(--ink);
}

.mso-step-num {
    display: block;
    margin-bottom: 14px;
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .08em;
}

/* ---------- Feature rows ---------- */
.mso-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    margin-bottom: clamp(56px, 8vw, 96px);
}

    .mso-feature:last-child {
        margin-bottom: 0;
    }

.mso-feature-flip .mso-feature-text {
    order: 2;
}

.mso-feature-text .mso-lead {
    margin-bottom: 20px;
}

.mso-checks {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .mso-checks li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
        font-size: 15px;
    }

        .mso-checks li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 1px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--brand-50);
            color: var(--brand);
            font-size: 10px;
            line-height: 20px;
            text-align: center;
        }

@media (max-width: 900px) {
    .mso-feature {
        grid-template-columns: 1fr;
    }

    .mso-feature-flip .mso-feature-text {
        order: 0;
    }
}

/* ---------- Portal split (patient portal) ---------- */
.mso-portal {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

    .mso-portal .mso-shot {
        max-width: 380px;
        margin: 0 auto;
        box-shadow: none;
        background: transparent;
        filter: drop-shadow(0 30px 40px rgba(4, 19, 62, .25));
    }

    .mso-portal .mso-grid-3 {
        gap: 16px;
    }

    .mso-portal .mso-card {
        padding: 22px;
    }

@media (max-width: 1000px) {
    .mso-portal {
        grid-template-columns: 1fr;
    }
}

/* ---------- Dark band ---------- */
.mso-band {
    position: relative;
    overflow: hidden;
    background: var(--g-brand);
    color: #DCE6FF;
}

    .mso-band::after {
        content: "";
        position: absolute;
        right: -120px;
        top: -120px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(7, 236, 239, .28) 0%, rgba(7, 236, 239, 0) 70%);
        pointer-events: none;
    }

    body.mso-site .mso-band h2,
    body.mso-site .mso-band h3 {
        color: #fff;
    }

    .mso-band .mso-lead {
        color: #DCE6FF;
    }

    .mso-band .mso-eyebrow {
        background: rgba(255, 255, 255, .1);
        color: var(--cyan);
    }

        .mso-band .mso-eyebrow::before {
            background: var(--cyan);
        }

.mso-value {
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .06);
    box-sizing: border-box;
}

    .mso-value i {
        display: block;
        margin-bottom: 16px;
        color: var(--cyan);
        font-size: 22px;
    }

    .mso-value h3 {
        font-size: 18px;
        margin: 0 0 8px;
    }

    .mso-value p {
        margin: 0;
        font-size: 15px;
        color: #B9CCFF;
    }

/* ---------- Call to action ---------- */
.mso-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(32px, 5vw, 56px);
    border-radius: 10px;
    background: var(--app);
    border: 1px solid var(--line);
}

    .mso-cta .mso-h2 {
        margin-bottom: 8px;
    }

    .mso-cta p {
        margin: 0;
    }

/* ---------- Footer ---------- */
.mso-ftr {
    background: var(--navy);
    color: #B9CCFF;
    font-size: 15px;
}

    .mso-ftr .mso-ftr-main {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
        padding: 64px 0 48px;
    }

    .mso-ftr img {
        height: 46px;
        width: auto;
        margin-bottom: 18px;
    }

    .mso-ftr h4 {
        margin: 0 0 16px;
        color: #fff !important;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .02em;
    }

    .mso-ftr p {
        margin: 0 0 10px;
    }

    .mso-ftr ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mso-ftr li {
        margin-bottom: 10px;
    }

    .mso-ftr a {
        color: #DCE6FF !important;
        text-decoration: none;
    }

        .mso-ftr a:hover {
            color: var(--cyan) !important;
        }

    .mso-ftr i {
        width: 18px;
        margin-right: 8px;
        color: var(--cyan);
    }

.mso-ftr-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
    font-size: 13px;
    color: #8A9CC8;
}

    .mso-ftr-bottom .mso-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .mso-ftr-bottom a {
        margin-left: 16px;
    }

@media (max-width: 800px) {
    .mso-ftr .mso-ftr-main {
        grid-template-columns: 1fr;
    }

    .mso-ftr-bottom a {
        margin: 0 16px 0 0;
    }
}

/* ---------- Reveal on scroll ---------- */
.rv {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

    .rv.is-in {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    .rv {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mso-btn, .mso-card {
        transition: none;
    }
}

/* =========================================================
   Pages inside _SecureHomeLayout (login, sign up, team, thank you, terms).
   Selectors start with body.mso-site so they take priority over each page's
   own style block; page markup, field names and scripts stay unchanged.
   ========================================================= */
body.mso-site .page-content-wrapper,
body.mso-site .page-content {
    background: transparent;
}

.mso-page {
    min-height: calc(100vh - var(--hdr) - 38px);
    padding: clamp(40px, 6vw, 72px) var(--pad);
    background: radial-gradient(800px 420px at 100% 0%, var(--sky-100) 0%, rgba(230, 246, 255, 0) 70%), radial-gradient(700px 400px at 0% 100%, var(--brand-50) 0%, rgba(238, 243, 255, 0) 70%), var(--app);
    box-sizing: border-box;
}

/* Login, OTP and sign-up cards */
body.mso-site .app-login-card,
body.mso-site .app-login-card-reset,
body.mso-site .app-login-card-reset-old {
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    border-radius: 10px;
    background: var(--g-brand);
    box-shadow: var(--sh);
}

body.mso-site .app-login-card-reset-old {
    max-width: 880px;
}

body.mso-site .bg-login-cards,
body.mso-site .bg-login-cards-reset,
body.mso-site .bg-login-cards-reset-old {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    clip-path: none;
}

body.mso-site .login-cards-forms {
    position: static;
    padding: 36px 36px 8px;
    text-align: left;
}

body.mso-site .header-login-cards {
    height: auto;
    margin-bottom: 22px;
}

    body.mso-site .header-login-cards::before {
        content: "";
        display: block;
        width: 36px;
        height: 32px;
        margin-bottom: 18px;
        background: url(/Assets/brand/medtechmso-mark.png) center / contain no-repeat;
    }

    body.mso-site .header-login-cards h3,
    body.mso-site .header-login-cards h5 {
        margin: 0;
        color: #fff !important;
        font-family: var(--f-display);
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -.01em;
        text-transform: none;
    }

body.mso-site .inputs-sec-logins {
    margin-top: 0;
}

body.mso-site .login-cards-forms .user-name-password,
body.mso-site .login-cards-forms .form-control {
    width: 100%;
    margin: 0 0 14px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-family: var(--f-body);
    font-size: 15px;
    box-shadow: none;
}

    body.mso-site .login-cards-forms .user-name-password:focus,
    body.mso-site .login-cards-forms .form-control:focus {
        border-color: var(--cyan);
        background: rgba(255, 255, 255, .16);
        outline: none;
        box-shadow: 0 0 0 3px rgba(7, 236, 239, .2);
    }

    body.mso-site .login-cards-forms .form-control:disabled {
        opacity: .7;
    }

    body.mso-site .login-cards-forms .form-control option {
        color: var(--ink);
    }

body.mso-site .user-name-password::placeholder,
body.mso-site .login-cards-forms .form-control::placeholder {
    color: rgba(220, 230, 255, .75);
    font-size: 14px;
}

body.mso-site .login-cards-forms .control-label {
    float: none !important;
    display: block;
    margin: 6px 0 6px;
    color: #DCE6FF;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

body.mso-site .login-cards-forms .form-check-label {
    color: #DCE6FF !important;
    font-size: 14px;
}

body.mso-site .login-cards-forms .text-danger,
body.mso-site .login-cards-forms .required {
    color: #FFB4B4 !important;
}

body.mso-site .Login-page-fotters {
    position: static;
    padding: 16px 36px 36px;
    text-align: center;
}

body.mso-site .login-button-cards {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #fff;
    border-radius: var(--r);
    background: #fff;
    color: var(--ink) !important;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: background-color .18s ease, border-color .18s ease;
}

    body.mso-site .login-button-cards:hover {
        background-color: var(--cyan) !important;
        border-color: var(--cyan);
        color: var(--ink) !important;
    }

body.mso-site .login-screen-button {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .45);
}

    body.mso-site .login-screen-button:hover {
        background: transparent !important;
        border-color: #fff;
        color: #fff !important;
    }

body.mso-site #Login-screen-card {
    background-image: none;
}

body.mso-site #Login-screen-card,
body.mso-site #Rescet-screen-card {
    padding: 8px 0;
}

/* Team */
body.mso-site .team.spad {
    padding: 0;
    background: transparent;
}

body.mso-site .team-section-title h2 {
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 700;
    color: var(--ink);
}

body.mso-site .team-section-title span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    letter-spacing: 0;
    text-transform: none;
}

body.mso-site .team .card {
    border: 1px solid var(--line) !important;
    border-radius: var(--r);
    box-shadow: var(--sh-sm) !important;
}

body.mso-site .team__item img {
    width: 200px;
    height: 200px;
    border: 6px solid #fff;
    box-shadow: var(--sh-sm);
    object-fit: cover;
}

body.mso-site .team__item:hover img {
    border-color: var(--brand-100);
}

body.mso-site .team__item h5 {
    font-family: var(--f-display);
    color: var(--ink);
}

body.mso-site .team__item span {
    color: var(--brand);
    font-weight: 600;
}

body.mso-site .team__item .team__item__social a {
    color: var(--muted);
}

    body.mso-site .team__item .team__item__social a:hover {
        color: var(--brand);
    }

/* Thank you */
body.mso-site .jumbotron {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--sh);
}

    body.mso-site .jumbotron .display-3 {
        font-size: clamp(34px, 4.4vw, 52px);
        font-weight: 800;
    }

    body.mso-site .jumbotron .btn-primary {
        padding: 12px 22px;
        border: 0;
        border-radius: var(--r);
        background: var(--brand);
        font-weight: 600;
    }

/* Terms */
body.mso-site .mso-page > .container-fluid > .card {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--sh-sm);
}

    body.mso-site .mso-page > .container-fluid > .card .card-header {
        padding: 22px 28px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
    }

    body.mso-site .mso-page > .container-fluid > .card .card-body {
        padding: 28px;
    }

    body.mso-site .mso-page > .container-fluid > .card h3 {
        margin-top: 28px;
        font-size: 20px;
        font-weight: 600;
    }

/* =========================================================
   Bigger and bolder (redesign phase 1)
   ========================================================= */
body.mso-site {
    font-size: 17px;
    font-weight: var(--mso-fw-body);
    color: var(--mso-text);
}

.mso-h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.03em;
}

.mso-h2 {
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.025em;
}

.mso-h3 {
    font-size: 21px;
    font-weight: 700;
}

.mso-lead {
    font-size: clamp(18px, 1.8vw, 21px);
    font-weight: 500;
    color: var(--mso-text);
}

.mso-eyebrow {
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 700;
}

.mso-btn {
    min-height: 52px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--mso-r);
}

.mso-nav a:not(.mso-btn) {
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 600;
}

.mso-nav .mso-btn {
    min-height: 46px;
    padding: 10px 22px;
}

.mso-logo img {
    height: 48px;
}

.mso-card {
    padding: 30px;
    border-radius: var(--mso-r);
}

    .mso-card p {
        font-size: 16px;
    }

.mso-step-num {
    font-size: 15px;
    font-weight: 800;
}

.mso-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
    border-radius: var(--mso-r);
}

.mso-checks li {
    font-size: 16.5px;
    font-weight: 500;
}

.mso-value h3 {
    font-size: 19px;
}

.mso-value p {
    font-size: 16px;
}

.mso-topbar {
    font-size: 14px;
    font-weight: 600;
}

.mso-ftr {
    font-size: 16px;
}

.mso-hero-points {
    font-size: 15px;
    font-weight: 600;
}

/* Login, OTP and sign-up cards: bigger controls */
body.mso-site .login-cards-forms .user-name-password,
body.mso-site .login-cards-forms .form-control {
    min-height: 52px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--mso-r);
}

body.mso-site .login-button-cards {
    min-height: 54px;
    font-size: 16.5px;
    font-weight: 800;
    border-radius: var(--mso-r);
}

body.mso-site .header-login-cards h3,
body.mso-site .header-login-cards h5 {
    font-size: 28px;
    font-weight: 800;
}

body.mso-site .login-cards-forms .control-label {
    font-size: 14px;
    font-weight: 700;
}

/* iPad: keep cards readable when the patient portal sits beside its phone mock-up */
@media (min-width: 1001px) and (max-width: 1279px) {
    .mso-portal .mso-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* iPad landscape: slightly tighter navigation so every link fits */
@media (min-width: 901px) and (max-width: 1100px) {
    .mso-nav a:not(.mso-btn) {
        padding: 10px 10px;
        font-size: 15px;
    }
}

/* Buttons that are links keep their own text colour (the general link colour is blue). */
body.mso-site a.btn-primary,
body.mso-site .jumbotron .btn-primary {
    color: #fff !important;
}
