/* Home page: hero, the three feature scenes, comparison, bento, provider, devices, price, finale. */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 clamp(84px, 14vh, 150px);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title { margin: 0 0 26px; text-shadow: 0 10px 60px rgba(6, 5, 12, 0.6); }
.hero__title .wi { transition-duration: 1.4s; }
.hero__lead { margin: 0 auto; text-align: center; }
.hero__meta {
  display: flex;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__meta li + li::before { content: '·'; margin-right: 14px; color: var(--violet-soft); }

.js .hero__eyebrow, .js .hero__lead, .js .hero__meta, .js .hero__cue { animation: rise 1.3s var(--ease-out) both; }
.js .hero__eyebrow { animation-delay: 0.35s; }
.js .hero__lead { animation-delay: 0.95s; }
.js .hero__meta { animation-delay: 1.15s; }
.js .hero__cue { animation-delay: 1.6s; }
.js .hero__title { --d: 450ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }

/* The planet arrives with the page. */
.js .planet { animation: planet-in 2.2s var(--ease-out) 0.1s both; }
.js .system__glow { animation: fade-in 3s var(--ease-out) both; }
.js .ring path { stroke-dasharray: 1; animation: ring-draw 2.4s var(--ease-out) 0.5s both; }
.js .moon { animation: fade-in 1s ease 1.8s both; }
@keyframes planet-in { from { opacity: 0; transform: translateY(14%) scale(0.86); filter: blur(10px); } }
@keyframes ring-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  translate: -50% 0;
}
.hero__cue i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--lilac), rgba(214, 203, 255, 0));
  transform-origin: top;
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Shared scene bits ---------- */

.scene { position: relative; overflow-x: clip; }
.scene__intro { padding: clamp(110px, 20vh, 200px) 0 clamp(40px, 7vh, 80px); text-align: center; }
.scene__intro .lead { margin: 26px auto 0; }

.captions { display: grid; }
.caption {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), filter 0.6s var(--ease-out);
  pointer-events: none;
}
.caption.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: 0.12s; }
.captions.is-static { display: flex; flex-direction: column; gap: 30px; }
.captions.is-static .caption { opacity: 1; transform: none; filter: none; }
.caption__n { display: block; margin-bottom: 14px; font-size: 0.7rem; letter-spacing: 0.16em; color: var(--violet-soft); }
.caption .h3 { margin-bottom: 12px; }
.caption p { margin: 0; color: var(--text-2); }

/* ---------- Scene 1: Home on the TV ---------- */

.home-stage { position: relative; display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 30px) 0 40px; }
.home-stage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 22vw, 300px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  perspective: 1800px;
}
.tv--home { width: 100%; max-width: calc((100vh - var(--nav-h) - 110px) * 16 / 9); justify-self: center; transform-origin: 50% 70%; }
.home-side { display: flex; flex-direction: column; gap: 42px; }

.remote { display: flex; align-items: center; gap: 18px; }
.remote svg { width: 92px; height: 92px; flex-shrink: 0; overflow: visible; }
.remote__ring { fill: rgba(255, 255, 255, 0.025); stroke: var(--line-strong); stroke-width: 1.2; }
.remote [data-key] { fill: rgba(214, 203, 255, 0.22); transition: fill 0.25s, filter 0.25s; }
.remote [data-key='ok'] { fill: rgba(214, 203, 255, 0.08); stroke: rgba(214, 203, 255, 0.3); stroke-width: 1.2; }
.remote [data-key].is-pressed { fill: var(--violet-soft); filter: drop-shadow(0 0 8px rgba(169, 139, 255, 0.95)); }
.remote__label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Scene 2: Tidy ---------- */

.tidy { position: relative; display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 30px) 0 40px; }
.tidy__grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tidy__copy .lead { margin-top: 26px; }

