/**
 * Copyright 2026 Cubesob Demo Template.
 * Theme Name: Wanda
 * Theme Type: Landing Page
 * Developed by Mohammad Rehaan Nizami and Designed by Arsala Jeelani
 * All rights reserved.
 */

:root {
  --bg: #050507;
  --text: #f5f4f7;
  --text-dim: #b6b4bf;
  --text-faint: #8a8894;
  --red: #ff2a3c;
  --red-deep: #c8102e;
  --glass: #ffffff0f;
  --glass-lit: #ffffff1c;
  --hair: #ffffff1a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --fs-h1: clamp(2.8rem, 6.8vw, 5.6rem);
  --fs-h2: clamp(2rem, 4vw, 3.4rem);
  --fs-tag: clamp(1.25rem, 2.3vw, 1.9rem);
  --gutter: clamp(20px, 6vw, 96px);
  --container: 1600px;
  --nav-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: hidden;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  padding: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
p,
figure {
  margin: 0;
}
em {
  color: var(--red);
  font-style: normal;
}
.skip {
  z-index: 100;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  position: fixed;
  top: -100px;
  left: 16px;
}
.skip:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.curtain {
  z-index: 60;
  background: var(--bg);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.9s var(--ease-soft);
  position: fixed;
  inset: 0;
}
html:not(.js) .curtain,
html.ready .curtain {
  opacity: 0;
}
.nav {
  z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  opacity: 0;
  transition:
    opacity 0.8s var(--ease-soft) 0.2s,
    transform 0.8s var(--ease) 0.2s;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  display: grid;
  position: fixed;
  inset: 0 0 auto;
  transform: translateY(-10px);
}
html:not(.js) .nav,
html.ready .nav {
  opacity: 1;
  transform: none;
}
.nav:before {
  content: "";
  z-index: -1;
  background: linear-gradient(#050507bf, #05050700);
  position: absolute;
  inset: 0;
}
.nav__logo {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.nav__mark {
  clip-path: polygon(0 0, 38% 0, 62% 100%, 24% 100%, 0 42%);
  background: linear-gradient(135deg, #fff 0 46%, #0000 46% 54%, #fff 54%);
  width: 28px;
  height: 28px;
}
.nav__word {
  letter-spacing: 0.24em;
  font-size: 1.05rem;
  font-weight: 700;
}
.nav__links {
  justify-self: start;
  gap: clamp(20px, 3vw, 44px);
  margin-left: clamp(12px, 5vw, 96px);
  display: flex;
}
.nav__links a {
  opacity: 0.9;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-flex;
}
.nav__links a:hover {
  opacity: 1;
}
.chev {
  border-left: 3.5px solid #0000;
  border-right: 3.5px solid #0000;
  border-top: 4px solid var(--text-faint);
  width: 0;
  height: 0;
}
.nav__cta {
  border: 1px solid var(--hair);
  background: #14141ab3;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 24px;
  display: inline-flex;
}
.nav__product {
  white-space: nowrap;
  margin-right: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}
.btn {
  letter-spacing: 0.02em;
  white-space: nowrap;
  height: 46px;
  transition:
    transform 0.35s var(--ease),
    filter 0.25s;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 22px;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
}
.btn--red {
  color: #fff;
}
.btn--ghost {
  color: var(--text);
}
.btn--lg {
  height: 52px;
  padding: 0 30px;
  font-size: 0.9rem;
}
.rail {
  z-index: 50;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: opacity 0.8s 0.6s;
  display: flex;
  position: fixed;
  bottom: 34px;
  right: clamp(14px, 2.4vw, 40px);
}
html:not(.js) .rail {
  display: none;
}
html.ready .rail {
  opacity: 1;
}
.rail__dots {
  flex-direction: column;
  align-items: center;
  gap: 11px;
  display: flex;
}
.rail__dots button {
  background: var(--text-faint);
  opacity: 0.7;
  width: 6px;
  height: 6px;
  transition:
    transform 0.5s var(--ease),
    background 0.3s,
    opacity 0.3s;
  border-radius: 3px;
  display: block;
}
.rail__dots button:hover {
  opacity: 1;
}
.rail__dots button.is-on {
  background: var(--red);
  opacity: 1;
  transform: scaleX(5);
}
.rail__next {
  border: 1px solid var(--hair);
  width: 56px;
  height: 56px;
  color: var(--red);
  transition:
    transform 0.35s var(--ease),
    background 0.25s;
  background: #14141ab3;
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.rail__next:hover {
  background: var(--glass-lit);
}
.rail__next svg {
  width: 24px;
  height: 24px;
  transition: transform 0.35s var(--ease);
}
html[data-last="1"] .rail__next svg {
  transform: rotate(180deg);
}
@media (max-width: 820px) {
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0
      max(16px, env(safe-area-inset-left));
  }
  .nav__links {
    display: none;
  }
  .nav__cta {
    justify-self: end;
    margin-left: auto;
    padding: 4px 4px 4px 12px;
    gap: 6px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    flex-shrink: 0;
  }
  .nav__product {
    display: inline-block !important;
    white-space: nowrap;
    margin-right: 6px;
    font-size: clamp(0.72rem, 2.6vw, 0.88rem);
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .nav__cta .btn {
    padding: 8px 14px;
    font-size: 0.74rem;
  }
  .rail {
    display: none;
  }
}

@media (max-width: 400px) {
  .nav {
    gap: 8px;
    padding: 0 12px;
  }
  .nav__logo {
    gap: 6px;
  }
  .nav__word {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }
  .nav__cta {
    padding: 3px 3px 3px 10px;
  }
  .nav__product {
    font-size: 0.7rem;
    margin-right: 4px;
  }
  .nav__cta .btn {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}
.scene {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 8px) 0 40px;
  isolation: isolate;
  background: var(--bg);
  align-content: center;
  display: grid;
  position: relative;
  overflow: clip;
}
.runway {
  height: calc(var(--len, 3) * 100vh);
  background: var(--bg);
  isolation: isolate;
  position: relative;
}
.runway > .scene {
  height: 100svh;
  min-height: 0;
  padding: 0;
  position: sticky;
  top: 0;
}
@media (width<=820px) {
  .runway {
    height: calc(var(--len, 3) * 82vh);
  }
}
.scene__bg {
  z-index: -1;
  background: var(--bg);
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.scene__video {
  object-fit: cover;
  opacity: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  transition: opacity 1s var(--ease-soft);
  position: absolute;
  inset: 0;
  transform: scale(1.02);
}
.scene[data-video-ready] .scene__video {
  opacity: 1;
}
.scene[data-novideo] .scene__video {
  display: none;
}
html:not(.js) .scene__video {
  opacity: 1;
}
.scene__wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.scene__wash--hero {
  background:
    linear-gradient(
      90deg,
      #050507f0 0%,
      #050507cc 30%,
      #0505074d 54%,
      #05050700 72%
    ),
    linear-gradient(#0000 60%, #05050799);
}
.scene__wash--specs {
  background:
    linear-gradient(90deg, #050507cc 0%, #05050759 45%, #05050700 75%),
    linear-gradient(#05050700 38%, #050507d9 66%, #050507 100%);
}
.scene__wash--room {
  background:
    linear-gradient(90deg, #050507cc 0%, #05050773 40%, #05050740 70%),
    linear-gradient(#0505078c, #05050733 40%, #050507bf);
}
.scene--specs .scene__bg {
  background: radial-gradient(
    90% 70% at 75% 30%,
    #2c1f7a 0%,
    #17103f 35%,
    #050507 75%
  );
}
.scene--gestures .scene__bg {
  background: radial-gradient(
    46% 62% at 72% 52%,
    #26121a 0%,
    #100a0e 45%,
    #050507 78%
  );
}
.scene--multi .scene__bg {
  background: radial-gradient(
    80% 60% at 30% 40%,
    #2a2118 0%,
    #14100c 45%,
    #050507 80%
  );
}
.scene--hero .scene__video {
  --dx: 8%;
  --ds: 1.03;
  --px: 0px;
  --py: 0px;
  width: 130%;
  transform: translate(calc(var(--dx) + var(--px)), var(--py)) scale(var(--ds));
  will-change: transform;
  left: -30%;
}
@media (width<=820px) {
  .scene--hero .scene__video {
    --dx: 0%;
    --ds: 1.02;
    width: 100%;
    left: 0;
    transform: scale(1.02);
  }
}
.scene--specs .scene__video {
  --ty: 0%;
  --s: 1.02;
  --tx: 4%;
  width: 110%;
  transform: translate(var(--tx), var(--ty)) scale(var(--s));
  will-change: transform;
  left: -10%;
}
@media (width<=820px) {
  .scene--specs .scene__video {
    --tx: 0%;
    --ty: -30%;
    --s: 1.1;
    width: 100%;
    left: 0;
  }
}
.glow {
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
}
.glow--blue {
  background: radial-gradient(
    closest-side,
    #0050dc8c,
    #00288c40 45%,
    #0000 72%
  );
  width: 120vw;
  height: 60vh;
  bottom: -30vh;
  left: 50%;
  transform: translate(-50%);
}
.glow--red {
  background: radial-gradient(
    closest-side,
    #ff2a3c47,
    #780a1e2e 40%,
    #0000 70%
  );
  width: 90vw;
  height: 70vh;
  top: 20%;
  left: 50%;
  transform: translate(-50%);
}
.scene__inner {
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  margin: 0 auto;
  position: relative;
}
.acts {
  inset: var(--nav-h) 0 0;
  z-index: 1;
  display: grid;
  position: absolute;
}
.act {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  grid-area: 1/1;
  align-self: center;
  margin: 0 auto;
}
.act:not(:first-child) {
  opacity: 0;
  visibility: hidden;
}
.act--top {
  align-self: start;
  padding-top: clamp(8px, 4vh, 48px);
}
.act--bento {
  align-self: end;
  padding-bottom: clamp(12px, 3vh, 32px);
}
.act--devices {
  align-self: end;
  padding-bottom: clamp(28px, 8vh, 80px);
}
.hint {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  display: inline-flex;
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%);
}
.hint i {
  background: linear-gradient(to bottom, var(--red), transparent);
  transform-origin: top;
  width: 1px;
  height: 34px;
  animation: 1.6s ease-in-out infinite hint;
}
@keyframes hint {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }
  30% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scaleY(1);
  }
}
.eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: clamp(12px, 2vh, 20px);
  font-size: 0.72rem;
  font-weight: 600;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 20ch;
  font-weight: 600;
  line-height: 1.06;
}
.lede {
  color: var(--text-dim);
  text-wrap: pretty;
  max-width: 48ch;
  margin-top: clamp(14px, 2.2vh, 22px);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
}
.lede--center {
  text-align: center;
  margin-inline: auto;
}
.meta {
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
}
.meta li {
  align-items: center;
  gap: 10px;
  display: inline-flex;
}
.meta li + li:before {
  content: "";
  background: var(--red);
  border-radius: 50%;
  width: 4px;
  height: 4px;
}
.cta-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(20px, 3.4vh, 36px);
  display: flex;
}
.stats {
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: clamp(20px, 3vh, 34px);
  display: flex;
}
.stats b {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  display: block;
}
.stats span {
  color: var(--text-faint);
  max-width: 18ch;
  margin-top: 6px;
  font-size: 0.8rem;
  display: block;
}
.chips {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(16px, 2.6vh, 26px);
  display: flex;
}
.chips li {
  color: var(--text-dim);
  border: 1px solid var(--hair);
  background: var(--glass);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
}
.w {
  opacity: 0;
  transition:
    opacity 0.6s var(--ease-soft),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + var(--lead, 0s));
  display: inline-block;
  transform: translateY(0.5em);
}
[data-active] .w {
  opacity: 1;
  transform: none;
}
[data-rise] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-soft) 0.45s,
    transform 1.1s var(--ease) 0.45s;
  transform: translateY(40px);
}
[data-active] [data-rise] {
  opacity: 1;
  transform: none;
}
.scene__inner .lede,
.act--hero .lede,
.act--hero .meta,
.act--hero .cta-row,
.act--hero .eyebrow,
.act--hero .hero__title,
.scene__inner .eyebrow {
  opacity: 0;
  transition:
    opacity 0.8s var(--ease-soft) var(--d, 0.4s),
    transform 0.9s var(--ease) var(--d, 0.4s);
  transform: translateY(16px);
}
[data-active] .lede,
[data-active] .meta,
[data-active] .cta-row,
[data-active] .eyebrow,
[data-active] .hero__title {
  opacity: 1;
  transform: none;
}
.act--hero .eyebrow,
.scene__inner .eyebrow {
  --d: 0s;
}
.act--hero .hero__title {
  --d: 0.1s;
}
.act--hero .lede {
  --d: 0.6s;
}
.act--hero .meta {
  --d: 0.75s;
}
.act--hero .cta-row {
  --d: 0.9s;
}
.film {
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
}
.film__play {
  background: var(--glass-lit);
  border: 1px solid var(--hair);
  width: 34px;
  height: 34px;
  transition:
    transform 0.35s var(--ease),
    background 0.25s;
  border-radius: 50%;
  place-items: center;
  display: grid;
}
.film__play:after {
  content: "";
  border-top: 5px solid #0000;
  border-bottom: 5px solid #0000;
  border-left: 8px solid #fff;
  width: 0;
  height: 0;
  margin-left: 2px;
}
.film:hover .film__play {
  background: #ffffff2e;
  transform: scale(1.1);
}
.act--hero {
  text-shadow:
    0 2px 28px #000000bf,
    0 1px 3px #0009;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  letter-spacing: -0.045em;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em;
  font-weight: 600;
  line-height: 1;
  display: flex;
}
.badge {
  font-family: var(--font);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ff3d4c, var(--red-deep));
  color: #fff;
  border-radius: 0.5em;
  place-items: center;
  padding: 0.28em 0.55em;
  font-size: 0.3em;
  font-weight: 700;
  display: inline-grid;
  box-shadow: 0 8px 24px -8px #ff2a3ccc;
}
.hero__tag {
  font-family: var(--font-display);
  font-size: var(--fs-tag);
  letter-spacing: -0.02em;
  margin-top: clamp(14px, 2.4vh, 26px);
  font-weight: 500;
  line-height: 1.22;
}
.hero__tag .w {
  --lead: 0.35s;
}
.act--hero .lede {
  max-width: 44ch;
}
@media (width<=820px) {
  .scene--hero .act {
    align-self: end;
    padding-bottom: 12vh;
  }
  .scene__wash--hero {
    background: linear-gradient(#05050700 42%, #05050799 66%, #050507f0 100%);
  }
  .act--hero .lede {
    display: none;
  }
}
.scene--pills {
  padding-top: calc(var(--nav-h) + 4vh);
  align-content: start;
}
.scene--pills .scene__inner {
  padding-bottom: clamp(24px, 5vh, 56px);
}
.pills {
  opacity: 0;
  transition:
    opacity 1s var(--ease-soft) 0.5s,
    transform 1.2s var(--ease) 0.5s;
  gap: clamp(14px, 2vh, 22px);
  display: grid;
  transform: translateY(30px);
}
[data-active] .pills {
  opacity: 1;
  transform: none;
}
.pills__row,
.apps__row {
  width: 100%;
  overflow: hidden;
}
.pills__track,
.apps__track {
  width: max-content;
  animation: marquee var(--dur, 40s) linear infinite;
  will-change: transform;
  gap: clamp(14px, 1.8vw, 26px);
  animation-play-state: paused;
  display: flex;
}
.is-running .pills__track,
.is-running .apps__track {
  animation-play-state: running;
}
@keyframes marquee {
  0% {
    transform: translate(0);
  }
  to {
    transform: translateX(calc(-1 * var(--w, 1000px)));
  }
}
.pill {
  background: linear-gradient(135deg, var(--tint, #222) 0%, #0d0d12 100%);
  border-radius: 999px;
  flex: none;
  place-items: center;
  height: clamp(88px, 12vw, 140px);
  display: grid;
  position: relative;
  overflow: hidden;
}
.pill--wide {
  width: clamp(200px, 27vw, 340px);
}
.pill--logo {
  border: 1px solid var(--hair);
  background: #131318;
  width: clamp(88px, 12vw, 140px);
}
.pill img {
  object-fit: cover;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s;
  position: absolute;
  inset: 0;
}
.pill span {
  z-index: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffffb3;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
}
.pill.has-img span {
  opacity: 0;
}
.pill.has-img img {
  opacity: 1;
}
.wordmark {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}
.bento {
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas: "lead stats stats stats" "rings heat batt light";
  gap: 8px;
  display: grid;
}
.tile {
  background: linear-gradient(#ffffff0e, #ffffff05);
  border: 1px solid #ffffff0f;
  border-radius: 22px;
  align-items: center;
  min-height: clamp(120px, 15vh, 170px);
  padding: clamp(18px, 2.4vw, 34px) clamp(20px, 2.8vw, 44px);
  display: flex;
  position: relative;
  overflow: hidden;
}
.tile--lead {
  flex-direction: column;
  grid-area: lead;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.tile--stats {
  grid-area: stats;
  justify-content: space-around;
  gap: 16px;
}
.tile--rings {
  grid-area: rings;
}
.tile--heat {
  grid-area: heat;
}
.tile--batt {
  grid-area: batt;
}
.tile--light {
  grid-area: light;
}
.tile__big {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
}
.tile__sub {
  color: var(--text-faint);
  max-width: 26ch;
  font-size: 0.78rem;
  line-height: 1.45;
}
.tile__mid {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  z-index: 1;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.1;
  position: relative;
}
.tile__mid span {
  font-family: var(--font);
  color: var(--text-dim);
  letter-spacing: 0;
  margin-top: 0.25em;
  font-size: 0.72em;
  font-weight: 500;
  display: block;
}
.stat {
  align-items: center;
  gap: 12px;
  display: flex;
}
.stat__n {
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #ff4b5c, #ff7aa8);
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
}
.stat__l {
  color: #8fb8ff;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
}
.stat__up {
  opacity: 0.45;
  width: 14px;
  height: 40px;
  position: relative;
}
.stat__up:before {
  content: "";
  background: #fff;
  width: 1px;
  position: absolute;
  top: 4px;
  bottom: 0;
  left: 50%;
}
.stat__up:after {
  content: "";
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
}
.rings {
  opacity: 0.8;
  background: repeating-radial-gradient(circle, #ffffff8c 0 1px, #0000 1px 7px);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  -webkit-mask: radial-gradient(circle, #000 0 30%, #0000 72%);
  mask: radial-gradient(circle, #000 0 30%, #0000 72%);
}
.heat {
  background: radial-gradient(
    60% 55% at 70%,
    #00aaffd9,
    #005aff59 45%,
    #0000 72%
  );
  width: 65%;
  height: 140%;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}
.batt {
  border: 2px solid #ffffffb3;
  border-radius: 10px;
  width: 92px;
  height: 48px;
  padding: 4px;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}
.batt:after {
  content: "";
  background: #ffffffb3;
  border-radius: 3px;
  width: 5px;
  height: 18px;
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
}
.batt i {
  transform-origin: 0;
  height: 100%;
  transition: transform 1.6s var(--ease) 0.6s;
  background: linear-gradient(120deg, #ff4b7d, #ffb84b, #4bffc9, #4b7bff);
  border-radius: 6px;
  display: block;
  transform: scaleX(0.3);
}
.is-counted .batt i {
  transform: scaleX(1);
}
.tile__note {
  color: var(--text-faint);
  font-size: 0.62rem;
  position: absolute;
  bottom: 10px;
  right: 14px;
}
@media (width<=820px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "lead lead" "stats stats" "rings heat" "batt light";
    gap: 6px;
  }
  .tile {
    min-height: 96px;
    padding: 14px 16px;
  }
  .tile--stats {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 22px;
  }
  .tile__sub,
  .stat__up {
    display: none;
  }
  .rings {
    right: -60px;
  }
  .batt {
    width: 60px;
    height: 32px;
    padding: 3px;
    right: 12px;
  }
  .batt:after {
    width: 4px;
    height: 12px;
    right: -6px;
  }
}
.gest {
  inset: var(--nav-h) 0 0;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  padding: clamp(12px, 3vh, 40px) var(--gutter) clamp(20px, 4vh, 48px);
  grid-template: "copy frame" "list frame" / minmax(0, 5fr) minmax(0, 8fr);
  align-content: center;
  align-items: center;
  gap: clamp(18px, 3vh, 34px) clamp(32px, 4.5vw, 80px);
  margin: 0 auto;
  display: grid;
  position: absolute;
}
.gest__copy {
  grid-area: copy;
  align-self: end;
}
.gest__copy .lede {
  max-width: 40ch;
}
.gest .eyebrow,
.gest .lede {
  opacity: 0;
  transition:
    opacity 0.8s var(--ease-soft) var(--d, 0.4s),
    transform 0.9s var(--ease) var(--d, 0.4s);
  transform: translateY(16px);
}
.gest .eyebrow {
  --d: 0s;
}
.gest__list {
  grid-area: list;
  align-self: start;
  gap: 6px;
  display: grid;
}
.gest__list li {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-soft) calc(0.55s + var(--i, 0) * 90ms),
    transform 0.9s var(--ease) calc(0.55s + var(--i, 0) * 90ms);
  transform: translateY(14px);
}
[data-active] .gest__list li,
[data-active] .gest .eyebrow,
[data-active] .gest .lede {
  opacity: 1;
  transform: none;
}
.gest__row {
  text-align: left;
  width: 100%;
  transition:
    background 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft);
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 18px;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 14px;
  padding: 16px 18px 17px 16px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.gest__row:hover {
  background: var(--glass);
}
.gest__row.is-on {
  background: var(--glass);
  border-color: var(--hair);
}
.gest__row:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.gest__n {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  padding-top: 0.3em;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.35s;
}
.gest__row.is-on .gest__n {
  color: var(--red);
}
.gest__body b {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-dim);
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.35s;
  display: block;
}
.gest__row:hover .gest__body b,
.gest__row.is-on .gest__body b {
  color: #fff;
}
.gest__body span {
  color: var(--text-faint);
  text-wrap: pretty;
  max-width: 44ch;
  margin-top: 6px;
  font-size: clamp(0.86rem, 1.02vw, 1rem);
  line-height: 1.5;
  transition: color 0.35s;
  display: block;
}
.gest__row.is-on .gest__body span {
  color: var(--text-dim);
}
.gest__glyph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 26px;
  height: 26px;
  color: var(--text-faint);
  transition:
    color 0.35s,
    transform 0.6s var(--ease);
  margin-top: 2px;
}
.gest__row.is-on .gest__glyph {
  color: var(--red);
  transform: scale(1.12);
}
.gest__prog {
  background: var(--red);
  height: 2px;
  transform: scaleX(var(--p, 0));
  transform-origin: 0;
  opacity: 0;
  border-radius: 1px;
  transition: opacity 0.3s;
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
}
.gest__row.is-on .gest__prog {
  opacity: 1;
}
.gest__frame {
  width: min(100%, calc((100svh - var(--nav-h) - 56px) * 16 / 9));
  aspect-ratio: 16/9;
  border: 1px solid var(--hair);
  --px: 0px;
  --py: 0px;
  background: #0b0b10;
  border-radius: 30px;
  grid-area: frame;
  justify-self: end;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 50px 120px -40px #000000f2,
    0 0 0 1px #0009;
}
.gest__still {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.gest__frame .scene__video {
  transform: translate(var(--px), var(--py)) scale(1.02);
  will-change: transform;
}
.gest__frame:after {
  content: "";
  pointer-events: none;
  background:
    linear-gradient(#05050700 66%, #05050799),
    linear-gradient(#05050759, #05050700 22%);
  position: absolute;
  inset: 0;
}
.gest__chip {
  z-index: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--hair);
  background: #0505079e;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  position: absolute;
  top: 22px;
  left: 22px;
}
.gest__chip i {
  background: var(--red);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px var(--red);
  border-radius: 50%;
  animation: 2.2s ease-in-out infinite chip;
}
@keyframes chip {
  50% {
    opacity: 0.35;
  }
}
.gest__meter {
  z-index: 1;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  display: grid;
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
}
.gest__meter i {
  background: #ffffff29;
  border-radius: 2px;
  height: 3px;
  position: relative;
  overflow: hidden;
}
.gest__meter i:after {
  content: "";
  background: var(--red);
  transform: scaleX(var(--p, 0));
  transform-origin: 0;
  border-radius: 2px;
  position: absolute;
  inset: 0;
}
.gest__cap {
  display: none;
}
.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
@media (width>=821px) and (height<=820px) {
  .gest {
    row-gap: 12px;
    padding-top: 8px;
  }
  .gest__copy .lede {
    display: none;
  }
  .gest .h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  }
  .gest__row {
    padding: 11px 16px 12px 14px;
  }
  .gest__body span {
    margin-top: 3px;
    font-size: 0.86rem;
  }
  .gest__list {
    gap: 4px;
  }
}
@media (width<=1100px) {
  .gest {
    grid-template: "copy" "frame" "list"/1fr;
    align-content: start;
    row-gap: 14px;
    padding-top: 6px;
  }
  .gest__copy .lede {
    display: none;
  }
  .gest__frame {
    aspect-ratio: 16/9;
    border-radius: 18px;
    justify-self: center;
    width: min(100%, 177.778svh - 661.333px);
    height: auto;
    box-shadow: 0 30px 60px -30px #000000e6;
  }
  .gest__frame .scene__video {
    will-change: auto;
    transform: scale(1.02);
  }
  .gest__frame:after {
    background: linear-gradient(#05050700 30%, #05050766 54%, #050507e6);
  }
  .gest__chip {
    padding: 6px 10px 6px 8px;
    font-size: 0.62rem;
    top: 12px;
    left: 12px;
  }
  .gest__meter {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .gest__cap {
    z-index: 1;
    text-shadow: 0 1px 2px #0009;
    display: block;
    position: absolute;
    bottom: 30px;
    left: 12px;
    right: 12px;
  }
  .gest__cap b {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
    display: block;
  }
  .gest__cap span {
    color: var(--text-dim);
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.45;
    display: block;
  }
  .gest__list {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .gest__row {
    border-color: var(--hair);
    background: var(--glass);
    border-radius: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 10px;
    padding: 11px 12px;
  }
  .gest__row.is-on {
    background: var(--glass-lit);
    border-color: #fff3;
  }
  .gest__n {
    font-size: 0.68rem;
  }
  .gest__body b {
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    overflow: hidden;
  }
  .gest__glyph {
    display: none;
  }
  .gest__prog {
    left: 10px;
    right: 10px;
  }
}
.scene--apps {
  padding-top: calc(var(--nav-h) + 4vh);
  align-content: start;
}
.scene--apps .scene__inner {
  padding-bottom: clamp(20px, 4vh, 48px);
}
.scene--apps .h2 {
  max-width: 26ch;
}
.ribbon {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.apps {
  opacity: 0;
  transition:
    opacity 1s var(--ease-soft) 0.5s,
    transform 1.2s var(--ease) 0.5s;
  gap: clamp(12px, 2vh, 20px);
  display: grid;
  transform: translateY(30px);
}
[data-active] .apps {
  opacity: 1;
  transform: none;
}
.app {
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: #ffffff17;
  border: 1px solid #ffffff1a;
  border-radius: 999px;
  flex: none;
  place-items: center;
  min-width: clamp(72px, 9vw, 110px);
  height: clamp(72px, 9vw, 110px);
  padding: 0 clamp(20px, 2.6vw, 40px);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  font-weight: 700;
  display: grid;
}
.app svg {
  fill: #fff;
  width: 30px;
  height: 30px;
}
.app--w {
  padding: 0 clamp(28px, 3vw, 48px);
}
.devices {
  grid-template-columns: 1.6fr 1fr;
  align-items: end;
  gap: clamp(24px, 3.5vw, 64px);
  max-width: 1120px;
  display: grid;
  position: relative;
}
.device {
  position: relative;
}
.device__screen {
  transition:
    transform 1s var(--ease),
    box-shadow 0.6s;
  background: #0e0e13;
  border: 1px solid #ffffff1f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px #000000e6,
    0 0 0 1px #0006;
}
.device--laptop .device__screen {
  aspect-ratio: 16/9;
}
.device--phone {
  justify-self: end;
  width: min(250px, 100%);
}
.device--phone .device__screen {
  aspect-ratio: 9/16;
  border-radius: 30px;
}
.device.is-on .device__screen {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 50px 100px -30px #000000f2,
    0 0 0 1px #ff2a3c99,
    0 0 40px -10px #ff2a3c80;
}
.device__badge {
  border: 1px solid var(--hair);
  opacity: 0.5;
  transition:
    opacity 0.4s,
    transform 0.5s var(--ease);
  background: #17171d;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  position: absolute;
  top: -14px;
  left: 16px;
  transform: translateY(6px);
}
.device.is-on .device__badge {
  opacity: 1;
  border-color: #ff2a3c80;
  transform: none;
}
.wave {
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  display: inline-flex;
}
.wave b {
  background: var(--red);
  transform-origin: bottom;
  border-radius: 1px;
  width: 2px;
  height: 4px;
}
.device.is-on .wave b {
  animation: 0.8s ease-in-out infinite alternate wave;
}
.device.is-on .wave b:nth-child(2) {
  animation-delay: 0.15s;
}
.device.is-on .wave b:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes wave {
  0% {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(3);
  }
}
.switcher {
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.5s var(--ease);
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
}
.devices.is-switching .switcher {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.switcher__pill {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 10px 30px -8px #ff2a3ce6;
}
.ui {
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  height: 100%;
  padding: 18px;
  font-size: 0.8rem;
  display: grid;
  position: relative;
}
.ui__bar {
  color: var(--text-faint);
  align-items: center;
  gap: 6px;
  display: flex;
}
.ui__bar i {
  background: #2a2a33;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.ui__bar span {
  margin-left: auto;
}
.ui__player {
  align-items: center;
  gap: 12px;
  display: flex;
}
.ui__art {
  background: linear-gradient(135deg, #2b5cff, #ff2a3c 70%, #ffb84b);
  border-radius: 12px;
  flex: none;
  width: 76px;
  height: 76px;
}
.ui__meta {
  flex: 1;
  gap: 4px;
  display: grid;
}
.ui__meta b {
  font-size: 1.05rem;
}
.ui__meta span {
  color: var(--text-faint);
}
.ui__prog {
  background: #22222a;
  border-radius: 2px;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.ui__prog i {
  background: var(--red);
  transform-origin: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scaleX(0.38);
}
.device.is-on .ui__prog i {
  animation: 12s linear infinite prog;
}
@keyframes prog {
  0% {
    transform: scaleX(0.38);
  }
  to {
    transform: scaleX(0.62);
  }
}
.ui__eq {
  align-self: end;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  display: flex;
}
.ui__eq i {
  background: linear-gradient(to top, var(--red), #ff7aa8);
  transform-origin: bottom;
  opacity: 0.8;
  border-radius: 2px;
  flex: 1;
  height: 100%;
  transform: scaleY(0.25);
}
.device.is-on .ui__eq i {
  animation: 1.1s ease-in-out infinite alternate eq;
  animation-delay: var(--d, 0s);
}
.ui__eq i:first-child {
  --d: -0.1s;
}
.ui__eq i:nth-child(2) {
  --d: -0.7s;
}
.ui__eq i:nth-child(3) {
  --d: -0.3s;
}
.ui__eq i:nth-child(4) {
  --d: -0.9s;
}
.ui__eq i:nth-child(5) {
  --d: -0.5s;
}
.ui__eq i:nth-child(6) {
  --d: -0.2s;
}
.ui__eq i:nth-child(7) {
  --d: -1s;
}
.ui__eq i:nth-child(8) {
  --d: -0.4s;
}
.ui__eq i:nth-child(9) {
  --d: -0.8s;
}
.ui__eq i:nth-child(10) {
  --d: -0.15s;
}
.ui__eq i:nth-child(11) {
  --d: -0.65s;
}
.ui__eq i:nth-child(12) {
  --d: -0.35s;
}
@keyframes eq {
  0% {
    transform: scaleY(0.2);
  }
  to {
    transform: scaleY(1);
  }
}
.ui--call {
  text-align: center;
  grid-template-rows: none;
  align-content: center;
  place-items: center;
  gap: 8px;
}
.ui__avatar {
  background: radial-gradient(circle at 35% 30%, #ffd2a8, #b36b3c 60%, #5a2d14);
  border-radius: 50%;
  width: 84px;
  height: 84px;
}
.ui__name {
  font-size: 1.15rem;
}
.ui__status {
  color: var(--text-faint);
}
.device.is-on .ui__status {
  color: var(--red);
}
.ui__actions {
  gap: 22px;
  margin-top: 18px;
  display: flex;
}
.ui__actions i {
  border-radius: 50%;
  width: 52px;
  height: 52px;
}
.ui__decline {
  background: #ff3b30;
}
.ui__accept {
  background: #34c759;
}
.device.is-on .ui__accept {
  animation: 1s ease-in-out infinite ringpulse;
}
@keyframes ringpulse {
  50% {
    transform: scale(1.12);
  }
}
@media (width<=820px) {
  .devices {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px;
  }
  .device--phone {
    justify-self: end;
    width: 118px;
  }
  .device--phone .device__screen {
    border-radius: 18px;
  }
  .ui--call {
    gap: 5px;
    padding: 10px 6px;
  }
  .ui__avatar {
    width: 44px;
    height: 44px;
  }
  .ui__name {
    font-size: 0.78rem;
  }
  .ui__actions {
    gap: 10px;
    margin-top: 8px;
  }
  .ui__actions i {
    width: 28px;
    height: 28px;
  }
  .device__badge {
    padding: 4px 8px;
    font-size: 0.62rem;
    left: 8px;
  }
  .act--top .meta {
    display: none;
  }
}
@media (width>=821px) and (height<=820px) {
  .device--phone {
    width: min(200px, 100%);
  }
  .devices {
    max-width: 960px;
  }
  .scene--multi .act--top .meta {
    display: none;
  }
}
.scene--buy {
  text-align: center;
  align-content: space-between;
}
.buy__inner {
  justify-items: center;
  gap: 6px;
  padding-top: 8vh;
  display: grid;
}
.buy__inner .h2 {
  max-width: none;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
}
.buy__inner .eyebrow {
  margin-bottom: 8px;
}
.buy__price {
  gap: 4px;
  margin-top: 22px;
  display: grid;
}
.buy__price b {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: 2.2rem;
  font-weight: 600;
}
.buy__price span {
  color: var(--text-dim);
  font-size: 0.82rem;
}
.buy__row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  display: flex;
}
.swatches {
  gap: 10px;
  margin-top: 16px;
  display: flex;
}
.swatch {
  background: var(--c);
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 1px var(--hair);
  transition:
    transform 0.3s var(--ease),
    border-color 0.2s;
  border: 2px solid #0000;
  border-radius: 50%;
}
.swatch:hover {
  transform: scale(1.1);
}
.swatch.is-on {
  border-color: var(--red);
}
.foot {
  z-index: 1;
  color: var(--text-faint);
  border-top: 1px solid var(--hair);
  margin: 40px var(--gutter) 0;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 0;
  font-size: 0.78rem;
  display: flex;
  position: relative;
}
.foot nav {
  gap: 22px;
  display: flex;
}
.foot a:hover {
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .curtain {
    display: none;
  }
  .nav,
  .rail {
    opacity: 1;
    transition: none;
    transform: none;
  }
  .runway {
    height: auto;
  }
  .runway > .scene {
    height: auto;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 8px) 0 40px;
    position: relative;
  }
  .acts {
    gap: clamp(28px, 6vh, 64px);
    display: grid;
    position: relative;
    inset: auto;
  }
  .act {
    grid-area: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .gest {
    position: relative;
    inset: auto;
  }
  .gest__list li,
  .gest .eyebrow,
  .gest .lede {
    opacity: 1;
    transition: none;
    transform: none;
  }
  .gest__chip i {
    animation: none;
  }
  .w,
  [data-rise],
  .lede,
  .meta,
  .cta-row,
  .eyebrow,
  .hero__title,
  .pills,
  .apps {
    opacity: 1 !important;
    transition: none !important;
    transform: none !important;
  }
  .scene__video {
    opacity: 1;
    transition: none;
  }
  .hint,
  .pills__track,
  .apps__track,
  .device.is-on .wave b,
  .device.is-on .ui__eq i,
  .device.is-on .ui__accept,
  .device.is-on .ui__prog i {
    animation: none;
  }
  .batt i {
    transition: none;
    transform: scaleX(1);
  }
}
.nav > * {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.8s var(--ease);
  transform: translateY(-8px);
}
html.ready .nav > * {
  opacity: 1;
  transform: none;
}
html.ready .nav > :nth-child(2) {
  transition-delay: 0.12s;
}
html.ready .nav > :nth-child(3) {
  transition-delay: 0.22s;
}
.nav:after {
  content: "";
  z-index: -1;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0.55;
  transition: opacity 0.45s var(--ease-soft);
  background:
    linear-gradient(90deg, #ff2a3c33 0%, #7b3cff29 45%, #2b5cff2e 100%),
    #0a0a0e9e;
  position: absolute;
  inset: 0;
}
html.is-scrolled .nav:after {
  opacity: 1;
}
.nav__seam {
  z-index: -1;
  opacity: 0.5;
  background: linear-gradient(90deg, #ff2a3cb3, #7b3cff8c 50%, #2b5cff99);
  height: 1px;
  transition: opacity 0.45s;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
html.is-scrolled .nav__seam {
  opacity: 1;
}
.nav__cta {
  background: linear-gradient(135deg, #ff2a3c24, #7b3cff1f), #14141ab3;
}
.nav__mark {
  transition: transform 0.5s var(--ease);
}
.nav__logo:hover .nav__mark {
  transform: rotate(-12deg) scale(1.1);
}
.nav__links {
  position: relative;
}
.nav__links a {
  z-index: 1;
  color: var(--text-dim);
  opacity: 1;
  border-radius: 999px;
  margin: 0 -18px;
  padding: 11px 18px;
  transition: color 0.25s;
  position: relative;
}
.nav__links a:hover {
  color: #fff;
}
.chev {
  transition:
    transform 0.4s var(--ease),
    border-top-color 0.25s;
}
.nav__links a:hover .chev {
  border-top-color: #fff;
  transform: rotate(180deg);
}
.nav__ind {
  --l: 0;
  --r: 80;
  background: var(--glass-lit);
  border: 1px solid var(--hair);
  pointer-events: none;
  opacity: 0;
  transform-origin: 0;
  width: 80px;
  height: 42px;
  transform: translateX(calc(var(--l) * 1px))
    scaleX(calc((var(--r) - var(--l)) / 80));
  border-radius: 999px;
  margin-top: -21px;
  transition: opacity 0.3s;
  position: absolute;
  top: 50%;
  left: 0;
}
.nav__links.is-hot .nav__ind {
  opacity: 1;
}
.nav__cta {
  transition:
    background 0.3s,
    border-color 0.3s;
}
.nav__cta:hover {
  background: #1c1c24d9;
  border-color: #ffffff2e;
}
.btn {
  transition: transform 0.15s var(--ease-soft);
  padding: 0;
  position: relative;
}
.btn:after {
  content: "";
  border-radius: inherit;
  position: absolute;
  inset: -6px;
}
.btn:active {
  transform: scale(0.96);
}
.btn__body {
  border-radius: inherit;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  transition:
    filter 0.25s,
    background 0.25s;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}
.btn--lg .btn__body {
  padding: 0 30px;
}
.btn--red .btn__body {
  background: linear-gradient(180deg, #ff3d4c, var(--red-deep));
  box-shadow: 0 6px 22px -8px #ff2a3ccc;
}
.btn--red:hover .btn__body {
  filter: brightness(1.08);
}
.btn--ghost .btn__body {
  border: 1px solid var(--hair);
  background: var(--glass);
}
.btn--ghost:hover .btn__body {
  background: var(--glass-lit);
}
.btn--red .btn__body:after {
  content: "";
  transition: transform 0.8s var(--ease);
  background: linear-gradient(115deg, #0000 32%, #ffffff61 50%, #0000 68%);
  position: absolute;
  inset: 0;
  transform: translate(-130%);
}
.btn--red:hover .btn__body:after {
  transform: translate(130%);
}
.btn--red .btn__body:before {
  content: "";
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  position: absolute;
  inset: 0;
  box-shadow: 0 16px 44px -10px #ff2a3cf2;
}
.btn--red:hover .btn__body:before {
  opacity: 1;
}
.rail__body {
  place-items: center;
  display: grid;
}
@media (prefers-reduced-motion: reduce) {
  .nav > *,
  .nav__mark,
  .chev,
  .nav__ind,
  .btn,
  .btn__body,
  .btn__body:after,
  .btn__body:before {
    transition: none;
  }
  .btn--red .btn__body:after {
    display: none;
  }
}

/* ===================================================================
   Cubesob Theme Transition, Floating Bar & Comprehensive Light Mode
   =================================================================== */

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}

/* -------------------------------------------------------------------
   Comprehensive Light Theme Adaptations (Scoped to html[data-theme="light"])
   ------------------------------------------------------------------- */

html[data-theme="light"] {
  --bg: #f8fafc;
  --text: #090d16;
  --text-dim: #475569;
  --text-faint: #64748b;
  --glass: rgba(0, 0, 0, 0.04);
  --glass-lit: rgba(0, 0, 0, 0.08);
  --hair: rgba(0, 0, 0, 0.1);
}

/* 1. Header / Navigation in Light Mode */
html[data-theme="light"] .nav:before {
  display: none;
}

html[data-theme="light"] .nav:after {
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .nav__logo {
  color: #090d16;
}

html[data-theme="light"] .nav__word {
  color: #090d16;
}

html[data-theme="light"] .nav__mark {
  background: linear-gradient(
    135deg,
    #090d16 0 46%,
    #0000 46% 54%,
    #090d16 54%
  );
}

html[data-theme="light"] .nav__links a {
  color: #334155;
  font-weight: 500;
}

html[data-theme="light"] .nav__links a:hover {
  color: #090d16;
}

html[data-theme="light"] .nav__links a .chev {
  border-top-color: #334155;
}

html[data-theme="light"] .nav__links a:hover .chev {
  border-top-color: #090d16;
}

html[data-theme="light"] .nav__ind {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .nav__cta {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .nav__product {
  color: #090d16;
}

html[data-theme="light"] .nav__seam {
  opacity: 0.12;
}

/* 2. Video Runway Sections (Cinematic Stage Preservation)
   Because hero.mp4, specs.mp4, gesture.mp4, and room.mp4 feature black backgrounds,
   text over these video stages MUST remain crisp white/silver for 100% legibility */

/* Hero Runway */
html[data-theme="light"] .scene--hero {
  --text: #f5f4f7;
  --text-dim: #b6b4bf;
  --text-faint: #8a8894;
}

html[data-theme="light"] .scene--hero .hero__title {
  color: #ffffff;
}

html[data-theme="light"] .scene--hero .hero__title span {
  color: #ffffff;
}

html[data-theme="light"] .scene--hero .hero__tag {
  color: #ffffff;
}

html[data-theme="light"] .scene--hero .h2 {
  color: #ffffff;
}

html[data-theme="light"] .scene--hero .lede {
  color: #e2e8f0;
}

html[data-theme="light"] .scene--hero .meta {
  color: #cbd5e1;
}

html[data-theme="light"] .scene--hero .film {
  color: #ffffff;
}

html[data-theme="light"] .scene--hero .film__play {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
}

html[data-theme="light"] .scene--hero .hint {
  color: #cbd5e1;
}

/* Specs Runway (Video section 3) */
html[data-theme="light"] .scene--specs {
  --text: #f5f4f7;
  --text-dim: #b6b4bf;
  --text-faint: #8a8894;
}

html[data-theme="light"] .scene--specs .h2 {
  color: #ffffff;
}

html[data-theme="light"] .scene--specs .lede {
  color: #e2e8f0;
}

/* Bento Grid inside Specs */
html[data-theme="light"] .bento .tile {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  color: #090d16;
}

html[data-theme="light"] .bento .tile__big {
  color: #090d16;
}

html[data-theme="light"] .bento .tile__sub {
  color: #475569;
}

html[data-theme="light"] .bento .tile__mid {
  color: #090d16;
}

html[data-theme="light"] .bento .tile__mid span {
  color: #475569;
}

html[data-theme="light"] .bento .stat__l {
  color: #2563eb;
}

html[data-theme="light"] .bento .stat__up:before {
  background: #090d16;
}

html[data-theme="light"] .bento .stat__up:after {
  border-top-color: #090d16;
  border-left-color: #090d16;
}

html[data-theme="light"] .bento .rings {
  background: repeating-radial-gradient(
    circle,
    rgba(0, 0, 0, 0.35) 0 1px,
    #0000 1px 7px
  );
}

html[data-theme="light"] .bento .batt {
  border-color: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .bento .batt:after {
  background: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .bento .tile__note {
  color: #64748b;
}

/* Gestures Runway (Section 4) */
html[data-theme="light"] .scene--gestures {
  --text: #f5f4f7;
  --text-dim: #b6b4bf;
  --text-faint: #8a8894;
}

html[data-theme="light"] .scene--gestures .h2 {
  color: #ffffff;
}

html[data-theme="light"] .scene--gestures .lede {
  color: #e2e8f0;
}

html[data-theme="light"] .scene--gestures .gest__body b {
  color: #ffffff;
}

html[data-theme="light"] .scene--gestures .gest__body span {
  color: #cbd5e1;
}

html[data-theme="light"] .scene--gestures .gest__n {
  color: #94a3b8;
}

html[data-theme="light"] .scene--gestures .gest__glyph {
  color: #94a3b8;
}

html[data-theme="light"] .scene--gestures .gest__row:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .scene--gestures .gest__row.is-on {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

html[data-theme="light"] .scene--gestures .gest__row.is-on .gest__n {
  color: var(--red);
}

html[data-theme="light"] .scene--gestures .gest__row.is-on .gest__glyph {
  color: var(--red);
}

/* Multipoint Runway (Section 6) */
html[data-theme="light"] .scene--multi {
  --text: #f5f4f7;
  --text-dim: #b6b4bf;
  --text-faint: #8a8894;
}

html[data-theme="light"] .scene--multi .h2 {
  color: #ffffff;
}

html[data-theme="light"] .scene--multi .lede {
  color: #e2e8f0;
}

html[data-theme="light"] .scene--multi .meta {
  color: #cbd5e1;
}

/* 3. Non-Video Sections (Light Canvas) */

/* Immersion (Section 2) */
html[data-theme="light"] .scene--pills {
  background: #f8fafc;
}

html[data-theme="light"] .scene--pills .h2 {
  color: #090d16;
}

html[data-theme="light"] .scene--pills .lede {
  color: #475569;
}

html[data-theme="light"] .scene--pills .stats b {
  color: #090d16;
}

html[data-theme="light"] .scene--pills .stats span {
  color: #64748b;
}

html[data-theme="light"] .scene--pills .glow--blue {
  opacity: 0.12;
}

html[data-theme="light"] .pill--logo {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .pill--logo .wordmark {
  color: #090d16 !important;
}

/* Apps Section (Section 5) */
html[data-theme="light"] .scene--apps {
  background: #f8fafc;
}

html[data-theme="light"] .scene--apps .h2 {
  color: #090d16;
}

html[data-theme="light"] .scene--apps .lede {
  color: #475569;
}

html[data-theme="light"] .scene--apps .chips li {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #090d16;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .apps__row .app {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #090d16;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* CRITICAL FIX: SVG Icons inside .app round pills were white-on-white */
html[data-theme="light"] .apps__row .app svg {
  fill: #090d16 !important;
}

/* Buy Section (Section 7) */
html[data-theme="light"] .scene--buy {
  background: #f8fafc;
}

html[data-theme="light"] .scene--buy .h2 {
  color: #090d16;
}

html[data-theme="light"] .scene--buy .lede {
  color: #475569;
}

html[data-theme="light"] .scene--buy .buy__price b {
  color: #090d16;
}

html[data-theme="light"] .scene--buy .buy__price span {
  color: #64748b;
}

html[data-theme="light"] .scene--buy .btn--ghost {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
  color: #090d16;
}

html[data-theme="light"] .scene--buy .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .scene--buy .swatch {
  border: 2px solid rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .scene--buy .swatch.is-on {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 42, 60, 0.25);
}

html[data-theme="light"] .foot {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

html[data-theme="light"] .foot nav a {
  color: #475569;
}

html[data-theme="light"] .foot nav a:hover {
  color: #090d16;
}

/* 4. Section Rail in Light Mode */
html[data-theme="light"] .rail__dots button {
  background: rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .rail__dots button.is-on {
  background: var(--red);
}

html[data-theme="light"] .rail__next {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .rail__next:hover {
  background: #ffffff;
}

/* 5. Cubesob Floating Control Bar & Demo Pill
   Positioned at bottom-left to NEVER collide with the .rail on the bottom-right */
.cubesob-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.cubesob-floating-bar > * {
  pointer-events: auto;
}

.cubesob-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #090d16;
  font-family: var(--font, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  user-select: none;
  cursor: default;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cubesob-demo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.cubesob-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red, #ff2a3c);
  box-shadow: 0 0 8px var(--red, #ff2a3c);
  display: inline-block;
  animation: cubesobPulse 2.4s infinite ease-in-out;
}

@keyframes cubesobPulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.cubesob-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #090d16;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.cubesob-theme-toggle:hover {
  transform: scale(1.08);
}

.cubesob-theme-toggle:active {
  transform: scale(0.95);
}

.theme-icon--sun {
  display: none;
}

.theme-icon--moon {
  display: block;
}

html.dark .theme-icon--sun,
html[data-theme="dark"] .theme-icon--sun {
  display: block;
}

html.dark .theme-icon--moon,
html[data-theme="dark"] .theme-icon--moon {
  display: none;
}

/* Dark Mode Pill and Toggle overrides */
html.dark .cubesob-demo-pill,
html[data-theme="dark"] .cubesob-demo-pill {
  background: rgba(14, 21, 38, 0.85);
  color: #f0f4fc;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

html.dark .cubesob-theme-toggle,
html[data-theme="dark"] .cubesob-theme-toggle {
  background: rgba(14, 21, 38, 0.85);
  color: #f0f4fc;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .cubesob-floating-bar {
    bottom: 16px;
    left: 16px;
    gap: 8px;
  }
  .cubesob-demo-pill {
    height: 40px;
    padding: 0 13px;
    font-size: 11.5px;
  }
  .cubesob-theme-toggle {
    width: 40px;
    height: 40px;
  }
}

/* Pro Headphones label colors in Dark & Light modes (Desktop & Mobile) */
.nav__product,
html.dark .nav__product,
html[data-theme="dark"] .nav__product,
:root:not([data-theme="light"]) .nav__product {
  color: #ffffff !important;
}

html[data-theme="light"] .nav__product {
  color: #090d16 !important;
}
