/* Landing hero (round 6): one headline, one sub-line, one button and one text link, the welcome video as the only visual.
   Three compositions for review, chosen by data-hero on the hero section (?hero=1|2|3 in review mode; public builds are always 1).
   The what-you-get items live in a slim strip right below the hero. Tokens come from style.css. */

.hero{--tint:var(--sky);--tint-soft:#F3F8FE;--vs:min(300px,82vw);--r-media:28px;background:var(--tint-soft);padding:28px 0 8px;overflow:clip}
.sky.hero{--tint:var(--sky);--tint-soft:#F3F8FE}
.mint.hero{--tint:var(--mint);--tint-soft:#F2FAF6}
.apricot.hero{--tint:var(--apricot);--tint-soft:#FFF8F1}

.hero .wrap.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:center}
.hero .wrap.hero-solo{max-width:860px}

/* text */
.hx-text h1{font-size:clamp(2rem,7.6vw,3.3rem);line-height:1.08;margin:0 0 .4em}
.hx-text{min-width:0}
.hx-text h1 .ul{display:inline;white-space:normal;text-decoration:underline;text-decoration-color:var(--coral);text-decoration-thickness:.07em;text-underline-offset:.16em;text-decoration-skip-ink:none}
.hx-text h1 .ul svg{display:none}
.hx-sub{margin:0;font-size:clamp(1.05rem,1.3vw + .5rem,1.22rem);line-height:1.5;color:var(--ink-2);max-width:32em}
.hx-cta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px;margin-top:28px}
.hx-cta .btn{min-height:52px;padding:14px 28px;font-size:1.02rem}
.hx-link{display:inline-block;padding:12px 2px;font-weight:700;color:var(--ink);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
.hx-link:hover{color:var(--blue-d)}
.hx-link:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px}
@media (max-width:599px){
  .hx-cta{flex-direction:column;align-items:stretch;gap:2px}
  .hx-cta .btn{width:100%}
  .hx-link{text-align:center}
}

/* media: square welcome video, real poster image, custom play button, AI label and name chip */
.hx-media{position:relative;z-index:0;width:min(100%,var(--vs));margin-inline:auto}
.hm-box{position:relative;aspect-ratio:1/1;border-radius:var(--r-media);overflow:hidden;background:var(--tint);box-shadow:0 1px 2px rgba(27,39,51,.08),0 22px 48px -18px rgba(27,39,51,.32);isolation:isolate}
.hm-poster,.hm-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hm-video{z-index:2;background:#0F1720}
.hm-play,.hm-link{position:absolute;inset:0;z-index:3;margin:0;padding:0;border:0;background:transparent;cursor:pointer;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
.hm-play[hidden],.hm-link[hidden]{display:none}
.hm-btn{position:absolute;left:50%;top:71%;width:clamp(64px,22%,84px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:var(--coral);display:grid;place-items:center;box-shadow:0 10px 28px rgba(15,23,32,.35);transition:transform .18s ease,background-color .18s ease,color .18s ease}
.hm-btn svg{width:42%;height:42%;margin-left:7%}
.hm-play:hover .hm-btn,.hm-link:hover .hm-btn{transform:translate(-50%,-50%) scale(1.07);background:var(--coral);color:#fff}
.hm-play:focus-visible,.hm-link:focus-visible{outline:none}
.hm-play:focus-visible .hm-btn,.hm-link:focus-visible .hm-btn{box-shadow:0 0 0 3px var(--ink),0 0 0 7px #fff}
.hm-link-t{position:absolute;left:50%;top:calc(71% + clamp(40px,14%,54px));transform:translateX(-50%);white-space:nowrap;background:#fff;color:var(--ink);font:700 .85rem/1 var(--body);padding:8px 12px;border-radius:999px;text-decoration:underline;text-underline-offset:3px}
.hm-label,.hm-chip{position:absolute;left:14px;z-index:4;pointer-events:none;border-radius:999px;white-space:nowrap;max-width:calc(100% - 28px);overflow:hidden;text-overflow:ellipsis}
.hm-label{top:14px;padding:7px 11px;font:600 .74rem/1 var(--body);letter-spacing:.01em;color:#fff;background:rgba(15,23,32,.62)}
.hm-chip{bottom:14px;padding:8px 13px;font:700 .84rem/1 var(--body);color:var(--ink);background:#fff;box-shadow:0 4px 14px rgba(15,23,32,.2);transition:opacity .2s ease}
.hm-label{transition:opacity .2s ease}
.hm-box.is-playing .hm-chip,.hm-box.is-playing .hm-label{opacity:0}
@media (max-width:599px){.hx-media{width:100%}}
.hm-ph{display:grid;place-items:center;background:linear-gradient(135deg,#D7E8FA,#E9F7F0)}
.hm-ph-a{width:96px;height:96px;border-radius:50%;background:var(--apricot);border:3px solid #fff;display:grid;place-items:center;font:800 2.4rem var(--head);color:var(--coral)}
.hm-ph .hm-label{color:var(--ink-2);background:#fff;border:1px dashed var(--ink-2)}

/* scroll cue (kept subtle) */
.scroll-cue{display:flex;flex-direction:column;align-items:center;gap:0;margin:20px auto 0;padding:6px 10px;width:max-content;font-weight:700;font-size:.9rem;color:var(--ink-2);text-decoration:none}
.scroll-cue:hover{color:var(--ink)}
.scroll-cue svg{animation:cue 1.8s ease-in-out infinite}
@keyframes cue{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* the strip below the hero: the three what-you-get items, one slim band */
section.hx-strip{padding:16px 0;background:#fff;border-block:1px solid var(--line)}
ul.getline{list-style:none;margin:0 auto;padding:0;display:grid;gap:10px;max-width:30em;color:var(--ink);font-size:.97rem;font-weight:600;line-height:1.35}
ul.getline li{display:flex;align-items:center;gap:12px}
ul.getline svg{flex:none;color:var(--blue)}
@media (min-width:760px){
  section.hx-strip{padding:20px 0}
  ul.getline{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 44px;max-width:none}
}

/* ---------- hero: text left, square video right, calm light background ---------- */
@media (min-width:600px){.hero{--vs:360px}}
@media (min-width:900px){
  .hero{--vs:min(clamp(340px,100vh - 410px,460px),40vw);padding:64px 0 16px}
  .hero .wrap.hero-grid{max-width:1080px;grid-template-columns:minmax(0,1fr) var(--vs);column-gap:clamp(40px,5vw,72px)}
  .hero .hx-text h1{font-size:clamp(2.3rem,3.5vw,3.4rem)}
  .hero .hx-media::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--r-media);background:var(--tint);transform:translate(18px,18px)}
}

/* header: About sits next to For teams and Pick your package */
.a-about{font-weight:700;text-decoration:none;color:var(--ink-2)}
.a-about:hover,.a-teams:hover,.a-redeem:hover{color:var(--ink)}
/* Redeem a code: a quiet text link next to About, never competing with Pick your package; the short word on phones */
.a-redeem{font-weight:600;text-decoration:none;color:var(--ink-2)}
.a-redeem-long{display:none}
@media (min-width:480px){.a-redeem-long{display:inline}}
body.post .a-navr .a-about{display:none}
header .nav a.logo{display:flex}
/* phones: logo, About and Pick your package on one line; For teams joins from 760px */
@media (max-width:759px){header .nav a.a-teams{display:none}}
@media (max-width:479px){header .nav a.a-about{display:none}}


@media (prefers-reduced-motion:reduce){
  .scroll-cue svg{animation:none}
  .hm-btn,.hm-chip{transition:none}
  .hm-play:hover .hm-btn,.hm-link:hover .hm-btn{transform:translate(-50%,-50%)}
}
