﻿:root {
  --brand: #2a9cc4;
  --brand-strong: #1f8fb8;
  --brand-muted: #45b0d4;
  --brand-soft: #e6f7fc;
  --brand-soft-alt: #d4f0fa;
  --brand-glow: #5ec8e8;
  --brand-rgb: 42, 156, 196;
  --brand-muted-rgb: 69, 176, 212;
  --brand-strong-rgb: 31, 143, 184;
}

/* Tailwind brand utilities — always match software palette */
.text-brand-600 { color: var(--brand) !important; }
.text-brand-500 { color: var(--brand-muted) !important; }
.text-brand-400 { color: var(--brand-glow) !important; }
.text-brand-800 { color: var(--brand-strong) !important; }
.text-brand-200 { color: #a8dff0 !important; }
.text-brand-100 { color: var(--brand-soft-alt) !important; }
.bg-brand-50 { background-color: var(--brand-soft) !important; }
.bg-brand-100 { background-color: var(--brand-soft-alt) !important; }
.bg-brand-500 { background-color: var(--brand-muted) !important; }
.bg-brand-600 { background-color: var(--brand) !important; }
.border-brand-100 { border-color: var(--brand-soft-alt) !important; }
.dark .bg-brand-900\/30 { background-color: rgba(26, 45, 74, 0.3) !important; }
.dark .border-brand-800\/50 { border-color: rgba(31, 143, 184, 0.5) !important; }
.from-brand-600 {
  --tw-gradient-from: var(--brand) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(var(--brand-rgb) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-brand-500 {
  --tw-gradient-to: var(--brand-muted) var(--tw-gradient-to-position);
}
.dark .text-brand-200 { color: #a8dff0 !important; }
.hover\:text-brand-300:hover { color: #a8dff0 !important; }
.group:hover .group-hover\:bg-brand-500 { background-color: var(--brand-muted) !important; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --site-nav-top: 0.85rem;
  --site-nav-height: 3.25rem;
  --site-nav-offset: calc(var(--site-nav-top) + var(--site-nav-height) + 1rem);
}

.glass-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}
.dark .glass-header {
  background: rgba(15, 23, 42, 0.78);
}

.site-nav-shell {
  display: flex;
  justify-content: center;
  left: 0;
  padding: var(--site-nav-top) 1rem 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.site-nav-card {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 1.125rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 8px 28px rgba(15, 23, 42, 0.07),
    0 24px 56px -28px rgba(15, 23, 42, 0.14);
  pointer-events: auto;
  transition: box-shadow 280ms ease, border-color 280ms ease, transform 280ms ease;
  width: min(100%, 58rem);
}

.dark .site-nav-card {
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 24px 56px -28px rgba(0, 0, 0, 0.42);
}

.site-nav-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: var(--site-nav-height);
  padding: 0.3rem 0.45rem 0.3rem 0.95rem;
}

.site-nav-brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav-brand:hover {
  color: #2a9cc4;
}

.site-nav-brand img {
  border-radius: 0.55rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  height: 2rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 2rem;
}

.site-nav-brand:hover img {
  box-shadow: 0 10px 24px rgba(42, 156, 196, 0.22);
  transform: translateY(-1px);
}

.site-nav-links {
  align-items: center;
  display: inline-flex;
  gap: 0.15rem;
}

.site-nav-links a {
  border-radius: 999px;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.42rem 0.9rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.dark .site-nav-links a {
  color: #94a3b8;
}

.site-nav-links a:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #0f172a;
}

.dark .site-nav-links a:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #f1f5f9;
}

.site-nav-actions {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.35rem;
}

.site-nav-actions button {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 2.25rem;
  min-width: 2.25rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.dark .site-nav-actions button {
  color: #94a3b8;
}

.site-nav-actions button:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #0f172a;
}

.dark .site-nav-actions button:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #f1f5f9;
}

#langToggle {
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-width: auto;
  padding: 0.38rem 0.72rem;
  text-transform: uppercase;
}

#langToggle:hover {
  border-color: #2a9cc4;
  color: #2a9cc4;
}

.dark #langToggle {
  border-color: rgba(148, 163, 184, 0.2);
}

.site-nav-shell ~ main {
  padding-top: var(--site-nav-offset);
}

#flowBanner {
  left: 1rem;
  right: 1rem;
  top: calc(var(--site-nav-top) + var(--site-nav-height) + 0.35rem);
  width: auto;
  border: 1px solid rgba(42, 156, 196, 0.18);
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.dark #flowBanner {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

body.has-flow-banner main {
  padding-top: calc(var(--site-nav-offset) + 2.25rem);
}

@media (max-width: 640px) {
  :root {
    --site-nav-top: 0.65rem;
  }

  .site-nav-shell {
    padding-inline: 0.75rem;
  }

  .site-nav-brand span {
    font-size: 0.98rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.dark .glass-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #45b0d4, #2a9cc4);
}

.hero-section {
  min-height: min(660px, calc(100vh - 8rem));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-slogan {
  align-items: center;
  background: linear-gradient(135deg, rgba(42, 156, 196, 0.08), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(42, 156, 196, 0.14);
  border-radius: 1.15rem;
  display: flex;
  gap: 0.85rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 52rem;
  padding: 1.15rem 1.35rem;
}

.dark .hero-slogan {
  background: linear-gradient(135deg, rgba(42, 156, 196, 0.12), rgba(15, 23, 42, 0.85));
}

.hero-slogan i {
  color: #2a9cc4;
  flex-shrink: 0;
  font-size: 1.5rem;
  opacity: 0.75;
}

.hero-slogan p {
  color: #334155;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.dark .hero-slogan p {
  color: #e2e8f0;
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
}

.hero-title {
  color: #020617;
  display: block;
  font-size: clamp(2.5rem, 4.25vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin: 0;
  max-width: 13em;
  word-break: keep-all;
}

.hero-title-line {
  display: block;
}

.hero-title-line-pill {
  margin-bottom: 0.06em;
}

.hero-title-line-action {
  white-space: nowrap;
}

.hero-title .hero-word-pill {
  font-size: inherit;
  line-height: 1;
  margin: 0;
  vertical-align: unset;
}

html[lang="en"] .hero-title {
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  letter-spacing: -0.03em;
  max-width: 12.5em;
  word-break: normal;
}

.dark .hero-title {
  color: #f8fafc;
}

.hero-word-pill {
  align-items: center;
  border-radius: 999px;
  color: #04111d;
  display: inline-flex;
  gap: 0.12em;
  padding: 0.11em 0.38em;
  transition: background 420ms ease, box-shadow 420ms ease, color 420ms ease;
  white-space: nowrap;
}

.hero-pill-theme-0 {
  background: #d4f0fa;
  box-shadow: inset 0 -0.03em 0 rgba(42, 156, 196, 0.16);
}

.hero-pill-theme-0 .hero-word-dot {
  background: #2a9cc4;
}

.hero-pill-theme-1 {
  background: #ffd9c7;
  box-shadow: inset 0 -0.03em 0 rgba(234, 88, 12, 0.14);
}

.hero-pill-theme-1 .hero-word-dot {
  background: #ea580c;
}

.hero-pill-theme-2 {
  background: #ddd6fe;
  box-shadow: inset 0 -0.03em 0 rgba(109, 40, 217, 0.14);
}

.hero-pill-theme-2 .hero-word-dot {
  background: #7c3aed;
}

.hero-pill-theme-3 {
  background: #fef08a;
  box-shadow: inset 0 -0.03em 0 rgba(202, 138, 4, 0.14);
}

.hero-pill-theme-3 .hero-word-dot {
  background: #ca8a04;
}

.hero-pill-theme-4 {
  background: #bae6fd;
  box-shadow: inset 0 -0.03em 0 rgba(42, 156, 196, 0.14);
}

.hero-pill-theme-4 .hero-word-dot {
  background: #2a9cc4;
}

.hero-pill-theme-5 {
  background: #d4f0fa;
  box-shadow: inset 0 -0.03em 0 rgba(42, 156, 196, 0.14);
}

.hero-pill-theme-5 .hero-word-dot {
  background: #2a9cc4;
}

.dark .hero-word-pill {
  color: #e6f7fc;
}

.dark .hero-pill-theme-0 {
  background: rgba(94, 200, 232, 0.22);
  box-shadow: inset 0 0 0 1px rgba(94, 200, 232, 0.28);
}

.dark .hero-pill-theme-0 .hero-word-dot {
  background: #5ec8e8;
}

.dark .hero-pill-theme-1 {
  background: rgba(251, 146, 60, 0.24);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.28);
}

.dark .hero-pill-theme-1 .hero-word-dot {
  background: #fb923c;
}

.dark .hero-pill-theme-2 {
  background: rgba(167, 139, 250, 0.24);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.28);
}

.dark .hero-pill-theme-2 .hero-word-dot {
  background: #a78bfa;
}

.dark .hero-pill-theme-3 {
  background: rgba(250, 204, 21, 0.22);
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.28);
}

.dark .hero-pill-theme-3 .hero-word-dot {
  background: #facc15;
}

.dark .hero-pill-theme-4 {
  background: rgba(56, 189, 248, 0.22);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.28);
}

.dark .hero-pill-theme-4 .hero-word-dot {
  background: #38bdf8;
}

.dark .hero-pill-theme-5 {
  background: rgba(94, 200, 232, 0.18);
  box-shadow: inset 0 0 0 1px rgba(94, 200, 232, 0.24);
}

.dark .hero-pill-theme-5 .hero-word-dot {
  background: #5ec8e8;
}

.hero-word-pill [data-hero-word] {
  display: inline-block;
  line-height: 1.05;
  transform: translateY(0);
  white-space: nowrap;
}

