/* ==========================================================================
   GlissDrop — Refractive Glass Design System
   Zero external fonts (native Apple SF Pro / system display stack, zero CLS)
   WCAG 2.1 AA contrast, prefers-reduced-motion safe, responsive mobile-first
   ========================================================================== */

:root {
  --bg: #080d1a;
  --bg-elevated: rgba(18, 26, 48, 0.72);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-hover: rgba(255, 255, 255, 0.095);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #f3f7ff;
  --text-muted: #b6c6e2;
  --text-subtle: #889bc0;
  --accent: #7cc8ff;
  --accent-strong: #47d9d6;
  --accent-cta-bg: #7cc8ff;
  --accent-cta-fg: #071122;
  --glow-a: rgba(43, 179, 184, 0.36);
  --glow-b: rgba(176, 48, 122, 0.30);
  --glow-c: rgba(61, 123, 255, 0.26);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.42);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", sans-serif;
  --font-display: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* Live 5-theme tokens synced with GlassTheme.swift */
html[data-theme="clearIce"] {
  --bg: #07101f;
  --accent: #82ceff;
  --accent-strong: #52a9f5;
  --accent-cta-bg: #82ceff;
  --accent-cta-fg: #061326;
  --glow-a: rgba(41, 133, 227, 0.38);
  --glow-b: rgba(124, 200, 255, 0.25);
  --glow-c: rgba(34, 96, 178, 0.28);
}
html[data-theme="sunsetPeach"] {
  --bg: #170e15;
  --accent: #ffb099;
  --accent-strong: #ff8c73;
  --accent-cta-bg: #ffb099;
  --accent-cta-fg: #260d0e;
  --glow-a: rgba(255, 138, 110, 0.36);
  --glow-b: rgba(230, 92, 110, 0.30);
  --glow-c: rgba(255, 180, 130, 0.22);
}
html[data-theme="midnightObsidian"] {
  --bg: #090a18;
  --accent: #b8a8ff;
  --accent-strong: #8d75ff;
  --accent-cta-bg: #b8a8ff;
  --accent-cta-fg: #0c0a21;
  --glow-a: rgba(123, 92, 255, 0.40);
  --glow-b: rgba(74, 56, 175, 0.30);
  --glow-c: rgba(154, 128, 255, 0.24);
}
html[data-theme="matchaJade"] {
  --bg: #081512;
  --accent: #7be3af;
  --accent-strong: #4ac88c;
  --accent-cta-bg: #7be3af;
  --accent-cta-fg: #051c12;
  --glow-a: rgba(63, 196, 137, 0.34);
  --glow-b: rgba(34, 126, 86, 0.30);
  --glow-c: rgba(130, 218, 170, 0.22);
}
html[data-theme="auroraPrism"] {
  --bg: #080d1a;
  --accent: #7cc8ff;
  --accent-strong: #47d9d6;
  --accent-cta-bg: #7cc8ff;
  --accent-cta-fg: #071122;
  --glow-a: rgba(43, 179, 184, 0.38);
  --glow-b: rgba(176, 48, 122, 0.30);
  --glow-c: rgba(61, 123, 255, 0.26);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.45s ease;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent-cta-bg);
  color: var(--accent-cta-fg);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 12px 0;
}
.skip-link:focus {
  left: 0;
}

/* Ambient refractive background */
.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  transition: background 0.6s ease;
}
.orb-a {
  width: 56vw;
  height: 56vw;
  max-width: 780px;
  max-height: 780px;
  top: -16vw;
  left: -12vw;
  background: radial-gradient(circle, var(--glow-a) 0%, transparent 70%);
}
.orb-b {
  width: 54vw;
  height: 54vw;
  max-width: 760px;
  max-height: 760px;
  top: 24vh;
  right: -14vw;
  background: radial-gradient(circle, var(--glow-b) 0%, transparent 70%);
}
.orb-c {
  width: 48vw;
  height: 48vw;
  max-width: 680px;
  max-height: 680px;
  bottom: -14vw;
  left: 28vw;
  background: radial-gradient(circle, var(--glow-c) 0%, transparent 70%);
}

/* Containers & Surfaces */
.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}
.container.narrow {
  width: min(820px, calc(100% - 2rem));
}

