/* WMO landing. One page, no dependencies, system fonts. Dark only: it is the app's own look. */
:root {
  --bg: #0b0c11;
  --bg-soft: #12131a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f8;
  --muted: rgba(235, 237, 245, 0.72);
  --faint: rgba(235, 237, 245, 0.56);
  --accent: #4d9bff;
  --accent-2: #9b7bff;
  --ok: #3ddc84;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(77, 155, 255, 0.16), transparent 62%),
    radial-gradient(760px 520px at 8% 4%, rgba(155, 123, 255, 0.12), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.hidden { display: none !important; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #06101f;
  font-weight: 600;
  text-decoration: none;
  z-index: 10;
}

.skip:focus { top: 12px; }

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

/* ---------- Nav ---------- */
.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; display: block; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.nav nav a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav nav .nav-cta {
  color: var(--text);
  border: 1px solid var(--line-strong);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

.lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 18.5px;
  color: var(--muted);
  text-wrap: pretty;
}

.cta { margin-top: 34px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn.primary {
  color: #05101f;
  background: linear-gradient(135deg, #6fb1ff, #a58bff);
  box-shadow: 0 10px 34px -10px rgba(98, 150, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn.primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.primary:active { transform: translateY(0); }

.btn.is-disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: default;
  pointer-events: none;
}

.cta-meta { margin: 14px 0 0; font-size: 14.5px; color: var(--faint); }

.cta-hash {
  margin: 6px 0 0;
  max-width: 100%;
  font: 12px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--faint);
  overflow-wrap: anywhere;
}

/* ---------- Stage: the app, drawn ---------- */
.stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px 0 8px;
  user-select: none;
}

.glow {
  position: absolute;
  inset: 8% 6% 4%;
  background: radial-gradient(closest-side, rgba(110, 120, 255, 0.34), transparent);
  filter: blur(46px);
  pointer-events: none;
}

.pill, .card {
  position: relative;
  background: rgba(20, 21, 29, 0.84);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.9);
}

.pill {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(100%, 318px);
  padding: 8px 14px 8px 9px;
  border-radius: 999px;
}

.pill-art, .cover {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #5a66ff, #c06bd8 60%, #ff9f6b);
}

.pill-art { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(120, 140, 255, 0.5); }

.pill-text { min-width: 0; display: grid; line-height: 1.25; }

.pill-title { font-size: 10.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-title i { font-style: normal; }

.pill-lyric {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
}

.pill-lyric.swap { opacity: 0; }

.pill-eq { margin-left: auto; display: flex; align-items: flex-end; gap: 2.5px; height: 14px; }

.pill-eq i {
  width: 3px;
  border-radius: 2px;
  background: #8f9bff;
  animation: eq 1.1s ease-in-out infinite;
}

.pill-eq i:nth-child(1) { height: 45%; animation-delay: -0.2s; }
.pill-eq i:nth-child(2) { height: 100%; animation-delay: -0.6s; }
.pill-eq i:nth-child(3) { height: 65%; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.pill-eq i { transform-origin: bottom; }

.card {
  width: min(100%, 420px);
  border-radius: 24px;
  padding: 13px 15px 14px;
  font-size: 12px;
}

.card-head { display: flex; align-items: center; justify-content: space-between; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 10.5px;
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.head-btns { display: flex; gap: 6px; }
.head-btns i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.head-btns i:nth-child(2) { background: rgba(124, 138, 255, 0.3); box-shadow: inset 0 0 0 1px rgba(140, 150, 255, 0.7); }

.card-body { display: flex; gap: 13px; margin-top: 12px; }

.cover { width: 70px; height: 70px; border-radius: 15px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5); }

.meta { flex: 1; min-width: 0; display: grid; gap: 2px; align-content: center; }
.meta .t { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .a { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bar { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.bar span { display: block; width: 32%; height: 100%; border-radius: inherit; background: #fff; }

.times { display: flex; justify-content: space-between; color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; }

.ctrls { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.ctrls svg { width: 15px; height: 15px; fill: var(--muted); }

.play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.play svg { fill: #fff; }

.vol { flex: 1; height: 4px; margin-left: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.vol span { display: block; width: 56%; height: 100%; border-radius: inherit; background: #fff; }

.card-lyrics {
  margin: 13px -15px -14px;
  padding: 10px 17px 14px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.03);
}

.ly-head { font-size: 9px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase; color: var(--faint); }

.card-lyrics p { margin: 7px 0 0; font-size: 13.5px; color: rgba(235, 237, 245, 0.5); }
.card-lyrics p.on { color: #a9b4ff; font-weight: 650; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 680;
}

.section-lead { margin: 12px 0 0; max-width: 46em; color: var(--muted); }

.grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.feature h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 650; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

.cols {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }

.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li strong { color: var(--text); font-weight: 620; }

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 15px;
  height: 8px;
  border: solid var(--ok);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}

.note {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.note h3 { margin: 0 0 6px; font-size: 16px; }
.note p { margin: 0; font-size: 15px; color: var(--muted); }

details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

details:first-of-type { margin-top: 28px; }

summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1.2; }
details[open] summary::after { content: "–"; }

details p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 60em; }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 24px 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14.5px;
  color: var(--faint);
}

.footer-links { display: flex; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 34px 20px 52px; }
  .stage { order: 2; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 48px 20px; }
  .nav { padding: 18px 20px 6px; }
  .nav nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-eq i { animation: none; }
  .btn, .feature, .pill-lyric { transition: none; }
}
