/* Iterverse brand tokens (tokens.css/fonts.css, linked before this file)
   define --btech-*, --neutral-*, --font-sans, etc, per
   design-system/README.md in the ad_labs repo. This hub page is the only
   thing on Iterverse Simulations styled with them - each sim underneath
   (/printer-lab/, /port-noir/) keeps its own separate stylesheet and
   visual identity by design, not an oversight. */
:root {
  --bg: var(--surface-page);
  --surface: var(--surface-card);
  --border: var(--border-subtle);
  --text: var(--text-strong);
  --text-muted: var(--neutral-600);
  --accent: var(--btech-red);
  --accent-dark: var(--btech-red-dark);
  --accent-bg: #fbe9ea;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent); }

header.site-header {
  background: var(--btech-gray);
  color: #fff;
  padding: 1rem 1.5rem;
}

header.site-header .wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.header-brand img {
  height: 26px;
  width: auto;
}

.header-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.25);
}

.header-btech-mark {
  height: 22px;
  width: auto;
}

.header-wordmark {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.header-wordmark strong {
  color: #fff;
  font-weight: var(--fw-bold);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
.subtitle { color: var(--text-muted); margin-top: 0; max-width: 60ch; }

.sim-list { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sim-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sim-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.sim-card h3 { margin: 0 0 0.35rem; color: var(--accent-dark); }
.sim-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.sim-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent-bg);
  color: var(--accent-dark);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

footer.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 2rem 1rem;
}
