:root {
  --bg: #000;
  --ink: #f5f5f0;
  --muted: #8a8a84;
  --line: rgba(245, 245, 240, 0.14);
  --soft: rgba(245, 245, 240, 0.06);
  --glass: rgba(16, 16, 18, 0.82);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Syne", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: var(--soft);
  border: 1px solid var(--line);
}

.veil {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 75% 8%, rgba(255,255,255,0.08), transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 85%, rgba(255,255,255,0.04), transparent 50%),
    linear-gradient(180deg, #0a0a0a, #000 45%);
  z-index: 0;
}
.top, main, .foot { position: relative; z-index: 1; }

.top {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 700; letter-spacing: -0.02em; }
.mark {
  width: 1.35rem; height: 1.35rem; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}
nav { display: flex; gap: 1rem; color: var(--muted); font-size: 0.95rem; }
nav a:hover { color: var(--ink); }

main { max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--pad) 4rem; }
.hero { margin-bottom: 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem;
  color: var(--muted); margin: 0 0 0.75rem;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 1rem;
}
.lede { color: var(--muted); max-width: 34rem; margin: 0; font-size: 1.08rem; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
}
.panel { padding: 1.25rem 1.25rem 1.4rem; margin: 1.25rem 0; }
.panel-head h2 {
  font-family: var(--display);
  font-size: 1.35rem; letter-spacing: -0.03em; margin: 0 0 0.35rem;
}
.panel-head p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

.lookup {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
@media (max-width: 640px) {
  .lookup { grid-template-columns: 1fr; }
}
label span {
  display: block; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem;
}
input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font: inherit;
}
.btn {
  border: 0; cursor: pointer; font: inherit; font-weight: 700;
  border-radius: 999px; padding: 0.75rem 1.2rem;
}
.btn.solid { background: #fff; color: #000; }
.btn.solid:hover { transform: translateY(-1px); transition: transform 0.25s var(--ease); }

.status { min-height: 1.4rem; color: var(--muted); font-size: 0.92rem; }
.tracks { display: grid; gap: 0.65rem; margin-top: 0.5rem; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}
.row h3 { margin: 0; font-size: 0.98rem; font-weight: 650; }
.row p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }
.chip {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem; border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
}
.chip.live { background: #fff; color: #000; border-color: transparent; }

.code {
  overflow: auto;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.45;
}
.bullets { color: var(--muted); padding-left: 1.1rem; }
.bullets li { margin: 0.4rem 0; }

.shows { display: grid; gap: 0.55rem; }
.show {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 0.9rem; border-radius: 0.9rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
}
.show:hover { background: rgba(255,255,255,0.08); }
.show strong { font-weight: 650; }
.show span { color: var(--muted); font-size: 0.85rem; }

.foot {
  padding: 1.5rem var(--pad) 2.5rem;
  color: var(--muted); font-size: 0.9rem; text-align: center;
}
.foot a { text-decoration: underline; text-underline-offset: 0.2em; }
