/* =============================================
   LIFE - the hero gets alive: headline layout, the ring's light, sparkles,
   and brand colour that travels across the "trusted by" row.
   Loaded last. Lite mode (slow phones) and reduced motion switch it all off.
   ============================================= */

/* ---------- headline: three lines, the highlighted phrase alone on one line, bigger ---------- */
/* size from the width of the column the text lives in (no container queries: they collapsed the grid) */
.hero-h1 { font-size: calc((min(100vw, 640px) - 40px) * 0.152); line-height: 1; }
@media (min-width: 961px) { .hero-h1 { font-size: calc((min(100vw, 1180px) - 104px) * 0.0788); line-height: 0.98; } }
.hero-line:first-child > span { font-size: 0.74em; }
.hero-line:nth-child(3) > span { animation-delay: 2.65s; }
html.build-fast .hero-line:nth-child(3) > span { animation-delay: 1.05s; }
.hero-line--clip { overflow: visible; }
.hero-line--clip > span { overflow: visible; }
.clip { display: inline-block; white-space: nowrap; padding: 0 0.14em 0.04em; margin-inline: 0; line-height: 1.04; }
@media (min-width: 961px) { .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); } }

/* ---------- the band under the hero: words only, no arrows ---------- */
.tick-set i { display: none; }
.tick-set span { padding-inline: 34px; }

/* ---------- the ring: a light that circles it, a glint that travels around the reels, sparkles ---------- */
.ring-halo {
  position: absolute; left: 50%; top: calc(50% - 6px + var(--ring-drop, 0px)); z-index: 1; width: calc(var(--fw) * 4.9); aspect-ratio: 1; translate: -50% -46%;
  border-radius: 50%; pointer-events: none; opacity: 0.58; filter: blur(38px); mix-blend-mode: screen;
  background: conic-gradient(from 0deg, rgba(147, 51, 234, 0) 0 14%, rgba(147, 51, 234, 0.85) 30%, rgba(255, 77, 109, 0.55) 42%, rgba(147, 51, 234, 0) 56%, rgba(99, 102, 241, 0.7) 76%, rgba(147, 51, 234, 0) 90%);
  animation: haloSpin 13s linear infinite;
}
@keyframes haloSpin { to { rotate: 360deg; } }
.rf-gloss::after {
  content: ''; position: absolute; inset: -30%; translate: -130% 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  animation: rfGlint 6s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(var(--i, 0) * 0.45s);
}
@keyframes rfGlint { 0% { translate: -130% 0; } 28%, 100% { translate: 130% 0; } }
.ring-frame.is-front { box-shadow: 0 26px 44px -20px rgba(0, 0, 0, 0.85), 0 0 50px -6px rgba(147, 51, 234, 0.6); }

.sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sparks i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: 0; scale: 0; animation: twinkle var(--d) ease-in-out infinite; animation-delay: var(--dl); }
.sparks i::before { content: ''; position: absolute; inset: -90%; border-radius: 50%; background: radial-gradient(circle, rgba(199, 166, 255, 0.55), transparent 65%); }
.sparks i::after { content: ''; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: 0; rotate: 0deg; } 42% { opacity: 1; scale: 1; rotate: 40deg; } 70% { opacity: 0.85; scale: 0.7; rotate: 70deg; } }
@media (max-width: 600px) { .sparks i:nth-child(n+10) { display: none; } }
.hero.is-lite .ring-halo, .hero.is-lite .sparks { display: none; }
.hero.is-lite .rf-gloss::after { animation: none; }