.glass-panel {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.85rem 1.55rem;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent-cta-bg);
  color: var(--accent-cta-fg);
  box-shadow: 0 8px 28px rgba(124, 200, 255, 0.24);
}
.btn-primary:hover {
  filter: brightness(1.06);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.30);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-link:hover {
  text-decoration: none;
}
.brand-icon {
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language switcher */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu[open] summary {
  border-color: var(--border-strong);
  color: var(--text);
}
.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 0.4rem;
  border-radius: 16px;
  background: rgba(12, 19, 38, 0.96);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-item {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.lang-item:hover,
.lang-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 7vw, 6.2rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(124, 200, 255, 0.35);
  background: rgba(124, 200, 255, 0.10);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 12px var(--accent-strong);
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}
h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  font-weight: 700;
  color: #fff;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 700;
  color: #fff;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

.hero-lead {
  margin: 1.35rem 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-row {
  list-style: none;
  padding: 0;
  margin: 1.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.trust-row li {
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* iPhone hardware frame */
.phone-frame {
  position: relative;
  background: #06080f;
  padding: 9px;
  border-radius: 46px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.62), 0 0 0 1.5px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.phone-frame img {
  width: 100%;
  border-radius: 38px;
}
.phone-island {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-phone-stack {
  position: relative;
  width: min(410px, 100%);
  height: 540px;
}
.phone-front {
  position: absolute;
  width: 248px;
  left: 6%;
  top: 6px;
  z-index: 2;
}
.phone-back {
  position: absolute;
  width: 224px;
  right: 4%;
  top: 52px;
  z-index: 1;
  opacity: 0.92;
  transform: rotate(3.5deg);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 6.5vw, 5.5rem) 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.2rem);
}
.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-lead {
  margin: 0.9rem auto 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* Interactive Studio */
.studio-shell {
  padding: clamp(1rem, 2.5vw, 1.75rem);
}
.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.studio-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.studio-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.studio-tab.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.studio-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: 1.5rem;
  padding-top: 1.4rem;
  align-items: stretch;
}
.studio-stage {
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 30% 25%, var(--glow-a), rgba(6, 10, 22, 0.65) 75%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
}
.demo-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 1.2rem;
}
.demo-panel[hidden] {
  display: none;
}
.demo-stage-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.demo-hint {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Demo 1: Bubbles */
.demo-bubble-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 64px));
  gap: 0.85rem;
  justify-content: center;
  align-content: center;
  flex: 1;
  padding: 0.75rem 0;
  touch-action: none;
  user-select: none;
}
.demo-bubble {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.28) 28%, var(--glow-a) 68%, rgba(10, 18, 36, 0.5) 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36), inset 0 -6px 12px rgba(0, 0, 0, 0.25),
    inset 0 2px 6px rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s ease, background 0.18s ease;
}
.demo-bubble:hover {
  transform: scale(1.04);
}
.demo-bubble.is-popped {
  transform: scale(0.84);
  border-color: rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 0.38), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 -1px 2px rgba(255, 255, 255, 0.14);
}

/* Demo 2: Rotary Dial */
.dial-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1rem 0;
}
.dial-ring {
  position: relative;
  width: 248px;
  height: 248px;
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none;
  cursor: grab;
}
.dial-ring:active {
  cursor: grabbing;
}
.dial-ticks {
  position: absolute;
  inset: 0;
}
.dial-tick {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 11px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  transform-origin: 50% 124px;
  transform: translateX(-50%) rotate(var(--deg));
}
.dial-tick.is-major {
  width: 3px;
  height: 16px;
  background: var(--accent);
}
.dial-rotor {
  width: 184px;
  height: 184px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.16), rgba(18, 22, 46, 0.85) 70%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.dial-dimple {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.55));
}
.dial-readout {
  position: absolute;
  pointer-events: none;
  text-align: center;
}
.dial-readout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}
.dial-readout span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* Demo 3: Sloshing Blob Canvas */
.blob-stage {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 290px;
}
#demo-blob-canvas {
  width: 100%;
  max-width: 460px;
  height: 290px;
  border-radius: 16px;
  touch-action: none;
  cursor: grab;
}
#demo-blob-canvas:active {
  cursor: grabbing;
}

/* Studio Sidebar */
.studio-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  justify-content: space-between;
}
.sidebar-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}
.pill-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.mini-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.mini-pill small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
}
.mini-pill.is-selected {
  border-color: var(--accent);
  background: rgba(124, 200, 255, 0.13);
}
.mini-pill.is-selected small {
  color: var(--accent);
}

