/* Still Running SI */
:root {
  --bg: #0b0f14;
  --bg-elev: #121821;
  --bg-card: #161e29;
  --border: #243041;
  --text: #e8eef6;
  --muted: #9aa8b8;
  --accent: #3dd6c6;
  --accent-dim: rgba(61, 214, 198, 0.15);
  --alive: #3ecf8e;
  --alive-bg: rgba(62, 207, 142, 0.12);
  --died: #f07178;
  --died-bg: rgba(240, 113, 120, 0.12);
  --example: #f5c542;
  --example-bg: rgba(245, 197, 66, 0.18);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.logo {
  font-weight: 700; font-size: 1.1rem; color: var(--text);
  text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.nav-links {
  display: flex; gap: 0.35rem 1.1rem; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
main { flex: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 3.5rem; }
.hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); padding: 0.35rem 0.75rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem); line-height: 1.15;
  letter-spacing: -0.03em; margin: 0 0 1rem;
}
.hero p.lead {
  font-size: 1.15rem; color: var(--muted); max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #0b0f14; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); background: var(--bg-elev); }
.section { margin: 2.5rem 0; }
.section h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 1rem; }
.section p { color: var(--muted); }
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.35rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.rule-box {
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  border: 1px solid rgba(61, 214, 198, 0.35); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
.rule-box h2 { margin-top: 0; }
.rule-box ul { margin: 0.75rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.rule-box li { margin: 0.35rem 0; }
.cta-band {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; margin-top: 2.5rem;
}
.cta-band h2 { margin: 0 0 0.5rem; }
.cta-band p { margin: 0 0 1.25rem; color: var(--muted); }
.example-banner {
  background: var(--example-bg); border: 1px solid var(--example); color: var(--example);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; text-align: center;
  padding: 0.65rem 1rem; border-radius: 8px; margin-bottom: 1rem;
}
.pill {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem; border-radius: 999px;
}
.pill-alive { background: var(--alive-bg); color: var(--alive); }
.pill-died { background: var(--died-bg); color: var(--died); }
.pill-example { background: var(--example-bg); color: var(--example); }
.filters {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .filters { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.filters input, .filters select {
  width: 100%; padding: 0.65rem 0.85rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
  font-size: 0.95rem; font-family: inherit;
}
.filters input:focus, .filters select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.results-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.workflow-list { display: flex; flex-direction: column; gap: 0.85rem; }
.workflow-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; color: inherit;
  text-decoration: none; transition: border-color 0.15s, transform 0.15s;
}
.workflow-card:hover {
  border-color: var(--accent); text-decoration: none; transform: translateY(-1px);
}
.workflow-card .top {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem;
}
.workflow-card h3 { margin: 0; font-size: 1.05rem; flex: 1; min-width: 12rem; }
.workflow-card .meta {
  color: var(--muted); font-size: 0.88rem; display: flex; flex-wrap: wrap;
  gap: 0.35rem 1rem; margin-top: 0.5rem;
}
.workflow-card .tools { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.75rem; background: var(--bg-elev); border: 1px solid var(--border);
  padding: 0.15rem 0.5rem; border-radius: 6px; color: var(--muted);
}
.empty-state {
  text-align: center; color: var(--muted); padding: 2.5rem 1rem;
  border: 1px dashed var(--border); border-radius: var(--radius);
}
.entry-header h1 {
  font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -0.02em; margin: 0.5rem 0 0.75rem;
}
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem; margin: 1.25rem 0;
}
.stat {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.85rem 1rem;
}
.stat .label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted);
}
.stat .value { font-size: 1.15rem; font-weight: 700; margin-top: 0.15rem; }
.prose h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose p { color: var(--muted); margin: 0 0 0.75rem; }
.back-link { display: inline-block; margin-bottom: 1rem; font-size: 0.9rem; color: var(--muted); }
.back-link:hover { color: var(--accent); }
.form-block { max-width: 420px; margin: 1.5rem auto 0; }
.form-block label { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 0.35rem; }
.form-block input[type="email"] {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-elev); color: var(--text); font-size: 1rem; font-family: inherit;
  margin-bottom: 0.75rem;
}
.form-block input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.thank-you {
  display: none; background: var(--alive-bg); border: 1px solid var(--alive);
  color: var(--alive); padding: 1rem 1.25rem; border-radius: 8px;
  text-align: center; font-weight: 600; margin-top: 1rem;
}
.thank-you.visible { display: block; }
.coming-soon {
  background: var(--bg-elev); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; color: var(--muted); margin: 1.5rem 0;
}
.coming-soon strong { color: var(--text); display: block; margin-bottom: 0.35rem; font-size: 1.1rem; }
.sponsor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-top: 1.25rem;
}
.sponsor-card .price { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin: 0.5rem 0; }
.sponsor-card ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.92rem; }
.sponsor-names { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.sponsor-names .tag { font-size: 0.85rem; padding: 0.35rem 0.7rem; }
.site-footer {
  border-top: 1px solid var(--border); padding: 1.5rem 1.25rem;
  text-align: center; color: var(--muted); font-size: 0.85rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.error-page { text-align: center; padding: 4rem 1rem; }
.error-page h1 { font-size: 4rem; margin: 0; color: var(--accent); }
.error-page p { color: var(--muted); }
.loading { color: var(--muted); text-align: center; padding: 2rem; }
