/* Offstem site — EP-133 palette, light + dark, no frameworks, no assets. */
:root {
  color-scheme: light dark;
  --bg: #efefed;
  --card: #fafaf8;
  --text: #131312;
  --text-sub: #4d4d4b;
  --text-tertiary: #8e8e8b;
  --border: #dbdbd7;
  --accent: #e0231e;
  --stem-vocals: #e0231e;
  --stem-drums: #f06d92;
  --stem-bass: #a9a9a4;
  --stem-other: #4a4a47;
  --link: #c8201c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --card: #1a1a1d;
    --text: #ffffff;
    --text-sub: #c8c8c6;
    --text-tertiary: #8b8b89;
    --border: #2b2b2e;
    --accent: #ff0000;
    --stem-vocals: #ff0000;
    --stem-drums: #ff6f9d;
    --stem-bass: #c9c9c6;
    --stem-other: #6b6b68;
    --link: #ff5f5a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* Header — the "offstem bars" mark: exact geometry from app/design/appicon/offstem-icon.svg
   (four horizontal stems, top stem offset right = the "off" stem; staggered lengths;
   colors = stem palette [vocals, drums, bass, other], adapts light/dark via CSS vars) */
header.site { padding: 40px 0 8px; }
.brand { display: flex; align-items: center; gap: 12px; }
.bars { width: 26px; height: 20.5px; display: block; flex-shrink: 0; }
.bars path:nth-child(1) { stroke: var(--stem-vocals); }
.bars path:nth-child(2) { stroke: var(--stem-drums); }
.bars path:nth-child(3) { stroke: var(--stem-bass); }
.bars path:nth-child(4) { stroke: var(--stem-other); }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

main { padding: 28px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 20px; font-weight: 700; margin: 36px 0 8px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 700; margin: 24px 0 6px; text-wrap: balance; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link — hidden until keyboard focus */
.skip { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto; clip-path: none;
  padding: 12px 20px; background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 8px; z-index: 100; text-decoration: none;
}
.meta { color: var(--text-tertiary); font-size: 14px; margin-bottom: 24px; }
.tagline { font-size: 18px; color: var(--text-sub); margin-bottom: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.feature-title { font-weight: 700; margin-bottom: 4px; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  margin-top: 8px;
}
.cta:hover { text-decoration: none; opacity: 0.92; }
code { background: var(--border); padding: 1px 5px; border-radius: 5px; font-size: 0.9em; }

footer.site { padding: 24px 0 48px; color: var(--text-tertiary); font-size: 14px; }
footer.site .links { margin-bottom: 8px; }
footer.site .links a { margin-right: 18px; }

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .wrap { padding: 0 16px; }
}
