:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.72);
  --glass: rgba(10, 20, 28, 0.34);
  --line: rgba(255, 255, 255, 0.18);
  --accent: #2bd4a8;
  --accent-strong: #19b9d4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #030609;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: end center;
  padding: clamp(20px, 5vw, 56px);
  isolation: isolate;
}

.catalog-slideshow {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #030609;
}

.catalog-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 1200ms ease, transform 8200ms ease;
  filter: saturate(1) contrast(1.02);
}

.catalog-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 6, 9, 0.08), rgba(3, 6, 9, 0.08) 50%, rgba(3, 6, 9, 0.7)),
    linear-gradient(90deg, rgba(3, 6, 9, 0.5), transparent 22%, transparent 78%, rgba(3, 6, 9, 0.5));
}

.voice-stage {
  display: grid;
  width: min(92vw, 440px);
  justify-items: center;
  gap: 0;
  padding: 0;
  text-align: center;
}

.voice-runtime {
  position: fixed;
  left: -200vw;
  top: -200vh;
  width: 160px;
  height: 160px;
  overflow: hidden;
}

.voice-orb {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.session-timer {
  display: none;
}

.status-text {
  display: none;
}

.voice-button {
  min-height: 72px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 18px 28px;
  cursor: pointer;
  color: #041014 !important;
  background: linear-gradient(135deg, #32f0bd, #26cfe7) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(255, 255, 255, 0.12) !important;
  font-weight: 800;
  font-size: clamp(18px, 4.6vw, 24px);
  line-height: 1.1;
  text-wrap: balance;
}

.voice-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.voice-button--ghost {
  display: none;
}

.debug-log,
.system-banner {
  display: none;
}

@media (max-width: 640px) {
  .voice-stage {
    width: 100%;
  }

  .catalog-slide {
    background-size: cover;
    background-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-slide {
    transition: opacity 300ms ease;
    transform: none;
  }

  .catalog-slide.is-active {
    transform: none;
  }
}
