:root {
  color-scheme: dark;
  --bg: #070b14;
  --surface: #0d1423;
  --surface-strong: #121c2f;
  --line: #26334a;
  --text: #f7f8fb;
  --muted: #aab5c8;
  --blue: #4f8cff;
  --blue-soft: #8ab2ff;
  --gold: #f4bd50;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 10%, rgba(79, 140, 255, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(138, 178, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--gold);
  border-radius: 0.5rem;
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

main,
footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.hero {
  min-height: 42rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding: 6rem 0;
}

.eyebrow,
.overline {
  margin: 0 0 1rem;
  color: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.intro {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.55rem;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 1rem 3rem rgba(34, 94, 210, 0.28);
}

.button:hover,
.button:focus-visible {
  background: #6b9dff;
}

.stage-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(18, 28, 47, 0.98), rgba(9, 15, 27, 0.98));
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}

.stage-card-header,
.stage-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.stage-card-header {
  border-bottom: 1px solid var(--line);
}

.stage-card-header strong,
.stage-card-header span {
  display: block;
}

.stage-card-header .overline {
  margin-bottom: 0.15rem;
  font-size: 0.63rem;
}

.tempo {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.measure-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto 1fr 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 7.2rem;
  padding: 1.5rem;
  background:
    linear-gradient(rgba(79, 140, 255, 0.08), rgba(79, 140, 255, 0.08)) 0 50% / 100% 1px no-repeat;
}

.chord {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  text-align: center;
}

.bar {
  color: var(--blue-soft);
  font-size: 1.35rem;
}

.lyric-lines {
  display: grid;
  gap: 0.8rem;
  padding: 0 1.5rem 2rem;
}

.lyric-lines span {
  display: block;
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  background: #1c2940;
}

.lyric-lines .short {
  width: 67%;
}

.stage-card-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.features {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 3.5rem;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h3 {
  margin: 5rem 0 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.feature-grid p,
.project-copy,
.privacy-copy {
  color: var(--muted);
}

.project,
.privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 7rem);
  padding: 7rem 0;
  border-bottom: 1px solid var(--line);
}

.privacy {
  padding-top: 6rem;
}

.project-copy,
.privacy-copy {
  padding-top: 2.2rem;
  font-size: 1.08rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 1rem rgba(244, 189, 80, 0.7);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer strong,
footer span {
  display: block;
}

footer strong {
  color: var(--text);
}

footer p {
  max-width: 30rem;
  text-align: right;
}

footer a {
  color: var(--blue-soft);
  font-weight: 750;
}

@media (max-width: 850px) {
  .site-header {
    align-items: flex-start;
    padding: 1.25rem 0;
  }

  nav {
    flex-direction: column;
    gap: 0.2rem;
    text-align: right;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 5rem 0;
  }

  .stage-card {
    max-width: 38rem;
    transform: none;
  }

  .section-heading,
  .project,
  .privacy {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .feature-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(3.2rem, 17vw, 4.8rem);
  }

  .measure-row {
    gap: 0.35rem;
    padding-inline: 1rem;
  }

  .chord {
    font-size: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  h3 {
    margin-top: 3rem;
  }

  footer {
    flex-direction: column;
  }

  footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
