/* HostForTheSquad — clean gaming-directory look (distinct from QuietWatt) */
:root {
  --bg: #0f1219;
  --surface: #171b26;
  --surface-2: #1e2433;
  --ink: #e8ecf4;
  --muted: #9aa3b5;
  --line: #2a3142;
  --accent: #5eead4;
  --accent-2: #818cf8;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --warn: #fbbf24;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.35);
  --max: 960px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(129,140,248,.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(94,234,212,.1), transparent 45%),
    var(--bg);
  line-height: 1.55;
  font-size: 17px;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #99f6e4; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  background: rgba(23, 27, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.9rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.hero { padding: 2.75rem 0 1.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(94,234,212,.25);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
h1 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  font-weight: 750;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 64ch; margin: 0; }

section { padding: 1.85rem 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  font-size: 1.3rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; color: var(--ink); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; color: var(--muted); }
li strong { color: var(--ink); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.page-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.page-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0;
  color: inherit;
}
.page-list .title { margin: 0 0 0.25rem; font-weight: 650; }
.page-list .title a { color: var(--ink); text-decoration: none; }
.page-list .title a:hover { color: var(--accent); }
.page-list .desc { margin: 0; color: var(--muted); font-size: 0.92rem; }
.status {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status.live {
  color: #042f2e;
  background: var(--accent);
}
.status.planned {
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.filter-btn {
  font: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.filter-btn:hover { color: var(--ink); border-color: #3d465c; }
.filter-btn.active {
  color: #042f2e;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 650;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}
th, td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--surface-2);
  font-weight: 650;
}
tr:last-child td { border-bottom: none; }
tr.hidden { display: none; }
.model { font-weight: 650; color: var(--ink); }
.model a { color: var(--ink); text-decoration: none; }
.model a:hover { color: var(--accent); }
.badge {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(129,140,248,.15);
  border: 1px solid rgba(129,140,248,.3);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  vertical-align: middle;
}
.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.mono { font-family: var(--mono); font-size: 0.88em; }

.cta-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}
.cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 650;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cta .sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.related {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.related a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--ink);
  text-decoration: none;
}
.related a:hover { border-color: var(--accent); color: var(--accent); }
.related .r-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.disclosure {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed #3d465c;
  border-radius: var(--radius);
  padding: 0.9rem 1.05rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1rem;
}
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; }
  .page-list li { flex-direction: column; }
}