.stats { display: grid; gap: 18px; margin: 38px 0 0; }
.stats > div { display: grid; grid-template-columns: 4.2rem 1fr; gap: 16px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-size: 2.2rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--lilac); }
.stats dd { margin: 0; font-size: 0.95rem; color: var(--text-2); }
.stats code { font-family: var(--font-mono); font-size: 0.78em; color: var(--text); background: rgba(196, 181, 255, 0.08); padding: 1px 5px; border-radius: 5px; }

.tidy__board {
  --pad: 18px;
  position: relative;
  height: min(620px, 76vh);
  min-height: 520px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 15, 42, 0.72), rgba(10, 8, 22, 0.72));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.tidy__label { position: absolute; top: 20px; left: 22px; display: grid; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-soft); }
.tidy__label span { grid-area: 1 / 1; opacity: 0; transition: opacity 0.4s; }
.tidy__label span.is-on { opacity: 1; }
.tidy__legend {
  position: absolute;
  top: 20px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0;
}
.tidy__legend i { width: 8px; height: 8px; margin-left: 8px; border-radius: 2px; }
.k-cc { background: #6f9bff; }
.k-cat { background: #c38bff; }
.k-q { background: var(--moon); }
.k-junk { background: #ff6b81; }

.tidy__cards { position: absolute; inset: 58px var(--pad) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tidy__col { display: flex; flex-direction: column; gap: 14px; }
.tcard {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 10px;
  border-radius: 18px;
  background: rgba(28, 22, 56, 0.6);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.tcard header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; }
.cc { padding: 3px 7px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; color: #0b0917; background: var(--lilac); }
.tcard__cat { margin: 6px 0 6px; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-soft); }
.slot { display: block; height: 34px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.02); }

.titem {
  --hl: 0;
  --clean: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(30, 24, 58, 0.94);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 24px -10px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  will-change: transform;
}
.titem .raw {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: -0.02em;
  color: #d9d2f5;
  opacity: calc(1 - var(--clean));
}
.titem s {
  text-decoration: none;
  padding: 2px 3px;
  border-radius: 4px;
}
.t-cc { background: rgba(111, 155, 255, calc(var(--hl) * 0.24)); box-shadow: inset 0 -1.5px 0 rgba(111, 155, 255, calc(var(--hl) * 0.95)); }
.t-cat { background: rgba(195, 139, 255, calc(var(--hl) * 0.24)); box-shadow: inset 0 -1.5px 0 rgba(195, 139, 255, calc(var(--hl) * 0.95)); }
.t-q { background: rgba(255, 195, 90, calc(var(--hl) * 0.24)); box-shadow: inset 0 -1.5px 0 rgba(255, 195, 90, calc(var(--hl) * 0.95)); }
.t-junk {
  color: rgb(255, 160, 175);
  color: color-mix(in srgb, #ff8ea0 calc(var(--hl) * 100%), #d9d2f5);
  background-image: linear-gradient(#ff6b81, #ff6b81);
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: calc(var(--hl) * 100%) 1.5px;
  opacity: calc(1 - var(--hl) * 0.35);
}
.titem .clean {
  position: absolute;
  left: 12px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  opacity: var(--clean);
  transform: translateY(calc((1 - var(--clean)) * 8px));
}
.q { margin-left: auto; padding: 2px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 0.56rem; font-weight: 500; color: var(--moon); background: rgba(255, 195, 90, 0.12); }

/* ---------- Scene 3: Merge ---------- */

.merge { position: relative; display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 30px) 0 40px; }
.merge__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.merge__stage { order: -1; position: relative; height: min(560px, 70vh); min-height: 440px; }
.merge__copy .lead { margin-top: 26px; }

.merge__steps { margin: 34px 0 0; padding: 0; list-style: none; counter-reset: s; }
.merge__steps li {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 13px 0 13px 18px;
  color: var(--text-3);
  transition: color 0.4s;
}
.merge__steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.merge__steps li span { font-size: 0.68rem; padding-top: 0.35em; color: inherit; }
.merge__steps li.is-on { color: var(--text); }
.merge__steps li.is-on::before { background: var(--violet-soft); box-shadow: 0 0 12px rgba(169, 139, 255, 0.9); }

.msrcs { position: absolute; inset: 0; }
.mcard, .mmerged {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(380px, 86%);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(26, 20, 52, 0.94);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  will-change: transform;
}
.mono--xs { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; font-size: 0.8rem; }
.mcard__txt { display: flex; flex-direction: column; min-width: 0; }
.mcard__txt b { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 450; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard__txt small { font-size: 0.76rem; color: var(--text-3); }
.qtag {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.08);
}
.qtag--hi { color: #1b1204; background: var(--moon); }

.mmerged { z-index: 3; flex-wrap: wrap; padding: 16px 18px; background: linear-gradient(180deg, rgba(40, 30, 80, 0.98), rgba(24, 18, 50, 0.98)); box-shadow: inset 0 0 0 1px rgba(214, 203, 255, 0.4), 0 0 60px -10px rgba(139, 108, 255, 0.7), 0 30px 60px -30px #000; }
.mmerged .mcard__txt b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.02em; }
.mmerged__backups { display: flex; align-items: center; gap: 5px; flex-basis: 100%; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--text-2); }
.mmerged__backups i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(48, 209, 88, 0.7); }
.mmerged__backups i:last-of-type { margin-right: 6px; }

.tv--player { position: absolute; left: 0; right: 0; top: 50%; z-index: 4; }

/* ---------- Scene 4: Learn ---------- */

.learn { position: relative; display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 30px) 0 40px; }
.learn__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.captions--learn { margin-top: 36px; }
.learn__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.learn__chips li {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- Comparison ---------- */

.compare__head { margin-bottom: clamp(44px, 7vh, 72px); text-align: center; }
.ctable {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 17, 46, 0.66), rgba(12, 9, 26, 0.66));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -50px #000;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.ctable__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
  padding: 20px clamp(18px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.ctable__row--head { border-top: 0; padding-top: 24px; padding-bottom: 16px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.ctable__row--head .ctable__orbit { color: var(--lilac); }
.ctable [role='rowheader'] { font-weight: 550; }
.ctable [role='cell'] { display: flex; gap: 12px; align-items: baseline; color: var(--text-3); font-size: 0.97rem; }
.ctable [role='cell']::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  translate: 0 3px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 46%, currentColor 46% 54%, transparent 54%) center / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 46%, currentColor 46% 54%, transparent 54%) center / 8px 8px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(125, 117, 163, 0.4);
  opacity: 0.7;
}
.ctable [role='cell'].ctable__orbit { color: var(--text); }
.ctable [role='cell'].ctable__orbit::before {
  opacity: 1;
  box-shadow: none;
  background: var(--grad-violet) no-repeat;
  -webkit-mask: none;
}
.ctable [role='cell'].ctable__orbit::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 9px;
  margin: 5px 0 0 6px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(40deg);
}
.ctable [role='cell'].ctable__orbit { position: relative; }
.ctable__row:not(.ctable__row--head) { transition: background-color 0.3s; }
.ctable__row:not(.ctable__row--head):hover { background: rgba(139, 108, 255, 0.05); }

