/* Minimal, readable styles for the Technology Risk Snapshot skeleton. */
:root {
  --font-sans: ui-system-font, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --fg: #1a1a1a;
  --bg: #ffffff;
  --muted: #6b7280;
  --accent: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f3f4f6;
    --bg: #0f172a;
    --muted: #9ca3af;
    --accent: #60a5fa;
  }
}

html {
  font-size: 100%;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

main {
  max-width: 42rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
}

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