/**
 * WarnIQ Brand System — "Receipts, not rumors"
 * Loaded globally (public + gated pages) after variables.css.
 * Every class is prefixed `wq-` so it never collides with legacy CSS.
 * Reference: docs/STYLE_GUIDE.md
 * Created: 2026-10-25
 */

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* Ground */
  --wq-ink: #07070a;                 /* darkest ground, hero + footer */
  --wq-bg: var(--color-bg-primary, #08090d);
  --wq-surface: #121217;             /* cards */
  --wq-surface-2: #1a1a22;           /* raised cards, phone bezel */
  --wq-line: rgba(255, 255, 255, 0.09);
  --wq-line-strong: rgba(255, 255, 255, 0.22);

  /* Text */
  --wq-text: #f4f4f5;
  --wq-text-2: #c4c4cc;
  --wq-text-3: #a1a1aa;
  --wq-text-4: #71717a;

  /* Accents — cyan is the brand, pink = warning/flag, lime = clear/success */
  --wq-cyan: #22d3ee;
  --wq-cyan-hover: #67e8f9;
  --wq-cyan-rgb: 34, 211, 238;
  --wq-pink: #ff4d8d;
  --wq-pink-rgb: 255, 77, 141;
  --wq-lime: #c6ff3d;
  --wq-lime-ink: #2a2f12;            /* body text on lime */
  --wq-lime-rgb: 198, 255, 61;

  /* Type */
  --wq-font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --wq-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Type scale (clamp = fluid between phone and desktop) */
  --wq-fs-hero: clamp(3.25rem, 7vw, 6rem);       /* 52–96px */
  --wq-fs-h2: clamp(2.25rem, 4.6vw, 4rem);       /* 36–64px */
  --wq-fs-h3: clamp(1.375rem, 2vw, 1.625rem);    /* 22–26px */
  --wq-fs-lead: clamp(1.0625rem, 1.5vw, 1.25rem);/* 17–20px */
  --wq-fs-body: 1rem;
  --wq-fs-small: 0.8125rem;

  /* Shape + motion */
  --wq-radius-sm: 10px;
  --wq-radius: 16px;
  --wq-radius-lg: 20px;
  --wq-radius-pill: 999px;
  --wq-shadow-sticker: 0 6px 0 rgba(0, 0, 0, 0.45);
  --wq-shadow-float: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --wq-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Spacing rhythm */
  --wq-section: clamp(4rem, 8vw, 6rem);
  --wq-gutter: 24px;
  --wq-wrap: 1200px;
}

/* =========================================================
   2. LAYOUT PRIMITIVES
   ========================================================= */
