:root {
  --bg: #f3f0fa;
  --panel: #ffffff;
  --text: #16121f;
  --muted: #6a6478;
  --line: #d9d3e8;
  --purple: #7c3aed;
  --ok: #15803d;
  --bad: #b91c1c;
  --font: "DM Sans", sans-serif;
  --display: "Syne", sans-serif;
}

[data-theme="dark"] {
  --bg: #050508;
  --panel: #111018;
  --text: #f0eef6;
  --muted: #8b8798;
  --line: #1c1a26;
  --purple: #a855f7;
  --ok: #4ade80;
  --bad: #f87171;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", var(--display), sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #0a0a0f;
}

.theme {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme svg {
  width: 18px;
  height: 18px;
  display: none;
}

html:not([data-theme="dark"]) .theme-moon,
html[data-theme="dark"] .theme-sun {
  display: block;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--purple);
  margin-bottom: 0.35rem;
}

h1 {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}

.card .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.card strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.card strong.ok {
  color: var(--ok);
}

.card strong.bad {
  color: var(--bad);
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.foot {
  margin-top: 2rem;
  font-size: 0.85rem;
}

.foot a {
  color: var(--purple);
  text-decoration: none;
}
