/* CertIntel identity. HSL values are canonical; see README.md for provenance.
   Apply data-ci-theme="dark" to the theme root for the optional dark scheme.
   This file declares tokens only; it does not restyle application elements. */
:root,
[data-ci-theme] {
  --ci-cream: hsl(44 100% 92%);
  --ci-ink: hsl(0 0% 7%);
  --ci-pink: hsl(330 100% 68%);
  --ci-yellow: hsl(48 100% 60%);
  --ci-blue: hsl(222 100% 70%);
  --ci-pale: hsl(48 100% 80%);
  --ci-white: hsl(0 0% 100%);
  --ci-lime: hsl(90 90% 62%);

  --ci-bg: var(--ci-cream);
  --ci-fg: var(--ci-ink);
  --ci-primary: var(--ci-pink);
  --ci-on-accent: var(--ci-ink);
  --ci-card: var(--ci-white);
  --ci-surface: var(--ci-pale);
  --ci-line: var(--ci-ink);
  --ci-line-soft: hsl(0 0% 7% / 0.16);
  --ci-muted: hsl(0 0% 27%);
  --ci-link: hsl(330 100% 34%);
  --ci-ring: hsl(330 100% 40%);
  --ci-dots: hsl(0 0% 7% / 0.13);
  --ci-code-bg: hsl(48 100% 95%);
  --ci-inline-code-bg: hsl(48 100% 86%);

  --ci-bw: 2.5px;
  --ci-radius: 6px;
  --ci-radius-sm: 4px;
  --ci-shadow-sm: 2px 2px 0 var(--ci-line);
  --ci-shadow: 4px 4px 0 var(--ci-line);
  --ci-shadow-lg: 6px 6px 0 var(--ci-line);
  --ci-display: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --ci-label: "Space Mono", Consolas, Menlo, monospace;
  --ci-prose: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ci-code: ui-monospace, SFMono-Regular, Consolas, monospace;
}

[data-ci-theme="dark"] {
  --ci-bg: hsl(0 0% 8%);
  --ci-fg: var(--ci-cream);
  --ci-card: hsl(0 0% 13%);
  --ci-surface: hsl(0 0% 15%);
  --ci-line: var(--ci-cream);
  --ci-line-soft: hsl(44 100% 92% / 0.18);
  --ci-muted: hsl(44 30% 74%);
  --ci-link: hsl(330 100% 76%);
  --ci-ring: var(--ci-pink);
  --ci-dots: hsl(44 100% 92% / 0.1);
  --ci-code-bg: hsl(0 0% 10%);
  --ci-inline-code-bg: hsl(0 0% 19%);
}