html[lang="en"] .hero-word-pill [data-hero-word] {
  letter-spacing: -0.01em;
}

.hero-word-pill.is-changing [data-hero-word] {
  animation: heroWordIn 280ms ease-out both;
}

.hero-word-dot {
  width: 0.28em;
  height: 0.28em;
  border-radius: 999px;
  flex: 0 0 auto;
  transition: background 420ms ease;
}

.hero-tagline {
  color: #475569;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.75;
  margin: 1.7rem 0 0;
  max-width: 620px;
}

.dark .hero-tagline {
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-primary-cta,
.hero-secondary-cta {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.45rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hero-primary-cta {
  background: #020617;
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.hero-secondary-cta {
  background: #fff;
  border: 1px solid #dbe3ea;
  color: #1e293b;
}

.hero-primary-cta:hover,
.hero-secondary-cta:hover {
  transform: translateY(-2px);
}

.hero-primary-cta:hover {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
}

.dark .hero-primary-cta {
  background: #fff;
  color: #020617;
}

.dark .hero-secondary-cta {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.26);
  color: #e2e8f0;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: 1.6rem;
}

.hero-proof-row span {
  align-items: center;
  color: #475569;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.42rem;
}

.hero-proof-row i {
  color: #2a9cc4;
  font-size: 1.25rem;
}

.dark .hero-proof-row span {
  color: #cbd5e1;
}

.hero-demo {
  aspect-ratio: auto;
  display: grid;
  gap: 0.85rem 1.15rem;
  grid-template-areas:
    "device voice"
    "input input";
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: minmax(250px, 1fr) auto;
  min-height: 460px;
  overflow: visible;
  position: relative;
}

.hero-object-demo {
  isolation: isolate;
}

.hero-flow-connector {
  background: linear-gradient(90deg, rgba(69, 176, 212, 0), rgba(69, 176, 212, 0.42) 42%, rgba(59, 130, 246, 0.34) 72%, rgba(59, 130, 246, 0));
  height: 2px;
  left: 46%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 42%;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 420ms ease, transform 520ms ease;
  width: min(34%, 9rem);
  z-index: 3;
}

.hero-object-demo:has(.hero-object-photo.is-active) .hero-flow-connector {
  animation: heroFlowPulse 2.4s ease-in-out infinite;
  opacity: 1;
  transform: scaleX(1);
}

.hero-object-stage {
  grid-area: device;
  inset: unset;
  min-height: 250px;
  position: relative;
  z-index: 1;
}

.hero-object-glow {
  background: radial-gradient(circle, rgba(69, 176, 212, 0.24), rgba(59, 130, 246, 0.1) 42%, transparent 68%);
  border-radius: 999px;
  filter: blur(4px);
  height: 18rem;
  left: 46%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 18rem;
  z-index: 0;
}

.hero-object {
  filter: none;
  height: auto;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 420ms ease, transform 520ms ease, filter 420ms ease;
  width: min(94%, 22rem);
  z-index: 2;
}

.hero-object-photo.is-active {
  animation: heroObjectFloat 4.8s ease-in-out infinite;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-device-photo {
  align-items: flex-end;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 14rem;
  perspective: 920px;
  perspective-origin: center 88%;
  position: relative;
  width: 100%;
}

.hero-device-photo::after {
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.16) 0%, transparent 72%);
  bottom: 0.35rem;
  content: "";
  height: 1.2rem;
  left: 50%;
  opacity: 0.5;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 320ms ease, transform 320ms ease, width 320ms ease;
  width: 62%;
  z-index: 0;
}

.hero-device-photo img {
  display: block;
  height: 13.5rem;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  transform: translate3d(0, 10px, 0) scale(1.02);
  transform-origin: center 92%;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms ease;
  filter:
    drop-shadow(0 18px 22px rgba(15, 23, 42, 0.16))
    drop-shadow(0 6px 10px rgba(15, 23, 42, 0.1));
  z-index: 1;
}

.hero-object-photo.is-active .hero-device-photo img {
  filter:
    drop-shadow(0 28px 30px rgba(0, 120, 212, 0.22))
    drop-shadow(0 14px 20px rgba(15, 23, 42, 0.14));
  transform: translate3d(0, -8px, 0) scale(1.08) rotateX(6deg);
}

.hero-object-photo.is-active .hero-device-photo::after {
  opacity: 0.32;
  transform: translateX(-50%) scale(0.86);
  width: 50%;
}

.hero-device-accent {
  animation: heroDeviceAccent 2.8s ease-in-out infinite;
  background: linear-gradient(145deg, #45b0d4, #2a9cc4);
  border-radius: 999px;
  box-shadow: 0 0 0 0.45rem rgba(59, 130, 246, 0.14), 0 0 1.6rem rgba(59, 130, 246, 0.42);
  height: 0.85rem;
  opacity: 0;
  position: absolute;
  width: 0.85rem;
  z-index: 2;
}

.hero-object-photo.is-active .hero-device-accent {
  opacity: 1;
}

.hero-object-photo[data-device-id="mouse"] .hero-device-accent {
  left: 28%;
  top: 52%;
}

.hero-object-photo[data-device-id="volume"] .hero-device-accent {
  left: 50%;
  top: 38%;
  transform: translateX(-50%);
}

.hero-object-photo[data-device-id="gamepad"] .hero-device-accent {
  right: 22%;
  top: 34%;
}

.hero-object-photo[data-device-id="ring"] .hero-device-accent {
  left: 50%;
  top: 28%;
  transform: translateX(-50%);
}

.hero-object-photo[data-device-id="trackball"] .hero-device-accent {
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
}

.hero-object-photo[data-device-id="mic"] .hero-device-accent {
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
}

.hero-object-photo[data-device-id="gamepad"] .hero-device-photo img {
  height: 12.2rem;
}

.hero-object-photo[data-device-id="volume"] .hero-device-photo img {
  height: 11.5rem;
}

.hero-object-photo[data-device-id="ring"] .hero-device-photo img {
  height: 11rem;
}

.hero-object-photo[data-device-id="trackball"] .hero-device-photo img {
  height: 12rem;
}

.hero-object-photo[data-device-id="mic"] .hero-device-photo img {
  height: 14.2rem;
}

.hero-object-photo[data-device-id="mic"].is-active .hero-device-photo img {
  transform: translate3d(0, -12px, 0) scale(1.1) rotateX(7deg);
}

.dark .hero-device-photo img {
  filter:
    drop-shadow(0 20px 28px rgba(0, 0, 0, 0.34))
    drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.dark .hero-object-photo.is-active .hero-device-photo img {
  filter:
    drop-shadow(0 30px 34px rgba(69, 176, 212, 0.18))
    drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

.dark .hero-device-photo::after {
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.55) 0%, transparent 72%);
}

.mouse-body,
.gamepad-body,
.ring-band,
.trackball-base,
.mic-head,
.remote-body {
  background: linear-gradient(145deg, #fff, #e8eef6);
  border: 1px solid rgba(148, 163, 184, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 22px 44px rgba(15, 23, 42, 0.12);
  position: absolute;
}

.dark .mouse-body,
.dark .gamepad-body,
.dark .ring-band,
.dark .trackball-base,
.dark .mic-head,
.dark .remote-body {
  background: linear-gradient(145deg, #334155, #172033);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px rgba(0, 0, 0, 0.26);
}

.hero-object-mouse .mouse-body {
  border-radius: 48% 48% 42% 42% / 38% 38% 55% 55%;
  height: 17rem;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%) perspective(40rem) rotateX(14deg);
  width: 15rem;
}

.hero-object-mouse .mouse-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(226, 232, 240, 0.7));
  border-radius: 999px;
  height: 6.8rem;
  left: 50%;
  position: absolute;
  top: 2.7rem;
  transform: translateX(-50%);
  width: 0.28rem;
}

.hero-object-mouse .mouse-side {
  animation: heroDeviceAccent 2.8s ease-in-out infinite;
  background: #3b82f6;
  border-radius: 999px;
  box-shadow: 0 0 0 0.45rem rgba(59, 130, 246, 0.12), 0 0 2rem rgba(59, 130, 246, 0.42);
  height: 2.4rem;
  left: 7.6rem;
  position: absolute;
  top: 9.2rem;
  width: 0.7rem;
}

.hero-object-gamepad .gamepad-body {
  border-radius: 7rem 7rem 5rem 5rem / 4rem 4rem 7rem 7rem;
  height: 12rem;
  left: 50%;
  top: 5.6rem;
  transform: translateX(-50%) rotate(-2deg);
  width: 25rem;
}

.gamepad-stick,
.gamepad-button,
.gamepad-dpad {
  position: absolute;
  z-index: 2;
}

.gamepad-stick {
  background: linear-gradient(145deg, #475569, #111827);
  border-radius: 999px;
  box-shadow: inset 0 0.35rem 0 rgba(255, 255, 255, 0.16);
  height: 2.6rem;
  top: 9.6rem;
  width: 2.6rem;
}

.gamepad-stick.left { left: 8rem; }
.gamepad-stick.right { right: 8rem; top: 11.2rem; }

.gamepad-dpad {
  background:
    linear-gradient(#334155, #334155) center / 4.4rem 1.35rem no-repeat,
    linear-gradient(#334155, #334155) center / 1.35rem 4.4rem no-repeat;
  height: 4.6rem;
  left: 4.6rem;
  top: 10.9rem;
  width: 4.6rem;
}

.gamepad-button {
  background: #45b0d4;
  border-radius: 999px;
  box-shadow: 0 0 0 0.36rem rgba(69, 176, 212, 0.13), inset 0 0.2rem 0 rgba(255, 255, 255, 0.24);
  height: 1.8rem;
  right: 5rem;
  top: 9.8rem;
  width: 1.8rem;
}

.gamepad-button.b {
  right: 7.5rem;
  top: 12.1rem;
}

.hero-object-ring .ring-band {
  background:
    radial-gradient(circle at center, transparent 34%, rgba(255, 255, 255, 0.96) 35%, #e8eef6 68%, #cbd5e1 100%);
  border-radius: 999px;
  height: 16.5rem;
  left: 50%;
  top: 3rem;
  transform: translateX(-50%) rotate(-12deg);
  width: 16.5rem;
}

.dark .hero-object-ring .ring-band {
  background:
    radial-gradient(circle at center, transparent 34%, #334155 35%, #172033 68%, #0f172a 100%);
}

.hero-object-ring .ring-module {
  animation: heroDeviceAccent 2.8s ease-in-out infinite;
  background: linear-gradient(145deg, #22d3ee, #2563eb);
  border-radius: 1.4rem;
  box-shadow: 0 0 0 0.45rem rgba(59, 130, 246, 0.12), 0 1rem 2rem rgba(59, 130, 246, 0.22);
  height: 4.4rem;
  left: 50%;
  position: absolute;
  top: 2.5rem;
  transform: translateX(-50%) rotate(-12deg);
  width: 6.4rem;
}

.hero-object-ring .ring-signal {
  border: 2px solid rgba(69, 176, 212, 0.5);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  height: 8rem;
  position: absolute;
  right: 6rem;
  top: 2.6rem;
  transform: rotate(-14deg);
  width: 8rem;
}

.hero-object-trackball .trackball-base {
  border-radius: 4rem 4rem 7rem 7rem / 3rem 3rem 6rem 6rem;
  height: 12rem;
  left: 50%;
  top: 7.5rem;
  transform: translateX(-50%);
  width: 23rem;
}

.hero-object-trackball .trackball-ball {
  animation: heroDeviceAccent 3.2s ease-in-out infinite;
  background: radial-gradient(circle at 34% 28%, #fff, #67e8f9 24%, #3b82f6 68%, #1d4ed8);
  border-radius: 999px;
  box-shadow: inset -1rem -1.2rem 2rem rgba(15, 23, 42, 0.22), 0 1rem 2.4rem rgba(59, 130, 246, 0.22);
  height: 8.6rem;
  left: 50%;
  position: absolute;
  top: 3.6rem;
  transform: translateX(-50%);
  width: 8.6rem;
}

.trackball-button {
  background: #cbd5e1;
  border-radius: 999px;
  height: 2.4rem;
  position: absolute;
  top: 11rem;
  width: 5.2rem;
}

.trackball-button.left {
  left: 5.1rem;
  transform: rotate(-18deg);
}

.trackball-button.right {
  right: 5.1rem;
  transform: rotate(18deg);
}

.hero-object-mic .mic-head {
  border-radius: 7rem;
  height: 12.5rem;
  left: 50%;
  top: 1.8rem;
  transform: translateX(-50%);
  width: 9rem;
}

.hero-object-mic .mic-grille {
  background: repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.2) 0 0.16rem, transparent 0.16rem 0.72rem);
  border-radius: 6rem;
  height: 8.4rem;
  left: 50%;
  position: absolute;
  top: 3.7rem;
  transform: translateX(-50%);
  width: 6.9rem;
}

.dark .hero-object-mic .mic-grille {
  background: repeating-linear-gradient(90deg, rgba(226, 232, 240, 0.22) 0 0.16rem, transparent 0.16rem 0.72rem);
}

.hero-object-mic .mic-stem {
  background: linear-gradient(180deg, #94a3b8, #334155);
  border-radius: 999px;
  height: 5rem;
  left: 50%;
  position: absolute;
  top: 13.2rem;
  transform: translateX(-50%);
  width: 1.2rem;
}

.hero-object-mic .mic-base {
  background: linear-gradient(145deg, #fff, #dbe5ef);
  border-radius: 999px;
  height: 1.6rem;
  left: 50%;
  position: absolute;
  top: 17.6rem;
  transform: translateX(-50%);
  width: 10rem;
}

.hero-object-remote .remote-body {
  border-radius: 2.3rem;
  height: 19rem;
  left: 50%;
  top: 1.4rem;
  transform: translateX(-50%) rotate(8deg);
  width: 8.8rem;
}

.remote-button {
  background: #cbd5e1;
  border-radius: 999px;
  position: absolute;
  z-index: 2;
}

.remote-button.main {
  animation: heroDeviceAccent 2.8s ease-in-out infinite;
  background: linear-gradient(145deg, #45b0d4, #2a9cc4);
  height: 3.3rem;
  left: 50%;
  top: 5rem;
  transform: translateX(-50%) rotate(8deg);
  width: 3.3rem;
}

.remote-button.small {
  height: 1.3rem;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  width: 4.2rem;
}

.remote-button.one { top: 9.6rem; }
.remote-button.two { top: 12.1rem; }
.remote-button.three { top: 14.6rem; }

.hero-object-demo .hero-listening-card {
  align-self: center;
  bottom: auto;
  grid-area: voice;
  justify-self: stretch;
  left: auto;
  margin: 0.35rem 0 0;
  position: relative;
  width: 100%;
  max-width: 300px;
}

.hero-object-demo .hero-text-demo {
  grid-area: input;
  left: auto;
  margin-top: 0.15rem;
  position: relative;
  right: auto;
  width: 100%;
}

.hero-device-demo {
  isolation: isolate;
}

.hero-device-stage {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-device-card {
  --device-active-color: #1f8fb8;
  --device-idle-color: #334155;
  --device-idle-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
  align-items: center;
  animation: heroDevicePulse 9.6s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 1.1rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
  color: #334155;
  display: flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.55rem;
  min-width: 8.5rem;
  padding: 0.82rem 0.92rem;
  position: absolute;
}

.hero-device-card i {
  align-items: center;
  background: #e6f7fc;
  border-radius: 999px;
  color: #2a9cc4;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.12rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.hero-device-card-large {
  border-radius: 1.25rem;
  font-size: 0.95rem;
  min-width: 10rem;
  padding: 1rem 1.05rem;
}

.hero-device-card-large i {
  font-size: 1.4rem;
  height: 2.35rem;
  width: 2.35rem;
}

.hero-device-card:nth-child(2) { animation-delay: 1.6s; }
.hero-device-card:nth-child(3) { animation-delay: 3.2s; }
.hero-device-card:nth-child(4) { animation-delay: 4.8s; }
.hero-device-card:nth-child(5) { animation-delay: 6.4s; }
.hero-device-card:nth-child(6) { animation-delay: 8s; }

.dark .hero-device-card {
  --device-active-color: #5ec8e8;
  --device-idle-color: #e2e8f0;
  --device-idle-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  color: #e2e8f0;
}

.dark .hero-device-card i {
  background: rgba(69, 176, 212, 0.15);
  color: #5ec8e8;
}

.hero-device-mouse {
  left: 2rem;
  top: 3.2rem;
}

.hero-device-gamepad {
  right: 2.2rem;
  top: 2.2rem;
}

.hero-device-ring {
  right: 0.3rem;
  top: 9.8rem;
}

.hero-device-trackball {
  bottom: 8.6rem;
  right: 1.5rem;
}

.hero-device-mic {
  bottom: 3.8rem;
  left: 0.7rem;
}

.hero-device-key {
  left: 42%;
  top: 0.2rem;
}

.hero-device-center {
  align-items: center;
  background:
    radial-gradient(circle at center, rgba(69, 176, 212, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(69, 176, 212, 0.18);
  border-radius: 999px;
  box-shadow: 0 24px 70px rgba(42, 156, 196, 0.12);
  display: flex;
  height: 12.8rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 39%;
  transform: translate(-50%, -50%);
  width: 12.8rem;
  z-index: 2;
}

.dark .hero-device-center {
  background:
    radial-gradient(circle at center, rgba(69, 176, 212, 0.22), transparent 62%),
    rgba(15, 23, 42, 0.64);
  border-color: rgba(94, 200, 232, 0.2);
}

.hero-device-center-badge {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 0.45rem;
  padding: 0.66rem 0.82rem;
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-device-center-badge i {
  color: #2563eb;
}

.dark .hero-device-center-badge {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.2);
  color: #f8fafc;
}

.hero-device-radar span {
  animation: heroRadar 3s ease-out infinite;
  border: 1px solid rgba(69, 176, 212, 0.26);
  border-radius: 999px;
  inset: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.hero-device-radar span:nth-child(2) {
  animation-delay: 1s;
}

.hero-device-radar span:nth-child(3) {
  animation-delay: 2s;
}

.hero-keyboard {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.92)),
    #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 2rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(1rem, 2vw, 1.45rem);
  position: absolute;
  right: 0;
  top: 1rem;
  transform: rotate(6deg);
  width: min(100%, 520px);
}

.dark .hero-keyboard {
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94)),
    #0f172a;
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-key {
  align-items: center;
  aspect-ratio: 1.2 / 0.78;
  background: linear-gradient(180deg, #fff, #eef2f7);
  border: 1px solid #d7dee8;
  border-radius: 0.8rem;
  box-shadow: 0 0.34rem 0 #c9d2df, 0 0.7rem 1.3rem rgba(15, 23, 42, 0.13);
  color: #64748b;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  justify-content: center;
  min-width: 0;
}

.dark .hero-key {
  background: linear-gradient(180deg, #334155, #1e293b);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 0.34rem 0 #111827, 0 0.7rem 1.3rem rgba(0, 0, 0, 0.22);
  color: #cbd5e1;
}

.hero-key-active {
  animation: heroKeyPress 2.8s ease-in-out infinite;
  border-color: rgba(59, 130, 246, 0.78);
  box-shadow: 0 0.22rem 0 #8bbdff, 0 0 0 0.32rem rgba(59, 130, 246, 0.15), 0 0.95rem 2rem rgba(59, 130, 246, 0.26);
  color: #2563eb;
  transform: translateY(0.1rem);
}

.hero-key-active i {
  font-size: 1.35rem;
}

.hero-key-active span {
  font-size: 0.72rem;
  margin-top: 0.12rem;
}

.hero-listening-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 1.25rem;
  bottom: auto;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
  left: auto;
  padding: 1rem;
  position: relative;
  width: min(68%, 310px);
  z-index: 4;
}

.dark .hero-listening-card {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
}

.hero-card-title {
  align-items: center;
  color: #0f172a;
  display: flex;
  font-size: 0.85rem;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: space-between;
}

.dark .hero-card-title {
  color: #f8fafc;
}

.hero-card-title button {
  color: #64748b;
  line-height: 1;
}

.hero-mic-dot {
  align-items: center;
  background: #d4f0fa;
  border-radius: 999px;
  color: #2a9cc4;
  display: inline-flex;
  height: 1.7rem;
  justify-content: center;
  width: 1.7rem;
}

.hero-wave {
  align-items: center;
  display: flex;
  gap: 0.26rem;
  height: 4.4rem;
  justify-content: center;
}

.hero-wave span {
  animation: heroWave 1s ease-in-out infinite;
  background: linear-gradient(180deg, #5ec8e8, #2a9cc4);
  border-radius: 999px;
  height: 1rem;
  width: 0.28rem;
}

.hero-wave span:nth-child(2) { animation-delay: 80ms; }
.hero-wave span:nth-child(3) { animation-delay: 160ms; }
.hero-wave span:nth-child(4) { animation-delay: 240ms; }
.hero-wave span:nth-child(5) { animation-delay: 320ms; }
.hero-wave span:nth-child(6) { animation-delay: 400ms; }
.hero-wave span:nth-child(7) { animation-delay: 480ms; }
.hero-wave span:nth-child(8) { animation-delay: 560ms; }

.hero-listening-card.is-pulsing {
  animation: heroVoiceCardPulse 640ms ease;
}

@keyframes heroVoiceCardPulse {
  0% {
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
    transform: translateY(0);
  }
  40% {
    box-shadow: 0 28px 64px rgba(42, 156, 196, 0.22), 0 0 0 0.24rem rgba(69, 176, 212, 0.12);
    transform: translateY(-4px);
  }
  100% {
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
    transform: translateY(0);
  }
}

.hero-text-demo.is-typing-reset p span:first-child {
  animation: heroTyping 5s steps(18, end) infinite;
  max-width: 0;
}

.hero-listening-card p {
  color: #2a9cc4;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.hero-text-demo {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  bottom: auto;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.13);
  left: auto;
  padding: 1.15rem 1.25rem;
  position: relative;
  right: auto;
  z-index: 3;
}

.dark .hero-text-demo {
  background: rgba(15, 23, 42, 0.84);
  border-color: rgba(148, 163, 184, 0.18);
}

.hero-text-line {
  background: #e2e8f0;
  border-radius: 999px;
  height: 0.5rem;
  margin-bottom: 0.65rem;
  width: 72%;
}

.hero-text-line.is-short {
  width: 44%;
}

.hero-text-line.is-muted {
  opacity: 0.6;
}

.hero-text-demo p {
  color: #0f172a;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  font-weight: 700;
  margin: 0.85rem 0 0;
  min-height: 1.65rem;
  overflow: hidden;
  white-space: nowrap;
}

.dark .hero-text-demo p {
  color: #f8fafc;
}

.hero-text-demo p span:first-child {
  animation: heroTyping 5s steps(18, end) infinite;
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-caret {
  animation: heroCaret 1s step-end infinite;
  background: #0f172a;
  display: inline-block;
  height: 1.15em;
  margin-left: 0.18rem;
  vertical-align: -0.18em;
  width: 2px;
}

.hero-device-demo .hero-listening-card {
  bottom: 5.2rem;
  left: 0;
  width: min(62%, 310px);
}

.dark .hero-caret {
  background: #f8fafc;
}

@keyframes heroWordIn {
  from {
    transform: translateY(0.18em);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes heroKeyPress {
  0%, 72%, 100% {
    transform: translateY(0.1rem);
  }
  78%, 88% {
    transform: translateY(0.34rem);
  }
}

@keyframes heroDevicePulse {
  0%, 16%, 100% {
    border-color: rgba(69, 176, 212, 0.42);
    box-shadow: 0 18px 48px rgba(42, 156, 196, 0.15), 0 0 0 0.24rem rgba(69, 176, 212, 0.09);
    color: var(--device-active-color);
  }
  23%, 92% {
    border-color: rgba(148, 163, 184, 0.26);
    box-shadow: var(--device-idle-shadow);
    color: var(--device-idle-color);
  }
}

@keyframes heroFlowPulse {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes heroObjectFloat {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(-3deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1) rotate(-3deg) translateY(-0.55rem);
  }
}

@keyframes heroDeviceAccent {
  0%, 100% {
    filter: brightness(1);
    transform-origin: center;
  }
  50% {
    filter: brightness(1.14);
  }
}

@keyframes heroRadar {
  0% {
    height: 3rem;
    opacity: 0.68;
    width: 3rem;
  }
  100% {
    height: 15rem;
    opacity: 0;
    width: 15rem;
  }
}

@keyframes heroWave {
  0%, 100% {
    height: 0.75rem;
  }
  50% {
    height: 2.6rem;
  }
}

@keyframes heroTyping {
  0%, 22% {
    max-width: 0;
  }
  52%, 88% {
    max-width: 28ch;
  }
  100% {
    max-width: 0;
  }
}

@keyframes heroCaret {
  50% {
    opacity: 0;
  }
}

.nav-active,
.site-nav-links a.is-active {
  background: rgba(42, 156, 196, 0.1) !important;
  color: #2a9cc4 !important;
  font-weight: 750 !important;
}
.dark .nav-active,
.dark .site-nav-links a.is-active {
  background: rgba(94, 200, 232, 0.1) !important;
  color: #5ec8e8 !important;
}

.section-heading {
  margin: 0 auto 3.5rem;
  max-width: 720px;
  text-align: center;
}

.section-heading h2,
.context-copy h2 {
  color: #020617;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.dark .section-heading h2,
.dark .context-copy h2 {
  color: #f8fafc;
}

.section-heading p,
.context-copy p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1rem auto 0;
}

.dark .section-heading p,
.dark .context-copy p {
  color: #cbd5e1;
}

.quickstart-layout {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
}

.quickstart-copy h2 {
  color: #020617;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.dark .quickstart-copy h2 {
  color: #f8fafc;
}

.quickstart-copy > p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1rem 0 0;
}

.dark .quickstart-copy > p {
  color: #cbd5e1;
}

.quickstart-steps {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.quickstart-steps li {
  align-items: start;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.quickstart-steps li > span {
  align-items: center;
  background: #0f172a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 1.8rem;
  justify-content: center;
  margin-top: 0.18rem;
  width: 1.8rem;
}

.dark .quickstart-steps li > span {
  background: #45b0d4;
}

.quickstart-steps strong {
  color: #0f172a;
  font-weight: 850;
}

.dark .quickstart-steps strong {
  color: #f8fafc;
}

.quickstart-steps p {
  color: #64748b;
  line-height: 1.65;
  margin: 0.2rem 0 0;
}

.dark .quickstart-steps p {
  color: #cbd5e1;
}

.quickstart-note,
.quickstart-help,
.command-window,
.quickstart-scenes button,
.quickstart-scene-stage,
.context-editor,
.context-voice-panel,
.context-metric {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
}

.dark .quickstart-note,
.dark .quickstart-help,
.dark .command-window,
.dark .quickstart-scenes button,
.dark .quickstart-scene-stage,
.dark .context-editor,
.dark .context-voice-panel,
.dark .context-metric {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.quickstart-note {
  align-items: start;
  border-radius: 1rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 2rem;
  padding: 1rem;
}

.quickstart-note i {
  color: #2a9cc4;
  font-size: 1.55rem;
  margin-top: 0.1rem;
}

.quickstart-note strong {
  color: #0f172a;
  font-weight: 850;
}

.dark .quickstart-note strong {
  color: #f8fafc;
}

.quickstart-note p {
  color: #64748b;
  line-height: 1.6;
  margin: 0.15rem 0 0;
}

.dark .quickstart-note p {
  color: #cbd5e1;
}

.quickstart-help {
  align-items: center;
  border-radius: 999px;
  color: #2a9cc4;
  display: inline-flex;
  font-weight: 850;
  gap: 0.45rem;
  margin-top: 2rem;
  padding: 0.7rem 1rem;
  transition: color 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.quickstart-help:hover {
  border-color: rgba(69, 176, 212, 0.48);
  color: #1f8fb8;
  transform: translateY(-1px);
}

.command-demo {
  min-width: 0;
}

.command-window {
  border-radius: 1.35rem;
  overflow: hidden;
}

.command-window-bar {
  align-items: center;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  gap: 0.45rem;
  min-height: 3.3rem;
  padding: 0 1rem;
}

.dark .command-window-bar {
  background: rgba(15, 23, 42, 0.72);
}

.command-window-bar span {
  background: #cbd5e1;
  border-radius: 999px;
  height: 0.65rem;
  width: 0.65rem;
}

.command-window-bar strong {
  color: #2a9cc4;
  font-weight: 850;
  margin-left: 0.6rem;
}

.command-window-bar em {
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 750;
  margin-left: auto;
}

.command-search {
  align-items: center;
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: #64748b;
  display: flex;
  gap: 0.65rem;
  min-height: 4.2rem;
  padding: 0 1.15rem;
}

.dark .command-search {
  background: rgba(30, 41, 59, 0.42);
}

.command-search i {
  color: #2a9cc4;
  font-size: 1.25rem;
}

.command-search span {
  flex: 1;
  min-width: 0;
}

.command-search kbd {
  background: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.45rem;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 850;
  padding: 0.24rem 0.42rem;
}

.dark .command-search kbd {
  background: rgba(15, 23, 42, 0.86);
  color: #e2e8f0;
}

.command-body {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.56fr);
  padding: 1rem;
}

.command-list {
  display: grid;
  gap: 0.65rem;
}

.command-item {
  align-items: center;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.95rem;
  color: #475569;
  cursor: pointer;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 4.8rem;
  padding: 0.85rem;
  text-align: left;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.dark .command-item {
  background: rgba(30, 41, 59, 0.54);
  color: #cbd5e1;
}

.command-item.is-active {
  background: #fff;
  border-color: rgba(69, 176, 212, 0.62);
  box-shadow: 0 18px 42px rgba(42, 156, 196, 0.13), 0 0 0 0.22rem rgba(69, 176, 212, 0.08);
  transform: translateY(-1px);
}

.dark .command-item.is-active {
  background: rgba(15, 23, 42, 0.9);
}

.command-item > i {
  align-items: center;
  background: #e0f2fe;
  border-radius: 0.8rem;
  color: #2563eb;
  display: inline-flex;
  font-size: 1.35rem;
  height: 2.8rem;
  justify-content: center;
  width: 2.8rem;
}

.command-item.is-active > i {
  background: #d4f0fa;
  color: #2a9cc4;
}

.command-item strong {
  color: #0f172a;
  display: block;
  font-weight: 850;
}

.dark .command-item strong {
  color: #f8fafc;
}

.command-item small {
  color: #64748b;
  display: block;
  line-height: 1.45;
  margin-top: 0.2rem;
}

.dark .command-item small {
  color: #cbd5e1;
}

.command-item b {
  background: #e6f7fc;
  border-radius: 999px;
  color: #1f8fb8;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.28rem 0.5rem;
  white-space: nowrap;
}

.dark .command-item b {
  background: rgba(94, 200, 232, 0.12);
  color: #5ec8e8;
}

.command-status {
  display: grid;
  gap: 0.8rem;
}

.status-pill,
.mapping-card,
.test-card {
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.95rem;
}

.dark .status-pill,
.dark .mapping-card,
.dark .test-card {
  background: rgba(30, 41, 59, 0.52);
}

.status-pill {
  align-items: center;
  color: #2a9cc4;
  display: flex;
  font-weight: 850;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
}

.mapping-card,
.test-card {
  padding: 0.95rem;
}

.mapping-card span,
.test-card > div span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 850;
}

.mapping-card strong {
  color: #0f172a;
  display: block;
  font-weight: 750;
  line-height: 1.6;
  margin-top: 0.3rem;
}

.dark .mapping-card strong {
  color: #f8fafc;
}

.mapping-card p {
  color: #64748b;
  line-height: 1.55;
  margin: 0.45rem 0 0;
}

.dark .mapping-card p {
  color: #cbd5e1;
}

.test-card > div {
  align-items: center;
  display: flex;
  gap: 0.45rem;
}

.test-card > div i {
  color: #2563eb;
}

.test-card p {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.65;
  margin: 1.1rem 0 0;
  min-height: 4.1rem;
}

.dark .test-card p {
  color: #f8fafc;
}

.test-card p i,
.context-typed i {
  animation: heroCaret 1s step-end infinite;
  background: currentColor;
  display: inline-block;
  height: 1.05em;
  margin-left: 0.2rem;
  vertical-align: -0.16em;
  width: 2px;
}

.quickstart-scenes {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quickstart-scenes button {
  color: inherit;
  border-radius: 0.95rem;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  min-height: 8.8rem;
  padding: 1rem;
  text-align: left;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.quickstart-scenes button.is-active {
  background: #fff;
  border-color: rgba(69, 176, 212, 0.62);
  box-shadow: 0 18px 42px rgba(42, 156, 196, 0.12), 0 0 0 0.22rem rgba(69, 176, 212, 0.08);
  transform: translateY(-2px);
}

.dark .quickstart-scenes button.is-active {
  background: rgba(15, 23, 42, 0.9);
}

.quickstart-scenes i {
  color: #2a9cc4;
  font-size: 1.45rem;
}

.quickstart-scenes strong {
  color: #0f172a;
  font-weight: 850;
}

.dark .quickstart-scenes strong {
  color: #f8fafc;
}

.quickstart-scenes span {
  color: #64748b;
  font-size: 0.9rem;
}

.dark .quickstart-scenes span {
  color: #cbd5e1;
}

.quickstart-scenario-lab {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  margin-top: clamp(2rem, 5vw, 4rem);
}

.quickstart-scenario-copy {
  align-self: center;
}

.quickstart-scenario-copy h3 {
  color: #020617;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.dark .quickstart-scenario-copy h3 {
  color: #f8fafc;
}

.quickstart-scenario-copy p {
  color: #64748b;
  line-height: 1.8;
  margin: 1rem 0 0;
}

.dark .quickstart-scenario-copy p {
  color: #cbd5e1;
}

.quickstart-scenario-lab .quickstart-scenes {
  grid-column: 1;
  grid-template-columns: 1fr;
}

.quickstart-scene-stage {
  border-radius: 1.35rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 27rem;
  overflow: hidden;
  position: relative;
}

.quickstart-scene-panel {
  display: grid;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateY(0.75rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.quickstart-scene-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scene-window-bar {
  align-items: center;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  gap: 0.45rem;
  height: 3.35rem;
  padding: 0 1rem;
}

.dark .scene-window-bar {
  background: rgba(15, 23, 42, 0.72);
}

.scene-window-bar span {
  background: #cbd5e1;
  border-radius: 999px;
  height: 0.65rem;
  width: 0.65rem;
}

.scene-window-bar strong {
  color: #0f172a;
  font-weight: 850;
  margin-left: 0.5rem;
}

.dark .scene-window-bar strong {
  color: #f8fafc;
}

.scene-mail-preview,
.scene-note-preview,
.scene-chat-preview,
.scene-doc-preview {
  padding: clamp(1.3rem, 4vw, 2.1rem);
}

.scene-field,
.scene-doc-title,
.scene-note-preview b {
  color: #0f172a;
  display: block;
  font-weight: 850;
  margin: 0 0 1.2rem;
}

.dark .scene-field,
.dark .scene-doc-title,
.dark .scene-note-preview b {
  color: #f8fafc;
}

.scene-line {
  background: #e2e8f0;
  border-radius: 999px;
  height: 0.8rem;
  margin: 0.8rem 0;
  width: 100%;
}

.dark .scene-line {
  background: rgba(148, 163, 184, 0.22);
}

.scene-line.long { width: 82%; }
.scene-line.medium { width: 58%; }
.scene-line.short { width: 36%; }

.scene-typed {
  color: #0f172a;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 850;
  line-height: 1.72;
  margin: 1.55rem 0 0;
  max-width: 34rem;
}

.dark .scene-typed {
  color: #f8fafc;
}

.scene-typed i {
  animation: heroCaret 1s step-end infinite;
  background: currentColor;
  display: inline-block;
  height: 1.05em;
  margin-left: 0.2rem;
  vertical-align: -0.16em;
  width: 2px;
}

.scene-chat-preview {
  display: grid;
  gap: 1rem;
}

.scene-chat-preview p {
  border-radius: 1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 80%;
  padding: 0.9rem 1rem;
}

.scene-chat-preview p:first-child {
  background: #f1f5f9;
  color: #475569;
}

.scene-chat-preview .scene-typed {
  background: #2a9cc4;
  color: #fff;
  justify-self: end;
  margin-top: 0.2rem;
}

.dark .scene-chat-preview p:first-child {
  background: rgba(30, 41, 59, 0.75);
  color: #cbd5e1;
}

.quickstart-voice-chip {
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  bottom: 1.2rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  color: #fff;
  display: flex;
  gap: 0.6rem;
  left: 1.2rem;
  max-width: calc(100% - 2.4rem);
  padding: 0.72rem 0.9rem;
  position: absolute;
  z-index: 3;
}

.quickstart-voice-chip > i {
  color: #5ec8e8;
}

.quickstart-voice-chip span {
  font-size: 0.9rem;
  font-weight: 850;
}

.mini-wave {
  align-items: center;
  display: inline-flex;
  gap: 0.22rem;
  margin-left: auto;
}

.mini-wave span {
  animation: heroWave 1.1s ease-in-out infinite;
  background: #5ec8e8;
  border-radius: 999px;
  height: 0.75rem;
  width: 0.22rem;
}

.mini-wave span:nth-child(2) { animation-delay: 90ms; }
.mini-wave span:nth-child(3) { animation-delay: 180ms; }
.mini-wave span:nth-child(4) { animation-delay: 270ms; }

.context-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
}

.section-kicker {
  color: #2a9cc4;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  margin-bottom: 0.9rem;
}

.context-tabs {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.context-tabs button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.85rem;
  color: #475569;
  display: inline-flex;
  font-weight: 850;
  gap: 0.45rem;
  justify-content: center;
  min-height: 3.4rem;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.dark .context-tabs button {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.context-tabs button.is-active {
  background: #2a9cc4;
  border-color: #2a9cc4;
  box-shadow: 0 16px 38px rgba(42, 156, 196, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.context-metric {
  align-items: center;
  border-radius: 0.9rem;
  display: grid;
  gap: 0.15rem 0.8rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 2rem;
  padding: 1rem;
}

.context-metric i {
  align-items: center;
  background: #d4f0fa;
  border-radius: 999px;
  color: #2a9cc4;
  display: inline-flex;
  grid-row: span 2;
  height: 2.8rem;
  justify-content: center;
  width: 2.8rem;
}

.context-metric strong {
  color: #0f172a;
  font-weight: 850;
}

.dark .context-metric strong {
  color: #f8fafc;
}

.context-metric span {
  color: #64748b;
  font-size: 0.92rem;
}

.context-stage {
  min-height: 30rem;
  position: relative;
}

.context-editor {
  border-radius: 1.35rem;
  inset: 1.4rem 0 0 3.2rem;
  overflow: hidden;
  position: absolute;
}

.context-toolbar {
  align-items: center;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
}

.dark .context-toolbar {
  background: rgba(15, 23, 42, 0.7);
}

.context-toolbar span {
  background: #cbd5e1;
  border-radius: 999px;
  height: 0.65rem;
  width: 0.65rem;
}

.context-toolbar b,
.context-toolbar i {
  color: #94a3b8;
}

.context-document {
  padding: 2.4rem 2.6rem;
}

.context-label {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 750;
  margin: 0 0 1rem;
}

.context-line {
  background: #e2e8f0;
  border-radius: 999px;
  height: 0.65rem;
  margin: 0 0 0.8rem;
}

.context-line.long {
  width: 74%;
}

.context-line.medium {
  width: 52%;
}

.context-typed {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.7;
  margin: 2rem 0 0;
  max-width: 25rem;
}

.dark .context-typed {
  color: #f8fafc;
}

.context-voice-panel {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  bottom: 2.4rem;
  color: #fff;
  left: 0;
  padding: 1.3rem 1.45rem;
  position: absolute;
  right: 4rem;
}

.context-voice-panel > div:first-child {
  align-items: center;
  display: flex;
  font-weight: 850;
  gap: 0.6rem;
}

.context-voice-panel i {
  color: #5ec8e8;
}

.context-wave {
  align-items: center;
  display: flex;
  gap: 0.32rem;
  height: 4.4rem;
  justify-content: center;
}

.context-wave span {
  animation: heroWave 1.1s ease-in-out infinite;
  background: linear-gradient(180deg, #5ec8e8, #2a9cc4);
  border-radius: 999px;
  height: 1rem;
  width: 0.32rem;
}

.context-wave span:nth-child(2) { animation-delay: 90ms; }
.context-wave span:nth-child(3) { animation-delay: 180ms; }
.context-wave span:nth-child(4) { animation-delay: 270ms; }
.context-wave span:nth-child(5) { animation-delay: 360ms; }
.context-wave span:nth-child(6) { animation-delay: 450ms; }

html[lang="en"] [data-lang-content="zh"],
html[lang="zh-CN"] [data-lang-content="en"] {
  display: none !important;
}

.cta-brand-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-muted) 100%);
}

.cta-brand-banner-desc {
  color: rgba(255, 255, 255, 0.92);
}

.cta-brand-banner-meta {
  color: rgba(255, 255, 255, 0.78);
}

.cta-brand-banner-btn {
  color: var(--brand);
}

.hero-platform-pill {
  align-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-alt);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: var(--brand);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.25rem 0.75rem;
}

.dark .hero-platform-pill {
  background: rgba(26, 45, 74, 0.3);
  border-color: rgba(31, 143, 184, 0.5);
  color: var(--brand-glow);
}

.animation-delay-2000 {
  animation-delay: 2s;
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

.animate-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-12deg);
  animation: shine 3s infinite;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #a8dff0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #45b0d4;
}
.dark ::-webkit-scrollbar-thumb {
  background: #1f8fb8;
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: #45b0d4;
}

html {
  scrollbar-color: #45b0d4 transparent;
  scrollbar-width: thin;
}

.command-list,
.command-body,
.command-window {
  scrollbar-color: #45b0d4 transparent;
  scrollbar-width: thin;
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-title {
    font-size: clamp(2.25rem, 9vw, 3.35rem);
    max-width: none;
  }

  html[lang="en"] .hero-title {
    font-size: clamp(2.1rem, 8.5vw, 3.1rem);
  }

  .hero-demo {
    gap: 0.75rem;
    grid-template-areas:
      "device"
      "voice"
      "input";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 520px;
  }

  .hero-object-stage {
    min-height: 220px;
  }

  .hero-device-photo {
    min-height: 11.5rem;
  }

  .hero-device-photo img {
    height: 10.5rem;
  }

  .hero-object-photo[data-device-id="mic"] .hero-device-photo img {
    height: 11.5rem;
  }

  .hero-flow-connector {
    display: none;
  }

  .hero-object-demo .hero-listening-card {
    max-width: none;
  }

  .hero-object {
    height: auto;
    width: min(92%, 25rem);
  }

  .hero-object-glow {
    height: 16rem;
    width: 16rem;
  }

  .hero-device-mouse {
    left: 0;
    top: 2.6rem;
  }

  .hero-device-gamepad {
    right: 0;
    top: 1.5rem;
  }

  .hero-device-ring {
    right: 0;
    top: 8rem;
  }

  .hero-device-trackball {
    bottom: 7.4rem;
    right: 0.4rem;
  }

  .hero-device-mic {
    bottom: 3rem;
    left: 0;
  }

  .hero-device-key {
    left: 34%;
    top: 0;
  }

  .quickstart-layout,
  .quickstart-scenario-lab,
  .context-grid {
    grid-template-columns: 1fr;
  }

  .quickstart-scenario-lab .quickstart-scenes,
  .quickstart-scene-stage {
    grid-column: auto;
    grid-row: auto;
  }

  .quickstart-scenario-lab .quickstart-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-stage {
    min-height: 30rem;
  }

  .context-editor {
    inset: 0 0 3rem 0;
  }

  .context-voice-panel {
    bottom: 0;
    left: 1rem;
    right: 1rem;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .hero-grid {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 400px);
  }

  .hero-demo {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-bottom: 4.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  html[lang="en"] .hero-title {
    font-size: clamp(1.95rem, 9.5vw, 2.75rem);
  }

  .hero-title .hero-word-pill {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-primary-cta,
  .hero-secondary-cta {
    width: 100%;
  }

  .hero-demo {
    aspect-ratio: auto;
    min-height: 430px;
    overflow: hidden;
  }

  .hero-object {
    height: 17rem;
    top: 38%;
    width: 21rem;
  }

  .hero-object-glow {
    height: 16rem;
    top: 38%;
    width: 16rem;
  }

  .hero-object-mouse .mouse-body {
    height: 13rem;
    width: 11.5rem;
  }

  .hero-object-mouse .mouse-button {
    height: 5.2rem;
  }

  .hero-object-mouse .mouse-side {
    left: 6.35rem;
    top: 7.4rem;
  }

  .hero-object-gamepad .gamepad-body {
    height: 9.2rem;
    top: 5rem;
    width: 19rem;
  }

  .gamepad-stick.left { left: 6.4rem; top: 8rem; }
  .gamepad-stick.right { right: 6.4rem; top: 9.3rem; }
  .gamepad-dpad { left: 4rem; top: 9.1rem; transform: scale(0.75); transform-origin: left top; }
  .gamepad-button { right: 4.4rem; top: 8.1rem; }
  .gamepad-button.b { right: 6.4rem; top: 10rem; }

  .hero-object-ring .ring-band {
    height: 12.8rem;
    width: 12.8rem;
  }

  .hero-object-ring .ring-module {
    height: 3.4rem;
    width: 5.1rem;
  }

  .hero-object-trackball .trackball-base {
    height: 9.6rem;
    top: 6.3rem;
    width: 18rem;
  }

  .hero-object-trackball .trackball-ball {
    height: 6.8rem;
    top: 3.5rem;
    width: 6.8rem;
  }

  .hero-object-mic .mic-head {
    height: 10rem;
    width: 7.2rem;
  }

  .hero-object-mic .mic-grille {
    height: 6.5rem;
    width: 5.4rem;
  }

  .hero-object-mic .mic-stem {
    top: 10.8rem;
  }

  .hero-object-mic .mic-base {
    top: 14.7rem;
    width: 8rem;
  }

  .hero-object-remote .remote-body {
    height: 15rem;
    width: 7rem;
  }

  .hero-device-card {
    border-radius: 0.9rem;
    font-size: 0.72rem;
    gap: 0.38rem;
    min-width: auto;
    padding: 0.56rem 0.62rem;
  }

  .hero-device-card i {
    font-size: 0.92rem;
    height: 1.6rem;
    width: 1.6rem;
  }

  .hero-device-card-large {
    font-size: 0.76rem;
    padding: 0.62rem 0.7rem;
  }

  .hero-device-mouse {
    left: 0.3rem;
    top: 3.2rem;
  }

  .hero-device-gamepad {
    right: 0.1rem;
    top: 1.4rem;
  }

  .hero-device-ring {
    right: 0;
    top: 7.2rem;
  }

  .hero-device-trackball {
    bottom: 8.8rem;
    right: 0;
  }

  .hero-device-mic {
    bottom: 5.7rem;
    left: 0;
  }

  .hero-device-key {
    left: 36%;
    top: 0.4rem;
  }

  .hero-device-center {
    height: 10.2rem;
    top: 43%;
    width: 10.2rem;
  }

  .hero-device-center-badge {
    font-size: 0.68rem;
    max-width: 8.4rem;
    padding: 0.54rem 0.66rem;
  }

  .hero-device-demo .hero-listening-card {
    bottom: 6.5rem;
    left: 0;
    width: min(78%, 270px);
  }

  .hero-object-demo .hero-listening-card {
    margin-top: 0;
    max-width: none;
    width: 100%;
  }

  .hero-text-demo {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section-heading h2,
  .context-copy h2 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .quickstart-layout {
    gap: 2rem;
  }

  .quickstart-copy h2 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .command-body {
    grid-template-columns: 1fr;
  }

  .command-search {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0.95rem;
  }

  .command-search span {
    flex-basis: calc(100% - 2.2rem);
  }

  .command-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .command-item b {
    grid-column: 2;
    justify-self: start;
  }

  .quickstart-scenario-lab .quickstart-scenes {
    grid-template-columns: 1fr;
  }

  .quickstart-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickstart-scene-stage {
    min-height: 31rem;
  }

  .quickstart-voice-chip {
    align-items: flex-start;
    border-radius: 1rem;
    flex-wrap: wrap;
  }

  .mini-wave {
    flex-basis: 100%;
    margin-left: 1.8rem;
  }

  .context-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .context-stage {
    min-height: 29rem;
  }

  .context-document {
    padding: 1.6rem;
  }

  .context-editor,
  .context-voice-panel {
    border-radius: 1rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-word-pill.is-changing [data-hero-word],
  .hero-key-active,
  .hero-device-card,
  .hero-device-radar span,
  .hero-object.is-active,
  .hero-object-photo.is-active,
  .hero-device-accent,
  .hero-flow-connector,
  .hero-listening-card.is-pulsing,
  .mouse-side,
  .ring-module,
  .trackball-ball,
  .remote-button.main,
  .hero-wave span,
  .context-wave span,
  .mini-wave span,
  .hero-text-demo p span:first-child,
  .hero-caret,
  .test-card p i,
  .scene-typed i,
  .context-typed i,
  .animate-shine::after {
    animation: none !important;
  }

  .quickstart-scene-panel {
    transition: none !important;
  }

  .hero-text-demo p span:first-child {
    max-width: 28ch;
  }
}

/* ?? Quickstart: ?????????? */

.qs-page-head h1 {
  text-wrap: balance;
}

.qs-success-banner {
  align-items: center;
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  border-radius: 0.85rem;
  color: var(--brand-strong);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 650;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
}

.qs-success-banner i {
  color: var(--brand);
}

.qs-success-banner a {
  align-items: center;
  color: var(--brand-strong);
  display: inline-flex;
  font-size: 0.84rem;
  gap: 0.2rem;
  text-decoration: none;
}

.qs-success-banner a:hover {
  text-decoration: underline;
}

.dark .qs-success-banner {
  background: rgba(var(--brand-rgb), 0.14);
  border-color: rgba(var(--brand-glow), 0.25);
  color: var(--brand-soft-alt);
}

.dark .qs-success-banner a {
  color: var(--brand-glow);
}

.qs-zone-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.35rem;
  border-top: 0;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.06);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.dark .qs-zone-card {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.qs-zone-badge-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.qs-zone-badge {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  color: #2563eb;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
}

.qs-zone-purple .qs-zone-badge {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.28);
  color: #7c3aed;
}

.qs-zone-green .qs-zone-badge {
  background: rgba(31, 143, 184, 0.12);
  border-color: rgba(31, 143, 184, 0.28);
  color: #1f8fb8;
}

.qs-zone-blue .qs-zone-card-num,
.qs-zone-blue .qs-zone-cards button.is-active {
  --qs-zone-accent: #2563eb;
}

.qs-zone-purple .qs-zone-card-num,
.qs-zone-purple .qs-zone-cards button.is-active {
  --qs-zone-accent: #7c3aed;
}

.qs-zone-green .qs-zone-card-num,
.qs-zone-green .qs-zone-cards button.is-active {
  --qs-zone-accent: #1f8fb8;
}

.qs-zone-blue .qs-zone-card-num { color: var(--qs-zone-accent, #2563eb); }
.qs-zone-purple .qs-zone-card-num { color: var(--qs-zone-accent, #7c3aed); }
.qs-zone-green .qs-zone-card-num { color: var(--qs-zone-accent, #1f8fb8); }

.qs-zone-blue .qs-zone-cards button.is-active {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.1);
}

.qs-zone-purple .qs-zone-cards button.is-active {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(139, 92, 246, 0.1);
}

.qs-zone-green .qs-zone-cards button.is-active {
  border-color: rgba(31, 143, 184, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(31, 143, 184, 0.1);
}

.qs-stage-title {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 850;
  margin: 0 0 1rem;
}

.dark .qs-stage-title {
  color: #f8fafc;
}

.qs-stage-foot {
  margin: 1rem 0 0;
}

.qs-stage-foot a {
  font-size: 0.86rem;
  font-weight: 650;
}

.qs-device-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qs-device-card {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.95rem;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  padding: 1rem 0.65rem 0.85rem;
  position: relative;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dark .qs-device-card {
  background: rgba(30, 41, 59, 0.5);
}

.qs-device-card strong {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
}

.dark .qs-device-card strong {
  color: #f8fafc;
}

.qs-device-detail {
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
}

.qs-device-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.75rem;
  color: #2563eb;
  display: flex;
  font-size: 1.35rem;
  height: 2.75rem;
  justify-content: center;
  margin-bottom: 0.15rem;
  width: 2.75rem;
}

.dark .qs-device-icon {
  background: rgba(15, 23, 42, 0.75);
}

.qs-device-check {
  align-items: center;
  background: #2563eb;
  border-radius: 999px;
  color: #fff;
  display: none;
  font-size: 0.65rem;
  height: 1.15rem;
  justify-content: center;
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
  width: 1.15rem;
}

.qs-device-card.is-active {
  background: rgba(239, 246, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 0.12rem rgba(59, 130, 246, 0.08);
}

.qs-device-card.is-active .qs-device-check {
  display: flex;
}

.qs-notepad-mock {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.85rem;
  min-height: 14rem;
  overflow: hidden;
  position: relative;
}

.dark .qs-notepad-mock {
  background: rgba(15, 23, 42, 0.85);
}

.qs-notepad-bar {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
}

.qs-notepad-bar span {
  background: #cbd5e1;
  border-radius: 999px;
  height: 0.55rem;
  width: 0.55rem;
}

.qs-notepad-bar strong {
  color: #64748b;
  font-size: 0.78rem;
  margin-left: 0.35rem;
}

.qs-notepad-body {
  padding: 1rem 1.1rem 4.5rem;
}

.qs-notepad-body p {
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.dark .qs-notepad-body p {
  color: #cbd5e1;
}

.qs-voice-bar {
  align-items: center;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 999px;
  bottom: 0.85rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
  color: #f8fafc;
  display: flex;
  gap: 0.55rem;
  left: 50%;
  max-width: calc(100% - 1.5rem);
  padding: 0.55rem 0.85rem;
  position: absolute;
  transform: translateX(-50%);
  width: min(100%, 22rem);
}

.qs-voice-bar-mic {
  align-items: center;
  background: rgba(42, 156, 196, 0.2);
  border-radius: 999px;
  color: #5ec8e8;
  display: flex;
  font-size: 0.95rem;
  height: 1.65rem;
  justify-content: center;
  width: 1.65rem;
}

.qs-voice-bar-wave {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0.15rem;
  justify-content: center;
}

.qs-voice-bar-wave span {
  animation: qsVoiceWave 900ms ease-in-out infinite;
  background: #5ec8e8;
  border-radius: 999px;
  display: block;
  height: 0.85rem;
  width: 0.18rem;
}

.qs-voice-bar-wave span:nth-child(2) { animation-delay: 120ms; height: 1.1rem; }
.qs-voice-bar-wave span:nth-child(3) { animation-delay: 240ms; height: 0.65rem; }
.qs-voice-bar-wave span:nth-child(4) { animation-delay: 360ms; height: 1rem; }
.qs-voice-bar-wave span:nth-child(5) { animation-delay: 480ms; height: 0.75rem; }

@keyframes qsVoiceWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.qs-voice-bar-text {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.qs-voice-bar-gear {
  color: #94a3b8;
  font-size: 0.95rem;
}

.qs-flow-steps {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.qs-flow-steps > i {
  color: #94a3b8;
  font-size: 0.85rem;
}

.qs-flow-steps-stack {
  flex-direction: column;
  align-items: stretch;
}

.qs-flow-steps-stack > i {
  display: none;
}

.qs-flow-step {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  display: flex;
  flex: 1 1 6rem;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
}

.qs-flow-step span {
  align-items: center;
  background: rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  color: #64748b;
  display: flex;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 850;
  height: 1.25rem;
  justify-content: center;
  width: 1.25rem;
}

.qs-flow-step strong {
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.qs-flow-step.is-active {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
}

.qs-flow-step.is-active span {
  background: rgba(139, 92, 246, 0.18);
  color: #7c3aed;
}

.qs-preview-tip {
  align-items: flex-start;
  color: #64748b;
  display: flex;
  font-size: 0.82rem;
  gap: 0.4rem;
  line-height: 1.55;
  margin: 0.85rem 0 0;
}

.qs-preview-tip i {
  color: #eab308;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.qs-settings-mock {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.85rem;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  min-height: 14rem;
  overflow: hidden;
}

.qs-settings-sidebar {
  background: rgba(248, 250, 252, 0.95);
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.45rem;
}

.qs-settings-sidebar span {
  border-radius: 0.45rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 0.35rem 0.45rem;
}

.qs-settings-sidebar span.is-active {
  background: rgba(42, 156, 196, 0.12);
  color: #1f8fb8;
  font-weight: 800;
}

.qs-settings-main {
  padding: 0.85rem 1rem;
}

.qs-settings-section-title {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 850;
  margin: 0 0 0.85rem;
}

.qs-settings-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.qs-settings-field label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.qs-settings-slider {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.qs-slider-track {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  flex: 1;
  height: 0.35rem;
  overflow: hidden;
}

.qs-slider-fill {
  background: #2a9cc4;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.qs-settings-slider em {
  color: #0f172a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.qs-settings-input {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.55rem;
  color: #334155;
  font-size: 0.78rem;
  padding: 0.45rem 0.6rem;
}

.qs-settings-actions {
  display: grid;
  gap: 0.45rem;
}

.qs-settings-toggle {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.65rem;
  display: flex;
  font-size: 0.84rem;
  font-weight: 650;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
}

.qs-toggle-pill {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  height: 1.15rem;
  position: relative;
  width: 2rem;
}

.qs-toggle-pill::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 0.9rem;
  left: 0.12rem;
  position: absolute;
  top: 0.12rem;
  width: 0.9rem;
}

.qs-settings-toggle.is-on .qs-toggle-pill {
  background: rgba(42, 156, 196, 0.55);
}

.qs-settings-toggle.is-on .qs-toggle-pill::after {
  left: auto;
  right: 0.12rem;
}

.qs-multistep-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.qs-multistep-item {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.65rem;
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
}

.qs-multistep-item span {
  align-items: center;
  background: rgba(42, 156, 196, 0.12);
  border-radius: 999px;
  color: #1f8fb8;
  display: flex;
  font-size: 0.68rem;
  font-weight: 850;
  height: 1.25rem;
  justify-content: center;
  width: 1.25rem;
}

.qs-multistep-item strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.qs-page-footer {
  background: rgba(255, 255, 255, 0.6);
  margin-top: 3rem;
}

.dark .qs-page-footer {
  background: rgba(15, 23, 42, 0.55);
}

.qs-footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.qs-footer-grid strong {
  color: #0f172a;
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  margin-bottom: 0.65rem;
}

.qs-footer-grid a,
.qs-footer-grid p {
  color: #64748b;
  display: block;
  font-size: 0.82rem;
  line-height: 1.6;
  text-decoration: none;
}

.qs-footer-grid a:hover {
  color: #2a9cc4;
}

.qs-footer-download {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.qs-footer-cta {
  background: #2563eb;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 800;
  padding: 0.65rem 1.15rem;
}

.qs-footer-cta:hover {
  background: #1d4ed8;
  color: #fff !important;
}

.qs-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.25rem;
}

.qs-chain-rail {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1rem 1.25rem;
}

.dark .qs-chain-rail {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.16);
}

.qs-chain-track {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.35rem;
  justify-content: center;
}

.qs-chain-seg {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  display: grid;
  flex: 1 1 7.5rem;
  gap: 0.2rem;
  max-width: 12rem;
  min-width: 6.5rem;
  padding: 0.65rem 0.85rem;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.dark .qs-chain-seg {
  background: rgba(30, 41, 59, 0.55);
}

.qs-chain-seg.is-active {
  border-color: rgba(69, 176, 212, 0.55);
  box-shadow: 0 0 0 0.15rem rgba(69, 176, 212, 0.12);
}

.qs-chain-seg-label {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 850;
}

.dark .qs-chain-seg-label {
  color: #f8fafc;
}

.qs-chain-seg-state {
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
}

.dark .qs-chain-seg-state {
  color: #94a3b8;
}

.qs-chain-arrow {
  align-items: center;
  color: #94a3b8;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.9rem;
}

.qs-zone {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.qs-zone-head .section-kicker {
  display: block;
  margin-bottom: 0.5rem;
}

.qs-zone-head h2 {
  color: #020617;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.dark .qs-zone-head h2 {
  color: #f8fafc;
}

.qs-zone-head p {
  color: #64748b;
  line-height: 1.7;
  margin: 0.75rem 0 0;
  max-width: 42rem;
}

.dark .qs-zone-head p {
  color: #cbd5e1;
}

.qs-zone-lab {
  align-items: start;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  margin-top: 1.75rem;
}

.qs-zone-cards {
  display: grid;
  gap: 0.65rem;
}

.qs-zone-cards button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.95rem;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  text-align: left;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
  width: 100%;
}

.dark .qs-zone-cards button {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
}

.qs-zone-cards button.is-active {
  background: #fff;
}

.dark .qs-zone-cards button.is-active {
  background: rgba(15, 23, 42, 0.92);
}

.qs-zone-card-num {
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qs-zone-cards strong {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 850;
}

.dark .qs-zone-cards strong {
  color: #f8fafc;
}

.qs-zone-cards button > span:last-child {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.dark .qs-zone-cards button > span:last-child {
  color: #94a3b8;
}

.qs-zone-stage {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.15rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  min-height: 16rem;
  padding: 1.25rem;
  position: relative;
}

.dark .qs-zone-stage {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.qs-zone-panel {
  display: none;
}

.qs-zone-panel.is-active {
  display: block;
}

.qs-manual-kicker {
  color: #2a9cc4;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.qs-manual-note,
.qs-manual-success {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 1rem 0 0;
}

.dark .qs-manual-note,
.dark .qs-manual-success {
  color: #94a3b8;
}

.qs-manual-success {
  color: #1f8fb8;
  font-weight: 600;
}

.dark .qs-manual-success {
  color: #5ec8e8;
}

.qs-trigger-ref {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qs-trigger-item {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.dark .qs-trigger-item {
  background: rgba(30, 41, 59, 0.5);
}

.qs-trigger-item i {
  color: #2a9cc4;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.qs-trigger-item.is-active {
  background: rgba(69, 176, 212, 0.1);
  border-color: rgba(69, 176, 212, 0.45);
}

.qs-ime-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.qs-ime-preset {
  align-items: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.qs-ime-logo {
  border-radius: 999px;
  flex-shrink: 0;
  object-fit: cover;
}

.qs-ime-logo-inline {
  vertical-align: -0.2rem;
}

.dark .qs-ime-preset {
  background: rgba(30, 41, 59, 0.5);
}

.qs-ime-preset.is-active {
  background: rgba(69, 176, 212, 0.1);
  border-color: rgba(69, 176, 212, 0.45);
}

.qs-ime-badge {
  align-items: center;
  background: #0f172a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 850;
  height: 1.65rem;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0 0.35rem;
}

.dark .qs-ime-badge {
  background: #45b0d4;
  color: #042f2e;
}

.qs-ime-preset kbd,
.qs-mapping-key {
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.35rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  padding: 0.1rem 0.35rem;
}

.dark .qs-ime-preset kbd,
.dark .qs-mapping-key {
  background: rgba(255, 255, 255, 0.06);
}

.qs-mapping-preview {
  background: rgba(248, 250, 252, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 0.85rem;
  padding: 1.25rem 1rem;
}

.dark .qs-mapping-preview {
  background: rgba(30, 41, 59, 0.45);
}

.qs-mapping-flow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.qs-mapping-node {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
}

.dark .qs-mapping-node {
  background: rgba(15, 23, 42, 0.8);
}

.qs-mapping-onetone {
  color: #2a9cc4;
}

.qs-mapping-ime {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.qs-mapping-arrow {
  color: #94a3b8;
  font-weight: 700;
}

.qs-manual-mock {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.85rem;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.dark .qs-manual-mock {
  background: rgba(30, 41, 59, 0.45);
  border-color: rgba(148, 163, 184, 0.14);
}

.qs-mock-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  padding: 0.65rem 0.85rem;
}

.qs-mock-row:last-child {
  border-bottom: 0;
}

.qs-mock-row.qs-mock-highlight {
  background: rgba(69, 176, 212, 0.08);
}

.qs-mock-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.dark .qs-mock-label {
  color: #94a3b8;
}

.qs-mock-value {
  color: #0f172a;
  font-size: 0.84rem;
}

.dark .qs-mock-value {
  color: #e2e8f0;
}

.qs-troubleshoot-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qs-troubleshoot-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.95rem;
  color: inherit;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease;
}

.dark .qs-troubleshoot-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
}

.qs-troubleshoot-card:hover {
  border-color: rgba(69, 176, 212, 0.45);
  transform: translateY(-1px);
}

.qs-troubleshoot-card strong {
  color: #0f172a;
  font-weight: 850;
}

.dark .qs-troubleshoot-card strong {
  color: #f8fafc;
}

.qs-troubleshoot-card span {
  color: #64748b;
  font-size: 0.82rem;
}

.dark .qs-troubleshoot-card span {
  color: #94a3b8;
}

.qs-zone-scenes {
  border-top: 0;
}

.quickstart-scenario-lab.is-manual .mini-wave {
  display: none;
}

.quickstart-scenario-lab.is-manual .scene-typed i,
.quickstart-scenario-lab.is-manual .quickstart-scenes button.is-active {
  animation: none;
  transform: none;
}

@media (max-width: 900px) {
  .qs-zone-lab,
  .quickstart-scenario-lab.is-manual {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qs-settings-mock {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-settings-sidebar {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    border-right: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qs-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qs-trigger-ref {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-troubleshoot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-chain-seg {
    flex: 1 1 calc(50% - 1rem);
  }

  .qs-chain-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qs-voice-bar-wave span {
    animation: none;
  }
}

@media (max-width: 520px) {
  .qs-device-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .qs-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ?? Hero ???????????translate ???????transform ?????? ?? */

.hero-object-photo.is-active .hero-device-photo img {
  animation: heroDeviceFloat 3.8s ease-in-out infinite;
}

@keyframes heroDeviceFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-object-photo.is-active .hero-device-photo img { animation: none; }
}
