/* The home's first screen (Dec 2): the pass above the sign-up, and the 100 lights. Order of the layers inside .hero:
   the film, the pass, the lights over it, then the words and the form, so a light never crosses something to read. */
.hp-sky{position:absolute;top:0;left:0;width:100%;z-index:2;pointer-events:none}
.hero .hp-words{position:relative;z-index:3}
.jw{min-width:0}
.hp-pass{--lit:0;position:relative;z-index:1;margin:0 16px -30px;height:176px;border-radius:20px;overflow:hidden;background:#0E0E16;color:#fff;
  border:1px solid rgba(255,255,255,calc(.22 + .3*var(--lit)));box-shadow:0 -6px calc(60px*var(--lit)) rgba(122,85,247,calc(.5*var(--lit))),0 18px 50px rgba(0,0,0,.45);transition:box-shadow .8s ease,border-color .8s ease}
.hp-holo{position:absolute;inset:0;opacity:calc(.55 + .45*var(--lit));transition:opacity .8s ease;background:
  linear-gradient(rgba(7,7,11,.44),rgba(7,7,11,.44)),radial-gradient(120% 90% at 20% 0%,rgba(255,255,255,.22),transparent 45%),linear-gradient(125deg,rgba(0,216,245,.62),rgba(30,140,250,.38) 30%,rgba(122,85,247,.5) 60%,rgba(225,27,234,.62))}
.hp-in{position:relative;height:146px;padding:16px 20px 12px;display:flex;flex-direction:column;transition:opacity .45s ease}
.hp-top{display:flex;align-items:center;justify-content:space-between}
.hp-top img{height:18px;width:auto}
.hp-top span{font-family:var(--mono);font-size:11px;letter-spacing:.3em}
.hp-name{margin-top:auto;font-family:var(--serif);font-style:italic;font-size:34px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-name.wait{opacity:.72}
.nolatin .hp-name.wait{font-family:var(--display);font-style:normal;font-size:24px;font-weight:600}
.hp-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:6px;font-size:13px;font-weight:700;white-space:nowrap}
.hp-row>span{display:flex;align-items:baseline;min-width:0}.hp-row>span:last-child{flex:none}
.hp-row small{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:600;margin-inline-end:8px;color:#E9E9F0}
.hp-row b{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.hp-pass.writing .hp-in{opacity:0}
.hp-pass.mine .hp-row b{animation:hp-print .7s ease both}
@keyframes hp-print{from{opacity:0;filter:blur(6px)}to{opacity:1;filter:none}}
.hero .jw>.card{z-index:3;background:rgba(13,13,20,.96);backdrop-filter:none}
.hp-rule{margin-top:14px;font-size:12.5px;line-height:1.45;color:var(--on-2)}
.hp-back{display:flex;flex-direction:column;gap:14px;padding-top:6px}
.stage:has(>.hp-back:not(.off))>.step:not(.hp-back){display:none}
.jw .cs{text-wrap:pretty}
.hp-back.off{visibility:hidden}
.hp-back p{color:var(--on-2)}
.hp-back a:not(.btn){align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--on-2);text-underline-offset:3px}
@media(min-width:1024px){.jw{margin-top:-8px}}
/* phones and tablets: the pass and the form come right after the heading; the film button and the rest follow them */
@media(max-width:1023px){
  .hero-grid{gap:0}
  .hero .hp-words{display:contents}
  .hp-words>*,.hero-grid>.lead,.hero-grid>.start-btn{position:relative;z-index:3}
  .hp-words>.lead,.hp-words>.start-btn,.hero-grid>.lead,.hero-grid>.start-btn{order:2}
  .hp-words>.start-btn,.hp-words>.device,.hero-grid>.start-btn{justify-self:start}
  .jw{order:1;margin-top:26px}
  .hero .lead{margin-top:30px}
}
@media(max-width:719px){
  .hero{padding-top:92px}
  .hp-pass{margin:0 12px -30px;height:166px}.hp-in{height:136px;padding:14px 16px 10px}.hp-name{font-size:30px}
  .hp-words>.indev-box{margin-bottom:14px}.hero h1{margin:12px 0}
}
@media(max-width:400px){.hp-row{font-size:12px;gap:8px}.hp-row small{margin-inline-end:6px;font-size:11.5px}.hp-row b{font-size:17px}}
@media(min-width:1800px){.hp-pass{height:228px}.hp-in{height:198px;padding:24px 28px 18px}.hp-top img{height:26px}.hp-name{font-size:48px}.hp-row{font-size:18px}.hp-row small{font-size:16px}.hp-row b{font-size:28px}.hp-rule{font-size:16px}}
html.a11y-contrast .hp-holo{opacity:.25}
html.a11y-contrast .hp-sky{opacity:.35}
/* a member's device: the form waits out of sight until we know whose pass to show */
.stage.hp-ask>#formWrap{visibility:hidden}
html.a11y-still .hp-pass,html.a11y-still .hp-pass *{transition:none;animation:none}
@media(prefers-reduced-motion:reduce){.hp-pass,.hp-pass *{transition:none!important;animation:none!important}}
html:not(.js) .hp-sky{display:none}
/* where the words "Member No." do not fit beside the Sparks, the number stands alone */
@media(max-width:340px){.hp-row small{display:none}}
@media(max-width:400px){:lang(sw) .hp-row small{display:none}}
@media(min-width:1800px){:lang(sw) .hp-row{font-size:15px}:lang(sw) .hp-row small{font-size:13px}}
