@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/Unbounded-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ground: #101014;
  --surface: #1b1b22;
  --surface-2: #26262f;
  --text: #f4f3ee;
  --muted: #a9a8b3;
  --accent: #c8f53c;
  --on-accent: #101014;
  --line: #2f2f3a;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
.wordmark {
  font-family: "Unbounded", "Onest", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

/* Header */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.wordmark {
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

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

/* Hero */

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

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  letter-spacing: -0.02em;
}

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

.lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.soon-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Karaoke card */

.player {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
}

.player-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cover {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.player-title {
  font-weight: 600;
}

.player-sub {
  font-size: 14px;
  color: var(--muted);
}

.lines {
  list-style: none;
  margin: 0;
  padding: 18px 0 4px;
  display: grid;
  gap: 6px;
}

.lines li {
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  transition: background-color 0.3s, color 0.3s;
}

.lines li small {
  display: block;
  font-size: 14px;
  opacity: 0.8;
}

.lines li b {
  display: block;
  font-weight: 600;
  font-size: 19px;
}

.lines li.on {
  background: var(--surface-2);
  color: var(--text);
}

.lines li.on b {
  color: var(--accent);
}

/* Sections */

section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 14px;
  color: var(--muted);
  max-width: 40em;
}

.steps,
.cards {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.steps li,
.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.steps .n {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.steps h3,
.cards h3 {
  margin-top: 10px;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.steps p,
.cards p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.plans {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.plan.premium {
  border-color: var(--accent);
}

.plan h3 {
  font-size: 18px;
}

.plan p {
  margin-top: 10px;
  color: var(--muted);
}

/* Footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot a {
  color: var(--muted);
}

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

/* Documents */

.doc {
  width: min(720px, 100% - 40px);
  margin-inline: auto;
  padding: 32px 0 72px;
}

.doc .eyebrow {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

.doc h1 {
  margin-top: 8px;
  font-size: clamp(28px, 4.4vw, 40px);
  letter-spacing: -0.01em;
}

.doc .meta {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.doc h2 {
  margin-top: 44px;
  font-size: 22px;
}

.doc h3 {
  margin-top: 28px;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.doc p,
.doc ul {
  margin-top: 14px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-top: 6px;
}

.doc li::marker {
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 0 56px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .cards,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .nav a[href^="#"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lines li {
    transition: none;
  }
}