.wq-wrap {
  max-width: var(--wq-wrap);
  margin: 0 auto;
  padding-left: var(--wq-gutter);
  padding-right: var(--wq-gutter);
}
.wq-section { padding-top: var(--wq-section); padding-bottom: var(--wq-section); }
.wq-section--tight { padding-top: calc(var(--wq-section) / 2); padding-bottom: calc(var(--wq-section) / 2); }
.wq-rule { border: 0; border-top: 1px solid var(--wq-line); margin: 0; }
.wq-stack { display: flex; flex-direction: column; gap: 1rem; }
.wq-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
.wq-display {
  font-family: var(--wq-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--wq-text);
  margin: 0;
}
.wq-display--hero { font-size: var(--wq-fs-hero); }
.wq-display--h2 { font-size: var(--wq-fs-h2); letter-spacing: -0.025em; line-height: 1.0; }
.wq-display--h3 { font-size: var(--wq-fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.wq-display--num { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.wq-lead { font-size: var(--wq-fs-lead); line-height: 1.5; color: var(--wq-text-2); margin: 0; }
.wq-body { font-size: var(--wq-fs-body); line-height: 1.55; color: var(--wq-text-3); margin: 0; }
.wq-kicker {
  font-family: var(--wq-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wq-text-4);
}
.wq-kicker--cyan { color: var(--wq-cyan); }
.wq-em-pink { font-style: normal; color: var(--wq-pink); }
.wq-em-cyan { font-style: normal; color: var(--wq-cyan); }
.wq-em-lime { font-style: normal; color: var(--wq-lime); }

/* Giant muted wordmark (footer / closing band) */
.wq-wordmark {
  font-family: var(--wq-font-display);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  font-size: clamp(96px, 22vw, 320px);
  color: #17171d;
  user-select: none;
  display: block;
  text-align: center;
}

/* =========================================================
   4. BUTTONS
   ========================================================= */
.wq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--wq-radius-pill);
  font-family: var(--wq-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--wq-ease), color 0.18s var(--wq-ease), border-color 0.18s var(--wq-ease), transform 0.18s var(--wq-ease);
  white-space: nowrap;
}
.wq-btn:active { transform: translateY(1px); }
.wq-btn--primary { background: var(--wq-cyan); color: var(--wq-ink); }
.wq-btn--primary:hover { background: var(--wq-cyan-hover); color: var(--wq-ink); }
.wq-btn--ghost { background: transparent; color: var(--wq-text); border-color: var(--wq-line-strong); }
.wq-btn--ghost:hover { border-color: #fff; color: #fff; }
.wq-btn--ink { background: var(--wq-ink); color: var(--wq-lime); }
.wq-btn--ink:hover { background: #000; color: #fff; }
.wq-btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.wq-btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.125rem; }
.wq-btn--block { width: 100%; }
.wq-btn svg { flex-shrink: 0; }

/* =========================================================
   5. STICKERS, PILLS, NOTIFICATION CARDS
   ========================================================= */
.wq-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--wq-radius-sm);
  font-family: var(--wq-font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  border: 3px solid #fff;
  box-shadow: var(--wq-shadow-sticker);
  white-space: nowrap;
}
.wq-sticker--cyan { background: var(--wq-cyan); color: var(--wq-ink); }
.wq-sticker--pink { background: var(--wq-pink); color: #fff; }
.wq-sticker--lime { background: var(--wq-lime); color: var(--wq-ink); }
.wq-sticker--white { background: #fff; color: var(--wq-ink); }
.wq-tilt-l { transform: rotate(-3deg); }
.wq-tilt-r { transform: rotate(3deg); }

.wq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--wq-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: #d4d4d8;
  line-height: 1.2;
}
.wq-pill svg { flex-shrink: 0; }

.wq-notif {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wq-radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--wq-text);
}
.wq-notif small { display: block; color: var(--wq-text-3); font-size: 0.75rem; margin-top: 2px; }
.wq-notif__icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.wq-notif__icon--cyan { background: var(--wq-cyan); }
.wq-notif__icon--pink { background: var(--wq-pink); }
.wq-notif__icon--lime { background: var(--wq-lime); }

/* =========================================================
   6. CARDS + BENTO
   ========================================================= */
.wq-card {
  background: var(--wq-surface);
  border: 1px solid var(--wq-line);
  border-radius: var(--wq-radius-lg);
  color: var(--wq-text);
}
.wq-card--accent { border-color: var(--wq-cyan); box-shadow: 0 0 0 4px rgba(var(--wq-cyan-rgb), 0.12); }
.wq-card--dashed { border-style: dashed; border-color: var(--wq-line-strong); }
.wq-card--lime { background: var(--wq-lime); border-color: var(--wq-lime); color: var(--wq-ink); }
.wq-card--lime .wq-display, .wq-card--lime .wq-display--h3 { color: var(--wq-ink); }
.wq-card--lime .wq-body { color: var(--wq-lime-ink); }
.wq-card--glow { background: linear-gradient(135deg, #121217 0%, #0f1a1d 100%); }
.wq-card--plum { background: linear-gradient(120deg, #121217, #1a1222); }

.wq-feat { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.wq-feat > .wq-sticker { align-self: flex-start; }
.wq-feat__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.wq-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wq-bento__span2 { grid-column: span 2; }
.wq-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Check / cross lists */
.wq-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 1rem; line-height: 1.45; }
.wq-list li { display: flex; gap: 10px; }
.wq-list__x { color: var(--wq-pink); font-weight: 700; }
.wq-list__ok { color: var(--wq-lime); font-weight: 700; }
.wq-list--muted { color: var(--wq-text-3); }

/* Result rows (used inside the phone + report summaries) */
.wq-res {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.wq-res b { font-size: 0.8125rem; }
.wq-res span { font-size: 0.75rem; color: var(--wq-text-3); }
.wq-ok { color: var(--wq-lime); }
.wq-warn { color: var(--wq-pink); }

/* Price rows */
.wq-price-row {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}
.wq-price-row--featured { border: 1px solid var(--wq-cyan); }

/* =========================================================
   7. PHONE MOCKUP
   ========================================================= */
.wq-phone {
  width: 300px;
  height: 620px;
  border-radius: 44px;
  background: #0d0d12;
  border: 8px solid var(--wq-surface-2);
  box-shadow: var(--wq-shadow-float);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.wq-phone__screen { padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }

/* =========================================================
   8. HERO STAGE (phone + floating cards + stickers)
   ========================================================= */
.wq-hero { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 2rem; }
.wq-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wq-hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.wq-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.wq-hero__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.wq-stage { position: relative; min-height: 680px; display: flex; align-items: center; justify-content: center; }
.wq-stage__float { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.wq-stage__float--l { left: -56px; top: 200px; width: 230px; transform: rotate(-4deg); }
.wq-stage__float--r { right: -48px; bottom: 70px; width: 230px; transform: rotate(3deg); }
.wq-stage__sticker { position: absolute; z-index: 3; }

/* Ticker strip */
.wq-ticker {
  border-top: 1px solid var(--wq-line);
  border-bottom: 1px solid var(--wq-line);
  padding: 16px 0;
}
.wq-ticker__inner {
  display: flex; gap: 36px; flex-wrap: wrap; justify-content: center;
  font-family: var(--wq-font-display); font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.02em; color: var(--wq-text-3); text-transform: uppercase;
}
.wq-ticker__dot { color: var(--wq-cyan); }

/* Closing band */
.wq-close { position: relative; overflow: hidden; padding: 80px 0 0; border-top: 1px solid var(--wq-line); }
.wq-close__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.wq-close__mark { display: flex; justify-content: center; margin-top: 40px; overflow: hidden; }

/* =========================================================
   9. RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .wq-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .wq-bento, .wq-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .wq-bento__span2 { grid-column: span 1; }
  .wq-stage { min-height: 0; flex-direction: column; gap: 18px; padding-top: 8px; }
  .wq-stage__float { position: static; transform: none; width: min(100%, 320px); margin: 0 auto; }
  .wq-stage__sticker { position: static; }
  .wq-stage__stickers { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .wq-phone { width: min(100%, 300px); }
}
@media (min-width: 901px) {
  .wq-stage__stickers { display: contents; }
}
@media (max-width: 600px) {
  .wq-ticker__dot { display: none; }
  .wq-ticker__inner { gap: 14px 22px; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wq-btn { transition: none; }
}

/* =========================================================
   10. LEGACY CLASS ADOPTION
   brand.css is loaded LAST in header.php so these rules restyle the
   shared classes every existing page already uses (page-hero, app-page,
   auth, cards, buttons, nav, footer) without editing each page.
   New pages should use the wq-* classes above directly.
   ========================================================= */

/* --- Headlines → display face --- */
.page-hero-title,
.app-page-title,
.auth-headline,
.landing-hero-headline,
.page-title,
.share-page-title,
.person-name,
.page-header h1,
main h1.text-3xl {
  font-family: var(--wq-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--wq-text);
}
.page-hero-title,
.auth-headline,
.landing-hero-headline { font-size: clamp(2.5rem, 5vw, 4rem); }
.app-page-title { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Gradient-washed words → one solid accent word */
.accent-gradient,
.page-hero .accent-gradient,
.landing-hero-headline .accent-gradient,
.auth-headline .accent-gradient {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: var(--wq-cyan);
}

/* Section / card titles */
.app-card-title,
.category-title,
.policy-section-title,
.privacy-section-title,
.terms-section-title,
.landing-section-heading,
.app-card h2,
.card h2,
.card h3 {
  font-family: var(--wq-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.landing-section-heading { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
.app-metric-value { font-family: var(--wq-font-display); font-weight: 800; letter-spacing: -0.02em; }

/* --- Eyebrows → stickers --- */
.page-hero-eyebrow,
.app-page-tag,
.auth-badge,
.landing-hero-badge,
.landing-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--wq-radius-sm);
  font-family: var(--wq-font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  background: #fff;
  color: var(--wq-ink);
  border: 3px solid #fff;
  box-shadow: var(--wq-shadow-sticker);
  transform: rotate(-2deg);
  width: auto;
}
.app-page-tag { background: var(--wq-cyan); margin-bottom: 0.75rem; }
.auth-badge { background: var(--wq-lime); }
.landing-hero-badge { background: var(--wq-lime); }
.landing-section-tag { background: var(--wq-cyan); margin-bottom: 0.9rem; }
.page-hero-eyebrow { margin-bottom: 1.5rem; }
.auth-badge-dot,
.landing-hero-badge-dot { display: none; }

/* --- Buttons → pills --- */
.btn,
.app-btn-primary,
.app-btn-secondary,
.landing-btn-primary,
.landing-btn-secondary,
.auth-btn,
.landing-price-btn,
.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--wq-radius-pill);
  font-family: var(--wq-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.18s var(--wq-ease), color 0.18s var(--wq-ease), border-color 0.18s var(--wq-ease);
}
.btn:hover, .app-btn-primary:hover, .landing-btn-primary:hover, .auth-btn:hover { transform: none; box-shadow: none; }
.btn-large, .landing-btn-primary, .auth-btn { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.8125rem; }
.btn-accent,
.app-btn-primary,
.landing-btn-primary,
.auth-btn,
.landing-price-btn.filled,
.btn-primary-action { background: var(--wq-cyan); color: var(--wq-ink); border: 1.5px solid var(--wq-cyan); }
.btn-accent:hover,
.app-btn-primary:hover,
.landing-btn-primary:hover,
.auth-btn:hover,
.landing-price-btn.filled:hover,
.btn-primary-action:hover { background: var(--wq-cyan-hover); border-color: var(--wq-cyan-hover); color: var(--wq-ink); }
.btn-primary,
.btn-ghost,
.btn-secondary,
.app-btn-secondary,
.landing-btn-secondary,
.landing-price-btn.outline,
.btn-outline { background: transparent; color: var(--wq-text); border: 1.5px solid var(--wq-line-strong); }
.btn-primary:hover,
.btn-ghost:hover,
.btn-secondary:hover,
.app-btn-secondary:hover,
.landing-btn-secondary:hover,
.landing-price-btn.outline:hover,
.btn-outline:hover { border-color: #fff; color: #fff; background: transparent; }
.header .btn-ghost,
.header .btn-accent { border-radius: var(--wq-radius-pill); min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.header .btn-ghost { border: 1.5px solid var(--wq-line-strong); color: var(--wq-text); }
.header .btn-ghost:hover { border-color: #fff; background: transparent; }
.header .btn-accent:hover { box-shadow: none; }

/* --- Cards → brand surfaces --- */
.card,
.app-card,
.app-metric,
.auth-frame,
.landing-price-card,
.use-case-card-enhanced,
.faq-item {
  background: var(--wq-surface);
  border: 1px solid var(--wq-line);
  border-radius: var(--wq-radius-lg);
  box-shadow: none;
}
.card:hover, .app-card:hover, .app-metric:hover { border-color: var(--wq-line-strong); box-shadow: none; }
.card-header { background: transparent; border-bottom: 1px solid var(--wq-line); }

/* --- Nav + footer --- */
.logo {
  font-family: var(--wq-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.nav-link {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}
.footer-logo {
  font-family: var(--wq-font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.footer-tagline, .footer-tagline strong {
  font-family: var(--wq-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--wq-lime);
}
.footer-nav-heading { font-family: var(--wq-font-display); font-weight: 700; letter-spacing: 0.04em; }

/* --- Page hero glow: keep it, but calmer --- */
.page-hero::before, .auth-hero::before { opacity: 0.6; }

/* Unclassed page h1s (search, report, dispute, moderation) */
main h1:not([class]),
.search-head h1,
.rf-wrap h1,
.rfa-wrap h1,
.rfd-wrap h1 {
  font-family: var(--wq-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
}

/* =========================================================
   11. VIRAL HERO (2026-10-27)
   Rotating hook headline, giant "?" backdrop, number box, live pulse.
   ========================================================= */
.wq-hero { position: relative; overflow: hidden; }
.wq-hero::before {
  content: "?";
  position: absolute; right: -2vw; top: -6vw; z-index: 0;
  font-family: var(--wq-font-display); font-weight: 800; line-height: 1;
  font-size: clamp(18rem, 42vw, 40rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(var(--wq-pink-rgb), 0.35);
  background: radial-gradient(closest-side, rgba(var(--wq-pink-rgb), 0.22), rgba(var(--wq-pink-rgb), 0) 70%);
  -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none;
}
.wq-hero__grid { position: relative; z-index: 1; }
.wq-hero__copy { gap: 22px; }

.wq-hook { display: flex; flex-direction: column; gap: 18px; min-height: 9.5em; transition: opacity .26s ease, transform .26s ease; }
.wq-hook.is-flipping { opacity: 0; transform: translateY(10px) skewY(-1deg); }
.wq-hook__line { text-wrap: balance; }
.wq-hook__hot {
  color: var(--wq-pink);
  background: linear-gradient(90deg, var(--wq-pink), #ff8ab3 60%, var(--wq-pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.wq-sticker--pulse { animation: wq-sticker-pulse 2.4s ease-in-out infinite; }
@keyframes wq-sticker-pulse { 0%,100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.06); } }

.wq-numbox {
  display: flex; align-items: stretch; width: min(100%, 520px);
  background: #fff; border-radius: var(--wq-radius); padding: 6px;
  box-shadow: 0 10px 0 rgba(0,0,0,.45), 0 0 0 3px #fff;
}
.wq-numbox__flag { display: flex; align-items: center; padding: 0 10px 0 14px; color: var(--wq-ink); font-weight: 700; font-size: 0.9375rem; white-space: nowrap; border-right: 2px solid rgba(0,0,0,.1); }
.wq-numbox input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--wq-font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.01em;
  color: var(--wq-ink); padding: 0 12px;
}
.wq-numbox input::placeholder { color: rgba(0,0,0,.35); font-weight: 600; }
.wq-numbox input.is-bad { animation: wq-shake .4s ease; }
@keyframes wq-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.wq-numbox__btn { flex: 0 0 auto; min-height: 54px; }
.wq-hero__ctas--quiet { align-items: center; gap: 18px; }
.wq-numbox__hint { font-family: var(--wq-font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--wq-text-3); }
.wq-link-underline { color: var(--wq-text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--wq-cyan); }
.wq-link-underline:hover { color: var(--wq-cyan); }

/* Live pulse marquee */
.wq-pulse { padding: 0; overflow: hidden; background: var(--wq-ink); }
.wq-pulse__track { display: flex; width: max-content; animation: wq-marquee 70s linear infinite; }
.wq-pulse:hover .wq-pulse__track { animation-play-state: paused; }
.wq-pulse__run { display: flex; }
.wq-pulse__item {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 16px 28px;
  font-family: var(--wq-font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: .01em;
  color: var(--wq-text-3); white-space: nowrap; border-right: 1px solid var(--wq-line);
}
.wq-pulse__item b { color: var(--wq-text); font-weight: 800; }
.wq-pulse__item small { font-size: 0.75rem; color: var(--wq-text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.wq-pulse__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wq-lime); align-self: center; box-shadow: 0 0 0 0 rgba(var(--wq-lime-rgb), .6); animation: wq-ping 1.8s ease-out infinite; }
@keyframes wq-ping { 0% { box-shadow: 0 0 0 0 rgba(var(--wq-lime-rgb), .6); } 100% { box-shadow: 0 0 0 10px rgba(var(--wq-lime-rgb), 0); } }
@keyframes wq-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .wq-hero::before { font-size: 16rem; right: -8vw; top: -3rem; }
  .wq-hook { min-height: 0; }
}
@media (max-width: 600px) {
  .wq-numbox { flex-wrap: wrap; gap: 6px; }
  .wq-numbox__flag { border: 0; padding-left: 10px; }
  .wq-numbox input { font-size: 1.125rem; flex-basis: 60%; }
  .wq-numbox__btn { flex: 1 1 100%; }
  .wq-hero__ctas--quiet { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wq-pulse__track, .wq-sticker--pulse, .wq-pulse__dot { animation: none; }
  .wq-hook { transition: none; }
}

/* Red Flag of the Week card */
.wq-rfw { padding-top: 72px; padding-bottom: 24px; }
.wq-rfw__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wq-rfw__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.wq-rfw__card {
  margin: 0; justify-self: center; width: min(100%, 440px);
  background: var(--wq-surface); border: 3px solid #fff; border-radius: var(--wq-radius-lg);
  box-shadow: 0 12px 0 rgba(0,0,0,.45); transform: rotate(-1.5deg); overflow: hidden;
}
.wq-rfw__bar { display: flex; justify-content: space-between; padding: 10px 16px; background: var(--wq-pink); color: #fff; font-family: var(--wq-font-display); font-weight: 800; font-size: 0.8125rem; letter-spacing: .04em; text-transform: uppercase; }
.wq-rfw__body { padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.wq-rfw__num { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 1.5rem; font-weight: 700; color: var(--wq-text); letter-spacing: .02em; }
.wq-rfw__cat { align-self: flex-start; font-family: var(--wq-font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wq-pink); border: 2px solid var(--wq-pink); border-radius: var(--wq-radius-pill); padding: 4px 10px; }
.wq-rfw__quote { margin: 4px 0 0; font-family: var(--wq-font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--wq-text); }
.wq-rfw__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.wq-rfw__tag { font-family: var(--wq-font-display); font-weight: 800; font-size: 0.8125rem; color: var(--wq-cyan); }
.wq-rfw__share { display: flex; align-items: center; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--wq-line); }
.wq-rfw__sharehint { font-size: 0.75rem; color: var(--wq-text-4); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
@media (max-width: 900px) {
  .wq-rfw { padding-top: 48px; }
  .wq-rfw__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .wq-rfw__card { transform: none; }
}
