:root {
  color-scheme: dark;
  --background: #0a0d0c;
  --panel: #101513;
  --text: #ecf4ef;
  --muted: #9baaa1;
  --accent: #6ee7a8;
  --border: #24312a;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgb(49 117 82 / 18%), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

main {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 2rem;
}

header {
  max-width: 52rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.5rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  margin-bottom: 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.6;
}

code {
  color: var(--accent);
}

section {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgb(16 21 19 / 82%);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 30%);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

#player {
  overflow: hidden;
  border-radius: 0.55rem;
}

.ap-wrapper {
  border-radius: 0.55rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.75rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

@media (max-width: 44rem) {
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
