
/* Global styles; typography tuned for readability and performance */
:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --fg: #e5e7eb;
  --muted:#a1a1aa;
  --brand:#4f46e5;
  --accent:#22c55e;
  --success:#22c55e;
  --warning:#f59e0b;
  --danger:#ef4444;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }
::selection { background: rgba(79,70,229,.35); color: white; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Cards and utility */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Link styles */
a { color: #cbd5e1; }
a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.cta {
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

/* Responsive grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
@media (max-width: 960px) { .grid > * { grid-column: span 12 !important; } }

/* Accessibility helpers */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Print */
@media print {
  header, .menu-toggle, .cta { display: none !important; }
  body { background: white; color: #111827; }
  .card { border-color: #e5e7eb; box-shadow: none; }
}
