/* Magnus Works — one stylesheet for every page.
   Palette is taken from SoundPunch itself: a cool light page, the app's slate panel,
   and the red of its "live" button as the only accent. */
:root {
  --page: #f2f3f5;
  --ink: #181b21;
  --muted: #5b616d;
  --line: #d9dce2;
  --panel: #22252c;
  --panel-ink: #e9ebef;
  --live: #d93a40;
  --live-ink: #ffffff;
  --link: #1f5fbf;
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #15171c;
    --ink: #eceef2;
    --muted: #a3a9b5;
    --line: #2c3038;
    --panel: #0e1014;
    --panel-ink: #e9ebef;
    --link: #7fb0ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--link); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--measure); }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--live); }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav.site a:hover { color: var(--ink); }

h1, h2, h3 { font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40ch; }

/* The product is the hero: the real app window, large, on its own dark stage. */
.stage { background: var(--panel); color: var(--panel-ink); padding: 56px 0 0; margin-top: 40px; }
.stage .shot { border-radius: 10px 10px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.5); }
.hero { padding: 64px 0 8px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-live { background: var(--live); color: var(--live-ink); }
.btn-live:hover { filter: brightness(1.08); }
.btn-quiet { color: var(--ink); border: 1px solid var(--line); }
.note { color: var(--muted); font-size: 15px; }

/* Features read as a list of promises, not a grid of identical cards. */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 48px; padding: 0; margin: 24px 0 0; list-style: none; }
.points li { padding: 18px 0; border-top: 1px solid var(--line); }
.points h3 { margin-bottom: 6px; }
.points p { color: var(--muted); margin: 0; }

.honest { border-left: 4px solid var(--live); padding: 4px 0 4px 20px; margin: 40px 0; max-width: var(--measure); }

section { padding: 48px 0; }
.specs { border-collapse: collapse; width: 100%; max-width: var(--measure); }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font-weight: 600; padding-right: 20px; }

.product-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.product-row img { border-radius: 8px; border: 1px solid var(--line); }
.status { display: inline-block; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

footer.site { border-top: 1px solid var(--line); margin-top: 64px; padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer.site a { color: var(--muted); }

.legal h2 { font-size: 22px; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  nav.site a { margin-left: 14px; font-size: 14px; }
  nav.site a[href="/#products"] { display: none; }
  .brand { font-size: 16px; }
  .product-row { grid-template-columns: 1fr; gap: 20px; }
  .stage { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
