
:root{
    --medmonk-red:#E30613;
    --red-dark:#B30410;
    --bg:#F7F8FB;
    --ink:#111827;
    --muted:#5B6472;
    --line:#E6E9EF;
    --panel:#FFFFFF;
    --soft-red:#FFF1F2;
    --glass:rgba(255,255,255,0.84);
}

*{box-sizing:border-box;}

body{
    margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color:var(--ink);
    background:
        radial-gradient(circle at top left, rgba(227,6,19,.10), transparent 28%),
        linear-gradient(180deg,#ffffff 0%, var(--bg) 46%, #F2F5F9 100%);
}

.site-shell{
    background:rgba(255,255,255,.92);
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:40;
    backdrop-filter:blur(14px);
}

.topbar,
.portal-header{
    padding:18px 48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand-lockup{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand-mark{
    width:44px;
    height:44px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--medmonk-red),#FF6B73);
    color:white;
    font-weight:800;
    letter-spacing:.5px;
    box-shadow:0 12px 28px rgba(227,6,19,.18);
}

.brand-name{
    letter-spacing:2px;
    font-size:.94rem;
    font-weight:500;
}

.brand-name span{
    color:var(--medmonk-red);
    font-weight:800;
}

.brand-sub{
    font-size:.74rem;
    color:var(--muted);
    margin-top:3px;
}

.utility-links{
    display:flex;
    gap:24px;
    color:var(--muted);
    font-size:.92rem;
}

.portal-tabs{
    padding:0 48px;
    display:flex;
    gap:4px;
    border-top:1px solid #F0F1F4;
}

.portal-tabs a{
    padding:16px 20px;
    color:var(--muted);
    font-size:.93rem;
    cursor:pointer;
    border-bottom:3px solid transparent;
}

.portal-tabs a.active{
    color:var(--medmonk-red);
    border-bottom-color:var(--medmonk-red);
    background:linear-gradient(180deg,rgba(227,6,19,.035),transparent);
    font-weight:700;
}

.manufacturer-page{
    width:min(1180px,92%);
    margin:auto;
}

.drug-hero{
    min-height:610px;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:46px;
    align-items:center;
    padding:58px 0;
}

.eyebrow,
.section-kicker,
.step-label,
.mini-label{
    color:var(--medmonk-red);
    font-size:.76rem;
    letter-spacing:1.8px;
    font-weight:800;
    text-transform:uppercase;
}

.hero-copy h1,
.portal-hero h1{
    font-size:4.35rem;
    line-height:1.02;
    margin:18px 0;
    letter-spacing:-.05em;
}

.hero-copy p,
.assist-strip > div:first-child p,
.portal-hero p,
.modal-intro{
    color:var(--muted);
    line-height:1.72;
    font-size:1.05rem;
    max-width:720px;
}

.hero-actions{
    display:flex;
    gap:14px;
    margin-top:32px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary,
.btn-ghost{
    border:none;
    border-radius:999px;
    padding:14px 22px;
    font-weight:750;
    cursor:pointer;
    transition:.22s ease;
}

.btn-primary{
    background:linear-gradient(135deg,var(--medmonk-red),#FF4D57);
    color:white;
    box-shadow:0 14px 28px rgba(227,6,19,.22);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-secondary:hover{
    transform:translateY(-2px);
}

.btn-ghost{
    background:white;
    color:var(--ink);
    border:1px solid var(--line);
}

.glass{
    background:var(--glass);
    border:1px solid rgba(255,255,255,.7);
    box-shadow:0 22px 60px rgba(18,25,38,.08);
    backdrop-filter:blur(16px);
    border-radius:28px;
}

.drug-panel{
    padding:34px;
    position:relative;
    overflow:hidden;
}

.drug-panel:before{
    content:"";
    position:absolute;
    right:-80px;
    top:-80px;
    width:240px;
    height:240px;
    background:radial-gradient(circle,rgba(227,6,19,.14),transparent 65%);
}

.drug-badge{
    display:inline-flex;
    padding:9px 14px;
    border-radius:999px;
    background:var(--soft-red);
    color:var(--red-dark);
    font-weight:850;
    letter-spacing:1.2px;
    font-size:.78rem;
}

.drug-panel h2{
    margin:26px 0 6px;
    font-size:2rem;
}

.drug-subtitle,
.panel-note{
    color:var(--muted);
    line-height:1.7;
}

.cascade-visual{
    display:flex;
    align-items:center;
    gap:12px;
    margin:34px 0;
}

.cascade-visual div{
    height:10px;
    flex:1;
    border-radius:999px;
    background:linear-gradient(90deg,rgba(227,6,19,.22),rgba(227,6,19,.65));
}

.spark{
    width:38px;
    height:38px;
    border-radius:50%;
    background:var(--medmonk-red);
    box-shadow:0 0 0 10px rgba(227,6,19,.10), 0 0 40px rgba(227,6,19,.42);
}

.assist-strip{
    padding:34px 0 80px;
}

.assist-strip h2{
    font-size:2.4rem;
    margin:10px 0;
}

.support-grid{
    margin-top:28px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.support-card{
    padding:24px;
    min-height:220px;
}

.card-number{
    color:#CBD0D8;
    font-size:1.3rem;
    font-weight:850;
}

.support-card h3{
    margin:28px 0 10px;
}

.support-card p{
    color:var(--muted);
    line-height:1.62;
    font-size:.95rem;
}

.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:100;
    background:rgba(17,24,39,.58);
    align-items:center;
    justify-content:center;
    padding:20px;
}

.modal-content{
    width:min(600px,100%);
    padding:30px;
    position:relative;
    max-height:92vh;
    overflow:auto;
}

.close-btn{
    position:absolute;
    right:18px;
    top:16px;
    border:none;
    background:#F3F4F6;
    width:34px;
    height:34px;
    border-radius:50%;
    font-size:1.25rem;
    cursor:pointer;
}

.modal h2{
    margin:8px 0 8px;
}

label{
    display:block;
    font-weight:700;
    font-size:.92rem;
    margin-bottom:8px;
}

input,
select{
    width:100%;
    border:1px solid #D8DDE6;
    background:white;
    border-radius:14px;
    padding:14px;
    margin-bottom:18px;
    font-size:.96rem;
}

.full-btn{
    width:100%;
    justify-content:center;
}

.hidden{
    display:none !important;
}

.eligibility-box{
    margin-top:18px;
    padding:16px;
    border-radius:16px;
    line-height:1.55;
}

.eligibility-box.eligible{
    background:#ECFDF3;
    border:1px solid #B7E4C7;
    color:#166534;
}

.eligibility-box.ineligible{
    background:#FFF1F2;
    border:1px solid #FECDD3;
    color:#991B1B;
}

.consent-section{
    margin-top:20px;
}

.consent-box{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:16px;
    background:#FAFBFC;
    border-radius:16px;
    margin-bottom:18px;
    color:var(--muted);
    line-height:1.55;
}

.consent-box input{
    width:auto;
    margin-top:4px;
}

.form-preview,
.redirect-box{
    background:white;
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px;
    margin:20px 0;
}

.success-copy{
    color:var(--muted);
    line-height:1.7;
}

.portal-body{
    background:linear-gradient(180deg,#FFFFFF 0%,#F5F7FB 100%);
    min-height:100vh;
}

.toggle-container{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.toggle-container span{
    color:var(--muted);
    font-size:.88rem;
}

.toggle-container button{
    border:1px solid var(--line);
    background:white;
    padding:9px 14px;
    border-radius:999px;
    cursor:pointer;
    font-weight:700;
}

.dashboard{
    width:min(1120px,92%);
    margin:28px auto 70px;
}

.portal-hero{
    padding:34px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:28px;
}

.portal-hero h1{
    font-size:3rem;
}

.portal-status-ring{
    min-width:132px;
    height:132px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:
        radial-gradient(circle at center, white 55%, transparent 56%),
        conic-gradient(var(--medmonk-red) 42%, #E5E7EB 0);
    color:var(--medmonk-red);
    font-weight:850;
}

.portal-status-ring.active{
    background:
        radial-gradient(circle at center, white 55%, transparent 56%),
        conic-gradient(#16A34A 92%, #E5E7EB 0);
    color:#15803D;
}

.status-banner{
    margin-top:22px;
    padding:18px 22px;
    border-radius:22px;
    color:white;
    background:linear-gradient(135deg,#111827,#374151);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.status-banner span{
    opacity:.75;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:22px;
}

.stat-card{
    padding:24px;
}

.stat-card h4{
    margin:12px 0 8px;
    font-size:1.25rem;
}

.stat-card p{
    color:var(--muted);
    line-height:1.55;
    margin:0;
}

.portal-grid{
    margin-top:22px;
    display:grid;
    grid-template-columns:1.35fr .65fr;
    gap:18px;
}

.timeline,
.vault{
    padding:26px;
}

.timeline h3,
.vault h3{
    margin-top:0;
}

.timeline-item{
    display:flex;
    gap:16px;
    padding:16px 0;
    opacity:.48;
}

.timeline-item.active{
    opacity:1;
}

.dot{
    width:15px;
    height:15px;
    border-radius:50%;
    background:#D1D5DB;
    margin-top:5px;
    flex-shrink:0;
}

.timeline-item.active .dot{
    background:var(--medmonk-red);
    box-shadow:0 0 0 6px rgba(227,6,19,.10);
}

.timeline-item p{
    color:var(--muted);
    margin:5px 0 0;
}

.vault p{
    color:var(--muted);
    line-height:1.6;
}

.vault .btn-secondary{
    width:100%;
    margin-top:12px;
    border-radius:14px;
}

@media(max-width:920px){
    .drug-hero,
    .portal-grid{
        grid-template-columns:1fr;
    }

    .support-grid,
    .stats-grid{
        grid-template-columns:1fr 1fr;
    }

    .hero-copy h1{
        font-size:3.1rem;
    }
}

@media(max-width:680px){
    .topbar,
    .portal-header{
        padding:18px 22px;
        align-items:flex-start;
        flex-direction:column;
    }

    .utility-links{
        display:none;
    }

    .portal-tabs{
        overflow-x:auto;
        padding:0 18px;
    }

    .support-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }

    .hero-copy h1,
    .portal-hero h1{
        font-size:2.55rem;
    }

    .portal-hero{
        flex-direction:column;
        align-items:flex-start;
    }
}


.enrollment-preview h3{
    margin:8px 0 10px;
}

.preview-label{
    display:inline-flex;
    padding:7px 11px;
    border-radius:999px;
    background:var(--soft-red);
    color:var(--red-dark);
    font-size:.74rem;
    letter-spacing:1.2px;
    font-weight:850;
    text-transform:uppercase;
}

.enrollment-preview p{
    color:var(--muted);
    line-height:1.65;
}

.portal-actions{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.back-link{
    color:var(--medmonk-red);
    text-decoration:none;
    font-weight:800;
    font-size:.92rem;
    padding:9px 13px;
    border-radius:999px;
    background:var(--soft-red);
}

.back-link:hover{
    background:#FFE4E6;
}


.hero-kicker{
    font-size:.92rem !important;
}

.hero-copy h1{
    max-width:760px;
    font-size:3.85rem;
}

.portal-tabs{
    border-top:2px solid #ECEFF4;
}

.portal-tabs a{
    border-bottom-width:4px;
}

.glass{
    border-radius:22px;
}

.support-card,
.resource-panel,
.stat-card,
.timeline,
.vault{
    border-radius:18px;
}

.beyond-section{
    padding:24px 0 90px;
}

.beyond-header h2{
    font-size:2.2rem;
    margin:10px 0;
}

.beyond-header p{
    color:var(--muted);
    max-width:720px;
    line-height:1.7;
}

.beyond-grid{
    margin-top:26px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.resource-panel{
    padding:26px;
}

.resource-copy{
    color:var(--muted);
    line-height:1.7;
}

.resource-list{
    margin-top:24px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.resource-item{
    padding:16px;
    background:#FAFBFC;
    border:1px solid #EEF1F5;
    border-radius:14px;
}

.resource-item span{
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:.92rem;
}

.learning-card{
    display:flex;
    gap:16px;
    align-items:flex-start;
    padding:18px;
    border-radius:16px;
    background:#FAFBFC;
    border:1px solid #EEF1F5;
    margin-top:22px;
}

.learning-card p{
    margin-bottom:0;
    color:var(--muted);
    line-height:1.6;
    font-size:.94rem;
}

.learning-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    background:
        radial-gradient(circle at center, rgba(227,6,19,.35), transparent 60%),
        linear-gradient(135deg,#EFF6FF,#FFFFFF);
    border:1px solid #E8EDF5;
    flex-shrink:0;
}

.small-btn{
    margin-top:18px;
}

.preferences-block{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.preference-row{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:center;
    padding:16px;
    border:1px solid #EEF1F5;
    border-radius:14px;
    background:#FAFBFC;
}

.preference-row p{
    margin:4px 0 0;
    color:var(--muted);
    font-size:.92rem;
}

.switch{
    position:relative;
    display:inline-block;
    width:52px;
    height:30px;
}

.switch input{
    opacity:0;
    width:0;
    height:0;
}

.slider{
    position:absolute;
    inset:0;
    background:#D1D5DB;
    border-radius:999px;
    transition:.2s;
}

.slider:before{
    content:"";
    position:absolute;
    width:22px;
    height:22px;
    left:4px;
    top:4px;
    background:white;
    border-radius:50%;
    transition:.2s;
}

.switch input:checked + .slider{
    background:var(--medmonk-red);
}

.switch input:checked + .slider:before{
    transform:translateX(22px);
}

.rep-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin:18px 0;
}

@media(max-width:920px){
    .beyond-grid,
    .rep-grid{
        grid-template-columns:1fr;
    }
}

/* V6 patient-facing refinements */
.site-logo{
    width:220px;
    height:auto;
    display:block;
}

.portal-logo{
    width:135px;
    height:auto;
    display:block;
}

.logo-image-lockup{
    gap:16px;
}

.logo-image-lockup .brand-sub{
    border-left:2px solid #DDE2EA;
    padding-left:14px;
    text-transform:uppercase;
    letter-spacing:1.8px;
    font-weight:800;
    color:#4B5563;
}

.hero-copy p{
    max-width:760px;
}

.portal-stats{
    grid-template-columns:repeat(5,1fr);
}

.mini-status-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:18px;
}

.mini-status-list div{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:14px;
    border:1px solid #EEF1F5;
    border-radius:14px;
    background:#FAFBFC;
}

.mini-status-list span{
    color:var(--muted);
    text-align:right;
}

@media(max-width:1120px){
    .portal-stats{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:760px){
    .site-logo{
        width:180px;
    }

    .portal-logo{
        width:120px;
    }

    .logo-image-lockup{
        align-items:flex-start;
        flex-direction:column;
    }

    .logo-image-lockup .brand-sub{
        border-left:0;
        padding-left:0;
    }

    .portal-stats{
        grid-template-columns:1fr;
    }
}


.site-logo{
    width:260px;
    mix-blend-mode:multiply;
}

.hero-copy h1{
    font-size:4.6rem;
    max-width:760px;
    line-height:1.02;
}

.drug-panel{
    background:linear-gradient(180deg,#FFFFFF, #FAFBFD);
}

.drug-branding{
    margin:26px 0 10px;
}

.brand-large{
    font-size:3.1rem;
    font-weight:900;
    letter-spacing:.06em;
    color:#111827;
}

.brand-subline{
    font-size:1rem;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#6B7280;
    margin-top:6px;
}

.drug-badge{
    font-size:.82rem;
}

.assist-strip{
    padding-top:10px;
}

.support-card{
    background:white;
    border:1px solid #EEF1F5;
}

.support-footer{
    padding:40px 0 80px;
}

.footer-panel{
    width:min(900px,92%);
    margin:auto;
    background:#EEF5F7;
    border-radius:28px;
    padding:42px;
}

.footer-panel h2{
    font-size:3rem;
    line-height:1.1;
    max-width:520px;
    margin-top:0;
}

.footer-phone{
    font-size:3rem;
    font-weight:800;
    margin:26px 0;
    color:#1F2937;
}

.footer-panel p{
    color:#4B5563;
    line-height:1.7;
}

.footer-links{
    display:flex;
    gap:20px;
    margin-top:28px;
    font-weight:700;
    color:#374151;
}

.footer-disclaimer{
    margin-top:28px;
    max-width:720px;
    font-size:.92rem;
}

@media(max-width:768px){

    .hero-copy h1{
        font-size:3.3rem;
    }

    .brand-large{
        font-size:2.4rem;
    }

    .footer-panel h2{
        font-size:2.2rem;
    }

    .footer-phone{
        font-size:2.2rem;
    }

    .site-logo{
        width:210px;
    }
}


/* V8 final polish */
.expect-card{
    border:1px solid rgba(227,6,19,.09);
    box-shadow:0 18px 42px rgba(114, 16, 24, .065);
    backdrop-filter:blur(18px);
    position:relative;
    overflow:hidden;
}

.expect-card:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.72), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,.52), transparent);
}

.expect-card > *{
    position:relative;
    z-index:1;
}

.expect-card-1{
    background:linear-gradient(145deg, rgba(255,247,248,.92), rgba(255,255,255,.72));
}

.expect-card-2{
    background:linear-gradient(145deg, rgba(255,239,241,.88), rgba(255,255,255,.70));
}

.expect-card-3{
    background:linear-gradient(145deg, rgba(255,229,233,.82), rgba(255,255,255,.68));
}

.expect-card-4{
    background:linear-gradient(145deg, rgba(255,218,224,.76), rgba(255,255,255,.66));
}

.expect-card .card-number{
    color:rgba(227,6,19,.26);
}

.support-footer{
    padding:58px 0 86px;
}

.footer-panel{
    width:min(840px,90%);
    margin:auto;
    background:
        radial-gradient(circle at top right, rgba(227,6,19,.08), transparent 34%),
        linear-gradient(180deg,#F4FAFB 0%, #EEF5F7 100%);
    border:1px solid rgba(209,216,226,.8);
    border-radius:24px;
    padding:46px 52px;
    box-shadow:0 22px 56px rgba(17,24,39,.07);
    text-align:left;
}

.footer-panel h2{
    font-size:2.55rem;
    line-height:1.08;
    max-width:620px;
    margin:0 0 18px;
    letter-spacing:-.035em;
}

.footer-phone{
    display:inline-block;
    font-size:2.45rem;
    line-height:1.05;
    font-weight:850;
    margin:18px 0 14px;
    color:var(--medmonk-red);
    letter-spacing:-.02em;
}

.footer-panel p{
    max-width:680px;
}

.footer-links{
    border-top:1px solid rgba(17,24,39,.09);
    padding-top:22px;
    margin-top:28px;
}

.footer-disclaimer{
    color:#667085;
}

@media(max-width:768px){
    .footer-panel{
        padding:34px 28px;
        width:min(92%, 840px);
    }

    .footer-panel h2{
        font-size:2rem;
    }

    .footer-phone{
        font-size:2rem;
    }
}
