:root {
  --bg: #0b0f14;
  --panel: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #f59e0b;
  --border: #1f2937;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.nav {
  border-bottom: 1px solid var(--border);
  background: #0a0e13;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  margin-left: 1.5rem;
  color: var(--muted);
}

nav a.active,
nav a:hover {
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 6rem 1rem;
}

.hero h1 {
  font-size: 3rem;
}

.subtitle {
  color: var(--muted);
  max-width: 700px;
  margin: 1rem auto 2rem;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.btn.primary {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 1rem;
}

.section.contrast {
  background: var(--panel);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 8px;
  background: #0f1620;
}

.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* =========================
   SHIELD CONSOLE PREVIEW
   ========================= */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.media-card {
  border: 1px solid var(--border);
  background: #0f1620;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}

.media-card img {
  width: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.media-card figcaption {
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   TYPOGRAPHY POLISH
   ========================= */

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.4rem;
  }
}

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
