:root {
  --paper: #f3efe6;
  --card: #fffdf8;
  --ink: #1c1915;
  --muted: #6f675e;
  --line: #e4dacb;
  --accent: #0e6b63;
  --accent-ink: #083f3b;
  --danger: #9f1239;
  --warn: #9a6700;
  --ok: #3f6212;
  --shadow: 0 1px 0 rgba(28, 25, 21, 0.04);
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "Segoe UI", "Helvetica Neue", sans-serif;
}
a { color: var(--accent-ink); }
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 600; letter-spacing: -0.02em; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.brand { text-decoration: none; color: inherit; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 22px; letter-spacing: 0.08em; }
.brand span { color: var(--muted); font-size: 13px; }
nav { display: flex; gap: 16px; }
nav a { text-decoration: none; }
.vultr {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding: 10px 0; color: var(--muted); font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 2px 10px; color: var(--ink);
}
.badge.ok { color: var(--ok); }
.badge.warn { color: var(--warn); }
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 40px; margin: 0 0 8px; }
.lede { font-size: 18px; max-width: 62ch; }
.grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; box-shadow: var(--shadow);
}
label { display: block; font-size: 14px; margin-bottom: 12px; }
input[type="file"] { display: block; margin-top: 6px; max-width: 100%; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
button, .button {
  background: var(--accent); color: white; border: 0; border-radius: 999px;
  padding: 8px 14px; font: inherit; cursor: pointer; text-decoration: none;
}
button.secondary, .button.secondary { background: transparent; color: var(--accent-ink); border: 1px solid var(--line); }
.error { background: #fff1f2; color: var(--danger); padding: 10px 12px; border-radius: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.kpi h3 { margin: 0; font-size: 14px; color: var(--muted); font-family: inherit; font-weight: 550; }
.kpi p { margin: 6px 0 0; font-size: 26px; font-family: Georgia, serif; }
.chip {
  display: inline-flex; align-items: center; text-decoration: none;
  border-bottom: 1px dashed var(--accent); color: var(--accent-ink);
}
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 14px 14px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent);
}
.timeline .t-error::before, .timeline .t-sandbox:has(.bad) { background: var(--danger); }
.t-title { font-weight: 650; }
.timeline p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.narrative { font-size: 18px; }
.blast-figure { font-family: Georgia, serif; font-size: 36px; margin: 0 0 8px; }
pre, .code {
  white-space: pre-wrap; word-break: break-word; background: #1c1915; color: #f6f1e7;
  padding: 14px; border-radius: 12px; overflow: auto; font-size: 13px;
}
.excerpt { background: #fff7ed; border-left: 3px solid var(--warn); padding: 8px 10px; }
.site-footer { color: var(--muted); font-size: 13px; padding: 28px 0 40px; }
.status { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.status.verified { color: var(--ok); }
.status.failed, .status.unverified { color: var(--danger); }
.status.running, .status.queued { color: var(--warn); }
.chart { max-width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 800px) {
  .grid, .kpis { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .site-header .wrap { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr; }
}
