/* Apple-style presentation layer for the Quarto site. Same accent blue,
   radii, and card language as the Next.js app (web/app/globals.css), so
   the docs site and the product itself read as one thing. Cosmetic only
   -- never hides or replaces content, just gives it room to breathe. */

:root {
  --omni-accent: #0071e3;
  --omni-text: #1d1d1f;
  --omni-text-secondary: #6e6e73;
  --omni-surface: #f5f5f7;
  --omni-border: #e5e5ea;
  --omni-radius: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--omni-text);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1.title {
  letter-spacing: -0.02em;
}

a {
  color: var(--omni-accent);
}

p {
  max-width: 68ch;
}

pre, code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

pre {
  border-radius: 12px;
  border: 1px solid var(--omni-border);
}

table {
  border-radius: 12px;
  overflow: hidden;
}

/* Scorecard/comparison-style tables read as data, not prose -- tabular
   figures keep columns of numbers aligned. */
table td, table th {
  font-variant-numeric: tabular-nums;
}

/* A short, scannable callout row -- see architecture.qmd's "Two
   frontends" section. Each .lane is a card; the row wraps on narrow
   screens instead of squeezing. */
.lane-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.lane {
  flex: 1 1 260px;
  border: 1px solid var(--omni-border);
  border-radius: var(--omni-radius);
  background: var(--omni-surface);
  padding: 1.25rem 1.5rem;
}

.lane h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.lane p {
  color: var(--omni-text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.lane .lane-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--omni-accent);
  background: rgba(0, 113, 227, 0.1);
  border-radius: 9999px;
  padding: 0.15rem 0.65rem;
  margin-bottom: 0.6rem;
}

/* A short stat row -- three or four numbers, no prose, for a glanceable
   summary before the detail below it. */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat {
  flex: 1 1 140px;
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: var(--omni-radius);
  background: var(--omni-surface);
  border: 1px solid var(--omni-border);
}

.stat .stat-value {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.stat .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--omni-text-secondary);
  margin-top: 0.15rem;
}
