:root {
  --bg: #FBFBFA;
  --bg-muted: #F7F6F3;
  --surface: #FFFFFF;
  --border: #EAEAEA;
  --ink: #111111;
  --ink-soft: #2F3437;
  --muted: #787774;
  --pastel-red-bg: #FDEBEC;
  --pastel-red-fg: #9F2F2D;
  --pastel-blue-bg: #E1F3FE;
  --pastel-blue-fg: #1F6C9F;
  --pastel-green-bg: #EDF3EC;
  --pastel-green-fg: #346538;
  --pastel-yellow-bg: #FBF3DB;
  --pastel-yellow-fg: #956400;
  --font-sans: 'Instrument Sans', 'SF Pro Display', 'Segoe UI Variable Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --font-leopard: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.84em;
}

code {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--ink);
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-muted);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
}

.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 780px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 251, 250, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: #FFFFFF !important;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 13px;
  transition: background 150ms ease, transform 120ms ease;
}

.nav-cta:hover {
  background: #333333;
}

.nav-cta:active {
  transform: scale(0.98);
}

/* Tags & Badges */
.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}

.tag-blue { background: var(--pastel-blue-bg); color: var(--pastel-blue-fg); }
.tag-green { background: var(--pastel-green-bg); color: var(--pastel-green-fg); }
.tag-yellow { background: var(--pastel-yellow-bg); color: var(--pastel-yellow-fg); }
.tag-red { background: var(--pastel-red-bg); color: var(--pastel-red-fg); }

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mono-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 3.85rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 14ch;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 28px;
}

.hero-lead em {
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #333333;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-muted);
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.dot-sep {
  opacity: 0.45;
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}

/* Section headers */
.demo-section, .features-section, .install-section, .faq-section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 8px 0 0;
}

.section-desc {
  max-width: 46ch;
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* Faux OS Desktop Showcase */
.desktop-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.window-chrome {
  height: 38px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.window-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #E2E2DF;
  border: 1px solid #D5D5D0;
}

.window-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mini-toggle {
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--ink-soft);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
}

.mini-toggle:hover {
  background: #EFECE6;
}

.mini-toggle.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

/* Desktop stage canvas */
.desktop-stage {
  position: relative;
  height: 492px;
  background: #E9E6DF;
  overflow: hidden;
  user-select: none;
}

.stage-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(44, 72, 92, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 78% 72%, rgba(92, 74, 54, 0.12) 0%, transparent 50%),
    linear-gradient(155deg, #DFE3E6 0%, #ECE9E2 48%, #DEDAD0 100%);
  pointer-events: none;
}

.stage-brightness-veil {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
  transition: opacity 80ms linear;
}

.stage-menubar {
  position: relative;
  z-index: 5;
  height: 26px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stage-menubar.leopard-bar {
  height: 22px;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0.92), rgba(224, 224, 224, 0.9));
  font-family: var(--font-leopard);
}

.stage-menubar.tahoe-bar {
  height: 30px;
}

.menubar-left, .menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menubar-item.active {
  font-weight: 600;
}

.menubar-clock {
  font-variant-numeric: tabular-nums;
}

.stage-notch-slot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 30;
}

.pinned-notch-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
}

/* =========================================================
   EXACT CLONE: WacOS Notch Surface (Direct2D / ilha.cpp)
   ========================================================= */
.notch-root {
  position: relative;
  pointer-events: auto;
  outline: none;
  color: #FFFFFF;
  font-family: 'SF Pro Text', 'Instrument Sans', 'Segoe UI Variable Text', 'Segoe UI', sans-serif;
  transform-origin: top center;
}

.notch-root.theme-leopard {
  font-family: var(--font-leopard);
}

.notch-root.style-pill {
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.24));
}

.notch-root.theme-leopard.style-notch {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.34));
}

.notch-shape-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.notch-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.notch-leopard-sheen {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 13px;
  background: rgba(255, 255, 255, 0.11);
  pointer-events: none;
}

