/* ============================================================
   Verum Signal — shared site styles
   Mirrors styles.css from the live site: tokens, base, nav, footer,
   container, eyebrow, page-hero, display headings, links, utilities.
   Page-specific styles live inline at the top of each HTML file.
   ============================================================ */

/* Font loading: pages link DM Serif Display + DM Sans via <link rel="stylesheet">
   with preconnect tags in their <head>. Loading via @link (not @import) avoids the
   render-blocking FOUT that was making the new pages flash system fonts on first paint. */

:root {
  /* Surfaces */
  --black: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);

  /* Text */
  --text: #f5f4f8;
  --text-1: #f5f4f8;
  --text-2: rgba(255, 255, 255, 0.62);
  --text-3: rgba(255, 255, 255, 0.50);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  /* Brand */
  --violet: #7c3aed;
  --violet-light: #a855f7;
  --violet-muted: #c084fc;
  --pink: #ec4899;

  /* Verdict colors (locked) */
  --c-supported: #4ade80;
  --c-plausible: #60a5fa;
  --c-corroborated: #34d399;
  --c-overstated: #fbbf24;
  --c-disputed: #f87171;
  --c-not-supported: #ef4444;
  --c-not-verifiable: rgba(255, 255, 255, 0.32);
  --c-opinion: rgba(255, 255, 255, 0.32);

  --color-supported: #4ade80;
  --color-plausible: #60a5fa;
  --color-corroborated: #34d399;
  --color-overstated: #fbbf24;
  --color-disputed: #f87171;
  --color-not-supported: #ef4444;

  /* Type — matches verumsignal.com (DM Serif Display for display, DM Sans for body, system mono) */
  --font-display: "DM Serif Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--violet-light); }

button { font-family: inherit; }

img { max-width: 100%; display: block; }

::selection { background: rgba(168, 85, 247, 0.32); color: #fff; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ===== Display / type ===== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.0;
  color: var(--text);
  margin: 0;
}
.display em {
  font-style: italic;
  color: var(--violet-light);
  display: inline-block;
  transform: skewX(-4deg);
}
h1.display { font-size: 84px; }
h2.display { font-size: 56px; }
h3.display { font-size: 36px; }

@media (max-width: 1024px) {
  h1.display { font-size: 64px; letter-spacing: -2px; }
}
@media (max-width: 720px) {
  h1.display { font-size: 44px; letter-spacing: -1.2px; }
  h2.display { font-size: 36px; letter-spacing: -1px; }
}

.sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-2);
  font-weight: 400;
  line-height: 1.5;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-light);
  padding: 7px 14px;
  background: rgba(168, 85, 247, 0.06);
  border: 0.5px solid rgba(168, 85, 247, 0.25);
  border-radius: 100px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

}

/* ===== Breadcrumb ===== */
.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.crumb a { color: var(--text-3); transition: color .15s; }
.crumb a:hover { color: var(--violet-light); }
.crumb .sep { color: rgba(255, 255, 255, 0.18); }
.crumb .current { color: var(--text-2); }

/* ===== Page hero ===== */
.page-hero {
  position: relative;
  padding: 160px 0 56px;
  overflow: hidden;
}
.page-hero.is-centered { text-align: center; }
.page-hero.is-centered .eyebrow,
.page-hero.is-centered .sub { margin-left: auto; margin-right: auto; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1.display { margin-bottom: 22px; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  left: 50%; top: 25%;
  transform: translateX(-50%);
  width: 800px; height: 380px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.20), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text-2); font-weight: 500; }
.hero-meta .dot { color: var(--border); }
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-supported);
  margin-right: 8px;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@media (max-width: 720px) {
  .page-hero { padding: 130px 0 36px; }
}

/* ===== Section ===== */
.section { padding: 24px 0 80px; }
.section--tight { padding: 24px 0 32px; }
@media (max-width: 720px) {
  .section { padding: 16px 0 56px; }
}

/* ===== Buttons / inputs ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.btn:hover { border-color: var(--border-hover); color: var(--text); }
.btn--primary {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.btn--primary:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }

.text-input {
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, background .15s;
}
.text-input::placeholder { color: var(--text-3); }
.text-input:focus { border-color: rgba(168, 85, 247, 0.45); background: rgba(168, 85, 247, 0.04); }

/* ===== Filter pills ===== */
.filter-pill {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--border-hover); color: var(--text); }
.filter-pill.active { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ===== Verdict tag pill (used everywhere) ===== */
.v-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.v-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}
.v-pill--supported     { background: rgba(74, 222, 128, 0.12);  border-color: rgba(74, 222, 128, 0.28);  color: #86efac; }
.v-pill--plausible     { background: rgba(96, 165, 250, 0.12);  border-color: rgba(96, 165, 250, 0.28);  color: #93c5fd; }
.v-pill--corroborated  { background: rgba(52, 211, 153, 0.12);  border-color: rgba(52, 211, 153, 0.28);  color: #6ee7b7; }
.v-pill--overstated    { background: rgba(251, 191, 36, 0.14);  border-color: rgba(251, 191, 36, 0.30);  color: #fcd34d; }
.v-pill--disputed      { background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.30); color: #fca5a5; }
.v-pill--not-supported { background: rgba(239, 68, 68, 0.14);   border-color: rgba(239, 68, 68, 0.30);   color: #fca5a5; }
.v-pill--opinion       { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); color: var(--text-2); }
.v-pill--not-verifiable{ background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); color: var(--text-2); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
