:root {
  color-scheme: dark;
  --bg: #08111e;
  --panel: rgba(13, 22, 38, 0.86);
  --panel-2: rgba(17, 32, 50, 0.9);
  --text: #edf6ff;
  --muted: #a8bfd7;
  --line: rgba(144,190,255,0.18);
  --accent: #7cd4ff;
  --accent-2: #8ef1c4;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--text); font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #091321 0%, #050a14 100%);
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.noise { position: fixed; inset: 0; opacity: 0.06; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.65) 0.7px, transparent 0.7px); background-size: 18px 18px; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 1.35rem; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.accent { background: linear-gradient(135deg, rgba(124,212,255,.14), rgba(142,241,196,.1)), var(--panel); }
.tilt { transform: rotate(-0.5deg); }
.hero { margin-bottom: 1.2rem; }
.eyebrow { color: var(--accent-2); letter-spacing: .15em; text-transform: uppercase; font-size: .78rem; }
.lede, .muted-line { color: var(--muted); }
.grid { display: grid; gap: 1rem; margin-top: 1rem; }
.two-up { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.three-up { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.badges span {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: .35rem .7rem;
  color: #dff7ff;
  background: rgba(255,255,255,0.05);
}
.spark-list { margin: 0; padding-left: 1.2rem; }
.option-card, .criterion {
  display: flex; flex-direction: column; gap: .55rem; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 1rem;
}
.option-card input, .criterion input[type="number"] {
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: var(--text); padding: .8rem .9rem;
}
#criteria { display: grid; gap: .9rem; }
.criterion-grid {
  display: grid; gap: .75rem; grid-template-columns: minmax(180px, 1.2fr) 120px repeat(3, minmax(72px, .8fr));
  align-items: center;
}
.criterion-grid .pill { color: var(--muted); font-size: .85rem; }
.button {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: .8rem 1rem;
  font-weight: 700; background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid rgba(255,255,255,.12);
}
pre { margin: 0; white-space: pre-wrap; word-wrap: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.terminal-bar { display: flex; gap: .4rem; margin-bottom: .8rem; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); }
.footer { margin-top: 1.5rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .criterion-grid { grid-template-columns: 1fr; } }
