/* Karavoke — Friday-afternoon, road-trip, warm */
:root {
  --bg: #0b0f1a;
  --bg-2: #11172a;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f5f1ea;
  --muted: #9aa3b2;
  --accent: #ff355f;       /* karavoke pink */
  --accent-2: #ffb454;     /* warm amber */
  --accent-3: #5fb0ff;     /* dashboard blue */
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(255, 53, 95, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(95, 176, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0e18 0%, #0b0f1a 60%, #0a0d16 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 20px;
}
.brand.small .brand-name { font-size: 17px; }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-image: url("appicon.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 16px rgba(255, 53, 95, 0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.brand.small .brand-mark { width: 24px; height: 24px; border-radius: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  opacity: 0.85;
}
.nav-links a:hover {
  background: var(--panel);
  text-decoration: none;
  opacity: 1;
}
.nav-links a.active {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  opacity: 1;
}
.nav-links a.ghost {
  border: 1px solid var(--panel-border);
}

/* --- hero --- */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  margin: 0 0 16px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 19px;
  color: #d8d3c8;
  margin: 0 0 28px;
  max-width: 56ch;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff527a 0%, #ff355f 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 8px 22px rgba(255, 53, 95, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--panel-border);
  box-shadow: none;
}

.tag {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

/* --- hero card / dashboard mock --- */
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.dashboard {
  border-radius: 16px;
  background:
    linear-gradient(180deg, #1a2138 0%, #131929 100%);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dash-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.dash-vinyl {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ff355f 0 6px, #1a1a1a 7px 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 6px 18px rgba(0,0,0,0.4);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dash-title { font-weight: 600; font-size: 15px; }
.dash-artist { color: var(--muted); font-size: 13px; }

.lyric-stack { display: flex; flex-direction: column; gap: 8px; }
.lyric {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.005em;
}
.lyric.past { color: rgba(255,255,255,0.32); }
.lyric.now { color: #fff; position: relative; }
.lyric.next { color: rgba(255,255,255,0.42); }

.lyric.now .wipe {
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- sections --- */
section { padding: 24px 0; }

.features h2,
.how h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em;
  margin: 16px 0 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.card p { margin: 0; color: #cfcabe; font-size: 15px; line-height: 1.55; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px;
}
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.steps p { margin: 0; color: #cfcabe; font-size: 15px; }

.pitch {
  padding: 56px 0;
  text-align: center;
}
.pitch blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: #ead7c4;
  letter-spacing: -0.01em;
}
.pitch p { margin: 0; }

/* --- legal --- */
.legal {
  max-width: 760px;
  padding: 32px 0 56px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.005em;
  margin: 32px 0 8px;
}
.legal p, .legal li { color: #d8d3c8; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* --- footer --- */
.footer {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--panel-border);
}
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text); opacity: 0.85; font-size: 14px; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

/* --- responsive --- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 48px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { padding: 18px 18px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .grid, .steps { grid-template-columns: 1fr; }
  main { padding: 0 18px; }
  .footer { padding: 24px 18px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-vinyl { animation: none; }
}
