/* Forensic Web — shared design tokens & ambient layers */

:root {
  --fw-bg: #0a0c0f;
  --fw-surface: #12161c;
  --fw-surface-raised: #181e27;
  --fw-border: rgba(148, 163, 184, 0.14);
  --fw-border-strong: rgba(148, 163, 184, 0.28);
  --fw-text: #e8edf4;
  --fw-text-muted: #7b8a9e;
  --fw-accent: #38bdf8;
  --fw-accent-dim: rgba(56, 189, 248, 0.12);
  --fw-warm: #f59e0b;
  --fw-warm-dim: rgba(245, 158, 11, 0.15);
  --fw-danger: #f87171;
  --fw-danger-bg: rgba(248, 113, 113, 0.1);
  --fw-radius: 10px;
  --fw-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --fw-font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

body {
  margin: 0;
}

.fw-ambient {
  position: relative;
  overflow: hidden;
}

.fw-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.fw-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 15%, transparent 70%);
  z-index: 0;
}

.fw-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.fw-glow--cyan {
  width: 560px;
  height: 560px;
  top: -140px;
  left: 10%;
  background: rgba(56, 189, 248, 0.13);
}

.fw-glow--amber {
  width: 480px;
  height: 480px;
  bottom: -120px;
  right: 5%;
  background: rgba(245, 158, 11, 0.09);
}

.fw-case-id {
  font-family: var(--fw-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fw-accent);
}
