/* 00-tokens.css */
@font-face {
  font-family: "Lyrics";
  src: url("/assets/fonts/LyricsRegular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lyrics";
  src: url("/assets/fonts/LyricsSemibold.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lyrics";
  src: url("/assets/fonts/LyricsBold.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
  font-style: normal;
}

:root {
  color-scheme: dark;
  --bg: #08080a;
  --surface: #131316;
  --surface-2: #1b1b1f;
  --line: #242428;
  --line-strong: #34343a;
  --text: #f5f5f7;
  --muted: #a1a1a8;
  --accent: #c42222;
  --accent-deep: #7d1414;
  --accent-text: #ff6f68;
  --on-accent: #ffffff;
  --glow: rgba(196, 34, 34, 0.2);
  --shell: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-ui: "Lyrics", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

header,
main,
footer,
.skip {
  position: relative;
  z-index: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 12px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.shell.narrow {
  max-width: 760px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.55;
  max-width: 58ch;
}

.fine {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease),
    transform 0.14s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

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

.btn-quiet {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-quiet:hover {
  border-color: #4b4b52;
  background: rgba(255, 255, 255, 0.04);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

/* 10-shell.css */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-stuck {
  background: rgba(8, 8, 10, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

/* Name left, ways to leave the page through the middle, the one action right.
   Centring the nav is what gives the bar its poise: the eye lands on the name,
   then on the row under the middle of the page, then on the button. */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

/* The header is set as a masthead: the name alone, no mark. The icon still runs
   the tab and the footer, where a square earns its place beside a line of copy
   and the header gets to be type. */
.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.032em;
  text-decoration: none;
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 7px;
}

/* Small caps on the nav only. It is wayfinding, so it should read as a row of
   labels rather than a second set of headings — and at 12px with the tracking
   opening it out, the row weighs nothing until you look at it. */
.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.24s var(--ease);
}

/* The arrow leans out of the line on hover, in the direction it will take you. */
.site-nav svg.nav-ext {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  transition: transform 0.26s var(--ease), opacity 0.24s var(--ease);
}

.site-nav a:hover svg.nav-ext,
.site-nav a[aria-current="page"] svg.nav-ext {
  opacity: 1;
  transform: translate(1.5px, -1.5px);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.24s var(--ease), transform 0.32s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 0.5;
  transform: none;
}

.header-install {
  justify-self: end;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.section {
  padding-block: clamp(64px, 8vw, 118px);
}

.section-tight {
  padding-top: clamp(24px, 3vw, 40px);
}

.section-lede {
  margin-top: 18px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.035em;
}

.page-head {
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.page-head h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 20ch;
}

.page-head .lede {
  margin-top: 20px;
}

.closer {
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
}

.closer-inner {
  display: grid;
  justify-items: center;
}

.closer h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  letter-spacing: -0.04em;
}

.closer p {
  margin: 16px auto 30px;
  max-width: 44ch;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 60px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand p {
  margin-top: 10px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 26px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

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

.footer-fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (max-width: 880px) {
  .header-inner {
    display: flex;
    gap: 10px;
  }



  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 20px;
    background: rgba(8, 8, 10, 0.97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-open .site-nav {
    display: flex;
  }

  /* The panel is read at thumb distance, so the caps and the tracking come off
     with the sheet. */
  .site-nav a {
    min-height: 52px;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links a {
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  .wordmark {
    font-size: 1rem;
  }

  .brand {
    font-size: 0.9375rem;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .header-install {
    padding: 0 16px;
    font-size: 0.9375rem;
  }
}

/* 20-home.css */
.hero {
  padding-top: clamp(32px, 4.2vw, 52px);
  padding-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
}

.hero-eyebrow {
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero-title {
  margin-top: 16px;
  font-size: clamp(2.9rem, 6.6vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.042em;
  font-weight: 600;
}

.hero-title > span {
  display: block;
}

.hero-title em {
  font-style: normal;
  color: var(--accent-text);
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* The panel is the page's only picture of the product, so it gets the space
   and the glow the copy alone was carrying before. */
.hero-stage {
  position: relative;
  max-width: 1000px;
  margin-top: clamp(38px, 4.6vw, 58px);
}

.stage-glow {
  position: absolute;
  left: 50%;
  top: 4%;
  width: min(780px, 84%);
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(196, 34, 34, 0.42), rgba(196, 34, 34, 0.12) 56%, transparent 78%);
  filter: blur(34px);
  pointer-events: none;
}

.demo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 23, 27, 0.94), rgba(12, 11, 14, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 44px 90px -44px rgba(0, 0, 0, 0.95),
    0 0 90px -34px rgba(196, 34, 34, 0.5);
  text-align: left;
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo-tab.is-current {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 226px) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 46px);
  padding: clamp(22px, 3vw, 30px);
}

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

/* A half-set sun over dark water, drawn in gradients: the demo needs sleeve
   art that reads at 226px without shipping a photograph. */
.demo-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 10px;
  background:
    radial-gradient(90% 70% at 50% 40%, rgba(255, 122, 82, 0.2), transparent 66%),
    linear-gradient(176deg, #20030b 0%, #330611 42%, #120107 72%, #060002 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 22px 44px -26px rgba(0, 0, 0, 0.95);
}

.demo-sun {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(184deg, #ffe6c6 0%, #ff9a6a 30%, #e0453a 64%, #8c0f27 100%);
  box-shadow:
    0 0 44px 8px rgba(255, 96, 66, 0.3),
    inset -12px -16px 28px rgba(48, 0, 9, 0.55);
}

/* The waterline, the reflection under it, and the sleeve grain. */
.demo-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(30% 9% at 50% 69%, rgba(255, 128, 86, 0.4), transparent 76%),
    linear-gradient(180deg, transparent 0 65.7%, rgba(255, 205, 180, 0.32) 65.95%, transparent 66.5%),
    linear-gradient(180deg, transparent 0 66%, rgba(8, 1, 5, 0.78) 71%, rgba(4, 0, 2, 0.98) 100%);
}

.demo-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(120% 100% at 50% 40%, transparent 52%, rgba(3, 0, 2, 0.5) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 100% 100%, 140px 140px;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

.demo-track {
  margin-top: 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.demo-artist {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.demo-progress {
  position: relative;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.demo-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 31%;
  border-radius: inherit;
  background: var(--text);
}

.demo-progress span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.demo-times {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

.demo-lyrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 15px);
  min-width: 0;
}

.demo-line {
  position: relative;
  color: rgba(245, 245, 247, 0.42);
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  transition: color 0.45s var(--ease);
}

.demo-line.is-active {
  color: rgba(245, 245, 247, 0.3);
}

.demo-line.is-past {
  color: rgba(245, 245, 247, 0.2);
}

.demo-line .w {
  position: relative;
  display: inline-block;
}

.w-fill {
  position: absolute;
  inset: 0;
  color: var(--text);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.demo-credit {
  margin-top: 10px;
  color: rgba(161, 161, 168, 0.6);
  font-size: 0.6875rem;
  font-weight: 400;
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 34px) 0;
}

.stat + .stat {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.stat-value {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.features {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 18px);
}

.feature {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--accent-text);
  transition: background-color 0.3s var(--ease);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.addons-home {
  border-top: 1px solid var(--line);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 18px);
}

.addon-card {
  padding: 10px 10px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.addon-card h3 {
  margin: 0 8px;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.addon-tagline {
  margin: 10px 8px 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.addon-blurb {
  margin: 8px 8px 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.85;
}

.addon-media {
  position: relative;
  display: flex;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: #0c0b0e;
  transition: border-color 0.3s var(--ease);
}

.addon-media--lyrics {
  background:
    radial-gradient(90% 150% at 16% 0%, rgba(196, 34, 34, 0.22), transparent 62%),
    #0c0b0e;
}

/* The clip is rendered at the card's own 16:7, so the lyrics sit at the size
   they are drawn rather than being letterboxed or cropped. */
.addon-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-media--backdrop {
  background: #070609;
}

.addon-media--queue {
  background: #12030a;
}

@media (hover: hover) and (pointer: fine) {
  .feature:hover,
  .addon-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
  }

  .feature:hover .feature-icon {
    background: rgba(255, 111, 104, 0.12);
  }

  .addon-card:hover .addon-media {
    border-color: rgba(255, 255, 255, 0.14);
  }
}

.sources {
  border-top: 1px solid var(--line);
}

.source-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.source {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 20px 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.source h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.source p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 62ch;
}

.source-role {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8125rem;
  opacity: 0.75;
}

.sources-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}

.privacy-band {
  border-top: 1px solid var(--line);
  text-align: center;
}

.privacy-band h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.privacy-band p {
  margin: 20px auto 0;
  max-width: 56ch;
  color: var(--muted);
}

.privacy-band .fine {
  margin-top: 14px;
  font-size: 0.875rem;
  opacity: 0.8;
}

.privacy-band a {
  color: var(--accent-text);
  text-decoration: none;
}

.privacy-band a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .feature-grid,
  .addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding-block: 16px;
  }

  .stat + .stat {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat-value {
    min-width: 34px;
    font-size: 1.35rem;
  }
}

@media (max-width: 760px) {
  .demo-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
  }

  .demo-now {
    display: grid;
    grid-template-areas:
      "cover track"
      "cover artist"
      "progress progress"
      "times times";
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
  }

  .demo-cover {
    grid-area: cover;
    width: 74px;
    border-radius: 9px;
  }

  .demo-track {
    grid-area: track;
    align-self: end;
    margin-top: 0;
  }

  .demo-artist {
    grid-area: artist;
    align-self: start;
  }

  .demo-progress {
    grid-area: progress;
    margin-top: 16px;
  }

  .demo-times {
    grid-area: times;
  }

  .demo-lyrics {
    gap: 9px;
  }

  .demo-line {
    font-size: 1.0625rem;
  }
}

@media (max-width: 620px) {
  .feature-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-inline: auto;
  }
}

/* 25-community.css */
.community {
  border-top: 1px solid var(--line);
}

.community-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.community-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.035em;
}

.community-copy .lede {
  margin-top: 18px;
}

.community-cta {
  margin-top: 26px;
}

/* display rules below outrank the UA [hidden] style, so restate it. */
.community-count[hidden],
.community-people[hidden],
.community-status[hidden] {
  display: none;
}

.community-panel {
  padding: 0 20px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.community-name {
  font-weight: 600;
  letter-spacing: -0.015em;
}

.community-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.community-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ba55c;
}

.community-panel[data-state="empty"] .community-dot {
  background: var(--line-strong);
}

.community-status {
  padding: 16px 0 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.community-people {
  display: grid;
}

.community-person {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.community-person:last-child {
  border-bottom: 0;
}

.community-face {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  object-fit: cover;
}

.community-state {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b6b72;
}

.community-person[data-status="online"] .community-state {
  background: #3ba55c;
}

.community-person[data-status="idle"] .community-state {
  background: #e0a33a;
}

.community-person[data-status="dnd"] .community-state {
  background: #d64c50;
}

.community-person-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-person-meta {
  margin-left: auto;
  max-width: 46%;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-more {
  color: var(--muted);
  font-size: 0.875rem;
}

.community-source {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .community-dot {
    animation: presence 3.2s var(--ease) infinite;
  }

  @keyframes presence {
    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(59, 165, 92, 0.5);
    }
    50% {
      box-shadow: 0 0 0 5px rgba(59, 165, 92, 0);
    }
  }

  .community-panel[data-state="ready"] .community-person {
    animation: person-in 0.45s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 50ms);
  }

  @keyframes person-in {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
  }
}

@media (max-width: 880px) {
  .community-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .community-panel {
    padding-inline: 18px;
  }
}

/* 30-pages.css */
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.steps {
  counter-reset: step;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.steps li span {
  max-width: 56ch;
  padding-top: 2px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.install-main .fine {
  margin-top: 20px;
  max-width: 58ch;
}

.install-main .fine a {
  color: var(--accent-text);
}

.install-facts {
  position: sticky;
  top: 100px;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact span:first-child {
  color: var(--muted);
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding: 16px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-text);
}

.faq-item p {
  padding: 0 0 22px;
  color: var(--muted);
  max-width: 64ch;
}

/* site.js animates this box open and closed: <details> otherwise swaps its
   panel in at full height, which is the snap. Without the script the native
   disclosure still works, just without the transition. */
.faq-body {
  overflow: hidden;
}

.faq-item p a {
  color: var(--accent-text);
}

.release-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.release-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.release-jump a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.releases {
  max-width: 860px;
}

.release {
  padding: clamp(26px, 3vw, 36px) 0 14px;
  border-top: 1px solid var(--line);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.875rem;
}

.release-meta .release-version {
  color: var(--text);
  font-weight: 600;
}

.release h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.025em;
  max-width: 32ch;
}

.release-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  font-size: 0.9375rem;
}

.release-kind {
  padding-top: 0.28em;
  color: var(--accent-text);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose-shell {
  max-width: 720px;
  padding-top: 8px;
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose h2 {
  margin: 42px 0 12px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 18px;
}

.prose a {
  color: var(--accent-text);
}

.prose strong {
  font-weight: 600;
}

.prose ul {
  margin: 0 0 22px;
}

.prose li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.875em;
}

.prose .table-wrap {
  margin: 0 0 26px;
  overflow-x: auto;
  border-radius: 14px;
  background: var(--surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--muted);
  font-weight: 500;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin: 22px 0 10px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.control {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.contact-form textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(161, 161, 168, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 111, 104, 0.12);
}

.contact-form .form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-form .form-note {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.contact-form .form-note a {
  color: var(--accent-text);
}

.contact-form .form-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--accent-text);
  font-size: 0.875rem;
}

.caret-mirror {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.type-caret {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 1.4em;
  border-radius: 2px;
  background: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 0);
  transition:
    transform 110ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .caret-ready [data-caret-field] {
    caret-color: transparent;
  }

  .type-caret.is-on {
    opacity: 1;
  }
}

@media (forced-colors: active) {
  .caret-ready [data-caret-field] {
    caret-color: auto;
  }

  .type-caret {
    display: none;
  }
}

.notfound {
  display: grid;
  place-items: center;
  min-height: 58vh;
  padding-block: clamp(80px, 12vw, 150px);
  text-align: center;
}

.notfound h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 18ch;
}

.notfound .lede {
  margin: 18px auto 28px;
}

@media (max-width: 920px) {
  .install-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .install-facts {
    position: static;
  }

}

@media (max-width: 640px) {
  .release-jump a {
    min-height: 44px;
  }
}

/* 40-motion.css */
/* GSAP builds the entrance from these states, so the first paint waits here
   instead of flashing the finished layout. Everything below is undone by the
   reduced-motion rule, or by .reveal-all when the script does not arrive. */
.js .hero-eyebrow,
.js .hero-title > span,
.js .hero-sub,
.js .hero-actions,
.js .hero-note,
.js .hero-stage,
.js [data-reveal] {
  opacity: 0;
}

.reveal-all .hero-eyebrow,
.reveal-all .hero-title > span,
.reveal-all .hero-sub,
.reveal-all .hero-actions,
.reveal-all .hero-note,
.reveal-all .hero-stage,
.reveal-all [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }

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

@media (max-width: 880px) and (prefers-reduced-motion: no-preference) {
  .nav-open .site-nav {
    animation: nav-in 0.24s var(--ease);
  }

  @keyframes nav-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .hero-eyebrow,
  .js .hero-title > span,
  .js .hero-sub,
  .js .hero-actions,
  .js .hero-note,
  .js .hero-stage,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .w-fill {
    display: none;
  }

  /* No sweep without motion, so the first line takes the active colour. */
  .demo-line:first-of-type {
    color: rgba(245, 245, 247, 0.94);
  }
}

/* 45-page-transition.css */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

html.is-navigating .page-veil {
  opacity: 1;
  pointer-events: auto;
}

.page-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent-text);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 140ms ease;
  animation: page-spin 760ms linear infinite;
}

html.is-navigating .page-spinner {
  opacity: 1;
}

@keyframes page-spin {
  to {
    transform: rotate(360deg);
  }
}

/* The header keeps its own stuck transition; this adds the fade to it rather
   than replacing the rule that drives the background. */
body > .site-header {
  transition:
    opacity 240ms var(--ease),
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

main,
.site-footer {
  transition: opacity 240ms var(--ease);
}

html.is-navigating body > .site-header,
html.is-navigating main,
html.is-navigating .site-footer,
html.is-leaving body > .site-header,
html.is-leaving main,
html.is-leaving .site-footer {
  opacity: 0;
}

/* 50-kawarp.css */
.kawarp {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s var(--ease);
  filter: saturate(0.95);
}

.kawarp.is-on {
  opacity: 0.62;
}

.kawarp canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* The field only carries the top of the page; the body sits on a solid wash so
   body copy is never fighting the backdrop. */
.kawarp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 50% 12%, transparent 0%, rgba(8, 8, 10, 0.3) 58%, rgba(8, 8, 10, 0.8) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.04) 0%, rgba(8, 8, 10, 0.5) 52%, var(--bg) 90%);
}

.no-kawarp {
  background: var(--bg);
}

.no-kawarp .kawarp {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .kawarp {
    display: none;
  }
}
