/* Full product information lives in the selected homepage experience. */
.home-product,.home-product-directory{scroll-margin-top:100px}
.product-jump{display:block;padding:28px;color:#101318;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.product-jump:hover{border-color:#dc8c50;box-shadow:0 8px 30px #00000008}
.product-jump .text-link{margin-top:24px}
.home-product .product-hero{padding-top:85px}
.home-product-title{font-size:clamp(46px,5.4vw,82px);font-weight:600;line-height:1.02;letter-spacing:-.055em;margin:0 0 22px}
.home-product-title sup{font-size:.35em;line-height:0;letter-spacing:0;vertical-align:super}
.home-product .product-hero .primary{background:#fff;color:#101318}
.home-product .product-hero .ghost{color:#fff;border-color:#ffffff55}
#mediafirst-stream-devices .section-heading{max-width:none;text-align:center}
@media(max-width:680px){.home-product .product-hero{padding-top:65px}.home-product-title{font-size:46px}.product-jump{padding:24px}}

/* Preserve existing solutions links without a directory section or blank space. */
.solutions-anchor{height:0;scroll-margin-top:100px}

#mediaroom-commercial-features>.section-heading,
#mediaroom-commercial-engagement>.section-heading{max-width:none;text-align:center}

/* A shared canvas keeps the product chapters consistent in scale. */
.home-product{--product-gutter:max(24px,4vw,calc((100vw - 1680px)/2));--product-space:clamp(72px,6vw,110px)}
.home-product>.product-hero,.home-product>.product-section{padding-left:var(--product-gutter);padding-right:var(--product-gutter);padding-top:var(--product-space);padding-bottom:var(--product-space)}
.home-product>.product-section{display:flex;flex-direction:column;justify-content:center}
.home-product>.product-section>.section-heading{width:100%}
.home-product>.product-section>.mr-experience-layout,
.home-product>.product-section>.mr-group-code-layout{width:100%;max-width:1680px}
@media(min-width:981px){
  .home-product>.product-hero,.home-product>.product-section{min-height:clamp(760px,calc(100svh - 96px),1000px)}
  .home-product .home-product-title{font-size:clamp(60px,5.5vw,108px);line-height:1.02;margin-bottom:30px}
  .home-product .product-hero .product-subtitle{font-size:clamp(28px,2.3vw,44px);line-height:1.18;margin-bottom:26px}
  .home-product .product-intro{font-size:clamp(18px,1.12vw,22px);line-height:1.65;max-width:48ch}
  .home-product>.product-section>.section-heading{margin-bottom:clamp(40px,3vw,56px)}
  .home-product>.product-section .section-heading h2{font-size:clamp(44px,3.8vw,72px)}
  .home-product>.product-section .section-heading>p{font-size:clamp(18px,1.15vw,22px)}
  .home-product .mr-guest-panel,.home-product .mr-property-panel{padding:clamp(34px,2.8vw,48px)}
  .home-product .mr-panel-heading h3{font-size:clamp(28px,2.3vw,40px)}
  .home-product .mr-experience h4{font-size:clamp(19px,1.2vw,23px)}
  .home-product .mr-experience .mr-feature p,.home-product .mr-experience .mr-property-feature p{font-size:clamp(15px,1.05vw,18px)}
  .home-product .mr-group-code-layout{grid-template-columns:minmax(0,1fr) clamp(340px,28vw,440px)}
  .home-product .mr-group-code-copy h3{font-size:clamp(26px,2vw,34px)}
  .home-product .mr-group-code-copy p{font-size:clamp(16px,1.05vw,18px)}
  .home-product .detail-card p,.home-product .detail-card li{font-size:clamp(16px,1.05vw,18px)}
}
@media(max-width:980px){
  .home-product{--product-space:72px}
  .home-product>.product-hero,.home-product>.product-section{min-height:0}
  .home-product .product-hero-visual{max-width:none;width:100%;margin-left:0}
}
@media(max-width:680px){.home-product{--product-space:60px}.home-product .home-product-title{font-size:clamp(42px,10vw,58px)}.home-product .product-intro{font-size:17px}}

/* Bring the device lineup and its feature overview into one continuous chapter. */
#mediafirst-stream-devices,#mediafirst-features{min-height:0}
#mediafirst-stream-devices{padding-bottom:clamp(16px,2vw,32px)}
#mediafirst-features{padding-top:clamp(24px,3vw,48px)}

/* A compact, centered introduction leads into the IPTV-to-OTT path. */
#mediaroom-residential-product-overview{min-height:0;gap:0;padding-block:clamp(48px,5vw,72px)}
#mediaroom-residential-product-overview .home-product-title{max-width:20ch;margin-inline:auto}
#mediaroom-residential-product-overview .product-intro{max-width:62ch}

/* A community selector uses the same glass and warm sliding highlight as the hero. */
.residential-audience-switch{position:relative;display:flex;isolation:isolate;width:min(540px,100%);margin:32px auto 0;padding:4px;border:1px solid #ffffff2e;border-radius:999px;background:rgba(9,12,17,.28);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 26px #0002}
.residential-audience-switch button{min-height:46px;touch-action:manipulation}
.residential-audience-switch button[aria-selected="true"]{color:#fff6ec;font-weight:650}
.residential-audience-switch button:focus-visible{outline:2px solid #ffc38e;outline-offset:3px}
.residential-audience-switch .residential-audience-thumb{width:calc((100% - 8px)/3);transform:translateX(calc(var(--audience-index,0)*100%));background:linear-gradient(135deg,rgba(192,139,91,.62),rgba(154,99,61,.48));box-shadow:inset 0 0 0 1px rgba(239,193,151,.42),inset 0 1px 0 rgba(255,235,213,.2),0 2px 10px #0003}
@media(max-width:520px){.residential-audience-switch button{font-size:12px;padding:10px 6px}}

/* A compact chapter connects the residential platform to the selected community. */
#mediaroom-residential>.residential-audience{min-height:0;padding-block:clamp(56px,5.2vw,88px)}
#mediaroom-residential>.residential-audience[hidden]{display:none}
#mediaroom-residential>.residential-audience:not([hidden]) .residential-audience-layout{animation:residential-audience-in 220ms ease-out}
.residential-audience:focus-visible{outline:2px solid #80502d;outline-offset:-4px}
@keyframes residential-audience-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.residential-audience-switch .residential-audience-thumb{transition:none}#mediaroom-residential>.residential-audience:not([hidden]) .residential-audience-layout{animation:none}}
.residential-audience-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(36px,6vw,100px);width:100%;max-width:1440px;margin-inline:auto}
.residential-audience-heading,.residential-audience-copy{min-width:0}
.residential-audience-label{font-size:12px;font-weight:650;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;margin:0 0 20px;color:#80502d}
.residential-audience.dark .residential-audience-label{color:#ffc38e}
.residential-audience h2{font-size:clamp(36px,4vw,64px);font-weight:600;line-height:1.08;letter-spacing:-.045em;margin:0;max-width:19ch;text-wrap:balance}
.residential-audience-copy p{font-size:clamp(17px,1.15vw,21px);line-height:1.7;color:#57616b;margin:0;max-width:58ch}
.residential-audience-copy p+p{margin-top:20px}
.residential-audience.dark .residential-audience-copy p{color:#aeb5bf}
@media(max-width:760px){.residential-audience-layout{grid-template-columns:1fr;gap:28px}.residential-audience h2{max-width:21ch}.residential-audience-label{font-size:11px;margin-bottom:16px}.residential-audience-copy p+p{margin-top:16px}}

/* A full-height path connects Mediaroom above with MediaFirst below. */
#mediaroom-residential-migration{position:relative;isolation:isolate;min-height:clamp(760px,calc(100svh - 96px),1000px);padding-block:var(--product-space);--migration-rail-x:calc(max(var(--product-gutter),calc((100% - 1440px)/2)) + 8px)}
#mediaroom-residential-migration::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:var(--migration-rail-x);top:0;bottom:0;width:1px;background:linear-gradient(to bottom,#d8bc9f00,#d8bc9f 12%,#bc7945 50%,#d8bc9f 88%,#d8bc9f00)}
#mediaroom-residential-migration>.section-heading{max-width:none;margin-bottom:clamp(48px,6vw,96px);text-align:center}
#mediaroom-residential-migration>.section-heading h2{margin-bottom:0}
.migration-path{display:grid;gap:clamp(64px,6vw,100px);width:100%;max-width:1440px;margin:0 auto;padding:0;list-style:none}
.migration-step{position:relative;display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:clamp(32px,5vw,80px);padding-left:44px}
.migration-step::before{content:"";position:absolute;left:0;top:37px;width:16px;height:16px;border-radius:50%;background:#b75d20;box-shadow:0 0 0 7px #f4f4f2,0 0 0 8px #d8bc9f}
.migration-stage-label{display:block;margin-bottom:12px;font-size:12px;font-weight:650;line-height:18px;letter-spacing:.13em;color:#98501f}
.migration-step h3{font-size:clamp(28px,2.3vw,40px);font-weight:600;line-height:1.2;letter-spacing:-.035em;margin:0;color:#101318;text-wrap:balance}
.migration-step-copy{padding-top:30px}
.migration-step-copy p{font-size:clamp(17px,1.15vw,21px);line-height:1.7;color:#57616b;max-width:67ch;margin:0}
.migration-step-copy p+p{margin-top:20px}
@media(max-width:980px){#mediaroom-residential-migration{min-height:0}}
@media(max-width:760px){#mediaroom-residential-migration>.section-heading{padding-left:36px;text-align:left}.migration-path{gap:56px}.migration-step{grid-template-columns:1fr;gap:20px;padding-left:36px}.migration-step h3{font-size:28px}.migration-step-copy{padding-top:0}.migration-step-copy p{font-size:17px}}

/* Property content can go from a last-minute edit to a reviewed, live menu. */
#mediaroom-commercial-menu-updates{min-height:0}
.mr-menu-updates-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:clamp(48px,7vw,120px)}
.mr-menu-updates-intro h2{font-size:clamp(38px,4.3vw,72px);font-weight:600;line-height:1.05;letter-spacing:-.05em;margin:0 0 26px;text-wrap:balance}
.mr-menu-updates-intro h2 .mr-menu-live-line{color:inherit}
.mr-menu-updates-intro h2 .instant-word{display:inline-block;position:relative;white-space:nowrap;isolation:isolate;transform:skewX(-10deg);transform-origin:50% 100%}
.mr-menu-updates-intro h2 .instant-word-text{color:#b51c2c}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
 .mr-menu-updates-intro h2 .instant-word-text{background:#b51c2c linear-gradient(105deg,#a91b29 30%,#c31b2d 42%,#ef3346 47%,#ff7474 50%,#e51e36 54%,#a91b29 67%);background-size:300% 100%;background-repeat:no-repeat;background-position:100% 50%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:instant-red-wave 1.2s linear infinite}
}
@keyframes instant-red-wave{from{background-position:100% 50%}to{background-position:0% 50%}}
@media(prefers-reduced-motion:reduce){.mr-menu-updates-intro h2 .instant-word-text{animation:none;background:none;color:#b51c2c;-webkit-text-fill-color:currentColor}}
.mr-menu-updates-intro>p{font-size:clamp(17px,1.15vw,20px);line-height:1.65;color:#58626b;max-width:49ch;margin:0}
.mr-menu-updates-intro>p.mr-menu-updates-note{margin-top:18px;color:#151b21}
.mr-menu-update-steps{list-style:none;padding:0;margin:0}
.mr-menu-update-steps li{display:flex;align-items:flex-start;gap:20px;padding:26px 0;border-bottom:1px solid #d9dcd7}
.mr-menu-update-steps li:first-child{padding-top:0}
.mr-menu-update-steps li:last-child{padding-bottom:0;border:0}
.mr-menu-step-icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;border:1px solid #dfc4ad;border-radius:50%;color:#a95012}
.mr-menu-step-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mr-menu-update-steps h3,.mr-menu-update-examples h3{font-size:clamp(23px,1.85vw,30px);font-weight:600;letter-spacing:-.035em;line-height:1.2;margin:0 0 9px}
.mr-menu-update-steps p,.mr-menu-update-examples p{font-size:clamp(16px,1.05vw,18px);line-height:1.65;color:#58626b;margin:0;max-width:42ch}
.mr-menu-update-examples{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,100px);margin-top:clamp(42px,5vw,72px);padding-top:32px;border-top:1px solid #d9dcd7}
.mr-menu-update-examples h3{font-size:clamp(22px,1.7vw,28px)}
.mr-menu-update-examples p{max-width:52ch}
@media(max-width:980px){.mr-menu-updates-main{grid-template-columns:1fr;gap:36px}.mr-menu-updates-intro>p{max-width:62ch}.mr-menu-update-steps{max-width:680px}}
@media(max-width:680px){.mr-menu-updates-intro h2{font-size:clamp(36px,9vw,48px)}.mr-menu-update-steps li{gap:16px;padding-block:23px}.mr-menu-update-examples{grid-template-columns:1fr;gap:28px;margin-top:38px;padding-top:28px}}

/* Retain Hospitality's light footer; the shared closing section owns its colors. */
body:has(#overview[data-experience="hospitality"])>footer{--footer-follow-color:#000;background:var(--paper);color:#0c1015}
body:has(#overview[data-experience="hospitality"])>footer .footer-wordmark{filter:none;mix-blend-mode:multiply}
body:has(#overview[data-experience="hospitality"])>footer :is(.footer-main,.footer-directory){border-color:#d5d8d9}
body:has(#overview[data-experience="hospitality"])>footer .footer-directory h3{color:#0c1015}
body:has(#overview[data-experience="hospitality"])>footer :is(.footer-directory a,.footer-legal,small){color:#56616b}
body:has(#overview[data-experience="hospitality"])>footer :is(.footer-directory a,.footer-legal a,.footer-legal button):hover{color:#a44c0d}
