:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: rgba(18, 24, 42, 0.88);
  --panel-border: rgba(148, 163, 184, 0.14);
  --text: #e5eefc;
  --muted: #94a3b8;
  --accent: #60a5fa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.14), transparent 24%),
    linear-gradient(180deg, #0b1020 0%, #111827 100%);
  color: var(--text);
  font-family: var(--font);
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
}

.subtitle {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-ghost {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text);
}

.grid {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.card h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.tier-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.tier-pill::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.tier-high {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

.tier-mid {
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
}

.tier-low {
  background: rgba(251, 146, 60, 0.14);
  color: #fb923c;
}

.tier-software {
  background: rgba(248, 113, 113, 0.14);
  color: #f87171;
}

.tier-unknown {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.tier-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.kv-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.kv-row {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.kv-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.kv-row dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kv-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.kv-row dd.mono {
  font-family: var(--mono);
  font-size: 13px;
}

.bool-yes {
  color: #4ade80;
  font-weight: 700;
}

.bool-no {
  color: #f87171;
  font-weight: 700;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .card.span-all {
    grid-column: 1 / -1;
  }
}
