/* Comparison index — clean, neutral, lets the prototype tiles speak */

:root {
  --bg: #fafafa;
  --fg: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --card: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; background: #f4f4f5; padding: 1px 5px; border-radius: 4px; }

.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px 32px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
}

.group { margin: 48px 0; }
.group h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.group-note { color: var(--muted); margin: 0 0 24px; font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.tile {
  display: block;
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent, #000);
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--accent, #000);
}
.tile-num {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.tile-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tile-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

footer {
  max-width: 1200px;
  margin: 64px auto 32px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
footer p { margin: 4px 0; }
