/* Medix 10 — capsule hero, B2B, responsive polish */
:root{--b2b-forest:#123d30;--b2b-sage:#37775c;--b2b-soft:#b8cdbb}
html{scroll-padding-top:26px}body{overflow-x:hidden}a,button{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}
.top-actions{align-items:center}.business-shortcut{border:1px solid #c9dfcf;border-radius:15px;background:#e5f2e8;color:#174c3a;font-size:13px;font-weight:850;white-space:nowrap;padding:13px 15px;transition:transform .25s,background .25s;box-shadow:0 4px 18px #174c3a08}
.business-shortcut span{font-size:17px;margin-left:6px}.business-shortcut:hover{background:#d5ead9;transform:translateY(-2px)}.business-shortcut:focus-visible{outline:3px solid #6ba783;outline-offset:3px}
@media(min-width:1050px){.business-shortcut{display:none}.nav .b2b-nav-link{margin-top:14px;border-top:1px solid #e7eee7;padding-top:18px;border-radius:12px;color:#184c39}.nav .b2b-nav-link.active{background:#174c3a;color:#fff}}
@media(max-width:1049px){.nav .b2b-nav-link{display:none!important}}
@media(max-width:390px){.business-shortcut{font-size:11px;padding:11px 9px;border-radius:12px}.business-shortcut span{margin-left:1px}.top .logo{font-size:21px}.top .logo img{width:37px;height:37px}.top-actions{gap:5px}.top-actions .icon-btn{width:42px;height:42px}.top-actions>.icon-btn:last-child{display:none}}
@media(min-width:391px) and (max-width:700px){.top-actions>.icon-btn:last-child{display:none}}
/* Resilient responsive spacing and touch targets */
@media(max-width:540px){.shell{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:calc(115px + env(safe-area-inset-bottom))}.page .intro{gap:11px}.page .intro h1{font-size:clamp(31px,8.8vw,43px);letter-spacing:-1.3px}.grid,.stat-row{min-width:0}.card{overflow-wrap:anywhere}.nav{overflow:hidden;max-width:calc(100% - 16px)}.nav button{min-width:0;max-width:100%;font-size:10px}.nav button span{font-size:20px}}
/* Capsule art: lightweight CSS, no image overlays on iOS */
.hero{isolation:isolate;min-height:274px}.hero>.eyebrow,.hero>h2,.hero>p,.hero>.btn{position:relative;z-index:3}.hero>h2{max-width:67%;font-size:clamp(28px,3.2vw,38px)}.hero>p{max-width:62%}.hero>.btn{margin-top:2px}
.hero .medix-pill-scene{position:absolute!important;z-index:1!important;right:2%;top:7%;bottom:auto;width:min(38%,230px);max-width:none;aspect-ratio:1;opacity:1!important;display:flex;align-items:center;justify-content:center;pointer-events:none;filter:none!important}
.medix-pill-scene .pill-orbit{position:absolute;border:1px solid #c7f0d43a;border-radius:50%;width:100%;height:100%;animation:orbitBreathe 8s ease-in-out infinite}.medix-pill-scene .pill-orbit--inner{width:72%;height:72%;border-color:#b8dfca36;animation-delay:-3s}.medix-pill-scene .pill-3d{width:63%;aspect-ratio:2.05/1;border:1px solid #fff9;border-radius:100px;position:relative;box-shadow:0 18px 25px #082c2252, inset 1px 4px 9px #ffffff91, inset 0 -8px 10px #0b684450;transform:rotate(-31deg);background:linear-gradient(93deg,#fffefa 0%,#e5f0e4 48.5%,#a1d2ac 49%,#7cb69a 100%);animation:capsuleFloat 7s ease-in-out infinite;overflow:hidden}.medix-pill-scene .pill-3d:after{content:'';position:absolute;left:49%;top:0;bottom:0;border-left:2px solid #548a728c;box-shadow:2px 0 4px #fff7}.medix-pill-scene .pill-shine{position:absolute;left:12%;right:10%;top:10%;height:30%;border-radius:90%;background:linear-gradient(#ffffff9c,#fff0);filter:blur(2px)}.medix-pill-scene .pill-spark{position:absolute!important;color:#c0f3cd!important;font-size:27px!important;width:auto!important;inset:auto!important;border:none!important;display:block;animation:sparkle 4s ease-in-out infinite!important}.medix-pill-scene .pill-spark--one{left:12%!important;top:10%!important}.medix-pill-scene .pill-spark--two{right:10%!important;bottom:13%!important;font-size:20px!important;animation-delay:-1.5s!important}
@keyframes capsuleFloat{0%,100%{transform:translateY(2px) rotate(-31deg)}50%{transform:translateY(-13px) rotate(-25deg)}}@keyframes orbitBreathe{50%{transform:scale(1.06);opacity:.65}}@keyframes sparkle{50%{transform:scale(.55) rotate(35deg);opacity:.4}}
@media(min-width:681px) and (max-width:1050px){.hero>h2{max-width:65%}.hero>p{max-width:60%}}
@media(max-width:680px){.hero{min-height:0;display:flex;flex-direction:column;align-items:flex-start;padding:23px!important}.hero>h2{max-width:100%;font-size:clamp(29px,7vw,35px)}.hero>p{max-width:100%;font-size:14px}.hero>.btn{font-size:14px;padding:12px 14px}.hero .medix-pill-scene{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;margin:6px auto -8px;width:165px;min-height:145px;max-width:46%;aspect-ratio:1}.hero .pill-3d{width:77%}}
/* B2B landing: compact editorial dashboard */
#business{max-width:100%;min-width:0}#business .b2b-hero{position:relative;overflow:hidden;isolation:isolate;min-height:450px;display:grid;grid-template-columns:1fr minmax(260px,.9fr);gap:24px;align-items:center;padding:clamp(24px,5vw,52px);border-radius:34px;background:linear-gradient(115deg,#123b2e,#1b5641 57%,#2c7657);color:#fff;box-shadow:0 20px 55px #174c3a16}
#business .b2b-hero:before{content:'';position:absolute;z-index:-1;right:-13%;top:-43%;height:95%;aspect-ratio:1;border:1px solid #d1f2d42b;border-radius:50%;box-shadow:0 0 0 65px #d9ffe509,0 0 0 143px #d9ffe508;animation:orbBreathe 12s ease infinite}
#business .b2b-kicker{font-size:11px;font-weight:900;letter-spacing:2px;color:#c9ecdb;display:flex;align-items:center;gap:8px}.b2b-live-dot{width:8px;height:8px;background:#b6deac;border-radius:50%;box-shadow:0 0 0 5px #b6deac20;animation:softPulse 3s infinite}
#business .b2b-hero h1{color:#fff;font-size:clamp(34px,4vw,54px);letter-spacing:-2.2px;max-width:600px;line-height:1.04;margin:18px 0}#business .b2b-hero h1 em{font-style:normal;color:#b2d9bc}#business .b2b-hero-copy>p{color:#d8ede0;line-height:1.7;font-size:15px;max-width:470px}#business .b2b-hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}#business .b2b-white-btn{background:#fff;color:#174c3a}#business .b2b-outline-btn{background:transparent;border:1px solid #ffffff65;color:white;box-shadow:none}#business .b2b-outline-btn:hover{background:#ffffff1c}#business .b2b-hero-note{color:#c3dacb;font-size:11px;margin-top:20px}
.b2b-dashboard{border:1px solid #ffffff59;background:#f8fbf7f9;border-radius:22px;box-shadow:0 30px 70px #001c1759,0 2px 0 #fff8 inset;color:#173b2d;max-width:425px;width:100%;justify-self:end;padding:17px;transform:rotate(2deg);transition:transform .55s cubic-bezier(.2,.8,.15,1)}@media(hover:hover){.b2b-dashboard:hover{transform:rotate(0deg) translateY(-5px)}}
.dashboard-top{display:flex;align-items:center;gap:10px;justify-content:space-between;color:#7b8c80;font-size:10px;padding-bottom:13px}.dashboard-dots{display:flex;gap:4px}.dashboard-dots i{width:7px;height:7px;border-radius:50%;background:#cbded0}.dashboard-dots i:first-child{background:#e8b09a}.dashboard-dots i:nth-child(2){background:#e7d6aa}.dash-demo{font-size:9px;font-weight:900;letter-spacing:1px;background:#e3f0e7;padding:5px 8px;border-radius:7px;color:#31694d}.dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dashboard-summary>div{border:1px solid #e1ece0;border-radius:12px;padding:13px 8px;background:white}.dashboard-summary small{display:block;font-size:9px;color:#859388;line-height:1.25}.dashboard-summary strong{display:block;color:#174c3a;font-size:27px;line-height:1.2;margin-top:6px}.dashboard-chart{margin:12px 0;padding:13px 14px;border-radius:12px;background:#fff;border:1px solid #e9efea}.dashboard-chart-top{display:flex;justify-content:space-between;font-size:11px;gap:8px}.dashboard-chart-top small{color:#859388}.dashboard-bars{height:70px;display:flex;gap:12px;align-items:end;border-bottom:1px solid #e8f0e9;padding:7px 7px 0}.dashboard-bars i{flex:1;height:var(--h);border-radius:5px 5px 0 0;background:linear-gradient(0deg,#39775c,#a6cfab);animation:growChart .8s backwards;animation-delay:var(--delay)}.dashboard-patient{display:flex;align-items:center;gap:9px;font-size:10px;border-bottom:1px solid #e7eee7;padding:9px 2px}.dashboard-patient>span:nth-child(2){display:grid;gap:3px;flex:1}.dashboard-patient small{font-size:9px;color:#7d8b80}.patient-avatar{background:#e2f0e3;border-radius:10px;width:29px;height:29px;display:grid;place-items:center;color:#276b49;font-weight:800}.patient-avatar.peach{background:#f8e9d5;color:#89663c}.patient-badge{background:#e8f3e9;color:#34684d;padding:6px 7px;border-radius:10px;font-size:9px;white-space:nowrap}.patient-badge.pending{background:#fff2e1;color:#a36727}
.b2b-section-label{color:#3c8060;letter-spacing:2.5px;font-size:12px;font-weight:900;margin:45px 0 10px}.b2b-heading-row{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:23px}.b2b-heading-row h2,#business .b2b-process h2{font-size:clamp(26px,3.2vw,39px);letter-spacing:-1.6px;max-width:500px;margin:0}.b2b-heading-row p{font-size:14px;line-height:1.6;color:#708479;max-width:340px;margin:0}
.b2b-segments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.b2b-tile{border:1px solid #e0ebdf;position:relative;min-width:0;min-height:234px;padding:23px 19px 18px;border-radius:24px;background:#fff;box-shadow:0 7px 30px #174c3a0a;transition:transform .32s var(--ease),box-shadow .32s var(--ease)}@media(hover:hover){.b2b-tile:hover{transform:translateY(-6px);box-shadow:0 22px 46px #174c3a15}}.b2b-icon{width:42px;height:42px;border-radius:14px;background:#e5f1e7;color:#21583e;display:grid;place-items:center;font-size:24px;margin-bottom:18px}.b2b-tile h3{font-size:17px;letter-spacing:-.5px;line-height:1.2;margin-bottom:11px}.b2b-tile p{font-size:13px;line-height:1.6;color:#75847a;margin:0 0 15px}.tile-index{position:absolute;bottom:17px;right:18px;font-size:10px;letter-spacing:1px;color:#adbcaf}
.b2b-process{display:grid;grid-template-columns:1.13fr .87fr;gap:18px;margin:0}.b2b-process-copy{padding:34px 34px;border:1px solid #e2ece1;border-radius:27px;background:white}.b2b-process-copy>p{max-width:520px;font-size:14px;line-height:1.7;color:#74887b;margin:16px 0 22px}.b2b-step{display:flex;gap:18px;border-top:1px solid #ecf1eb;padding:17px 0 0;margin-top:16px}.b2b-step>b{font-size:14px;color:#568e6c}.b2b-step div{display:grid;gap:6px}.b2b-step strong{font-size:15px}.b2b-step span{font-size:13px;color:#728579;line-height:1.5}.b2b-feature-card{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#d6ead9,#a4c7b0);border:1px solid #bad7bf;border-radius:27px;min-height:340px;display:flex;flex-direction:column;justify-content:flex-end;padding:30px}.b2b-feature-card>strong{font-size:26px;letter-spacing:-.8px;position:relative;z-index:2}.b2b-feature-card>p{line-height:1.5;font-size:13px;max-width:260px;position:relative;z-index:2}.b2b-feature-orb{position:absolute;top:24px;right:13%;width:186px;height:186px;border:1px solid #ffffff9a;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 36px #ffffff2f}.feature-capsule{display:block;width:96px;height:46px;border-radius:70px;background:linear-gradient(90deg,#fff 49%,#4a8d6c 50%);transform:rotate(-33deg);box-shadow:0 18px 18px #416e543a;animation:capsuleFloat 7s ease-in-out infinite}.b2b-feature-card .feature-label{font-size:10px;letter-spacing:1px;font-weight:800;color:#24563d;z-index:1;margin-top:12px}
.b2b-pilot{scroll-margin-top:22px;display:grid;grid-template-columns:1fr minmax(280px,.9fr);gap:25px;margin-top:35px;padding:35px;border-radius:30px;background:linear-gradient(125deg,#e8f0e7,#f7f7f1);border:1px solid #dbe8da}.b2b-pilot-copy{padding:14px 13px}.b2b-pilot-copy h2{font-size:clamp(28px,3.1vw,40px);line-height:1.1;letter-spacing:-1.5px;margin-top:15px}.b2b-pilot-copy>p{font-size:14px;line-height:1.7;color:#607868;max-width:380px}.b2b-form-facts{display:grid;gap:12px;font-size:14px;font-weight:700;color:#2f674c;margin-top:25px}.b2b-pilot-copy .b2b-warning{font-size:11px;color:#718778;margin-top:24px}
.b2b-form{border:1px solid #e4ece5;border-radius:25px;background:white;padding:24px;box-shadow:0 12px 38px #16433210}.b2b-form-title{display:flex;justify-content:space-between;font-size:21px;letter-spacing:-.7px;font-weight:850;margin:3px 0 13px}.b2b-form-title span{color:#54876c}.b2b-form .field{font-size:12px;margin:10px 0}.b2b-form .field input{min-height:46px;background:#f8fbf7;font-size:14px}.b2b-form .optional{font-weight:400;color:#84958b}.b2b-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:#5b6f61;margin:14px 0;cursor:pointer}.b2b-consent input{margin:2px 0 0;min-width:18px;height:18px;accent-color:#174c3a}.b2b-send{width:100%;justify-content:space-between}.b2b-status{min-height:18px;color:#2d7553;font-weight:750;font-size:12px;line-height:1.45;margin:10px 0}.b2b-status.error{color:#ab573d}.b2b-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.b2b-footer{display:flex;align-items:center;gap:10px;padding:28px 4px 5px;font-size:13px;color:#7e8b80}.b2b-footer img{height:28px;width:28px}.b2b-footer button{margin-left:auto}
@keyframes growChart{from{transform:scaleY(.08);transform-origin:bottom;opacity:.4}to{transform:scaleY(1);transform-origin:bottom;opacity:1}}@keyframes softPulse{50%{box-shadow:0 0 0 9px #b6deac08}}
/* tablets and small laptops */
@media(max-width:1120px){.b2b-segments{grid-template-columns:repeat(2,minmax(0,1fr))}.b2b-tile{min-height:190px}#business .b2b-hero{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);padding:30px}.b2b-pilot{grid-template-columns:1fr 1fr;padding:25px}}
@media(max-width:760px){#business .b2b-hero{grid-template-columns:1fr;padding:25px;border-radius:25px;gap:22px}.b2b-dashboard{max-width:480px;justify-self:center;transform:none}#business .b2b-hero h1{font-size:clamp(31px,7vw,43px);letter-spacing:-1.3px}#business .b2b-hero h1 br{display:none}.b2b-heading-row{display:block}.b2b-heading-row p{margin-top:12px}.b2b-section-label{margin:35px 0 10px}.b2b-process,.b2b-pilot{grid-template-columns:1fr}.b2b-feature-card{min-height:270px}.b2b-pilot{padding:16px;border-radius:23px}.b2b-form{padding:19px}.b2b-process-copy{padding:23px}.b2b-footer{flex-wrap:wrap}.b2b-footer button{margin-left:0}}
@media(max-width:460px){.b2b-segments{grid-template-columns:1fr}.b2b-tile{min-height:unset;padding-bottom:39px}.b2b-dashboard{padding:11px}.dashboard-summary>div{padding:10px 7px}.dashboard-summary strong{font-size:23px}.b2b-hero-buttons .btn{width:100%}.b2b-hero-copy>p{font-size:13px}#business .b2b-hero{padding:20px}.b2b-section-label{font-size:10px}.b2b-pilot-copy{padding:12px 7px}.b2b-footer{padding-bottom:12px}}
@media(hover:none){.b2b-dashboard,.b2b-tile{transition:none}.business-shortcut:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.hero .medix-pill-scene *,.dashboard-bars i,.b2b-live-dot,.feature-capsule,#business .b2b-hero:before{animation:none!important}html{scroll-behavior:auto}}

/* Medix 11: distinct multi-organization B2B samples, Nsk pilot leads */
.b2b-dual-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.b2b-form .field select{width:100%;min-height:48px;border:1px solid #d8e8da;background:#f8fbf7;border-radius:12px;color:#184736;font:inherit;font-size:14px;padding:10px 12px}
.b2b-form .field select:focus-visible,.org-chip:focus-visible{outline:3px solid #8bcda1;outline-offset:2px}
.org-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:3px 0 12px}
.org-chip{font-size:10px;line-height:1.2;min-height:35px;padding:6px 3px;border:1px solid #d9e6db;border-radius:9px;background:#f5f8f5;color:#4c735c;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}
.org-chip.current{background:#174c3a;color:#fff;border-color:#174c3a}
@media(hover:hover){.org-chip:hover{transform:translateY(-2px)}}
.dash-organization{font-weight:850;letter-spacing:-.2px;color:#173f31;font-size:13px;margin:0 0 10px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.dash-organization span{font-size:9px;font-weight:900;text-transform:uppercase;color:#446d54;background:#e4f1e6;padding:4px 7px;border-radius:6px}
.partner-source-card{display:flex;gap:18px;align-items:flex-start;background:linear-gradient(120deg,#fff,#eff7ed)!important}
.partner-source-icon{font-size:32px;background:#dceee0;color:#27593e;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;flex:none}
.partner-source-card p{color:#637a6b;line-height:1.6;max-width:680px}
.partner-source-card .source-note{color:#315d46;font-size:12px;background:#e7f3e7;border-radius:13px;padding:12px 13px}
@media(max-width:510px){.b2b-dual-fields{grid-template-columns:1fr}.org-chip{font-size:9px}.partner-source-card{display:block}.partner-source-icon{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.org-chip{transition:none}}
