/* NearbyMusicLessons coming-soon. Brand tokens from the existing site
   (--color-primary #6d28d9, ink #1e1b4b). Light + dark, mobile-first. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f3ff;
  --text: #1f2937;
  --text-soft: #4b5563;
  --ink: #1e1b4b;
  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --link: #5b21b6;
  --border: #e5e7eb;
  --focus-ring: #1e1b4b;
  --focus-halo: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0b1e;
    --bg-alt: #1a1433;
    --text: #e5e7eb;
    --text-soft: #b6bcc8;
    --ink: #f5f3ff;
    --accent: #6d28d9;
    --accent-hover: #7c3aed;
    --link: #c4b5fd;
    --border: #2e2750;
    --focus-ring: #ffffff;
    --focus-halo: #0f0b1e;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 16px 2.5rem;
}
.wrap--text { max-width: 44rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 2.25rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__note { fill: var(--accent); flex: none; }
@media (prefers-color-scheme: dark) { .brand__note { fill: #a78bfa; } }
.brand__name {
  font: 700 1.5rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
h1 {
  margin: 0 0 .75rem;
  color: var(--ink);
  font: 700 clamp(1.75rem, 6vw, 2.5rem)/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
h2 { color: var(--ink); font-size: 1.15rem; margin: 1.75rem 0 .25rem; }
.lede { font-size: 1.2rem; color: var(--ink); margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.meta { color: var(--text-soft); font-size: .9rem; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--focus-halo);
}
.signup {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}
/* Kit's form (and its "Built with Kit" badge) is designed for a light surface,
   so the card stays light in dark mode and the tokens inside it are re-pinned. */
@media (prefers-color-scheme: dark) {
  .signup {
    --bg-alt: #f5f3ff; --text: #1f2937; --text-soft: #4b5563; --link: #5b21b6;
    --border: #ddd6fe; --accent-hover: #5b21b6;
    --focus-ring: #1e1b4b; --focus-halo: #ffffff;
    background: var(--bg-alt); color: var(--text);
  }
}
.fineprint { margin: .9rem 0 0; font-size: .875rem; color: var(--text-soft); }

/* Kit embed (interaction-gated). Same shape as the other sites' KitEmbed. */
.kit-embed { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.kit-embed__cta {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  padding: 14px 24px;
  min-height: 48px;
  cursor: pointer;
  align-self: flex-start;
}
.kit-embed__cta:hover { background: var(--accent-hover); }
.kit-embed[data-kit-state="loading"] .kit-embed__cta { cursor: progress; background: var(--accent-hover); }
.kit-embed__status { margin: 0; font-size: .9rem; color: var(--text-soft); }
.kit-embed__status a, .kit-embed__fallback { color: var(--link); text-decoration: underline; }
/* Clipped, not hidden: keeps the live region in the accessibility tree. */
.kit-embed__status:empty {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.foot { padding: 1.25rem 16px 2rem; text-align: center; font-size: .875rem; color: var(--text-soft); }
.foot p { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
