/* Styling for index.html.
 *
 * Colors are defined once at the top under :root and referred to by name
 * everywhere else, so changing the gold or the background is a one-line
 * edit rather than a search through the whole file.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Keyboard focus and reduced motion. Same rules as sim.css - see the longer
   note there. Repeated rather than shared because the two pages load
   different stylesheets and neither should depend on the other. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --bg: #0a0c14;
  --bg-card: #131620;
  --bg-elevated: #1a1e2e;
  --rule: #252a3d;
  --white: #ffffff;
  --ink-muted: #a0a4b8;
  --ink-dim: #6b7094;
  --gold: #ffd750;
  --gold-dim: rgba(255,215,80,.12);
  --green: #64d278;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
}

html { font-size: 16px; background: #0a0c14 !important; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #0a0c14 !important;
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--rule);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
}
.logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.logo span { color: var(--gold); }
.nav-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid rgba(255,215,80,.3);
  padding: 8px 16px;
  border-radius: 8px;
}
.nav-link:hover { background: var(--gold-dim); }
.nav-link.locked { color: var(--ink-dim); border-color: var(--rule); cursor: not-allowed; pointer-events: none; }
.nav-link.locked:hover { background: none; }
a.locked { opacity: .45; cursor: not-allowed; pointer-events: none; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto;
}
.scroll-hint {
  margin-top: 28px;
  font-size: .85rem;
  color: var(--ink-dim);
}

.banner {
  background: var(--gold-dim);
  border: 1px solid rgba(255,215,80,.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px 0;
  font-size: .92rem;
  color: var(--white);
}
.banner strong { color: var(--gold); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin: 28px 0;
}
.card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card .sub { color: var(--ink-muted); font-size: .92rem; margin-bottom: 20px; }

.sim-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px;
  border-radius: 9px;
  text-decoration: none;
  margin-top: 16px;
}
.sim-cta:hover { opacity: .9; }
.sim-cta.locked { background: var(--bg-elevated); color: var(--ink-dim); cursor: not-allowed; pointer-events: none; }
.sim-cta.locked:hover { opacity: 1; }
.unlock-note {
  text-align: center; font-size: .82rem; color: var(--ink-dim); margin-top: 10px;
}
.unlock-note.success { color: var(--green); }

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 48px 0 6px;
}
.section-sub { color: var(--ink-muted); font-size: .95rem; margin-bottom: 20px; }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }
.who-item {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 18px;
}
.who-item .label { color: var(--gold); font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.who-item p { color: var(--ink-muted); font-size: .88rem; }

.status-list { list-style: none; }
.status-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .92rem;
  color: var(--ink-muted);
  display: flex;
  gap: 10px;
}
.status-list li:last-child { border-bottom: none; }
.status-list .dot { color: var(--green); flex-shrink: 0; }

footer {
  text-align: center;
  padding: 40px 24px 60px;
  color: var(--ink-dim);
  font-size: .85rem;
}
footer a { color: var(--gold); text-decoration: none; }
