:root {
  --ink: #0a0e0f;
  --panel: #121a1b;
  --panel-raised: #16201f;
  --line: #1e2c2b;
  --text: #e7eeec;
  --muted: #8ca09e;
  --pulse: #4ecdc4;
  --pulse-hot: #8ff3ea;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* Header */
header {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark:hover { color: var(--pulse); text-decoration: none; }
header nav {
  display: flex;
  gap: 22px;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--pulse); }

/* Beat strip — the app's stage beat lights, pulsing at 120 BPM */
.beat-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 56px 0 40px;
}
.beat {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  animation: beat 2s infinite;
}
.beat--accent {
  width: 14px;
  height: 14px;
  animation-name: beat-accent;
}
.beat:nth-child(1) { animation-delay: 0s; }
.beat:nth-child(2) { animation-delay: 0.5s; }
.beat:nth-child(3) { animation-delay: 1s; }
.beat:nth-child(4) { animation-delay: 1.5s; }
@keyframes beat {
  0%, 20%, 100% { background: var(--line); box-shadow: none; }
  4% { background: var(--pulse); box-shadow: 0 0 14px rgba(78, 205, 196, 0.55); }
}
@keyframes beat-accent {
  0%, 20%, 100% { background: var(--line); box-shadow: none; }
  4% { background: var(--pulse-hot); box-shadow: 0 0 20px rgba(143, 243, 234, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .beat { animation: none; }
  .beat--accent { background: var(--pulse); }
}

/* Type */
.eyebrow {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pulse);
  margin: 0 0 14px;
}
h1 {
  font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 34em;
}
h2 {
  font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 52px 0 10px;
}
h2 .tag {
  display: block;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
p { margin: 0 0 16px; }
p, li { color: #c6d2d0; }
strong { color: var(--text); }
a { color: var(--pulse); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, .wordmark:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pulse);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 36px 0;
}
.card p:last-child { margin-bottom: 0; }

/* Landing link tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 44px 0;
}
.tile {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tile:hover {
  border-color: var(--pulse);
  transform: translateY(-2px);
  text-decoration: none;
}
.tile .t-label {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pulse);
  display: block;
  margin-bottom: 8px;
}
.tile .t-text { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } }
@media (max-width: 540px) { .tiles { grid-template-columns: 1fr; } }

/* Divider + footer */
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}
footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 56px;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--pulse); }
