/* LyricIsland — la identidad sale de la app: noche, la píldora de la isla, el degradado violeta→rosa del ícono
   y la letra que se pinta palabra por palabra (lo "cantado" en blanco, lo que falta atenuado). */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@property --a {
  syntax: '<color>';
  inherits: true;
  initial-value: #7b4fe0;
}
@property --b {
  syntax: '<color>';
  inherits: true;
  initial-value: #cd538d;
}

:root {
  --night: #0b0a12;
  --night-2: #13111d;
  --card: #17141f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f1fa;
  --muted: #a39db5;
  --sung: #ffffff;
  --unsung: rgba(255, 255, 255, 0.3);
  --violet: #5d37b2;
  --plum: #9445a0;
  --rose: #cd538d;
  --grad: linear-gradient(90deg, #6a40c9, var(--plum), var(--rose));
  --link: #d7a6ff;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
}
img {
  display: block;
}
.wrap {
  width: min(1080px, 100% - 32px);
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

/* La letra que se canta. */
.w {
  background: linear-gradient(90deg, var(--sung) var(--p, 0%), var(--unsung) var(--p, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Botones con forma de isla. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, filter 0.15s;
}
.pill.grad {
  background: var(--grad);
  color: #fff;
}
.pill.big {
  padding: 16px 34px;
  font-size: 18px;
}
a.pill:hover,
a:hover > .pill {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

/* ---------- encabezado ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 12px 0;
  background: color-mix(in srgb, var(--night) 80%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top nav a:not(.pill) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
}
.top nav a:not(.pill):hover,
.top nav a[aria-current='page'] {
  color: var(--text);
}

/* ---------- portada ---------- */
.home {
  overflow-x: clip;
}
.hero {
  position: relative;
  transition: --a 1s, --b 1s;
  text-align: center;
  padding: 44px 0 40px;
}
/* Brillo de color bajo la isla, como la luz de la carátula. */
.hero::before {
  content: '';
  position: absolute;
  inset: -40px -20% auto;
  height: 420px;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 20%, color-mix(in srgb, var(--a) 38%, transparent), transparent 70%),
    radial-gradient(35% 45% at 64% 30%, color-mix(in srgb, var(--b) 30%, transparent), transparent 70%);
}
.island {
  margin: 0 auto;
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--a) 40%, #09080f), color-mix(in srgb, var(--b) 30%, #09080f));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px color-mix(in srgb, var(--a) 30%, transparent);
  text-align: left;
}
.island .art {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--a), var(--b), #ffd27a, var(--a));
}
.island .lines {
  display: block;
  min-width: 0;
  flex: 1;
}
.island .now,
.island .next {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.island .now {
  font-weight: 650;
  font-size: clamp(15px, 2.4vw, 19px);
  letter-spacing: -0.01em;
}
.island .next {
  font-size: clamp(12px, 1.8vw, 14px);
  color: rgba(255, 255, 255, 0.5);
}
.bars {
  flex: none;
  display: flex;
  gap: 3px;
  align-items: center;
  height: 22px;
}
.bars i {
  width: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  animation: bar 0.9s ease-in-out infinite alternate;
}
.bars i:nth-child(1) {
  height: 12px;
}
.bars i:nth-child(2) {
  height: 22px;
  animation-delay: -0.3s;
}
.bars i:nth-child(3) {
  height: 16px;
  animation-delay: -0.6s;
}
@keyframes bar {
  to {
    transform: scaleY(0.45);
  }
}
.hero h1 {
  max-width: 880px;
  margin: 56px auto 0;
  font-size: clamp(42px, 7.4vw, 88px);
}
.lead {
  max-width: 600px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
}
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- secciones ---------- */
.section {
  padding: 72px 0;
}
.section h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 760px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  counter-increment: step;
  padding: 22px 22px 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  padding: 18px 18px 26px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.card h3 {
  font-size: 24px;
  margin: 22px 6px 8px;
}
.card p {
  margin: 0 6px;
  color: var(--muted);
}

/* Mini escenas de cada tarjeta. */
.mini {
  height: 132px;
  border-radius: 18px;
  background: var(--night-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
  overflow: hidden;
}
.mini .line {
  margin: 0;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: -0.02em;
  text-align: center;
}
.mini .line.ro {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0;
}
.shapes {
  flex-direction: row;
  gap: 14px;
}
.shapes span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(120deg, #2c1d55, #3d1934);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.shapes .s-full {
  width: 42%;
  padding: 0 12px 0 7px;
}
.shapes .s-full i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #7b4fe0, #cd538d, #ffd27a, #7b4fe0);
}
.shapes b {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fff 55%, rgba(255, 255, 255, 0.3) 55%);
}
.shapes .s-thin {
  width: 28%;
  height: 28px;
  padding: 0 12px;
}
.shapes .s-bubble {
  width: 44px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #1f9e8f, #2f5fb3, #ffd27a, #1f9e8f);
  box-shadow: 0 0 0 3px var(--night-2), 0 0 0 4px rgba(255, 255, 255, 0.2);
}
.colors {
  flex-direction: row;
  gap: 10px;
}
.pal {
  width: 30%;
  height: 44px;
  border-radius: 999px;
}
.p1 {
  background: linear-gradient(120deg, #7b4fe0, #cd538d);
}
.p2 {
  background: linear-gradient(120deg, #1f9e8f, #2f5fb3);
}
.p3 {
  background: linear-gradient(120deg, #e0743a, #b3305b);
}

.privacy {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(93, 55, 178, 0.35), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(205, 83, 141, 0.25), transparent 60%), var(--card);
  border: 1px solid var(--line);
}
.privacy p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- descargas ---------- */
.downloads {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.row strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.row small {
  color: var(--muted);
  font-size: 14px;
}
.row.best {
  border-color: transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box;
}
.row.soon {
  opacity: 0.5;
}
details {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}
summary {
  cursor: pointer;
  width: fit-content;
}
details p {
  max-width: 700px;
}

/* ---------- páginas legales ---------- */
.doc {
  max-width: 720px;
  padding: 56px 0 88px;
}
.doc h1 {
  font-size: clamp(40px, 7vw, 68px);
}
.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 32px;
}
.doc h2 {
  font-size: 24px;
  margin: 40px 0 8px;
}
.doc h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 26px 0 6px;
}
.doc p,
.doc li {
  color: #d3cee0;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 8px;
}
.doc th,
.doc td {
  text-align: left;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.doc kbd {
  font: 500 13px ui-monospace, 'Cascadia Mono', Consolas, monospace;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.note {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- pie ---------- */
footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

/* ---------- pantallas chicas ---------- */
@media (max-width: 760px) {
  .hide-sm {
    display: none;
  }
  .top nav {
    gap: 14px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero h1 {
    margin-top: 40px;
  }
  .island {
    padding: 9px 12px 9px 9px;
    gap: 10px;
  }
  .island .art {
    width: 38px;
    height: 38px;
  }
  .steps,
  .cards {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 52px 0;
  }
  .row {
    border-radius: 26px;
    padding: 16px 16px 16px 22px;
  }
  .row .pill {
    padding: 9px 14px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bars i {
    animation: none;
  }
}
