/* Inside Ledgerly: the company blog of a ledger API. Only --d-*, --co-* tokens and b-* classes here.
   Paper and ink like a ledger book, money-green for what is new, a debit red used sparingly. Instrument Serif
   for headlines, Geist for text, Geist Mono for figures and code. Signature: covers drawn from ledger lines,
   and the double-entry figure that posts as you read. */
:root {
  --d-bg: #f6f5f1;
  --d-surface: #eeece6;
  --d-surface-2: #e5e2da;
  --d-text: #121417;
  --d-muted: #5d6066;
  --d-line: #dcd9d1;
  --d-accent: #0d6b4f;
  --d-on-accent: #f6f5f1;
  --d-invert-bg: #121417;
  --d-invert-text: #f2f0ea;
  --d-sale: #b4472f;
  --d-focus: #0d6b4f;

  --d-font-body: "Geist", system-ui, sans-serif;
  --d-font-display: "Instrument Serif", Georgia, serif;
  --d-display-weight: 400;
  --d-display-tracking: -0.01em;
  --d-display-leading: 1.02;
  --d-label-tracking: 0.04em;
  --d-icon-stroke: 1.5;

  --d-radius: 0px;
  --d-radius-card: 0px;
  --d-header-h: 4rem;
  --d-logo-h: 1.4rem;

  --co-ink: #121417;
  --co-green: #0d6b4f;
  --co-red: #b4472f;
  --co-paper: #eceae3;
  --co-mono: "Geist Mono", ui-monospace, monospace;
}
@media (min-width: 64rem) { :root { --d-logo-h: 1.6rem; } }
.d-btn { background: var(--d-text); border-color: var(--d-text); color: var(--d-bg); }
.d-btn--secondary { background: transparent; color: var(--d-text); }

/* ---- home ---- */
.b-top { padding-block: calc(var(--d-header-h) + var(--d-space-6)) var(--d-space-7); }
.b-mast { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--d-space-4); padding-bottom: var(--d-space-5); margin-bottom: var(--d-space-7); border-bottom: 2px solid var(--d-text); }
.b-mast__t { margin: 0; font-family: var(--d-font-display); font-weight: 400; font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: 0.9; letter-spacing: -0.02em; }
.b-mast__t em { color: var(--co-green); }
.b-mast__d { margin: 0; max-width: 24rem; color: var(--d-muted); font-size: var(--d-step--1); }
.b-band { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--d-surface); }
.b-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--d-space-3); margin-bottom: var(--d-space-5); }
.b-head .co-h2 { margin: 0; }
