:root {
  --bg: #0b1020;
  --bg-2: #11182d;
  --panel: rgba(19, 28, 50, 0.78);
  --panel-border: rgba(255,255,255,0.10);
  --text: #eef2ff;
  --muted: #b8c0db;
  --accent: #8fd3ff;
  --accent-2: #d7b4ff;
  --learned-bg: rgba(150, 240, 193, 0.12);
  --learned-border: rgba(150, 240, 193, 0.38);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --max-width: 1120px;
  --notation-max: 980px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 211, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(215, 180, 255, 0.16), transparent 28%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; }
.site-header { padding: 1.25rem 0 0; }
.brand {
  display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .95rem; color: var(--muted);
}
.brand-mark {
  width: .75rem; height: .75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(143,211,255,.7);
}
.main { padding: 2rem 0 3rem; }
.hero-panel, .notation-panel {
  position: relative; overflow: hidden; border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.hero-panel::before, .notation-panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(143, 211, 255, 0.16), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(215,180,255,.12), transparent 24%);
  pointer-events: none;
}
.hero-content, .notation-content { position: relative; padding: clamp(1.3rem, 3vw, 2.4rem); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-bottom: 1rem; color: var(--muted); font-size: .95rem;
}
.crumbs a:hover { color: var(--text); }
.eyebrow, .badge {
  display: inline-flex; align-items: center; gap: .5rem; width: fit-content;
  padding: .42rem .82rem; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); font-size: .92rem;
}
.badge.learned {
  background: var(--learned-bg);
  border-color: var(--learned-border);
  color: #d6ffe8;
}
.hero-title {
  margin: .65rem 0 0;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: .96;
  letter-spacing: -0.04em;
}
.meta-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.notation-section { padding-top: 1rem; }
.notation-stack { display: grid; gap: 1.15rem; }
.notation-frame {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  padding: .85rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.notation-frame img {
  display: block;
  width: min(100%, var(--notation-max));
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  background: white;
}
.footer-panel {
  display:flex; justify-content:space-between; gap:1rem; align-items:center;
  padding: 1rem 1.2rem; border-radius: 18px;
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  color: var(--muted); font-size: .95rem;
}
.site-footer { padding: 0 0 2rem; }
@media (max-width: 760px) {
  .footer-panel { flex-direction: column; align-items: flex-start; }
}
