:root {
  --bg: #ffffff;
  --fg: #1b1f24;
  --muted: #57606a;
  --line: #d0d7de;
  --soft: #f6f8fa;
  --link: #0a58ca;
  --yes: #116329;
  --yes-bg: #dafbe1;
  --limited: #7d4e00;
  --limited-bg: #fff3c4;
  --trial: #8a3c00;
  --trial-bg: #ffe2cc;
  --no: #a40e26;
  --no-bg: #ffe1e4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1318;
    --fg: #e6edf3;
    --muted: #9da7b3;
    --line: #2b333d;
    --soft: #171c23;
    --link: #79b8ff;
    --yes: #7ee2a0;
    --yes-bg: #12301d;
    --limited: #f2cc60;
    --limited-bg: #3a2d05;
    --trial: #ffb77c;
    --trial-bg: #3d2109;
    --no: #ff9aa5;
    --no-bg: #40121a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: var(--link);
}

.site-header,
main,
.site-footer {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--fg);
}

.site-header nav a {
  margin-right: 1rem;
}

h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0.75rem 0;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}

.crumbs {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary {
  font-size: 1.1rem;
}

.verdict {
  padding: 0.75rem 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.status {
  display: inline-block;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-yes {
  color: var(--yes);
  background: var(--yes-bg);
}

.status-limited {
  color: var(--limited);
  background: var(--limited-bg);
}

.status-trial-only {
  color: var(--trial);
  background: var(--trial-bg);
}

.status-no {
  color: var(--no);
  background: var(--no-bg);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--soft);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.tools td:last-child {
  white-space: nowrap;
}

.limits td:first-child {
  width: 45%;
}

.facts dt {
  font-weight: 600;
  margin-top: 0.6rem;
}

.facts dd {
  margin: 0;
}

.gotchas li,
.alternatives li {
  margin-bottom: 0.4rem;
}

.source {
  padding: 0.6rem 0.8rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.hubs {
  columns: 2 16rem;
  padding-left: 1.2rem;
}

.hub-links a {
  display: inline-block;
  margin: 0 1rem 0.4rem 0;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
