:root{color-scheme:light;--ink:#111318;--muted:#626b78;--line:#e8ebf0;--blue:#2563eb;--blue-light:#60a5fa;--paper:#fff;--soft:#f6f8fb;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:0 clamp(22px,6vw,88px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(20,30,50,.08);background:rgba(255,255,255,.94);position:sticky;top:0;z-index:20;backdrop-filter:saturate(160%) blur(16px)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:800;letter-spacing:-.055em;white-space:nowrap}.brand-name{color:#60a5fa;font-weight:800}.brand{gap:8px}.topbar nav{display:flex;gap:clamp(18px,3vw,38px);font-size:13px;color:#515b6a}.topbar nav a,.footer a{transition:color .2s}.topbar nav a:hover,footer a:hover{color:var(--blue)}.nav-cta{font-size:13px;font-weight:750}.nav-cta span,.text-link b{color:var(--blue)}.hero{min-height:calc(100svh - 76px);padding:90px 22px 72px;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 47%,rgba(219,234,254,.36),transparent 39%),#fff}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.2em;color:#737d8c;margin:0}.hero-title{font-size:clamp(72px,12vw,148px);line-height:.92;letter-spacing:-.09em;margin:0;font-weight:800}.typing-word{color:#3b82f6;background:linear-gradient(100deg,#2563eb 15%,#60a5fa 55%,#38bdf8 95%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;position:relative}.typing-word:after{content:"";display:inline-block;width:3px;height:.72em;background:#60a5fa;margin-left:8px;vertical-align:-.02em;animation:caret 1s steps(2) infinite}.hero-orb{width:clamp(150px,22vw,250px);height:clamp(150px,22vw,250px);margin:5px 0 0;display:grid;place-items:center;position:relative}.orb-video{position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 35px rgba(37,99,235,.12));background:transparent;opacity:0;transition:opacity .25s}.orb-video.orb-ready{opacity:1}.hero-copy{max-width:580px;color:var(--muted);font-size:clamp(15px,1.8vw,18px);line-height:1.7;margin:0 auto}.button{min-height:48px;padding:0 21px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:13px;font-weight:750;transition:transform .2s,background .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:#2563eb;color:#fff;box-shadow:0 8px 22px rgba(37,99,235,.18)}.button-primary:hover{background:#174dc4;box-shadow:0 12px 26px rgba(37,99,235,.24)}.hero-button{margin-top:28px}.scroll-cue{position:absolute;bottom:25px;width:22px;height:34px;border:1px solid #cbd5e1;border-radius:14px;display:flex;justify-content:center;padding-top:7px}.scroll-cue span{width:3px;height:6px;background:#60a5fa;border-radius:4px;animation:scrollDot 1.5s infinite}.section-wrap{max-width:var(--max);margin:0 auto;padding-left:clamp(22px,6vw,80px);padding-right:clamp(22px,6vw,80px)}.ecosystem{padding-top:125px;padding-bottom:130px}.section-heading{text-align:center;margin-bottom:52px}.section-heading h2,.experience-copy h2,.why-copy h2,.final-cta h2{font-size:clamp(42px,6.5vw,76px);line-height:.99;letter-spacing:-.075em;font-weight:760;margin:22px 0 15px}.section-heading h2 span,.experience-copy h2 span,.why-copy h2 span{color:#8a94a4}.section-lead{font-size:15px;color:var(--muted);margin:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{min-height:300px;border:1px solid var(--line);border-radius:13px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;background:#fff;transition:transform .25s,border-color .25s,box-shadow .25s}.product-card:hover{transform:translateY(-4px);border-color:#c8d8f8;box-shadow:0 18px 45px rgba(25,45,80,.07)}.product-max{background:linear-gradient(145deg,#f4f8ff,#fff 75%)}.product-future{background:#f8fafc}.product-symbol{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;margin-bottom:30px}.max-symbol{background:transparent;overflow:visible}.home-symbol{background:#eaf2ff;position:relative}.home-roof{position:absolute;width:20px;height:20px;border-left:3px solid #2563eb;border-top:3px solid #2563eb;transform:rotate(45deg);top:11px;border-radius:2px}.home-base{position:absolute;width:23px;height:18px;border:3px solid #2563eb;border-top:0;bottom:10px;border-radius:0 0 3px 3px}.music-symbol{background:#f1edff;color:#7256d9;font-size:29px}.graph-symbol{background:#e9f8f7;position:relative}.graph-symbol i{position:absolute;width:8px;height:8px;border-radius:50%;background:#0f9d91}.graph-symbol i:nth-child(1){top:10px;left:20px}.graph-symbol i:nth-child(2){bottom:10px;left:10px}.graph-symbol i:nth-child(3){bottom:10px;right:10px}.graph-symbol i:nth-child(4){top:21px;right:8px;width:6px;height:6px}.code-symbol{background:#eef2ff;color:#465dd7;font-size:19px;font-weight:800}.future-symbol{background:#f0f2f5;color:#7b8491;font-size:28px}.product-kicker{font-size:9px;font-weight:800;letter-spacing:.16em;color:#7a8493}.product-card h3{font-size:25px;letter-spacing:-.055em;margin:10px 0 9px}.product-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 24px;max-width:280px}.product-link{margin-top:auto;font-size:12px;font-weight:750}.product-link b{color:var(--blue);margin-left:5px}.experience-section{padding:120px max(22px,calc((100vw - 1120px)/2));display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(40px,8vw,110px);align-items:center;min-height:650px}.music-section{background:#f6f9ff}.home-section{background:#fff}.code-section{background:#f7f8fa}.experience-copy{max-width:390px}.experience-copy h2{font-size:clamp(44px,5.6vw,68px);margin-top:23px}.experience-copy>p:last-child{color:var(--muted);font-size:16px;line-height:1.75;max-width:330px;margin-top:22px}.demo-frame{min-width:0;aspect-ratio:1.42;position:relative;overflow:hidden;border:1px solid rgba(30,50,80,.1);border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(24,45,80,.1)}.demo-fallback{position:absolute;inset:0;padding:clamp(18px,3vw,34px);display:flex;flex-direction:column;z-index:1}.demo-topline{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.06em}.demo-live{margin-left:auto;color:#7b8798;font-size:8px;letter-spacing:.15em}.voice-wave{height:68px;display:flex;align-items:center;gap:6px;margin:30px auto 12px}.voice-wave i{display:block;width:5px;border-radius:5px;background:linear-gradient(#8cc4ff,#3478ef);height:var(--h,20px)}.voice-wave i:nth-child(3n){--h:43px}.voice-wave i:nth-child(3n + 1){--h:27px}.voice-wave i:nth-child(4n){--h:55px}.demo-quote{text-align:center;font-size:clamp(17px,2vw,24px);letter-spacing:-.04em;font-weight:650;margin:0 auto 28px}.track-row{margin:auto auto 0;width:min(100%,390px);padding:13px;border:1px solid #e8edf5;border-radius:12px;display:flex;align-items:center;gap:12px}.track-art{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,#202b46,#8665c8);color:#fff;display:grid;place-items:center;font-size:24px}.track-row strong,.track-row small{display:block}.track-row strong{font-size:13px}.track-row small{font-size:11px;color:#798394;margin-top:3px}.track-playing{margin-left:auto;font-size:8px;letter-spacing:.12em;color:#2563eb;font-weight:800}.demo-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#080a10;z-index:2;opacity:0;transition:opacity .25s}.demo-frame.has-video .demo-video{opacity:1}.demo-frame.has-video .demo-fallback{opacity:0}.demo-caption{position:absolute;z-index:3;bottom:14px;right:17px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#7d8796;pointer-events:none}.home-fallback{background:linear-gradient(145deg,#fff,#f4f8ff)}.home-dashboard{width:min(100%,420px);margin:28px auto 10px;padding:20px;border:1px solid #e7edf5;border-radius:13px;background:rgba(255,255,255,.86)}.home-dash-head span,.home-dash-head strong{display:block}.home-dash-head span{font-size:10px;color:#7b8797}.home-dash-head strong{font-size:17px;margin-top:5px;letter-spacing:-.04em}.device-count{display:flex;align-items:baseline;gap:9px;margin-top:22px}.device-count strong{font-size:42px;letter-spacing:-.08em}.device-count span{font-size:12px;color:#697586}.device-count b{font-size:9px;color:#0c9b70;margin-left:auto}.device-bars{display:flex;gap:6px;margin-top:15px}.device-bars i{height:5px;border-radius:4px;background:#dbeafe;flex:1}.device-bars i:first-child{background:#3b82f6}.small-quote{font-size:clamp(14px,1.5vw,18px);margin-top:auto;margin-bottom:18px}.code-fallback{background:#101827;color:#dbe7fa;padding:0}.editor-bar{height:45px;background:#182437;border-bottom:1px solid #29364b;display:flex;align-items:center;padding:0 17px;gap:6px}.editor-bar>span{width:7px;height:7px;border-radius:50%;background:#65748a}.editor-bar>span:first-child{background:#f28b82}.editor-bar>span:nth-child(2){background:#fbbc04}.editor-bar>span:nth-child(3){background:#81c995}.editor-bar label{font-size:10px;color:#aab7c9;margin-left:12px}.editor-content{padding:clamp(24px,4vw,50px);display:grid;grid-template-columns:28px 1fr;gap:17px 14px;font:13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.line-no{color:#62718a}.editor-content strong{font-size:clamp(16px,2vw,22px);color:#f4f7fc}.syntax{color:#8fc5ff}.muted-syntax{color:#8795a9}.cursor-block{height:17px;width:8px;background:#68a8ff;animation:caret 1s steps(2) infinite}.editor-status{position:absolute;bottom:0;left:0;right:0;padding:10px 17px;background:#182437;display:flex;justify-content:space-between;color:#8b9bb1;font-size:8px;letter-spacing:.12em}.why-section{max-width:var(--max);margin:0 auto;padding:135px clamp(22px,8vw,110px);display:grid;grid-template-columns:.7fr 1.3fr;gap:80px;align-items:center}.why-copy h2{font-size:clamp(40px,5.4vw,64px)}.why-copy>p:not(.eyebrow){max-width:570px;font-size:16px;line-height:1.8;color:var(--muted);margin:23px 0}.text-link{font-size:13px;font-weight:750}.final-cta{padding:110px 22px 120px;text-align:center;background:#f5f8fd}.final-cta h2{font-size:clamp(43px,6vw,72px);margin:22px 0 28px}.final-cta .button{margin:auto}footer{min-height:92px;padding:25px clamp(22px,6vw,88px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#778190;font-size:11px}footer .brand{color:var(--ink)}footer div{display:flex;gap:20px}@keyframes caret{50%{opacity:0}}@keyframes scrollDot{0%,100%{transform:translateY(0);opacity:1}70%{transform:translateY(8px);opacity:.2}}@media(max-width:850px){.topbar{padding:0 22px}.topbar nav{gap:15px;font-size:12px}.experience-section{grid-template-columns:1fr;gap:35px;padding-top:85px;padding-bottom:85px}.experience-copy{max-width:600px}.experience-copy h2 br{display:none}.demo-frame{width:100%}.why-section{gap:45px}}@media(max-width:650px){.topbar{height:64px}.topbar nav{display:none}.hero{min-height:calc(92svh - 64px);padding-top:70px}.hero-title{font-size:clamp(70px,18vw,110px)}.hero-orb{width:190px;height:190px}.hero-copy{max-width:360px}.ecosystem{padding-top:85px;padding-bottom:85px}.section-heading{margin-bottom:34px}.product-grid{grid-template-columns:1fr;gap:11px}.product-card{min-height:230px;padding:23px}.product-symbol{margin-bottom:22px}.experience-section{padding:78px 20px;gap:28px}.experience-copy h2{font-size:49px}.demo-frame{aspect-ratio:1.05;border-radius:13px}.demo-fallback{padding:19px}.voice-wave{margin-top:22px}.demo-caption{font-size:8px}.why-section{grid-template-columns:1fr;gap:36px;padding-top:85px;padding-bottom:85px}.why-copy{text-align:center}.why-copy h2{font-size:46px}.why-copy h2 span{display:inline-block}.why-copy>p:not(.eyebrow){font-size:14px}.final-cta{padding:85px 20px}.final-cta h2{font-size:48px}footer{flex-wrap:wrap;padding-top:28px;padding-bottom:28px}footer>span{order:3;width:100%}footer div{gap:14px;font-size:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Use the supplied MAX AI artwork as the actual brand mark. */
.brand{gap:0}
.brand-logo{display:block;width:clamp(112px,10vw,142px);height:38px;max-width:100%;object-fit:contain;object-position:left center}
footer .brand-logo{width:128px;height:36px}
/* Keep the hero Orb strictly inside its own hero slot; it must never stick or float over later sections. */
.hero-orb{position:relative!important;inset:auto!important;align-self:center;isolation:isolate;transform:none!important}
.orb-video{position:absolute!important;inset:0!important;width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}



.max-symbol{background:transparent;overflow:hidden;}
.product-logo{display:block;width:100%;height:100%;object-fit:contain;}
.mini-logo{display:block;width:23px;height:23px;object-fit:contain;flex:0 0 23px;}
.why-logo-wrap{width:min(100%,300px);aspect-ratio:1.35;display:grid;place-items:center;position:relative;}
.why-logo{display:block;width:100%;height:100%;object-fit:contain;}
@media(max-width:650px){.why-logo-wrap{width:190px;}}

/* The hero uses the real MAX Orb video; never draw a CSS sphere behind it. */
.hero-orb:before{content:none!important;display:none!important}
.hero-orb{position:relative!important;inset:auto!important;transform:none!important;overflow:visible}
.orb-video{position:absolute!important;inset:0!important;width:100%;height:100%;object-fit:contain;pointer-events:none;background:transparent;opacity:1!important}


/* Shared MAX blue identity and softer rounded actions. */
:root{--max-blue-start:#2563eb;--max-blue-mid:#60a5fa;--max-blue-end:#38bdf8;--max-blue-gradient:linear-gradient(105deg,var(--max-blue-start) 8%,var(--max-blue-mid) 58%,var(--max-blue-end) 100%)}
.typing-word{background:var(--max-blue-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.typing-word:after{background:var(--max-blue-mid)}
.hero-title{font-size:clamp(84px,14vw,172px);line-height:.9;letter-spacing:-.095em}
.hero-orb{width:clamp(230px,30vw,350px);height:clamp(230px,30vw,350px);margin:10px 0 2px}
.button{min-height:54px;padding:0 30px;border-radius:999px;gap:10px;font-size:14px;letter-spacing:-.01em}
.button-primary{background:var(--max-blue-gradient);box-shadow:0 10px 28px rgba(37,99,235,.2)}
.button-primary:hover{background:linear-gradient(105deg,#1d4ed8 8%,#3b82f6 58%,#0ea5e9 100%);box-shadow:0 14px 32px rgba(37,99,235,.25)}
.hero-button{margin-top:30px}
.section-heading h2 .accent-text{background:var(--max-blue-gradient);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.product-link.product-action{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 21px;border-radius:999px;background:var(--max-blue-gradient);color:#fff;font-size:12px;font-weight:750;letter-spacing:.005em;box-shadow:0 7px 18px rgba(37,99,235,.15);transition:transform .2s,box-shadow .2s}
.product-card:hover .product-link.product-action{transform:translateY(-1px);box-shadow:0 10px 22px rgba(37,99,235,.22)}
.product-link.product-action b{display:none}
.home-symbol{background:#f1f6ff;overflow:hidden}
.home-product-icon{display:block;width:100%;height:100%;padding:5px;object-fit:contain}
.final-cta .button{margin:auto}
@media(max-width:650px){
 .hero-title{font-size:clamp(76px,19vw,124px)}
 .hero-orb{width:clamp(220px,68vw,290px);height:clamp(220px,68vw,290px);margin-top:8px}
 .button{min-height:52px;padding:0 27px}
}


/* Recovered MAX navigation: original inline SVG artwork from the legacy max-web index. */
.topbar{position:sticky;top:0;z-index:40;overflow:visible}
.main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2vw,28px);min-width:0}
.nav-link{display:inline-flex;align-items:center;gap:8px;color:#536071;font-size:12px;font-weight:700;white-space:nowrap;transition:color .18s ease}
.nav-link svg,.nav-cta svg{width:16px;height:16px;flex:0 0 16px}
.nav-link:hover,.nav-link:focus-visible{color:var(--blue)}
.header-actions{display:flex;align-items:center;gap:12px}
.nav-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 21px;border-radius:999px;background:var(--max-blue-gradient);color:#fff;font-size:13px;font-weight:750;box-shadow:0 9px 24px rgba(37,99,235,.2);transition:transform .2s,box-shadow .2s}
.nav-cta:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(37,99,235,.26)}
.nav-cta svg{stroke:currentColor}
.menu-toggle{display:none;width:42px;height:42px;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:0;border-radius:50%;background:#edf2fa;cursor:pointer}
.menu-toggle span{height:2px;width:19px;background:#202b3b;border-radius:3px;transition:transform .2s,width .2s}
.menu-toggle span:nth-child(2){width:12px;align-self:flex-end;margin-right:11px}
.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){width:19px;transform:translateY(-4px) rotate(-45deg);margin-right:0}
.topbar .mobile-nav{display:none}
.ecosystem-directory{max-width:var(--max);margin:0 auto;padding:34px clamp(22px,6vw,80px) 115px;scroll-margin-top:95px}
.ecosystem-logo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 18px;align-items:stretch}
.ecosystem-logo-item{min-width:0;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:20px 12px;border:1px solid transparent;border-radius:18px;color:#182230;text-align:center;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.ecosystem-logo-item img{display:block;width:82px;height:72px;object-fit:contain;transition:transform .22s ease}
.ecosystem-logo-item span{font-size:13px;font-weight:750;letter-spacing:-.02em}
a.ecosystem-logo-item:hover{transform:translateY(-4px);background:#f8fbff;border-color:#e4ecf8;box-shadow:0 12px 30px rgba(25,45,80,.06)}
a.ecosystem-logo-item:hover img{transform:scale(1.06)}
.ecosystem-logo-upcoming{opacity:.8;cursor:default}
.ecosystem-logo-upcoming img{filter:saturate(.9)}
@media(max-width:1050px){.main-nav{gap:13px}.nav-link{font-size:11px;gap:6px}.ecosystem-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){
 .main-nav{display:none}
 .menu-toggle{display:flex}
 .topbar .mobile-nav{display:flex;position:fixed;top:76px;right:0;bottom:0;width:min(360px,88vw);padding:24px 22px;flex-direction:column;align-items:stretch;gap:5px;background:#fff;border-left:1px solid #e8edf5;box-shadow:-20px 0 50px rgba(20,35,60,.12);transform:translateX(105%);transition:transform .24s ease;pointer-events:none;z-index:39}
 .mobile-nav.open{transform:translateX(0);pointer-events:auto}
 .mobile-nav .nav-link{padding:15px 12px;border-radius:11px;font-size:13px}
 .mobile-nav .nav-link:hover{background:#f4f8ff}
 .mobile-chat-link{margin-top:14px;background:var(--max-blue-gradient);color:#fff!important;justify-content:center}
 .mobile-chat-link svg{stroke:currentColor}
}
@media(max-width:650px){
 .topbar{height:64px;padding:0 16px}
 .brand-logo{width:112px;height:34px}
 .nav-cta{min-height:41px;padding:0 15px;font-size:12px}
 .nav-cta svg{width:15px;height:15px}
 .header-actions{gap:8px}
 .menu-toggle{width:39px;height:39px}
 .mobile-nav{top:64px;width:min(340px,90vw)}
 .ecosystem-directory{padding:22px 18px 80px}
 .ecosystem-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .ecosystem-logo-item{min-height:120px;padding:14px 7px;gap:11px;border-radius:13px}
 .ecosystem-logo-item img{width:64px;height:58px}
 .ecosystem-logo-item span{font-size:11px}
}
@media(max-width:390px){.ecosystem-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep header CTA label white over the MAX blue gradient. */
.nav-cta span{color:#fff}

@media(max-width:850px){.menu-toggle{display:flex;flex:0 0 42px}.header-actions{gap:10px}.topbar .mobile-nav{overflow-y:auto;overscroll-behavior:contain}}
.nav-beta-link{color:#159447!important}.nav-waitlist-link{color:#2563eb!important}

/* Header fit: compact white favicon mark, clear spacing, and responsive menu before links collide. */
.brand-logo{width:38px;height:38px;object-fit:contain;display:block}.brand{flex:0 0 auto}.topbar{gap:clamp(12px,1.5vw,24px)}.main-nav{flex:1 1 auto;min-width:0}.header-actions{flex:0 0 auto}@media(max-width:1120px){.main-nav{display:none}.menu-toggle{display:flex}.topbar .mobile-nav{display:flex}}


/* Keep the reduced desktop navigation level with the brand and prevent link crowding. */
.topbar .main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.15vw,16px);flex:1 1 auto;min-width:0;white-space:nowrap}
.topbar .main-nav .nav-link{font-size:11px;gap:5px}
@media(max-width:1120px){.topbar .main-nav{display:none}}


/* MAX brand CTA system: consistent animated blue gradient across homepage actions. */
@keyframes maxBrandGradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
:where(a.button,button.button,.button-primary,.button-secondary,.btn,button[type="submit"],input[type="submit"],a[role="button"],button:not(.menu-toggle):not(.close):not(.icon-button)){background:linear-gradient(110deg,#2563eb 0%,#60a5fa 38%,#22d3ee 68%,#3b82f6 100%);background-size:220% 220%;color:#fff;border:1px solid rgba(96,165,250,.28);box-shadow:0 8px 22px rgba(37,99,235,.18);transition:transform .2s ease,box-shadow .2s ease,background-position .55s ease}
:where(a.button,button.button,.button-primary,.button-secondary,.btn,button[type="submit"],input[type="submit"],a[role="button"],button:not(.menu-toggle):not(.close):not(.icon-button)):hover{background-position:100% 50%;color:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(37,99,235,.25)}
:where(a.button,button.button,.button-primary,.button-secondary,.btn,button[type="submit"],input[type="submit"],a[role="button"],button:not(.menu-toggle):not(.close):not(.icon-button)):focus-visible{outline:3px solid rgba(96,165,250,.42);outline-offset:3px}
@media(prefers-reduced-motion:reduce){:where(a.button,button.button,.button-primary,.button-secondary,.btn,button[type="submit"],input[type="submit"],a[role="button"],button:not(.menu-toggle):not(.close):not(.icon-button)){background-position:50% 50%;transition:none}}


/* Actual MAX Music promo recording replaces the fabricated player mockup. */
.music-section .demo-frame{overflow:hidden}
.music-section .music-promo-video{display:block;width:100%;height:100%;min-height:clamp(250px,34vw,440px);object-fit:cover;border-radius:inherit;background:#080b12}
.music-section .demo-frame:not(.has-video) .music-promo-video{visibility:hidden}
.music-section .demo-frame.has-video .music-promo-video{visibility:visible}


/* The coding section uses the supplied real MAX AI promo recording. */
.code-section .demo-frame{background:#080a10}
.code-section .coding-promo-video{object-fit:contain;background:#080a10}


/* Mobile layout refinement — keep homepage sections inside the viewport. */
@media(max-width:650px){
  html,body{width:100%;max-width:100%;overflow-x:clip}
  .hero{min-height:auto;min-height:calc(100svh - 64px);padding:64px 18px 76px;gap:0}
  .hero-title{font-size:clamp(64px,18vw,104px);max-width:100%;overflow-wrap:anywhere}
  .hero-orb{width:min(72vw,270px);height:min(72vw,270px);flex:0 0 auto}
  .hero-copy{width:100%;max-width:34rem;font-size:15px;line-height:1.65}
  .hero-button{margin-top:24px}
  .section-wrap{padding-left:18px;padding-right:18px}
  .ecosystem{padding-top:72px;padding-bottom:72px}
  .section-heading h2{font-size:clamp(36px,10vw,52px)}
  .product-card{min-width:0}
  .experience-section{grid-template-columns:minmax(0,1fr);width:100%;padding:64px 18px;gap:24px;min-height:0}
  .experience-copy{width:100%;max-width:none}
  .experience-copy h2{font-size:clamp(40px,11vw,54px);overflow-wrap:anywhere}
  .experience-copy>p:last-child{font-size:15px}
  .demo-frame{width:100%;min-width:0;aspect-ratio:1.15}
  .music-section .music-promo-video{min-height:0}
  .demo-caption{right:10px;bottom:9px;max-width:calc(100% - 20px);font-size:8px;letter-spacing:.04em}
  .why-section{padding-left:20px;padding-right:20px}
  .why-copy h2{font-size:clamp(36px,10vw,48px)}
  .final-cta h2{font-size:clamp(38px,10vw,50px)}
  .ecosystem-directory{padding-left:16px;padding-right:16px}
  footer{gap:16px}
  footer>div{display:flex;flex-wrap:wrap;gap:12px}
}
@media(max-width:390px){
  .topbar{padding-left:12px;padding-right:12px}
  .header-actions{gap:6px}
  .nav-cta{min-height:38px;padding:0 11px;font-size:11px}
  .menu-toggle{width:37px;height:37px;flex-basis:37px}
  .hero{padding-left:15px;padding-right:15px}
  .hero-copy{font-size:14px}
  .experience-section{padding-left:15px;padding-right:15px}
  .demo-frame{aspect-ratio:1.05}
  .ecosystem-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(hover:none){
  .product-card:hover,.ecosystem-logo-item:hover{transform:none;box-shadow:none}
}


/* Full ecosystem directory cards use the newly supplied product artwork. */
.ecosystem-directory-heading{text-align:center;margin:0 auto 38px;max-width:680px}
.ecosystem-directory-heading h2{font-size:clamp(34px,5vw,54px);line-height:1;letter-spacing:-.07em;margin:16px 0 12px}
.ecosystem-directory-heading h2 span{color:#8793a4}
.ecosystem-directory-heading>p:last-child{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.ecosystem-logo-item img.ecosystem-feature-image{width:100%;height:112px;max-width:100%;object-fit:cover;border-radius:12px;background:#f4f7fb}
.ecosystem-logo-item:has(.ecosystem-feature-image){padding:14px 12px;gap:12px}
@media(max-width:650px){.ecosystem-directory-heading{margin-bottom:26px}.ecosystem-logo-item img.ecosystem-feature-image{height:82px;border-radius:9px}.ecosystem-logo-item:has(.ecosystem-feature-image){padding:10px 7px;gap:9px}}
