/* benchmark.css — OneCharacterCode Real-World Benchmark Demo
   Clean Apple/Google-style. White background. */

:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --border: #d2d2d7;
  --good: #2e7d32;
  --warn: #b25e00;
  --bad: #b00020;
  --soft: #f5f5f7;
  --table-head: #1d1d1f;
  --table-head-fg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 64px 24px;
}

header.page {
  text-align: center;
  margin-bottom: 24px;
}

header.page h1 {
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

header.page p.subtitle {
  font-size: 1.15em;
  color: var(--muted);
  margin: 0 auto;
  max-width: 720px;
}

.disclosure {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  border-radius: 4px;
  margin: 32px 0;
  font-size: 0.96em;
  color: var(--fg);
}

.disclosure strong { color: var(--accent); }

section.block {
  margin: 40px 0;
}

section.block h2 {
  font-size: 1.4em;
  font-weight: 600;
  margin: 0 0 14px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

table.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  margin-top: 8px;
}

table.results th {
  background: var(--table-head);
  color: var(--table-head-fg);
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.9em;
}

table.results td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
}

table.results tr:last-child td { border-bottom: none; }

td.num { text-align: right; font-variant-numeric: tabular-nums; }
td.pos { color: var(--good); font-weight: 600; }
td.neg { color: var(--warn); font-weight: 600; }
td.pass { color: var(--good); font-weight: 600; }
td.fail { color: var(--bad); font-weight: 600; }
td.na { color: var(--muted); font-style: italic; }

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 8px 0;
}

.flow .step {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92em;
  min-width: 120px;
  color: var(--fg);
}

.flow .arrow {
  font-size: 1.5em;
  color: var(--muted);
  align-self: center;
  font-weight: 300;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.downloads a {
  display: block;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96em;
  transition: background 0.15s ease;
}

.downloads a:hover { background: #ebebef; }
.downloads a small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; font-size: 0.85em; }

.notes p { margin: 0 0 10px 0; }

footer.page {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.88em;
}

footer.page a { color: var(--muted); text-decoration: none; }
footer.page a:hover { color: var(--accent); }

.meta {
  font-size: 0.82em;
  color: var(--muted);
  margin-top: 6px;
}

code, pre { font-family: "SF Mono", Menlo, Consolas, monospace; background: var(--soft); padding: 2px 6px; border-radius: 3px; font-size: 0.92em; }
pre { padding: 12px; overflow-x: auto; }