/* ---------- trusted by: a spark walks along the row and every brand lights up in its own colour ---------- */
.hero-trust-row { gap: 12px; }
.trust-chip { --c: #9333ea; position: relative; overflow: hidden; isolation: isolate; transition: border-color 0.5s var(--ease-out), box-shadow 0.6s var(--ease-out), transform 0.3s var(--ease-out); }
.trust-chip::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.6s var(--ease-out); background: radial-gradient(120% 90% at 50% 115%, color-mix(in srgb, var(--c) 60%, transparent), transparent 70%); }
.trust-chip::after {
  content: ''; position: absolute; top: -25%; bottom: -25%; width: 38%; left: 130%; pointer-events: none; opacity: 0; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
}
.trust-chip img { transition: filter 0.6s var(--ease-out), opacity 0.6s var(--ease-out), transform 0.7s var(--ease-expo); }
.trust-chip.is-lit { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 12px 38px -10px var(--c); }
.trust-chip.is-lit::before { opacity: 1; }
.trust-chip.is-lit img { filter: none; opacity: 1; transform: scale(1.06); }
.trust-chip.is-lit::after { animation: chipSheen 1.15s var(--ease-out) both; }
@keyframes chipSheen { 0% { left: 130%; opacity: 1; } 100% { left: -50%; opacity: 1; } }
.trust-chip .spk { position: absolute; top: 9%; inset-inline-end: 11%; width: 15px; height: 15px; background: #fff; pointer-events: none; opacity: 0; scale: 0; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.trust-chip.is-lit .spk { animation: chipSpark 1.5s var(--ease-out) 0.15s both; }
@keyframes chipSpark { 0% { opacity: 0; scale: 0; rotate: 0deg; } 35% { opacity: 1; scale: 1.25; rotate: 50deg; } 100% { opacity: 0; scale: 0.2; rotate: 120deg; } }
@media (hover: hover) and (pointer: fine) {
  .trust-chip:hover { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 12px 38px -10px var(--c); }
  .trust-chip:hover::before { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-halo, .rf-gloss::after, .sparks i, .trust-chip.is-lit::after, .trust-chip.is-lit .spk { animation: none !important; }
  .sparks { display: none; }
}

/* keep the far-right reel clear of the bigger headline (desktop) */
@media (min-width: 1100px) { .hero-stage { translate: -34px 0; } }

/* ================= the little guide: a 3D bot that lives ON the page (gravity, shadow, depth) ================= */
.guide {
  position: fixed; left: 0; top: 0; z-index: 870; width: 54px; height: 54px; padding: 0; border: 0; background: none; font: inherit; color: #fff; cursor: pointer;
  perspective: 280px; opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease-out); will-change: transform; -webkit-tap-highlight-color: transparent;
}
.guide.on { opacity: 1; pointer-events: auto; }
.guide:focus-visible { outline: 3px solid var(--lav); outline-offset: 6px; border-radius: 50%; }
/* the shadow it casts on whatever it stands on - smaller and fainter the higher it jumps */
.guide-shadow {
  position: fixed; left: 0; top: 0; z-index: 869; width: 52px; height: 12px; margin-top: -6px; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 70%);
}
.guide-bubble {
  position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 0; width: max-content; max-width: min(230px, 70vw); text-align: center; line-height: 1.3; padding: 6px 15px 7px; border-radius: 16px; font-size: 0.84rem; font-weight: 800; opacity: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(120, 70, 190, 0.92), rgba(60, 25, 110, 0.92)); border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s var(--ease-out), translate 0.5s var(--ease-expo);
}
.guide.say .guide-bubble { opacity: 1; translate: -50% -4px; }
.guide-bot { position: absolute; inset: 0; transform-origin: 50% 100%; }
.guide-orb {
  position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d;
  background:
    radial-gradient(circle at calc(32% + var(--hx, 0%)) calc(22% + var(--hy, 0%)), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 50% 118%, rgba(255, 77, 109, 0.5), rgba(255, 77, 109, 0) 55%),
    radial-gradient(circle at 40% 35%, rgba(199, 166, 255, 0.9), rgba(147, 51, 234, 0.96) 62%, rgba(70, 18, 140, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55); box-shadow: inset 0 -9px 16px rgba(50, 8, 110, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(147, 51, 234, 0.5);
}
.guide-orb::before { content: ''; position: absolute; top: -10px; left: 50%; width: 2px; height: 10px; translate: -50% 0; background: rgba(255, 255, 255, 0.85); transform: translateZ(2px); }
.guide-orb::after { content: ''; position: absolute; top: -16px; left: 50%; width: 8px; height: 8px; translate: -50% 0; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(199, 166, 255, 0.95); animation: botBlink 1.6s ease-in-out infinite; transform: translateZ(2px); }
.guide-eyes { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 9px; transform: translateZ(10px); }
.guide-eyes i { width: 10px; height: 15px; border-radius: 6px; background: #1a0b33; box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.85); animation: botEye 4.6s infinite; }
.guide-eyes i:nth-child(2) { animation-delay: 0.04s; }
.guide-eyes i { scale: 1 var(--esy, 1); }
.guide-arm { position: absolute; bottom: 8px; width: 17px; height: 9px; border-radius: 6px; opacity: 0; background: linear-gradient(180deg, #d6bdff, #8b3be0); border: 1px solid rgba(255, 255, 255, 0.5); transition: opacity 0.3s; }
.guide.lean .guide-arm { opacity: 1; }
.guide.lean .guide-arm { inset-inline: auto; left: var(--armx, -14px); }
.guide-trail { position: absolute; left: 50%; top: 100%; translate: -50% 0; display: none; flex-direction: column; align-items: center; height: 36px; margin-top: 8px; }
.guide.wait .guide-trail { display: flex; }
.guide-trail i { width: 13px; height: 13px; margin-top: -7px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; rotate: 45deg; opacity: 0; border-radius: 2px; filter: drop-shadow(0 0 6px rgba(199, 166, 255, 0.9)); animation: botChev 1.7s ease-in-out infinite; }
.guide-trail i:nth-child(2) { animation-delay: 0.22s; } .guide-trail i:nth-child(3) { animation-delay: 0.44s; }
.guide.rest .guide-orb { animation: botBreath 3s ease-in-out infinite; }
@keyframes botBreath { 0%, 100% { scale: 1 1; } 50% { scale: 1.03 0.97; } }
@keyframes botBlink { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.45; scale: 0.7; } }
@keyframes botEye { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes botChev { 0% { opacity: 0; translate: 0 -8px; } 40% { opacity: 1; } 100% { opacity: 0; translate: 0 10px; } }
@media (max-width: 700px) { .guide { width: 46px; height: 46px; } .guide-shadow { width: 44px; } .guide-eyes { gap: 7px; } .guide-eyes i { width: 8px; height: 12px; } }
@media (prefers-reduced-motion: reduce) { .guide, .guide-shadow { display: none; } }

/* ================= every reel in the ring is a little TV: bezel, chin with speaker grille and a power light, scanlines ================= */
.hero { --bz: 7px; --bzb: 16px; }
@media (max-width: 600px) { .hero { --bz: 5px; --bzb: 12px; } }
.ring-frame {
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, #54456f 0%, #1c1430 36%, #0e0919 60%, #3a2e55 100%);
  box-shadow: 0 26px 44px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 3px rgba(0, 0, 0, 0.6);
}
.ring-frame video { inset: var(--bz) var(--bz) var(--bzb) var(--bz); width: auto; height: auto; border-radius: 9px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.85); }
.ring-frame::before {                                    /* scanlines on the glass */
  content: ''; position: absolute; z-index: 1; inset: var(--bz) var(--bz) var(--bzb) var(--bz); border-radius: 9px; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px); opacity: 0.28; mix-blend-mode: multiply;
}
.ring-frame::after {                                     /* speaker grille in the chin */
  content: ''; position: absolute; z-index: 2; left: 14px; bottom: calc(var(--bzb) / 2 - 3px); width: 34%; height: 6px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.4px) 0 50% / 6px 100% repeat-x;
}
.rf-gloss::before {                                      /* power light */
  content: ''; position: absolute; right: 14px; bottom: calc(var(--bzb) / 2 - 3px); width: 6px; height: 6px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 7px 2px rgba(255, 77, 109, 0.85);
}
.ring-frame.is-front .rf-gloss::before { background: #6dff9a; box-shadow: 0 0 8px 2px rgba(109, 255, 154, 0.9); }
.rf-gloss { z-index: 2; }
.rf-shade, .rf-play { z-index: 3; }

/* its moods: dozing, and sunglasses for the cool channels */
.guide.nap .guide-orb { animation: botBreath 4.2s ease-in-out infinite; filter: saturate(0.7) brightness(0.92); }
.guide.nap .guide-orb::after { animation-duration: 3.4s; }
.guide.cool .guide-eyes::after { content: ''; position: absolute; left: 50%; top: 50%; width: 74%; height: 44%; translate: -50% -42%; border-radius: 3px 3px 11px 11px; background: linear-gradient(180deg, #2a1646, #07020f); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4), 0 2px 0 rgba(0, 0, 0, 0.4); transform: translateZ(2px); animation: botShades 0.5s var(--ease-expo) both; }
@keyframes botShades { from { translate: -50% -140%; opacity: 0; } to { translate: -50% -42%; opacity: 1; } }