/* ---------- Bento ---------- */

.more__head { margin-bottom: clamp(44px, 7vh, 72px); }
.more__head .h2 { max-width: 13ch; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
.bcard {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 23, 60, 0.7), rgba(14, 11, 30, 0.72));
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.bcard--phone { grid-column: span 2; grid-row: span 2; }
.bcard--guide, .bcard--wide { grid-column: span 2; }
.bcard .h3 { font-size: 1.18rem; }
.bcard p { margin: 8px 0 0; font-size: 0.93rem; line-height: 1.55; color: var(--text-2); }
.bvis { position: relative; flex: 1; display: grid; place-items: center; min-height: 110px; margin-bottom: 18px; }

/* phone setup */
.bvis--phone { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); min-height: 300px; }
.qr-tv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 26px 16px;
  border-radius: 16px;
  background: #0b0c10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -30px #000;
}
.qr-tv small { font-size: 0.7rem; color: #a1a1aa; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 128px; height: 128px; padding: 8px; border-radius: 10px; background: #fff; }
.qr i { background: #0b0c10; }
.qr i.o { background: transparent; }
.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 150px;
  padding: 34px 12px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #1b1830, #100e1f);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), 0 30px 60px -30px #000;
  transform: rotate(4deg);
}
.phone__notch { position: absolute; top: 10px; left: 50%; width: 46px; height: 12px; margin-left: -23px; border-radius: 10px; background: #05040a; }
.phone__field { display: flex; flex-direction: column; padding: 7px 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.phone__field small { font-size: 0.56rem; color: var(--text-3); }
.phone__field b { min-height: 1.2em; font-size: 0.78rem; font-weight: 500; }
.phone__field b[data-typing]::after { content: ''; display: inline-block; width: 1px; height: 0.9em; margin-left: 1px; vertical-align: -1px; background: var(--lilac); animation: blink 1s steps(1) infinite; }
.phone__btn { margin-top: 4px; padding: 8px; border-radius: 9px; font-size: 0.72rem; font-weight: 600; text-align: center; background: var(--grad-violet); }
@keyframes blink { 50% { opacity: 0; } }

/* guide */
.epg { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; font-size: 0.7rem; }
.epg__row { display: flex; gap: 6px; }
.epg__row span { flex: var(--w, 30) 1 0; min-width: 0; padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg__row .epg__ch { flex: 0 0 104px; color: var(--text); font-weight: 550; background: rgba(255, 255, 255, 0.08); }
.epg__row span.is-on { color: #000; background: #fff; font-weight: 600; }
.epg__now {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: 46%;
  width: 2px;
  border-radius: 2px;
  background: var(--live);
  box-shadow: 0 0 10px var(--live);
  animation: now 14s linear infinite alternate;
}
.epg__now::before { content: ''; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
@keyframes now { to { left: 66%; } }

/* pause */
.bvis--pause { gap: 10px; place-items: center stretch; align-content: center; }
.scrub { position: relative; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); }
.scrub__buf { position: absolute; inset: 0 0 0 0; border-radius: inherit; background: rgba(214, 203, 255, 0.28); }
.scrub__pos { position: absolute; top: 50%; left: 72%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(139, 108, 255, 0.35); animation: rewind 6s var(--ease-in-out) infinite; }
@keyframes rewind { 0%, 15% { left: 98%; } 50%, 70% { left: 62%; } 100% { left: 98%; } }
.scrub__t { justify-self: end; font-size: 0.7rem; color: var(--text-2); }
.scrub__t em { margin-left: 8px; padding: 2px 6px; border-radius: 4px; font-style: normal; color: #fff; background: var(--live); }

/* rec */
.rec { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.1em; background: rgba(255, 69, 58, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.4); }
.rec i { width: 12px; height: 12px; border-radius: 50%; background: var(--live); box-shadow: 0 0 14px var(--live); animation: ui-pulse 1.4s ease-in-out infinite; }
@keyframes ui-pulse { 50% { opacity: 0.3; } }

/* multi-view */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: min(100%, 300px); padding: 6px; border-radius: 14px; background: #000; }
.mv .art { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; animation: mv-focus 8s steps(1) infinite; }
.mv .art:nth-child(2) { animation-delay: -6s; }
.mv .art:nth-child(3) { animation-delay: -4s; }
.mv .art:nth-child(4) { animation-delay: -2s; }
@keyframes mv-focus {
  0% { box-shadow: 0 0 0 2px #fff; filter: none; }
  25% { box-shadow: none; filter: brightness(0.6); }
}

/* skip intro */
.bvis--skip { gap: 14px; }
.skipbtn { padding: 9px 18px; border-radius: 10px; font-size: 0.82rem; font-weight: 600; color: #000; background: #fff; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.4); }
.upnext { display: flex; flex-direction: column; gap: 6px; width: 150px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.upnext small { font-size: 0.7rem; color: var(--text-2); }
.upnext i { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.15) 50%) 100% 0 / 200% 100%; animation: countdown 10s linear infinite; }
@keyframes countdown { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* reminders */
.toast {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.74rem;
  color: var(--text-2);
  background: rgba(20, 21, 27, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -20px #000;
  animation: toast 5s var(--ease-out) infinite;
}
.toast b { font-size: 0.82rem; color: var(--text); }
.toast em { align-self: flex-start; margin-top: 8px; padding: 5px 10px; border-radius: 8px; font-style: normal; font-weight: 600; color: #000; background: #fff; }
@keyframes toast { 0% { opacity: 0; transform: translateY(14px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

/* audio */
.bvis--audio { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; justify-content: center; }
.bvis--audio span { padding: 7px 11px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong); animation: lit 4s infinite; }
.bvis--audio span:nth-child(2) { animation-delay: 1s; }
.bvis--audio span:nth-child(3) { animation-delay: 2s; }
.bvis--audio span:nth-child(4) { animation-delay: 3s; }
@keyframes lit { 0%, 30% { color: #1b1204; background: var(--moon); box-shadow: 0 0 20px -4px var(--moon); } 31%, 100% { color: var(--text-2); background: transparent; } }

/* backup */
.sync { position: relative; width: 150px; height: 60px; }
.sync::before, .sync::after { content: ''; position: absolute; top: 8px; width: 34px; height: 44px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--lilac); }
.sync::before { left: 0; width: 22px; border-radius: 6px; }
.sync::after { right: 0; width: 56px; height: 34px; top: 13px; border-radius: 4px; }
.sync i { position: absolute; top: 28px; left: 30px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-soft); box-shadow: 0 0 10px var(--violet-soft); animation: flow 2.4s linear infinite; }
.sync i:nth-child(2) { animation-delay: 0.8s; }
.sync i:nth-child(3) { animation-delay: 1.6s; }
@keyframes flow { from { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } to { transform: translateX(52px); opacity: 0; } }

/* pin */
.pin { display: flex; gap: 12px; }
.pin i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); animation: pin 4s infinite; }
.pin i:nth-child(2) { animation-delay: 0.3s; }
.pin i:nth-child(3) { animation-delay: 0.6s; }
.pin i:nth-child(4) { animation-delay: 0.9s; }
@keyframes pin { 0%, 10% { background: transparent; } 15%, 75% { background: var(--lilac); box-shadow: 0 0 10px rgba(214, 203, 255, 0.6); } 80%, 100% { background: transparent; } }

/* accent */
.swatches { display: grid; grid-template-columns: repeat(3, 28px); gap: 12px; }
.swatches i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); transition: transform 0.3s var(--ease-out); }
.swatches i.is-on { box-shadow: 0 0 0 3px #0e0b1f, 0 0 0 5px #fff; }
.bcard:hover .swatches i { transform: scale(1.08); }

/* ---------- Bring your own ---------- */

.byo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.byo .lead { margin-top: 26px; }
.byo__list { margin: 34px 0 0; padding: 0; list-style: none; }
.byo__list li { display: flex; flex-direction: column; padding: 15px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.95rem; }
.byo__list b { color: var(--text); font-weight: 550; }
.byo__demo { padding: clamp(22px, 3vw, 34px); }
.byo__label { display: block; margin-bottom: 10px; font-size: 0.82rem; font-weight: 550; color: var(--text-2); }
.byo__input {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  background: rgba(6, 5, 16, 0.75);
  box-shadow: inset 0 0 0 1.5px rgba(139, 108, 255, 0.55), 0 0 0 4px rgba(139, 108, 255, 0.12);
}
.byo__input span { overflow: hidden; text-overflow: clip; direction: rtl; text-align: left; unicode-bidi: plaintext; }
.caret { flex-shrink: 0; width: 2px; height: 18px; margin-left: 2px; background: var(--lilac); animation: blink 1s steps(1) infinite; }
.byo__result, .byo__found { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.byo__result.is-shown, .byo__found.is-shown { opacity: 1; transform: none; }
.byo__result {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(48, 209, 88, 0.07);
  box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.25);
}
.byo__badge { flex-shrink: 0; padding: 4px 8px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #06150a; background: var(--green); }
.byo__result b { display: block; font-weight: 600; }
.byo__result small { font-size: 0.86rem; color: var(--text-2); }
.byo__found { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-2); }
.byo__found b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.1; color: var(--text); }
.byo__found span { display: flex; flex-direction: column; }

/* ---------- Devices ---------- */

.devices__inner { text-align: center; }
.devices__title { max-width: 16ch; margin-inline: auto; }
.devices__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 7vh, 70px); }
.device { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 20px; border-radius: 22px; background: rgba(16, 12, 34, 0.78); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.device svg { width: 120px; height: 60px; margin-bottom: 16px; fill: none; stroke: var(--lilac); stroke-width: 1.4; stroke-linecap: round; }
.device b { font-weight: 550; }
.device small { font-size: 0.86rem; color: var(--text-3); }

/* ---------- Price ---------- */

.price__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.price__amount { font-size: clamp(3.4rem, 12vw, 11rem); }
@media (min-width: 560px) { .price__amount { white-space: nowrap; } }
.price .lead { margin: 30px auto 30px; text-align: center; }
.price .lead span { color: var(--text); font-weight: 550; }

/* ---------- Finale ---------- */

.finale { position: relative; display: flex; align-items: flex-end; min-height: 100vh; padding: 0 0 clamp(70px, 14vh, 150px); }
.finale__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.finale .lead { margin: 26px auto 30px; text-align: center; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .home-stage__inner { grid-template-columns: 1fr; }
  .tv--home { max-width: min(100%, calc((100vh - var(--nav-h) - 300px) * 16 / 9)); }
  .home-side { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .home-side .captions { flex: 1; max-width: 560px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .tidy__grid, .merge__grid, .learn__grid, .byo__grid { grid-template-columns: 1fr; }
  .merge__stage { order: 0; }
  .tidy, .merge, .learn { padding-top: 90px; }
  .devices__row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .home-stage { min-height: 0; padding: 0 0 60px; }
  .tv--home { max-width: 100%; }
  .home-side { flex-direction: column; align-items: stretch; }
  .remote { display: none; }
  .tidy__board { height: 560px; min-height: 0; --pad: 12px; }
  .tidy__legend { display: none; }
  .tidy__cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tidy__col { gap: 8px; }
  .tcard { padding: 10px 8px 6px; border-radius: 14px; }
  .tcard header { font-size: 0.86rem; gap: 6px; }
  .titem { padding: 0 8px; }
  .titem .clean { left: 8px; font-size: 0.72rem; }
  .titem .raw { font-size: 0.56rem; }
  .q { font-size: 0.5rem; padding: 2px 4px; }
  .merge__stage { height: 360px; min-height: 0; }
  .tidy, .merge, .learn { min-height: 0; padding-bottom: 60px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bvis { grid-template-columns: minmax(0, 1fr); }
  .epg__row .epg__ch { flex-basis: 84px; }
  .bcard--phone, .bcard--guide, .bcard--wide { grid-column: auto; grid-row: auto; }
  .bvis--phone { min-height: 240px; }
  .qr { width: 100px; height: 100px; }
  .phone { width: 126px; }
  .ctable__row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .ctable__row--head { display: none; }
  .ctable [role='cell']:not(.ctable__orbit) { font-size: 0.88rem; }
  .byo__found { grid-template-columns: 1fr 1fr 1fr; }
  .hero__title { font-size: 19vw; line-height: 0.92; }
  .hero__meta { gap: 10px; }
  .hero__meta li + li::before { margin-right: 10px; }
}
