/* Gemini's layout, with dark surfaces and accessible text colours. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #b3c2d9;
  --blue: #8abbff;
  --line: #30415d;
  --pale: #111d32;
}

[data-theme="dark"] body {
  background: #0b1425;
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .site-footer {
  background: #0e192c;
}

[data-theme="dark"] .threat-card,
[data-theme="dark"] .approach-panel,
[data-theme="dark"] .resource-link {
  background: #17253d;
}

[data-theme="dark"] code,
[data-theme="dark"] .threat-tag {
  background: #223655;
}

[data-theme="dark"] .button-white,
[data-theme="dark"] .skip-link {
  color: #101f3e;
}

[data-theme="dark"] .brand-logo {
  background: #fff;
}

[data-theme="dark"] .brand .brand-logo-light {
  display: none;
}

[data-theme="dark"] .brand .brand-logo-dark {
  display: block;
  background: transparent;
}

[data-theme="dark"] .theme-light {
  color: var(--muted);
}

[data-theme="dark"] .theme-dark {
  color: var(--ink);
}

[data-theme="dark"] .theme-track {
  background: #3675d7;
}

[data-theme="dark"] .theme-track > span {
  transform: translateX(14px);
}

/* Keep Gemini's navy hero, diagram and invitation panel in both modes. */
