:root {
  --bg: #08080f;
  --surface: #111118;
  --surface-raised: #1a1a24;
  --border: #2a2a38;
  --text: #f4f3fb;
  --muted: #9a98b2;
  --dim: #5a5876;
  --accent: #b8a8ff;
  --accent-soft: rgba(184, 168, 255, 0.1);
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --text-muted: var(--dim);
  --text-disabled: var(--dim);
  --tint: var(--accent);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}

body > nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 16px 32px;
  background: rgba(8, 8, 15, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.nav-wordmark {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
  text-decoration: none;
}
.nav-wordmark span {
  color: #7c6fe0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.btn:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}
.btn:active {
  opacity: 1;
  transform: translateY(0);
}
.btn-ghost {
  padding: 10px 16px;
  color: var(--muted);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--text);
}
.btn-primary {
  background: #7c6fe0;
  color: #fff;
}
.btn-primary:hover {
  background: #7c6fe0;
}

.page {
  width: min(732px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 80px;
}
.hero {
  padding: 42px 0 22px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(30px, 6vw, 43px);
  font-weight: 350;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.lede {
  max-width: 610px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 16px;
}
.player {
  margin: 0 0 18px;
  padding: clamp(18px, 4vw, 28px);
  background:
    linear-gradient(145deg, rgba(184, 168, 255, 0.06), transparent 48%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}
.player.is-playing {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(184, 168, 255, 0.07);
}
.sound-description {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.headphone-note {
  color: var(--text);
}
.play-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: transparent;
  color: var(--accent);
  font-weight: 650;
  cursor: pointer;
}
.play-button:hover,
.play-button:focus-visible,
.is-playing .play-button {
  background: var(--accent);
  color: var(--bg);
}
.play-button:focus-visible,
input:focus-visible,
.segments button:focus-visible,
body > nav a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
.play-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.icon-pause {
  display: none;
}
.is-playing .icon-play {
  display: none;
}
.is-playing .icon-pause {
  display: block;
}
.visual {
  position: relative;
  height: 54px;
  margin: -2px 0 14px;
  overflow: hidden;
}
.visual::before,
.visual::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  transform: scaleX(0.68);
  transition:
    transform 700ms ease,
    opacity 400ms ease;
}
.visual::after {
  height: 14px;
  margin-top: -7px;
  opacity: 0.18;
  filter: blur(8px);
}
.is-playing .visual::before {
  animation: tonal-breathe 4s ease-in-out infinite;
}
.is-playing .visual::after {
  opacity: 0.38;
  animation: tonal-breathe 4s ease-in-out infinite reverse;
}
@keyframes tonal-breathe {
  0%,
  100% {
    transform: scaleX(0.45);
  }
  50% {
    transform: scaleX(0.96);
  }
}
.control {
  margin-top: 14px;
}
.control-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
}
.control label,
.control-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.control-value {
  color: var(--text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
}
input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  appearance: none;
  background: var(--accent);
  border: 3px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--border);
  border: 0;
  border-radius: 99px;
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  background: var(--accent);
  border-radius: 99px;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--accent);
}
.segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.segments button {
  min-height: 44px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.segments button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.status {
  min-height: 23px;
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 13px;
  text-align: center;
}
.status.error {
  color: #f4a5be;
}

.np-cta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.np-cta-main {
  display: grid;
  gap: 11px;
  min-width: 0;
}
.np-cta-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.np-cta-text p {
  margin: 0;
}
.np-cta-heading {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.release-note {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 12px;
}
.np-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.np-cta-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.np-cta-btn:hover {
  border-color: var(--accent);
}
.np-cta-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.np-cta-qr {
  display: none;
}
.qr-svg {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 10px;
}
.related {
  padding: 0;
  margin: 0 0 42px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.related a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-left: 10px;
  color: var(--muted);
  text-decoration: none;
}
.related a:hover {
  color: var(--text);
}
.content {
  margin: 0 0 54px;
}
.content h2 {
  margin: 38px 0 12px;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.content h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}
.content p,
.content li {
  color: var(--muted);
  font-size: 15.5px;
}
.content strong {
  color: var(--text);
}
.content a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.content ul,
.content ol {
  padding-left: 22px;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 32px;
}
.fact {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.fact small {
  display: block;
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fact span {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
}
.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-child {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  padding: 17px 2px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.faq details p {
  margin-top: -4px;
  padding: 0 2px 12px;
}

.site-footer {
  display: block;
  width: 100%;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
  text-align: left;
}
.sf-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px 24px;
}
.sf-brand {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.sf-brand span {
  color: var(--accent);
}
.sf-tagline {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.sf-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin: 0 0 8px;
  line-height: 1.4;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--text);
}
.sf-bottom {
  width: 100%;
  max-width: 1080px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sf-maker {
  border-bottom: 1px solid var(--border);
}
.sf-social {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}
.sf-social a {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 641px) and (hover: hover) and (pointer: fine) {
  .np-cta {
    grid-template-columns: minmax(0, 1fr) 116px;
    column-gap: 24px;
    align-items: center;
  }
  .np-cta-qr {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
  }
  .np-cta-qr p {
    margin: 0;
  }
}
@media (max-width: 900px) {
  .nav-actions .btn-ghost {
    display: none;
  }
  .nav-actions .btn-ghost:first-of-type,
  .nav-actions a[href="/blog/"] {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  .sf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sf-brand-col {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  body > nav {
    min-height: 64px;
    padding: 10px 16px;
    gap: 8px;
  }
  .nav-wordmark {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .nav-actions {
    gap: 5px;
  }
  .nav-actions a[href="/blog/"] {
    display: none;
  }
  .btn {
    min-width: 44px;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .btn-primary {
    min-width: 44px !important;
  }
  .page {
    padding-top: 64px;
  }
  .hero {
    padding: 29px 0 18px;
  }
  .lede {
    font-size: 15px;
  }
  .player {
    padding: 16px;
  }
  .segments {
    gap: 5px;
  }
  .fact-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding-inline: 18px;
  }
}
@media (max-width: 430px) {
  .nav-actions .btn-primary:not([href="#download"]) {
    padding: 8px;
    font-size: 0;
  }
  .nav-actions .btn-primary svg {
    width: 16px;
    height: 18px;
  }
  .segments {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