.swatch-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.swatch-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.swatch-dot.is-selected {
  transform: scale(1.1);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(124, 200, 255, 0.35);
}
.active-theme-name {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Toys Grid */
.toys-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.toy-card {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(165px, 0.85fr);
  gap: 1.4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.toy-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-xs {
  padding: 0.18rem 0.52rem;
  font-size: 0.68rem;
}
.pill-free {
  background: rgba(101, 219, 160, 0.16);
  color: #8bf0bc;
  border: 1px solid rgba(101, 219, 160, 0.34);
}
.pill-pro {
  background: linear-gradient(90deg, rgba(159, 216, 255, 0.22), rgba(201, 182, 255, 0.24));
  color: #d6ceff;
  border: 1px solid rgba(186, 175, 255, 0.4);
}
.toy-theme-tag {
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.toy-headline {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.16;
}
.toy-headline .hl-primary {
  display: block;
  color: #fff;
}
.toy-headline .hl-accent {
  display: block;
  color: var(--accent);
}
.toy-name-sub {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.toy-desc {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.toy-specs {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  color: #d6e3fa;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.toy-teaser-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--accent);
}

.toy-device-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.toy-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--toy-glow, #3b6bff) 0%, transparent 70%);
  opacity: 0.36;
  filter: blur(26px);
  pointer-events: none;
}
.phone-card {
  width: min(206px, 100%);
  border-radius: 36px;
  padding: 7px;
}
.phone-card img {
  border-radius: 30px;
}
.phone-card .phone-island {
  top: 14px;
  height: 15px;
}

/* Customize Section */
.customize-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.75rem;
  align-items: start;
}
.customize-phone-wrap {
  display: flex;
  justify-content: center;
}
.phone-customize {
  width: min(290px, 100%);
}
.customize-lists {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.panel-pad {
  padding: 1.5rem;
}
.panel-note {
  margin: 0.35rem 0 1rem;
  font-size: 0.88rem;
  color: var(--text-subtle);
}
.theme-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.75rem;
}
.theme-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.theme-chip.is-selected {
  border-color: var(--accent);
  background: rgba(124, 200, 255, 0.12);
}
.swatch-pill {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.theme-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.theme-chip-text strong {
  font-size: 0.9rem;
}
.theme-chip-text small {
  font-size: 0.76rem;
  color: var(--text-subtle);
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.sound-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease;
}
.sound-card:hover {
  background: var(--surface-hover);
  transform: translateY(-1px);
}
.sound-card.is-selected {
  border-color: var(--accent);
  background: rgba(124, 200, 255, 0.12);
}
.sound-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sound-tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.sound-desc {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.sound-audition {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #e4f0ff;
}

/* Comparison Table & Specs */
.table-wrap {
  overflow-x: auto;
  padding: 0.5rem;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-table thead th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table tbody th {
  font-weight: 600;
  color: #fff;
}
.compare-table .col-gd {
  color: #c8f5e0;
  font-weight: 600;
}
.compare-table .col-other {
  color: var(--text-subtle);
}

.specs-panel {
  margin-top: 1.5rem;
  padding: 1.65rem;
}
.specs-title {
  margin-bottom: 1.15rem;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
}
.spec-item dt {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
}
.spec-item dd {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: #e4eeff;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}
.pricing-card {
  padding: 2rem;
  position: relative;
}
.pricing-card-pro {
  border-color: rgba(124, 200, 255, 0.36);
  background: linear-gradient(155deg, rgba(124, 200, 255, 0.13), rgba(145, 118, 255, 0.08));
}
.pro-badge-inline {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--accent-cta-bg);
  color: var(--accent-cta-fg);
}
.price-big {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.price-sub {
  margin: 0.45rem 0 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #e2ecff;
  font-size: 0.94rem;
}
.check-list li {
  padding-left: 1.5rem;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  padding: 0;
  border-radius: var(--radius-md);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Notify CTA */
.notify-box {
  padding: clamp(2rem, 4.5vw, 3.2rem);
  text-align: center;
}
.notify-form {
  margin: 1.8rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 520px;
}
.notify-form input {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 10, 22, 0.6);
  color: #fff;
}
.notify-form input::placeholder {
  color: var(--text-subtle);
}
.notify-status {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  color: #9df0c6;
}
.notify-privacy {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* Doc subpages (/privacy, /support, /press) */
.doc-section h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}
.doc-meta {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin-top: 0.65rem;
}
.doc-card {
  margin-top: 1.8rem;
  padding: 1.6rem;
}
.doc-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}
.doc-card p {
  margin: 0;
  color: var(--text-muted);
}
.doc-prose {
  margin-top: 2rem;
}
.doc-prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
}
.doc-prose p,
.doc-prose li {
  color: var(--text-muted);
}
.doc-prose ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.doc-prose code {
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6f2ff;
  font-size: 0.88em;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 2.2rem;
  margin-top: 2rem;
  background: rgba(4, 7, 15, 0.45);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
}
.footer-tagline {
  margin: 0.85rem 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 38ch;
}
.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}
.footer-col h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-subtle);
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer-langs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem !important;
}
.footer-col a {
  color: var(--text-muted);
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .hero-grid,
  .studio-body,
  .toys-grid,
  .customize-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-phone-stack {
    height: 460px;
    max-width: 350px;
  }
  .phone-front {
    width: 210px;
  }
  .phone-back {
    width: 190px;
  }
  .toy-card {
    grid-template-columns: 1fr;
  }
  .sound-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-actions .btn-primary {
    display: none;
  }
  .demo-bubble-grid {
    gap: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
