/* Public landing only: natural scrolling and sticky-header anchor offset. */
html.landing-page { --landing-header:69px; scroll-padding-top:var(--landing-header); }
.landing [id] { scroll-margin-top:0; }
.landing .l-head { padding-inline:max(20px, calc((100% - 1280px) / 2)); container-type:inline-size; flex-wrap:wrap; }
/* Fit navigation to available header space and the visitor's text size. */
@container (max-width:68rem) {
  .landing .l-head .l-nav { display:none; }
  .landing .l-head .l-login { margin-left:auto; }
}
.landing .l-head .l-call, .brand-mobile-name, .account-mobile-label { display:none; }
.landing .l-section { padding-top:clamp(40px,5vw,72px); }
.landing .l-head .brand, .landing .l-head .btn { flex-shrink:0; }
@media(min-width:1000px) {
  .landing-intro { min-height:calc(100svh - var(--landing-header)); display:flex; flex-direction:column; }
  .landing .hero { min-height:0; flex:1; padding-block:24px 28px; }
  .landing .kicker { margin-bottom:14px; }
  .landing .hero-title { font-size:clamp(2rem,7.6cqi,3.8rem); margin-bottom:18px; }
  .landing .hero-sub { font-size:1.125rem; max-width:48ch; margin-bottom:20px; }
  .landing .hero-cta { margin-bottom:18px; }
  .landing .hero-meta { font-size:.875rem; gap:8px 20px; }
  .landing .l-quick-facts { width:100%; padding-block:18px; }
  .landing .l-section { min-height:calc(100svh - var(--landing-header)); padding-block:40px; display:flex; flex-direction:column; justify-content:center; }
}
/* Native disclosure keeps the menu usable even before JavaScript loads. */
.landing .l-menu { display:none; flex-shrink:0; }
.landing .l-menu-toggle { display:flex; align-items:center; justify-content:center; width:44px; height:44px; box-sizing:border-box; list-style:none; cursor:pointer; border:0; border-radius:10px; color:#fff; background:transparent; touch-action:manipulation; }
.l-menu-toggle::-webkit-details-marker { display:none; }
.l-menu-close-icon, .l-menu[open] .l-menu-open-icon { display:none; }
.l-menu[open] .l-menu-close-icon { display:block; }
.landing .l-menu-panel { position:absolute; top:calc(100% + 8px); right:0; width:min(400px,100%); box-sizing:border-box; padding:20px; border:1px solid #343438; border-radius:16px; background:#1b1b1e; color:#fff; box-shadow:0 16px 40px #0005; max-height:calc(100dvh - 100px); overflow-y:auto; overscroll-behavior:contain; }
.landing .l-menu-panel a { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:12px 4px; box-sizing:border-box; border-bottom:1px solid #343438; border-radius:0; color:#fff; font-size:1.125rem; font-weight:600; text-decoration:none; }
.l-menu-panel a span { color:#aaaab2; }
.landing .l-menu-panel .l-menu-trial { background:#cf1730; margin-top:20px; min-height:54px; padding-inline:16px; border:0; border-radius:12px; font-size:1rem; }
.l-menu-panel .l-menu-trial span { color:inherit; }
@media(hover:hover) {
  .landing .l-menu-panel a:hover { background:#303034; }
  .landing .l-menu-panel .l-menu-trial:hover { background:#b9142a; }
}
.landing .l-menu-toggle:focus-visible, .landing .l-menu-panel a:focus-visible { outline:3px solid #ff8795; outline-offset:3px; }
@container (max-width:68rem) { .landing .l-menu { display:block; } }
@media(max-width:1100px) {
  html.landing-page { --landing-header:80px; }
  .landing .l-head { top:8px; margin:8px 12px; gap:8px; padding:9px 10px; flex-wrap:nowrap; background:#202023; backdrop-filter:none; -webkit-backdrop-filter:none; border:1px solid #343438; border-radius:16px; box-shadow:0 4px 16px #0002; }
  .landing .l-head .brand-name, .landing .l-login { display:none; }
  .landing .l-head .brand-mark { width:44px; height:44px; }
  .landing .l-head .brand { margin-right:auto; gap:0; }
  .landing .brand-mobile-name { display:none; }
  .landing .account-desktop-label { display:none; }
  .landing .account-mobile-label { display:inline; }
  .landing .l-head .l-call { display:inline-flex; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border:0; border-radius:10px; background:transparent; color:#fff; box-shadow:none; }
  .landing .l-call .icon { width:20px; height:20px; margin:0; }
  .landing .l-head .l-cta { height:44px; min-height:44px; padding:0 16px; font-size:.875rem; border-radius:10px; box-shadow:none; }
  .landing .l-menu { display:block; }
  .landing .l-menu-panel { width:100%; }
  .landing .l-section { padding-top:40px; }
}
/* Tablet navigation uses the middle space instead of stretching phone controls. */
@media(min-width:680px) and (max-width:1100px) {
  .landing .l-head { gap:12px; padding-inline:16px; }
  .landing .l-head .brand { margin-right:0; }
  .landing .l-head .l-nav { display:flex; flex:1; justify-content:center; margin:0; gap:4px; min-width:0; }
  .landing .l-head .l-nav a { display:none; }
  .landing .l-head .l-nav a[href="#coaches"],
  .landing .l-head .l-nav a[href="#program"],
  .landing .l-head .l-nav a[href="#prices"] { display:inline-flex; padding-inline:10px; font-size:.875rem; color:#eeedef; }
  .landing .l-menu-panel { width:400px; }
}
@media(hover:hover) {
  .landing .l-head .l-call:hover, .landing .l-menu-toggle:hover { background:#ffffff0d; }
}
/* Opening navigation must not fade or translate the whole panel over the content. */
.landing .l-menu[open] > .l-menu-panel { animation:none; }
/* The pause control has its own space; moving text fades at both edges. */
.ui-motion.landing .marquee { display:flex; align-items:center; gap:12px; padding:14px 16px 14px 0; }
.marquee-window { min-width:0; flex:1; overflow:hidden; mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent); }
.ui-motion.landing .marquee-toggle { position:static; flex:0 0 44px; transform:none; }
.landing .marquee span { font-size:clamp(1rem,2.2vw,1.4rem); }
@media(prefers-reduced-motion:reduce) { html.landing-page { scroll-behavior:auto; } }

/* Stable price columns and unbroken contact number, including small phones. */
.landing .prices { grid-template-columns:repeat(3,minmax(0,1fr)); }
.landing .price { min-width:0; container-type:inline-size; }
.landing .price-num { font-size:clamp(1.5rem,11cqi,2.6rem); }
.landing .cta { container-type:inline-size; }
.landing .cta-phone { white-space:nowrap; font-size:clamp(1.1rem,8.5cqi,4.2rem); }
@media(max-width:860px) { .landing .prices { grid-template-columns:minmax(0,1fr); } }

/* Keep natural scrolling on long mobile sections; anchor links still clear the header. */
@media(max-width:700px) {
  .landing main > .l-section { padding-block:32px; }
}
