/* Baritone — public site.
   Same palette and type pairing as the app on purpose: brass is your
   instrument, green is what you build, and the site should read as the same
   product rather than as marketing for it. */

:root {
  --bg: #0F0F0E;
  --surface: #1A1918;
  --line: #2E2B29;
  --ink: #F5F2EC;
  --ink-muted: #A8A29A;
  --ink-faint: #6E6A64;
  --brass: #E8C9A0;
  --brass-deep: #C9A472;
  --gain: #A8C486;
  --accent: #D97757;

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 68ch;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 20px; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; margin: 56px 0 14px; }
h3 { font-size: 19px; margin: 32px 0 10px; }
h4 { font-size: 16px; color: var(--ink-muted); margin: 24px 0 8px; }

p { margin: 0 0 18px; }
a { color: var(--brass); text-decoration-color: rgba(232,201,160,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

ul { padding-left: 20px; margin: 0 0 18px; }
li { margin-bottom: 8px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .88em; background: var(--surface);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;
}
strong { font-weight: 600; color: var(--ink); }

.back {
  display: inline-block; font-family: var(--display); font-size: 14px;
  font-weight: 600; letter-spacing: .02em; color: var(--ink-muted);
  text-decoration: none; margin-bottom: 40px;
}
.back:hover { color: var(--brass); }

/* Hero: the pitch readout is the most characteristic thing in the product's
   world, so it anchors the page rather than a stock photo would. */
.hero-readout {
  display: flex; align-items: baseline; gap: 12px;
  margin: 0 0 12px; font-family: var(--display); font-weight: 800;
  font-variant-numeric: tabular-nums; color: var(--brass);
  font-size: clamp(56px, 14vw, 104px); line-height: 1; letter-spacing: -0.05em;
}
.hero-readout span { font-size: .32em; font-weight: 700; color: var(--brass-deep); letter-spacing: -0.01em; }
.hero-sub { color: var(--ink-muted); font-size: 15px; margin: 0 0 36px; }

.lede { font-size: 20px; line-height: 1.5; color: var(--ink-muted); }
.lede strong { color: var(--ink); }

/* auto-fit rather than a viewport media query: the reading column is ~533px,
   so a min-width:620px breakpoint never fired and the two cards stacked even
   on a wide desktop -- losing the side-by-side comparison that is the whole
   point of the section. */
.split {
  display: grid; gap: 16px; margin: 28px 0 8px;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px;
}
.card .eyebrow {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; margin: 0 0 8px;
}
.card.instrument .eyebrow { color: var(--brass); }
.card.trainable .eyebrow { color: var(--gain); }
.card p { font-size: 15px; margin: 0; color: var(--ink-muted); }
.card p strong { color: var(--ink); }

.cta {
  display: inline-block; background: var(--accent); color: #141413;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 11px; text-decoration: none;
  margin: 8px 0 12px;
}
.cta:hover { background: #C7684C; }

blockquote.note {
  margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--accent);
  background: rgba(217,119,87,.07); border-radius: 0 10px 10px 0;
}
blockquote.note p { margin: 0 0 8px; font-size: 15px; color: var(--ink-muted); }
blockquote.note p:last-child { margin: 0; }

.tablewrap { overflow-x: auto; margin: 0 0 22px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 30ch; }
th, td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; vertical-align: top; }
th { background: var(--surface); font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink-muted); }

/* Unfilled policy placeholders. Loud on purpose — an unfinished legal page
   should be impossible to publish by accident. */
mark.todo {
  background: rgba(217,119,87,.22); color: var(--accent);
  font-family: ui-monospace, Menlo, monospace; font-size: .82em;
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}

footer { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
footer p { font-size: 14px; color: var(--ink-faint); margin: 0 0 8px; }
footer a { color: var(--ink-muted); }
.fine { font-size: 13px; }
