/* Homepage hero r1 (28 Nov 2026): one-line subhead + rotating word, product chips, glow motion, phone cube-first.
   Transforms/opacity only. No external requests. Motion off for prefers-reduced-motion, html[data-bt-motion=reduce] and .no-motion. */
.hero .hh-sub{text-wrap:balance;font-size:19px;line-height:1.5;margin:26px 0 22px;color:color-mix(in srgb,var(--ink,#e8ecf5) 78%,transparent);letter-spacing:-.01em;max-width:34em}
.hero .hh-sub .hh-l{display:block}
.hh-rot{display:inline-grid;vertical-align:baseline;min-width:2.9em;text-align:left;color:var(--mint,#7de3c0);font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:1.12em;line-height:1}
.hh-rot .hh-w{grid-area:1/1;white-space:nowrap;transition:opacity .45s ease,transform .45s cubic-bezier(.2,.7,.2,1)}
.hh-rot.is-js .hh-w{opacity:0;transform:translateY(55%)}
.hh-rot.is-js .hh-w.is-on{opacity:1;transform:none}
.hh-rot.is-js .hh-w.is-out{opacity:0;transform:translateY(-55%)}
.hero .hero-actions{margin-top:0}
.hero .hh-micro{margin-top:14px;font-size:12.5px;letter-spacing:.01em}
.hh-chips{display:flex;flex-wrap:wrap;gap:6px;margin:26px 0 0;padding:0;min-height:36px}
.hh-chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 11px 0 9px;border-radius:999px;border:1px solid var(--line,#ffffff1f);background:color-mix(in srgb,var(--ink,#fff) 5%,transparent);color:var(--ink,#e8ecf5);font-size:12.5px;line-height:1;white-space:nowrap;text-decoration:none;flex:0 0 auto;scroll-snap-align:start;transition:background .3s ease,border-color .3s ease,color .3s ease,box-shadow .3s ease}
.hh-chip svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.hh-chip:hover,.hh-chip:focus-visible,.hh-chip.is-on{border-color:color-mix(in srgb,var(--accent,#7aa7ff) 70%,transparent);background:color-mix(in srgb,var(--accent,#7aa7ff) 18%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#7aa7ff) 10%,transparent)}
.hh-chip:focus-visible{outline:2px solid var(--accent,#7aa7ff);outline-offset:2px}
.hh-cap{margin:12px 0 0;min-height:1.6em;font-size:14px;line-height:1.6;color:color-mix(in srgb,var(--ink,#e8ecf5) 62%,transparent);transition:opacity .22s ease}
.hh-cap.is-swap{opacity:0}
/* glow behind the hero */
.hh-glow{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;contain:paint}
.hh-glow i{position:absolute;border-radius:50%;will-change:transform;opacity:.55}
.hh-glow i:nth-child(1){width:46%;aspect-ratio:1;left:-6%;top:6%;background:radial-gradient(closest-side,#4c86f044,transparent);animation:hh-d1 19s ease-in-out infinite alternate}
.hh-glow i:nth-child(2){width:44%;aspect-ratio:1;right:-4%;top:-2%;background:radial-gradient(closest-side,#8a6cf045,transparent);animation:hh-d2 23s ease-in-out infinite alternate}
.hh-glow i:nth-child(3){width:34%;aspect-ratio:1;right:22%;bottom:-6%;background:radial-gradient(closest-side,#35d6a738,transparent);animation:hh-d3 27s ease-in-out infinite alternate}
@keyframes hh-d1{to{transform:translate3d(14%,10%,0) scale(1.15)}}
@keyframes hh-d2{to{transform:translate3d(-12%,14%,0) scale(.9)}}
@keyframes hh-d3{to{transform:translate3d(-16%,-12%,0) scale(1.2)}}
html[data-bt-theme="light"] .hh-glow i{opacity:.4}
.hero-copy,.hero-scene{position:relative;z-index:1}
.hero-copy{z-index:2}
/* drag hint */
.hh-hint{position:absolute;left:50%;top:78px;transform:translateX(-50%);z-index:4;padding:6px 12px;border-radius:999px;font-size:12px;letter-spacing:.02em;color:var(--ink,#e8ecf5);background:color-mix(in srgb,var(--bg,#0b1220) 72%,transparent);border:1px solid var(--line,#ffffff24);backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:opacity .4s ease;white-space:nowrap}
.hh-hint.is-on{opacity:1}
/* chips and caption fade up once (opacity only, below the H1 so LCP is unaffected) */
.hh-chips,.hh-cap{animation:hh-in .6s .15s ease both}
@keyframes hh-in{from{opacity:0}to{opacity:1}}
/* entity sentence, now below the hero */
.hh-about{padding:34px 0 8px;max-width:860px}
.hh-about h2{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:500;margin:0 0 10px;color:var(--accent,#7aa7ff)}
.hh-about p{font-size:16px;line-height:1.7;margin:0;color:color-mix(in srgb,var(--ink,#e8ecf5) 74%,transparent)}
@media(max-width:1150px){.hero .hh-sub{font-size:17px}}
@media(max-width:860px){
  .hero .hh-sub{margin:20px auto 20px}
  .hh-chips{justify-content:center}
}
@media(max-width:600px){
  .hero .hh-sub{font-size:15.5px;margin:18px auto 20px;line-height:1.5}
  .hero .hh-sub .hh-l{display:inline}
  .hero-copy{padding-top:6px!important}
  /* cube first, ~290px */
  body.bt-flow .hero-scene#hero-scene{order:-1;height:372px;margin:0 auto;max-width:none}
  #hero-scene .btc-host{inset:28px 0 70px 0}
  body.bt-flow .hero-scene .scene-coordinate,body.bt-flow .hero-scene .scene-preview-label{display:none}
  .hh-hint{top:40px}
  .hh-chips{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:22px -20px 0;padding:2px 20px 6px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 28px),transparent 100%)}
  .hh-chips::-webkit-scrollbar{display:none}
  .hh-chip{height:40px}
  .hh-cap{text-align:center;font-size:13.5px}
  .hh-about{padding-top:26px}
}
@media(max-width:380px){.hero .hh-sub{font-size:14.5px}}
@media(prefers-reduced-motion:reduce){.hh-glow i,.hh-chips,.hh-cap{animation:none}.hh-rot .hh-w,.hh-chip,.hh-cap,.hh-hint{transition:none}}
html[data-bt-motion="reduce"] .hh-glow i,html[data-bt-motion="reduce"] .hh-chips,html[data-bt-motion="reduce"] .hh-cap,.no-motion .hh-glow i{animation:none}
html[data-bt-motion="reduce"] .hh-rot .hh-w,html[data-bt-motion="reduce"] .hh-chip,html[data-bt-motion="reduce"] .hh-cap,html[data-bt-motion="reduce"] .hh-hint{transition:none}

/* r2 (28 Nov 2026, Helpy live QA): phone <=480px only. Text block first (H1, subhead, trial CTA, "No card..."), then the cube, then chips.
   .hero-copy becomes display:contents so its children and the cube can be ordered in the hero grid. Desktop and tablet are untouched. */
@media(max-width:480px){
  .hero-copy{display:contents}
  .hero-copy>*{min-width:0;max-width:100%}
  .hero-copy>.eyebrow{order:1;justify-content:center;text-align:center;margin:0;padding:22px 0 14px}
  .hero-copy>h1{order:2;text-align:center}
  .hero .hh-sub{order:3;text-align:center;margin:14px auto 16px}
  .hero-copy>.hero-actions{order:4;justify-content:center}
  .hero-copy>.hh-micro{order:5;justify-content:center;text-align:center;margin-top:12px}
  body.bt-flow .hero-scene#hero-scene{order:6;margin:20px auto 0}
  .hero-copy>.hh-chips{order:7;margin-top:14px}
  .hero-copy>.hh-cap{order:8;text-align:center}
  .hero>.hero-bottom{order:9}
}
