/* Subject-specific additions only. shell.css, home.css and web-design.css are
   unmodified copies of the MaysWeb.cloud design system. */
:root{color-scheme:dark}html[data-theme=light]{color-scheme:light}
[hidden]{display:none!important}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--color-lightest-blue);outline-offset:4px}
/* Normalize anchors and buttons to the SAME navigation baseline. */
.nav-list{align-items:center}.nav-list>.nav-item{display:flex;align-items:center}
.nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;line-height:1.25;font-size:1rem;font-weight:500;vertical-align:middle}
button.nav-link{font-family:inherit;border:0;background:none;cursor:pointer}
.nav-link .fa-chevron-down{font-size:.75em;margin-left:6px;transition:transform .16s}
.nav-link[aria-expanded=true] .fa-chevron-down{transform:rotate(180deg)}
.nav-actions .nav-account-trigger{border:1px solid var(--border-glow);background:transparent;cursor:pointer}
.banner-row{justify-content:flex-start}.banner-left{text-align:left}.banner-left a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.nav-dropdown{max-width:calc(100vw - 24px)}
.nav-dropdown.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown .dropdown-content{height:auto}
.nav-dropdown .dropdown-item{white-space:normal}
/* Restore the source progress strip on every page, including home. */
.roblox-page .scroll-progress{display:block}
/* Retain the original subnav; a slot prevents content jumping when it fixes. */
.subnav-slot{position:relative;z-index:10001}.subnav{transition:background .2s,box-shadow .2s}
.subnav-inner{min-height:64px}.subnav-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}
.subnav-links{align-items:center;gap:12px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:8px 0}
.subnav-links li{flex-shrink:0}.subnav-links a{display:block;white-space:nowrap}
.subnav-links a[aria-current=location]{color:var(--color-lightest-blue);opacity:1}
.subnav-links a[aria-current=location]::after{width:100%}
[data-theme=light] .subnav-links a[aria-current=location]{color:var(--color-accent-cyan)}
body.sections-active .main-header{transform:translateY(calc(-100% - var(--banner-height)));visibility:hidden;pointer-events:none}
body.sections-active .scroll-progress{top:64px}
main section[id]{scroll-margin-top:84px}
/* Use the reference full-screen mobile navigation, also available from subnav. */
.mobile-nav-overlay{height:100dvh}.mobile-nav-content{min-height:100%;height:auto}.mobile-nav-menu{overflow:visible}
.mobile-nav-submenu{display:block!important;max-height:none!important;opacity:1!important;padding-bottom:8px}
.mobile-nav-actions{flex-wrap:wrap;flex-shrink:0}.mobile-nav-actions .btn{font-size:.9rem}
/* Existing home hero, with the subject-specific world viewport. */
.home-hero__title-accent{margin-left:0}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}
.studio-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;border:1px solid var(--border-glow);border-radius:8px;background:var(--color-accent-cyan);color:#fff;text-decoration:none;font-size:.95rem;font-weight:500;transition:all .2s}
.studio-button.secondary{background:transparent;color:var(--text)}.studio-button:hover{transform:translateY(-1px);box-shadow:0 8px 24px #0040ff26}
.home-hero__device-body{height:auto;grid-template-rows:auto auto auto;padding:22px}
.hero-world{position:relative;border:1px solid var(--border-glow);border-radius:12px;overflow:hidden}.hero-world img{width:100%;height:220px;display:block;object-fit:cover}.hero-world>span{position:absolute;bottom:0;inset-inline:0;padding:12px;background:linear-gradient(transparent,#00011fe6);font-size:.65rem;letter-spacing:.12em;color:#d3ecff}.hero-world b{float:right}
.home-hero__stack-line{display:none}.home-hero__stack-card{padding:14px}
/* Leaf-page hero uses the source web-design hero and device frame. */
.roblox-hero-art{position:relative}.roblox-hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.art-caption{font-size:.78rem;line-height:1.5;color:var(--text-muted);padding:12px 18px;margin:0}
.home-card__title{font-size:1rem;margin-top:0}.home-card__link{display:inline-flex;align-items:center;gap:8px}.home-card__link i{flex-shrink:0}
.home-panel__item-body{min-width:0}.home-panel__item-title{overflow-wrap:break-word}
.home-service__panel-media{min-width:0}.home-service__panel-image{object-fit:cover}
.home-service__more a,.footer-disclaimer a{color:inherit;text-underline-offset:3px}
.process-art{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}.process-art>img{width:100%;height:auto;border:1px solid var(--border-glow);border-radius:18px;position:relative;z-index:1}
.wd-step__title{font-size:1rem;margin:0 0 6px}.wd-step__desc{margin:0;line-height:1.65}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.faq-grid details{padding:22px}.faq-grid summary{cursor:pointer;font-weight:700;line-height:1.6}.faq-grid details p{margin:16px 0 0}
.footer-logo{object-fit:contain}[data-theme=light] .footer-logo{filter:brightness(.3) sepia(1) saturate(5) hue-rotate(190deg)}
/* Keep the footer disclaimer animation exactly as defined in shell.css. */
@media(max-width:1200px){.nav-list{gap:12px}.nav-list .nav-link{font-size:.92rem;padding-inline:10px}.subnav-breadcrumbs{display:none}.home-service__panel-inner--split{grid-template-columns:1fr}.home-service__panel-media{min-height:220px}.home-service__panel-image{max-height:300px}}
@media(max-width:1023px){:root{--banner-height:58px}.top-banner{display:flex!important;height:var(--banner-height)}.banner-left{font-size:.75rem;line-height:1.5}.main-header{top:var(--banner-height)}body{padding-top:calc(var(--header-height) + var(--banner-height))}body.banner-hidden .main-header{top:0}body.banner-hidden{padding-top:var(--header-height)}.roblox-page .scroll-progress{top:calc(var(--header-height) + var(--banner-height))}body.banner-hidden .scroll-progress{top:var(--header-height)}body.sections-active .scroll-progress{top:64px}.desktop-nav{display:none!important}.mobile-menu-toggle{display:flex!important}.nav-actions{gap:8px}.nav-actions #themeToggle,.nav-actions .nav-account-item{display:inline-flex!important}.nav-actions .nav-account-trigger.icon-button{padding-inline:10px!important;gap:6px}.subnav-inner{height:64px;flex-direction:row;gap:10px}.subnav-links{flex-wrap:nowrap;justify-content:flex-start;gap:4px}.subnav-links a{font-size:.8rem;padding:8px 10px}.subnav-tools{gap:0}.subnav .section-menu-button{width:36px;flex-shrink:0}}
@media(max-width:640px){.hero-actions{display:grid}.hero-actions a{width:100%}.home-hero__visual{min-width:0}.hero-world img{height:180px}.home-hero__device-body{padding:14px}.home-hero__stack-title{font-size:.8rem}.home-hero__stack-icon{width:30px;height:30px}.home-hero__stack-card{padding:10px}.home-service__panel-inner{padding:14px}.faq-grid{grid-template-columns:1fr}.home-closer__actions{align-items:stretch}.home-closer__btn{white-space:normal}.mobile-nav-actions .btn{flex:1 1 150px}.footer-disclaimer{padding:14px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}[data-reveal]{opacity:1!important;transform:none!important}.home-hero__video{display:none}}
/* Contain the reference reveal translations and decorative glows, not content. */
.roblox-page main{overflow-x:clip}
[data-theme=light]{--text-muted:#526186}
/* Fluid type and content-led card layout. Rem minimums preserve text zoom. */
:root{--copy-size:clamp(1rem,.96rem + .2vw,1.125rem);--small-copy:clamp(.9375rem,.91rem + .12vw,1rem);--card-space:clamp(1rem,.8rem + .8vw,1.5rem);--card-gap:clamp(.75rem,.6rem + .5vw,1.125rem)}
body{font-size:var(--copy-size);line-height:1.6}
h1,h2,h3{overflow-wrap:break-word;text-wrap:balance}
.home-hero__title,.wd-hero__title{font-size:clamp(2rem,1.35rem + 2.6vw,3.5rem);line-height:1.14}
.home-section__title,.home-service__title,.home-closer__title{font-size:clamp(1.6rem,1.2rem + 1.7vw,2.5rem);line-height:1.2}
.home-hero__summary,.wd-hero__lead,.home-section__prose,.home-section__subtitle,.home-service__lead,.home-service__more,.home-service__bullets,.home-closer__subtitle{font-size:var(--copy-size);line-height:1.7}
.home-service__copy p,.home-section__prose p{max-width:72ch}.home-section__prose p+p{margin-top:1rem}
.home-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:var(--card-gap)}
.home-card{padding:var(--card-space);gap:var(--card-gap);align-items:flex-start;min-width:0}
.home-card__body{min-width:0;display:flex;flex-direction:column;height:100%;overflow-wrap:anywhere}
.home-card__title{font-size:clamp(1rem,.95rem + .3vw,1.2rem);line-height:1.4;margin-bottom:.6rem}
.home-card__desc{font-size:var(--small-copy);line-height:1.65;margin-bottom:1rem}
.home-card__link{margin-top:auto;line-height:1.5;font-size:var(--small-copy);flex-wrap:wrap}
.home-service__grid,.home-service__grid--flip{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.25rem,2.4vw,2.5rem)}
.home-service__copy,.home-service__panel,.home-panel__headtext,.home-panel__subcard-body,.home-meta__text,.wd-highlight__text{min-width:0;overflow-wrap:anywhere}
.home-service__panel{container-type:inline-size;container-name:feature-panel}
.home-service__panel-inner--split{grid-template-columns:1fr;gap:var(--card-gap);padding:var(--card-space)}
.home-panel__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,13.5rem),1fr));grid-auto-rows:auto;gap:var(--card-gap)}
.home-panel__item{height:auto;min-height:0;padding:var(--card-space);gap:.875rem;align-items:flex-start}
.home-panel__item-title,.home-panel__subcard-title{font-size:var(--small-copy);line-height:1.4}
.home-panel__item-desc,.home-panel__subcard-desc{font-size:var(--small-copy);line-height:1.65;margin-top:.5rem}
.home-panel__header,.home-panel__subcard{padding:var(--card-space);gap:.875rem;align-items:flex-start}
.home-panel__headline{font-size:clamp(1.05rem,1rem + .25vw,1.25rem);line-height:1.35}
.home-panel__kicker{font-size:.8125rem;line-height:1.6;letter-spacing:.07em;margin-bottom:.4rem}
.home-service__panel-media{min-height:0;aspect-ratio:3/2}.home-service__panel-image{width:100%;height:100%;max-height:none;object-fit:cover;transform:none}
@container feature-panel (min-width:52rem){.home-service__panel-inner--split{grid-template-columns:1.15fr .85fr}.home-service__panel-media{aspect-ratio:auto}.home-panel__grid{grid-template-columns:1fr}}
.wd-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.wd-steps-card{padding:var(--card-space);min-width:0;height:auto}
.wd-steps{gap:var(--card-gap)}.wd-step{grid-template-columns:2.75rem minmax(0,1fr);gap:1rem;padding:var(--card-space)}
.wd-step__num{width:2.75rem;height:2.75rem;border-radius:.875rem}.wd-step__title{font-size:1.0625rem;line-height:1.45}.wd-step__desc{font-size:var(--small-copy);line-height:1.7;overflow-wrap:anywhere}
.faq-grid .wd-steps-card{display:block;height:auto;overflow:visible}.faq-grid summary{font-size:var(--copy-size);padding-block:.25rem;overflow-wrap:anywhere}.faq-grid details p{font-size:var(--copy-size);line-height:1.7}
.home-meta__title,.wd-highlight__title{line-height:1.4;font-size:var(--small-copy)}.home-meta__desc,.wd-highlight__desc{line-height:1.55;font-size:var(--small-copy)}
.home-hero__meta,.wd-hero__highlights{gap:var(--card-gap)}.home-meta,.wd-highlight{padding:var(--card-space);min-width:0;align-items:flex-start}
.home-hero__typed{min-width:0}.home-hero__typed-body{overflow-wrap:anywhere;line-height:1.6}.home-hero__typed-prompt{white-space:normal}
.home-chip,.btn,.studio-button{min-height:44px;white-space:normal;line-height:1.5;text-align:center}.home-chip{padding:10px 14px}
.footer-links li,.company-desc,.disclaimer-text{overflow-wrap:anywhere}.main-footer .footer-links{line-height:1.7}.footer-bottom{flex-wrap:wrap;gap:12px;padding-right:50px}
.nav-actions .icon-button,.mobile-menu-toggle,.section-menu-button{min-width:44px;min-height:44px}.mobile-menu-toggle{margin-left:0}.nav-actions{gap:8px}
.banner-row{min-height:var(--banner-height);height:auto;padding-block:6px}.top-banner{height:auto;min-height:var(--banner-height)}.banner-left{line-height:1.5}
.home-hero__stack-title{line-height:1.4;overflow-wrap:anywhere}.home-hero__stack-head{align-items:flex-start;gap:10px}
.nojs-nav{padding:16px 24px;display:flex;flex-wrap:wrap;gap:20px}.nojs-nav a{color:var(--text)}
.pwa-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.pwa-tools button{font:inherit;color:var(--text);border:1px solid var(--border-glow);background:transparent;border-radius:8px;padding:8px 12px;cursor:pointer;min-height:44px}
.pwa-notice{position:fixed;bottom:16px;left:16px;z-index:12000;max-width:min(32rem,calc(100vw - 90px));padding:16px;border:1px solid var(--border-glow);border-radius:12px;background:var(--nav-bg);box-shadow:0 12px 35px #0004;font-size:.9375rem}.pwa-notice p{margin:0 0 10px}.pwa-notice button{min-height:44px;cursor:pointer}.pwa-notice-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:1100px){.home-service__grid,.home-service__grid--flip,.wd-split{grid-template-columns:minmax(0,1fr)}.home-service__grid--flip .home-service__copy{order:0}.home-service__grid--flip .home-service__panel{order:1}.home-service__panel-media{max-height:420px}.home-service__panel-image{max-height:none}}
@media(max-width:700px){.home-hero__meta,.wd-hero__highlights{grid-template-columns:1fr}.home-hero__stack{grid-template-columns:1fr}.hero-world>span{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}.hero-world b{float:none}.home-closer__actions .btn{width:100%}.home-closer__content{min-width:0}.home-closer__trust{gap:12px}.home-hero__kicker,.wd-hero__eyebrow{gap:8px}.home-hero__pill,.wd-pill{font-size:.875rem;line-height:1.5;white-space:normal}.subnav-tools{flex-shrink:0}}
@media(max-width:380px){.home-card{flex-direction:column}.home-panel__item,.home-panel__subcard{flex-direction:column}.wd-step{grid-template-columns:1fr}.home-panel__header{flex-wrap:wrap}.nav-brand img{max-width:100px;height:auto}.nav-container{gap:8px}.nav-actions{gap:4px}.home-closer__content{padding-inline:18px!important}.home-hero__typed-title{letter-spacing:.03em}}
@media(display-mode:standalone){.main-header,.top-banner{padding-top:env(safe-area-inset-top,0px)}.main-footer{padding-bottom:max(32px,env(safe-area-inset-bottom))}}
/* Keep the original footer styling without its fixed desktop column minimums. */
.footer-top{grid-template-columns:minmax(0,1fr) minmax(0,3fr)}
.footer-columns{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.5fr);gap:clamp(1rem,2vw,2rem)}
.footer-col,.footer-brand{min-width:0}.footer-links a{overflow-wrap:anywhere;font-size:var(--small-copy)}
@media(max-width:1200px){.footer-top{grid-template-columns:minmax(0,1fr)}.footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.footer-columns{grid-template-columns:minmax(0,1fr)}}

