/* Spotlite main page for signed-out visitors. The page is the scarf: navy and off-white bands
   stacked down the page, joined by the orange/white/orange stripe. Orange marks only the
   actions, the clip range and the stripe. */
html{scroll-behavior:smooth;scroll-padding-top:16px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.landing-wrap{width:min(1320px,100%);margin:0 auto;padding-inline:clamp(16px,4vw,56px)}

.header .band-button{display:inline-flex;align-items:center}
.band-button.big{height:46px;padding:0 20px;font-size:15px;display:inline-flex;align-items:center}

/* hero: headline across the band, the real match tucked half into the next band */
/* --below is the height of the switch and caption under the picture (landing.js measures it), so the
   band always ends inside the picture and they sit on the light band at every width */
.landing{--below:120px;--tuck:calc(var(--below) + clamp(44px,7vw,110px))}
.hero{display:flow-root;padding-top:clamp(40px,7vw,104px)}
.hero-copy{display:flex;flex-direction:column;gap:clamp(24px,3vw,40px)}
.hero h1{font-size:clamp(54px,10.5vw,152px);line-height:.88;letter-spacing:0}
.hero-side{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px 48px}
.hero-side .hero-actions{margin-top:0}
.hero h1 span{display:block}
.hero h1 span+span{color:var(--stripe)}
:lang(hy) .hero h1{line-height:1}
.hero-lead{font-size:clamp(16px,1.35vw,18.5px);line-height:1.55;color:var(--band-muted);max-width:44ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hero-stage{position:relative;margin-top:clamp(36px,5vw,64px);margin-bottom:calc(-1 * var(--tuck));z-index:1}
.stage-frame{position:relative;overflow:hidden;border-radius:var(--r-lg);background:var(--stage);aspect-ratio:16/9;box-shadow:var(--shadow-lg)}
/* the scarf stripe runs along the top edge of the picture */
.stage-frame::before{content:'';position:absolute;inset:0 0 auto;height:12px;z-index:1;background:linear-gradient(var(--stripe) 0 5px,var(--stripe-2) 5px 7px,var(--stripe) 7px)}
.stage-frame video{display:block;width:100%;height:100%;object-fit:cover}
.stage-toggle{position:absolute;right:14px;bottom:14px;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:#050a14b3;color:#fff;transition:background .15s}
.stage-toggle:hover{background:#050a14e6}
.stage-toggle .play-icon{display:none}
.stage-toggle.paused .play-icon{display:block}
.stage-toggle.paused .pause-icon{display:none}
.stage-toggle .play-icon{fill:currentColor;stroke-width:1.5}
.hero-stage figcaption{margin-top:12px;max-width:72ch;font-size:13.5px;color:var(--muted)}

/* sections */
.landing-section{padding-block:clamp(64px,9vw,128px)}
.athletes{padding-top:calc(var(--tuck) + clamp(72px,9vw,128px))}
/* "For athletes" lands on the heading, not on the hero video that overhangs the section */
.athletes{scroll-margin-top:calc(-1 * var(--tuck) - clamp(72px,9vw,128px) + 24px)}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(40px,6vw,104px);align-items:center}
.split.reverse>.section-copy{order:2}
.landing-section h2{font-size:clamp(40px,5.2vw,72px);max-width:13ch}
.section-copy>.button{margin-top:32px}
.section-lead{margin-top:18px;max-width:50ch;font-size:17px;line-height:1.55;color:var(--ink-2)}
.section-note{margin-top:14px;max-width:56ch;color:var(--muted)}

/* athlete steps: hairline rows, the number set in woven capitals */
.steps{list-style:none;margin:32px 0 0;padding:0;border-top:1px solid var(--line)}
.steps li{display:grid;grid-template-columns:56px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.step-n{font-stretch:68%;font-weight:800;font-size:44px;line-height:.9;color:var(--accent)}
.steps h3{font-size:19px}
.steps p{margin-top:4px;max-width:52ch;font-size:15.5px;line-height:1.55;color:var(--muted)}

/* a still from a real export over the clip maker's orange range */
.clip-mock img{display:block;width:100%;height:auto;border-radius:var(--r-lg) var(--r-lg) 0 0}
.clip-track{position:relative;height:44px;border-radius:0 0 var(--r-lg) var(--r-lg);background:var(--band);background-image:repeating-linear-gradient(90deg,#ffffff1f 0 1px,transparent 1px 24px)}
.clip-range{position:absolute;left:38%;width:26%;top:8px;bottom:8px;border-radius:3px;background:var(--stripe);box-shadow:0 0 0 2px #fff;clip-path:inset(-6px -8px)}
.clip-range::before,.clip-range::after{content:'';position:absolute;top:-4px;bottom:-4px;width:6px;border-radius:2px;background:#fff}
.clip-range::before{left:-5px}
.clip-range::after{right:-5px}
/* the page's one moment: the range is dragged over the play when it comes into view */
.clip-mock.seen .clip-range{animation:range-in 1.1s var(--ease) .15s backwards}
@keyframes range-in{from{clip-path:inset(-6px 100% -6px -8px)}}

/* companies: navy band, the drawn pitch from the sign-in screen */
.companies h2{color:var(--band-ink)}
.companies .section-lead{color:var(--band-muted)}
.points{margin:28px 0 0;border-top:1px solid #ffffff26}
.points>div{padding:18px 0;border-bottom:1px solid #ffffff26}
.points dt{font-weight:700;font-size:17px;color:var(--band-ink)}
.points dd{margin:4px 0 0;max-width:54ch;font-size:15.5px;line-height:1.55;color:var(--band-muted)}
.companies .field-art{margin:0;max-width:none}
.companies .field-brand{font-size:clamp(8px,2.7cqw,19px)}

.scarf-stripe{height:12px;background:linear-gradient(var(--stripe) 0 5px,var(--stripe-2) 5px 7px,var(--stripe) 7px)}

/* prices: one hairline table, the amounts in woven capitals */
.price-rows{margin:0;border-top:2px solid var(--ink)}
.price-rows>div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}
.price-rows dt{font-size:16px;color:var(--ink-2)}
.price-rows dd{margin:0;text-align:right;font-stretch:68%;font-weight:800;font-size:clamp(26px,2.6vw,34px);line-height:1;white-space:nowrap}
.price-rows dd small{display:block;margin-top:6px;font-stretch:100%;font-weight:600;font-size:13px;color:var(--muted)}
.prices .legal-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:22px}
.legal-link{color:var(--accent-strong);font-weight:650;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.legal-link:hover{color:var(--accent)}

.closing{padding-top:0;padding-bottom:clamp(56px,7vw,96px)}
.closing-inner{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:24px 48px;padding-top:clamp(48px,6vw,80px);border-top:1px solid var(--line)}
.closing h2{max-width:22ch}
.closing .button{margin-bottom:6px}

@media(max-width:980px){
  .hero-copy,.split{grid-template-columns:1fr}
  .split.reverse>.section-copy{order:0}
  .companies .field-art{display:block;max-width:560px}
}
@media(max-width:700px){
  .header .account{margin-left:auto}
  .hero-actions>*{flex:1 1 100%}
  .stage-frame{border-radius:var(--r)}
  .steps li{grid-template-columns:40px 1fr}
  .step-n{font-size:36px}
  .price-rows>div{flex-direction:column;align-items:flex-start;gap:6px}
  .price-rows dd{text-align:left}
}

/* the pitch demo: the renderer's canvases over the stage, its controls under it */
.stage-frame canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.stage-frame #demo-canvas{object-fit:cover}
.stage-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 24px;margin-top:14px}
.stage-switch{display:inline-flex;align-items:center;gap:10px;min-height:38px;font-weight:650;font-size:14px;color:var(--ink)}
.switch-track{position:relative;width:42px;height:24px;flex:none;border-radius:12px;background:var(--line-strong);transition:background .2s var(--ease)}
.switch-track::after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0e162640;transition:transform .2s var(--ease)}
.stage-switch[aria-checked=true] .switch-track{background:var(--accent)}
.stage-switch[aria-checked=true] .switch-track::after{transform:translateX(18px)}
.stage-controls+figcaption{margin-top:10px}
@media(max-width:700px){