.notch-root.theme-leopard .notch-leopard-sheen {
  display: block;
}

.notch-pill-sheen {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.notch-root.style-pill .notch-pill-sheen {
  display: block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 26px);
}

.notch-root.style-pill.theme-tahoe .notch-pill-sheen {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 26px);
}

.notch-root.style-pill.theme-golden .notch-pill-sheen {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 26px);
}

.notch-root.style-pill.theme-leopard .notch-pill-sheen {
  height: 11px;
  background: rgba(255, 255, 255, 0.13);
}

.notch-content {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* Compact Views */
.compact-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 6px;
  gap: 8px;
}

.notch-root.style-pill .compact-row {
  padding: 0 7px 0 4px;
}

.compact-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 0 0 auto;
}

.compact-art {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-leopard .compact-art {
  border-radius: 2.5px;
}

.compact-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.compact-lyric {
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.compact-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.privacy-dot {
  width: 6.4px;
  height: 6.4px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.privacy-dot.mic { background: #FF9E0A; }
.privacy-dot.cam { background: #33D64A; }

/* Equalizer 4 bars */
.eq-bars {
  display: inline-flex;
  align-items: center;
  gap: 2.2px;
  height: 12px;
}

.eq-bar {
  width: 3px;
  height: 3px;
  border-radius: 9999px;
  transition: none;
}

/* Compact Timer & HUD */
.compact-timer-clock {
  font-size: 11px;
  font-weight: 600;
  color: #FF9E0A;
  font-variant-numeric: tabular-nums;
}

.hud-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 8px;
}

.hud-track {
  width: 84px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hud-fill {
  height: 100%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
}

.theme-leopard .hud-fill {
  background: linear-gradient(180deg, #5AA0FF, #337AF2);
}

.hud-label {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Peek Card */
.peek-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: calc(100% - 26px);
  margin-top: 24px;
  cursor: pointer;
}

.style-pill .peek-wrap {
  height: 100%;
  margin-top: 0;
}

.peek-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.peek-text {
  min-width: 0;
  flex: 1;
}

.peek-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peek-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Expanded Notch Header & Tabs */
.expanded-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.notch-header {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
  position: relative;
}

.style-pill .notch-header {
  height: 28px;
  padding-top: 2px;
}

.notch-header-inner {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notch-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
}

.notch-tab-btn, .notch-gear-btn {
  width: 24px;
  height: 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 120ms ease, color 120ms ease;
}

.notch-gear-btn {
  width: 22px;
}

.notch-tab-btn:hover, .notch-gear-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
}

.notch-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.notch-tab-btn:disabled {
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.theme-tahoe .notch-tab-btn, .theme-golden .notch-tab-btn,
.theme-tahoe .notch-gear-btn, .theme-golden .notch-gear-btn {
  border-radius: 9999px;
}

.theme-tahoe .notch-tab-btn.active, .theme-golden .notch-tab-btn.active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.theme-leopard .notch-tab-btn, .theme-leopard .notch-gear-btn {
  border-radius: 5px;
}

.theme-leopard .notch-tab-btn.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(41, 107, 235, 0.95) 52%, rgba(28, 92, 224, 0.98) 100%);
  box-shadow: inset 0 0 0 0.75px rgba(0, 0, 0, 0.5);
}

.theme-leopard .notch-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}

.notch-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

/* Home Media Player */
.home-body {
  padding: 2px 16px 8px 14px;
  display: flex;
  flex-direction: column;
}

.home-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.home-art-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: pointer;
}

.home-art {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.theme-golden .home-art { border-radius: 11px; }
.theme-leopard .home-art {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.home-art-reflection {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 41px;
  height: 10px;
  border-radius: 4px;
  object-fit: cover;
  transform: scaleY(-1);
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  pointer-events: none;
}

.theme-leopard .home-art-reflection {
  display: block;
}

.home-track-meta {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.home-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 17px;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-subtitle-viewport {
  position: relative;
  height: 17px;
  overflow: hidden;
  margin-top: 1px;
}

.home-artist {
  font-size: 11px;
  font-weight: 400;
  line-height: 17px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lyric-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 17px;
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  will-change: transform, opacity;
}

.lyric-word {
  transition: none;
}

.home-eq-wrap {
  padding-top: 13px;
  flex-shrink: 0;
}

.home-eq-wrap.no-lyric {
  padding-top: 6px;
}

/* Seek row */
.home-seek-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 11px;
  height: 14px;
}

.seek-clock {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  width: 32px;
  flex-shrink: 0;
}

.seek-clock.left { color: #FFFFFF; text-align: left; }
.seek-clock.right { text-align: right; width: 34px; }

.seek-hit {
  flex: 1;
  height: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.seek-track {
  width: 100%;
  height: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: height 120ms ease;
}

.seek-hit:hover .seek-track {
  height: 5px;
}

.seek-fill {
  height: 100%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
}

.theme-leopard .seek-track {
  background: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.22);
}

.theme-leopard .seek-fill {
  background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, #337AF2 50%, #1F62D8 100%);
}

/* Home Controls */
.home-controls-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 4px;
  height: 32px;
}

.media-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 110ms ease;
}

.media-btn.play-main {
  width: 32px;
  height: 32px;
}

.media-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.media-btn:active {
  background: rgba(255, 255, 255, 0.22);
}

.lyric-info-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lyric-info-btn:hover, .lyric-info-btn.open {
  background: rgba(255, 255, 255, 0.14);
}

.lyric-credits-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  font-size: 10.5px;
  height: 16px;
}

.lyric-credits-bar a {
  text-decoration: none;
}

.lyric-credits-bar a:hover {
  text-decoration: underline;
}

/* Timer Tab */
.timer-grid {
  padding: 8px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.notch-chip-btn {
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 110ms ease;
}

.notch-chip-btn:hover { background: rgba(255, 255, 255, 0.15); }
.notch-chip-btn:active { background: rgba(255, 255, 255, 0.22); }
.theme-tahoe .notch-chip-btn, .theme-golden .notch-chip-btn { border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.theme-leopard .notch-chip-btn { border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }

.timer-running {
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.timer-ring-box {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timer-ring-svg {
  transform: rotate(-90deg);
}

.timer-ring-icon {
  position: absolute;
  color: #FF9E0A;
}

.timer-clock-col {
  flex: 1;
}

.timer-big-clock {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.timer-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.timer-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 0;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.timer-circle-btn:hover { background: rgba(255, 255, 255, 0.15); }

/* Clipboard Tab */
.clip-body {
  padding: 2px 10px 8px;
  position: relative;
  height: 100%;
}

.clip-empty, .shelf-empty {
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.clip-row {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 21px;
  padding: 0 6px;
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 2px;
  font-size: 11px;
  width: calc(100% - 46px);
}

.clip-row:hover {
  background: rgba(255, 255, 255, 0.13);
}

.clip-row-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-clear-btn {
  position: absolute;
  top: 2px;
  right: 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  cursor: pointer;
  padding: 2px 4px;
}

.clip-clear-btn:hover { color: #FFFFFF; }

/* Shelf Tab */
.shelf-body {
  padding: 4px 12px 10px;
  height: 100%;
  position: relative;
}

.shelf-dropzone {
  height: 86px;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.shelf-dropzone.drag-over {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
}

.shelf-grid {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding-top: 2px;
}

.shelf-item {
  width: 52px;
  height: 68px;
  border-radius: 10px;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.shelf-item:hover {
  background: rgba(255, 255, 255, 0.14);
}

.shelf-item-name {
  font-size: 10px;
  color: #FFFFFF;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shelf-clear-btn {
  position: absolute;
  bottom: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  cursor: pointer;
}

.shelf-clear-btn:hover { color: #FFFFFF; }

/* System Monitor Tab */
.stats-grid {
  padding: 4px 10px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.stat-card {
  height: 88px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.theme-leopard .stat-card { border-radius: 6px; border: 1px solid rgba(255,255,255,0.22); }
.theme-golden .stat-card { border-radius: 16px; }

.stat-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

.stat-val {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.stat-val.net {
  font-size: 11px;
  line-height: 1.3;
}

.stat-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.stat-spark {
  width: 100%;
  height: 26px;
  display: block;
}

/* Quick Controls Embedded Surface */
.qc-host {
  padding: 2px 11px 10px;
  color: #FFFFFF;
  font-size: 12px;
}

.qc-overview {
  width: 244px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-row {
  display: flex;
  gap: 8px;
}

.qc-group {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
}

.qc-group.shortcuts {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.075);
  height: 34px;
}

.theme-leopard .qc-group { border-radius: 6px; }

.qc-icon-btn {
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  color: rgba(230, 235, 242, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.qc-icon-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.qc-icon-btn.active {
  background: rgba(107, 181, 242, 0.16);
  color: #B8DEFF;
}

.qc-icon-btn.play-pill::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
}

.qc-icon-btn.play-pill svg { position: relative; z-index: 1; }

.qc-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.qc-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.qc-status-text {
  font-size: 11px;
  color: #9AA0AA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-pill-btn {
  height: 26px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.qc-pill-btn:hover { background: rgba(255, 255, 255, 0.16); }
.theme-tahoe .qc-pill-btn, .theme-golden .qc-pill-btn { border-radius: 9999px; }
.theme-leopard .qc-pill-btn { border-radius: 5px; }

.qc-pill-btn.primary {
  background: rgba(255, 255, 255, 0.94);
  color: #101014;
  border-color: transparent;
}

.qc-pill-btn.primary:hover { background: #FFFFFF; }
.qc-pill-btn.danger-on {
  background: rgba(255, 69, 58, 0.22);
  border-color: rgba(255, 107, 97, 0.55);
  color: #FFADAA;
}

.qc-pill-btn:disabled {
  opacity: 0.42;
  cursor: default;
}

/* Sub-pages inside Quick Controls */
.qc-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-sub-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qc-back-btn {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.qc-back-btn:hover { background: rgba(255, 255, 255, 0.16); }
.theme-leopard .qc-back-btn { border-radius: 6px; }

.qc-sub-title-col {
  flex: 1;
  min-width: 0;
}

.qc-sub-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.qc-sub-summary {
  font-size: 11px;
  color: #9AA0AA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px;
}

.theme-leopard .qc-card { border-radius: 6px; }

.qc-list {
  max-height: 136px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qc-list-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  width: 100%;
}

.qc-list-row:hover { background: rgba(255, 255, 255, 0.07); }
.qc-list-row.selected { background: rgba(255, 255, 255, 0.15); }

.qc-badge-circle {
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qc-row-text {
  flex: 1;
  min-width: 0;
}

.qc-row-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-row-sub {
  font-size: 10.5px;
  color: #9AA0AA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qc-row-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #9AA0AA;
  flex-shrink: 0;
}

.qc-row-tag.green { background: rgba(48, 209, 88, 0.2); color: #30D158; }

.qc-toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.qc-toggle-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #FFFFFF;
  text-align: left;
}

.qc-toggle-card:hover { background: rgba(255, 255, 255, 0.09); }

.qc-switch {
  width: 30px;
  height: 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.qc-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #FFFFFF;
  transition: transform 150ms ease;
}

.qc-switch.on-blue { background: #0A84FF; }
.qc-switch.on-green { background: #30D158; }
.qc-switch.on-blue::after, .qc-switch.on-green::after { transform: translateX(14px); }

.qc-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.qc-search-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  color: #FFFFFF;
  font-size: 12px;
  font-family: inherit;
}

.qc-search-input::placeholder {
  color: #7E848E;
}

.qc-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
}

.qc-slider-row input[type="range"] {
  flex: 1;
  accent-color: #FFFFFF;
}

.qc-seg-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 3px;
}

.qc-seg-btn {
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.qc-seg-btn.active {
  background: rgba(255, 255, 255, 0.17);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.qc-settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.qc-settings-row:hover { background: rgba(255, 255, 255, 0.08); }

/* Layout Customizer Grid */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.layout-tile {
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9.5px;
  cursor: pointer;
}

.layout-tile:hover { background: rgba(255, 255, 255, 0.18); }

.layout-slot-empty {
  height: 44px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}

/* Gear / Context Popup Menu */
.notch-menu {
  position: absolute;
  top: 28px;
  right: 8px;
  width: 220px;
  background: rgba(28, 28, 30, 0.96);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 4px;
  z-index: 60;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 12px;
}

.notch-menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}

.notch-menu-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.notch-menu-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 6px;
}

/* Audio Controller Card inside Stage */
.stage-audio-deck {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 390px;
  max-width: calc(100% - 40px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  z-index: 10;
}

.deck-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-art {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.deck-info {
  flex: 1;
  min-width: 0;
}

.deck-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.deck-title-row strong {
  font-size: 13.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 9999px;
  background: var(--pastel-blue-bg);
  color: var(--pastel-blue-fg);
  flex-shrink: 0;
}

.deck-sub {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 0;
  background: var(--ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.deck-play-btn:hover { background: #333333; }

.deck-scrub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.deck-scrub-row input[type="range"] {
  flex: 1;
  accent-color: var(--ink);
  height: 4px;
  cursor: pointer;
}

.mono-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.deck-jump-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
}

.jump-chip {
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--ink-soft);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  cursor: pointer;
}

.jump-chip:hover { background: #ECEAE3; }
.mono-dim { font-family: var(--font-mono); color: var(--muted); font-size: 10px; }

.lyric-mode-select {
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: inherit;
}

.stage-hint-pill {
  position: absolute;
  right: 16px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: var(--muted);
  z-index: 8;
}

/* Simulation Controls below stage */
.sim-controls {
  padding: 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sim-label {
  width: 84px;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  flex-shrink: 0;
}

.seg-row, .trigger-row {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.seg-btn, .trig-btn, .drag-sample-chip {
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--ink-soft);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.seg-btn:hover, .trig-btn:hover { background: #ECEAE4; }
.seg-btn.active, .trig-btn.active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.drag-sample-chip {
  background: var(--pastel-yellow-bg);
  color: var(--pastel-yellow-fg);
  border-color: #E7DBB8;
  cursor: grab;
}

.upload-label {
  display: inline-flex;
  align-items: center;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease;
}

.bento-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.card-try {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.card-try:hover { color: var(--ink); }

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.bento-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.card-meta-strip {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

/* Install Section */
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.install-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.install-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 12px;
}

.install-card-head h3 {
  margin: 8px 0 0;
  font-size: 17px;
  font-family: var(--font-mono);
  color: var(--ink);
  word-break: break-word;
}

.mono-size {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.install-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.hash-box {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hash-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hash-box code {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 11px;
  word-break: break-all;
  color: var(--ink-soft);
}

.cli-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

/* FAQ Accordion */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; transition: opacity 150ms ease; }
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-body {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 68ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover { color: var(--ink); }

/* Entry animation */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--index, 0) * 80ms);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .bento-grid, .install-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .stage-hint-pill {
    display: none;
  }
  .desktop-stage {
    height: 520px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .window-title {
    display: none;
  }
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero {
    padding: 44px 0 28px;
  }
  .stage-audio-deck {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }
  .sim-label {
    width: 100%;
    padding-top: 0;
  }
  .sim-group {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 8px;
  }
  .brand {
    gap: 6px;
    font-size: 14px;
  }
  .nav-cta {
    padding: 5px 9px;
    font-size: 12px;
  }
  .install-card, .bento-card {
    padding: 18px;
  }
}
