/*
 * player.rocketkaraoke.com — the golden hour of rocketkaraoke.com,
 * with the player's own device: a line of words with the sung part
 * swept across it.
 */
:root {
  --night: #0d0a08;
  --night-2: #171110;
  --night-3: #221a15;
  --line: #3a2c21;
  --ink: #faf5ec;
  --mute: #d3c4ac;
  --faint: #9a8871;
  --gold: #eeb257;
  --bronze: #c87d3f;
  --champagne: #f2dfae;
  --on-gold: #1c1207;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sweep: linear-gradient(90deg, var(--champagne), var(--gold) 55%, var(--bronze));
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--champagne); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.gold {
  background: var(--sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
.menu a { color: var(--mute); }
.menu a:hover { color: var(--ink); }
.menu .lang { color: var(--champagne); }

/* Hero */
main { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
.hero { position: relative; isolation: isolate; padding: 64px 0 48px; max-width: 760px; }
.glow {
  position: absolute; z-index: -1; inset: -120px -40px auto -40px; height: 420px;
  background: radial-gradient(60% 60% at 30% 40%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.eyebrow { color: var(--champagne); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1 { margin-top: 18px; font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); font-weight: 800; text-wrap: balance; }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--mute); max-width: 620px; }
.pill {
  display: inline-block; margin-top: 22px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--night-3) 60%, transparent);
  font-weight: 600; font-size: 0.95rem;
}

/* The wipe: the phrase is dim, and its sung copy sweeps over it once. */
.wipe { position: relative; display: inline-block; color: var(--faint); }
.wipe::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--sweep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(0 100% 0 0);
  animation: sung 1.5s var(--ease) 0.45s forwards;
}
@keyframes sung { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .wipe::after { animation: none; clip-path: inset(0 0 0 0); }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: transform 0.15s var(--ease), background 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--champagne); }
.glyph { font-size: 1.05em; line-height: 1; }
.note { margin-top: 14px; font-size: 0.92rem; color: var(--faint); }
.note a { color: var(--mute); }

/* Sections */
.block { padding: 56px 0 8px; }
.block > h2 + .sub, .sub { margin-top: 12px; color: var(--mute); max-width: 640px; }
/* Nine cards: three by three on a wide screen, and never a row of one. */
.grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.card h3 + p, .card p + p { margin-top: 10px; }
.card p { color: var(--mute); font-size: 0.98rem; }
.card h3 { color: var(--ink); }

.two { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.list ul { margin: 14px 0 0; padding-left: 20px; color: var(--mute); }
.list li + li { margin-top: 6px; }
.gold-edge { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, var(--night-2)), var(--night-2)); }
.band { margin-top: 16px; }
.band p { margin-top: 10px; max-width: 760px; }

.buy h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.buy > p { margin-top: 14px; max-width: 720px; font-size: 1.02rem; color: var(--ink); }
.buy .mute { color: var(--mute); }
.buy .btn { margin-top: 22px; }

.faq { border-top: 1px solid var(--line); padding: 16px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--display); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 500; }
.faq[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--mute); max-width: 720px; }
#faq h2 { margin-bottom: 20px; }

.closing { padding-top: 64px; }
.centre { text-align: center; padding: 48px 24px; }
.centre .sub { margin-inline: auto; }
.centre .actions { justify-content: center; }
.centre .note { text-align: center; }

.foot {
  max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px;
  border-top: 1px solid var(--line); color: var(--faint); font-size: 0.92rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.foot a { color: var(--mute); }

@media (max-width: 640px) {
  .top { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 40px; }
  .btn { width: 100%; justify-content: center; }
}
