/* DrumScribe landing: shared design system (single source for tokens, nav, buttons, footer).
   Linked by index.html and about.html; page-specific layout stays inline in each page. */
:root {
  --bg: #0B1426; --surface: #13203A; --border: #243657;
  --text: #EAF1FF; --muted: #93A4C2; --faint: #5F708C; --accent: #2DE0C8;
  --display: "Bricolage Grotesque", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--body);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.text { color: var(--muted); font-size: 15px; white-space: nowrap; }
.nav-links a.text:hover { color: var(--text); }
/* On phones the secondary text link cramps against the brand and wraps, so drop it; the nav
   stays a clean brand + Open-app button (the page content covers the same ground anyway). */
@media (max-width: 560px) {
  nav { padding: 16px 0; }
  .nav-links { gap: 14px; }
  .nav-links a.text { display: none; }
}
.btn {
  display: inline-block; background: var(--accent); color: #06231F; font-weight: 700;
  font-family: var(--body); padding: 12px 22px; border-radius: 12px; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(45,224,200,.25); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); padding: 11px 20px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--faint); font-size: 13px; text-align: center; }
footer .links { display: flex; gap: 18px; justify-content: center; margin-bottom: 12px; }
footer .links a:hover { color: var(--text); }
footer .legal { max-width: 720px; margin: 10px auto 0; }