/* Hide the entire skip link at every text size; expose it on keyboard focus. */
.skip-link{position:fixed;top:0;transform:translateY(calc(-100% - 8px));max-width:calc(100vw - 12px)}
.skip-link:focus{top:6px;transform:none}

/* Preserve the full illustration at its native ratio; only the decorative video crops. */
.roblox-hero-art img{aspect-ratio:auto}
.home-service__panel-media:has(img[src$="roblox-world-poster.jpg"]){aspect-ratio:16/9}
.home-service__panel-image[src$="roblox-world-poster.jpg"]{object-fit:contain}

/* Original compact footer rhythm; detailed policies live in Compliance. */
.main-footer .footer-links{line-height:1.5}
.main-footer .footer-links li{margin:8px 0;font-size:.95rem}
.main-footer .footer-links a{font-size:inherit}
.main-footer .company-desc{font-size:.95rem;line-height:1.6}
.main-footer .footer-bottom{gap:8px}
/* Keep the shared reading navigation behaviour on original company components. */
body.company-page.sections-active .main-header{transform:translateY(calc(-100% - var(--banner-height)))!important}
body.roblox-page.company-page .subnav.is-sticky{top:0}
.cp-card__body{min-width:0}.cp-card__title,.cp-card__desc{overflow-wrap:anywhere}
@media(max-width:600px){.company-page .co-hero__title{font-size:clamp(1.8rem,7vw,2.5rem)}.cp-doc-actions__btn{min-width:0}.cp-doc-body{padding:20px}}
@media(max-width:980px){.company-compliance-page .co-hero__inner{grid-template-columns:minmax(0,1fr)}.company-compliance-page .co-hero__copy{min-width:0}}
