/* ============================================================================
   GETNOS · SITE UPGRADE MODULE v1 - styles
   Pairs with site-upgrade.js. All UI elements scoped with gn- prefix to avoid
   collisions with existing page CSS.
============================================================================ */

:root {
  --gn-ink: #0a0a0a;
  --gn-ink-2: #1a1a1a;
  --gn-paper: #fafaf7;
  --gn-lime: #c5ff3d;
  --gn-lime-deep: #8bc81f;
  --gn-lime-glow: rgba(197,255,61,.45);
  --gn-red: #ff3d3d;
  --gn-muted: #6b6b6b;
}

/* ============== TOP SCARCITY BAR ============== */
.gn-scarcity-bar {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 50px 9px 50px;
  background: linear-gradient(90deg, var(--gn-ink) 0%, #161610 50%, var(--gn-ink) 100%);
  color: var(--gn-paper);
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(197,255,61,.25);
  overflow: hidden;
  text-align: center;
}
.gn-scarcity-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 600px 40px at 50% 50%, rgba(197,255,61,.09), transparent 70%);
  pointer-events: none;
}
.gn-sb-pulse {
  width: 8px; height: 8px;
  background: var(--gn-lime);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(197,255,61,.18), 0 0 12px var(--gn-lime-glow);
  animation: gn-pulse 1.4s ease-in-out infinite;
}
@keyframes gn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.18); }
}
.gn-sb-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.gn-sb-text strong { color: var(--gn-lime); font-weight: 700; }
.gn-sb-link {
  color: var(--gn-lime);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(197,255,61,.4);
  margin-left: 8px;
  transition: border-color .15s;
}
.gn-sb-link:hover { border-bottom-color: var(--gn-lime); }
.gn-sb-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: rgba(250,250,247,.55);
  font-size: 22px;
  line-height: 1;
  width: 26px; height: 26px;
  cursor: pointer;
  padding: 0;
}
.gn-sb-close:hover { color: var(--gn-paper); }
@media (max-width: 720px) {
  .gn-scarcity-bar { font-size: 11px; padding: 9px 44px 9px 14px; }
  .gn-sb-text { white-space: normal; line-height: 1.4; }
}

/* ============== USEPROOF FLOATING TICKER (real UseProof.io style) ============== */
.gn-proof-ticker {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 360px;
  max-width: calc(100vw - 40px);
  transform: translate(-130%, 0);
  transition: transform .55s cubic-bezier(.18,.85,.25,1), opacity .35s;
  opacity: 0;
}
.gn-proof-ticker.gn-show {
  transform: translate(0, 0);
  opacity: 1;
}
.gn-pt-card {
  position: relative;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  box-shadow:
    0 14px 40px -8px rgba(10,10,10,.22),
    0 4px 10px -1px rgba(10,10,10,.08),
    0 0 0 1px rgba(10,10,10,.05);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 11px;
}
/* Map thumbnail (inline SVG) — with depth + glow on pin */
.gn-pt-map {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, #e8edf2 0%, #d4dde6 50%, #c0ccd8 100%);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,.6),
    inset 0 -2px 6px rgba(10,10,10,.12),
    0 1px 3px rgba(10,10,10,.08);
}
.gn-pt-map::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 60%);
  pointer-events: none;
}
.gn-pt-map svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
/* Body — 3 stacked lines */
.gn-pt-body {
  flex: 1;
  min-width: 0;
  padding-right: 4px;
}
.gn-pt-line-1 {
  font-size: 13.5px;
  line-height: 1.3;
  color: #111;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-pt-line-1 strong {
  font-weight: 700;
  color: #0a0a0a;
}
.gn-pt-line-2 {
  font-size: 12.5px;
  line-height: 1.35;
  color: #444;
  font-weight: 400;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gn-pt-line-3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.2;
  color: #888;
  font-weight: 400;
}
.gn-pt-time { color: #888; }
.gn-pt-verified-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #888;
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}
.gn-pt-check-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: #4a90e2;
  color: #ffffff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
/* Close button - top right corner, doesn't steal horizontal space */
.gn-pt-close {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  color: #888;
  font-size: 14px;
  line-height: 1;
  width: 22px;
  height: 22px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.gn-pt-close:hover { background: #0a0a0a; color: #fff; transform: scale(1.05); }
@media (max-width: 540px) {
  .gn-proof-ticker { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .gn-pt-line-1, .gn-pt-line-2 { white-space: normal; }
  .gn-pt-line-3 { flex-wrap: wrap; }
}

/* ============== STICKY RIGHT-EDGE CTA ============== */
.gn-sticky-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  z-index: 88;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime) 35%, #a8e02e 100%);
  color: var(--gn-ink);
  padding: 14px 22px 12px;
  border: 3px solid var(--gn-ink);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow:
    -6px 0 0 var(--gn-ink),
    -8px 0 0 -2px var(--gn-ink),
    -14px 0 24px -6px rgba(10,10,10,.45),
    0 0 36px var(--gn-lime-glow);
  font-family: 'Bebas Neue', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  max-width: 220px;
  overflow: hidden;
}
.gn-sticky-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg);
  transition: left .55s;
}
.gn-sticky-cta:hover::before { left: 130%; }
.gn-sticky-cta.gn-show { transform: translate(0, -50%); }
.gn-sticky-cta:hover { transform: translate(-3px, -50%); filter: brightness(1.04); }
.gn-sticky-cta:active { transform: translate(0, -50%) translateY(2px); filter: brightness(.97); }
.gn-sc-arrows {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gn-ink);
  opacity: .7;
}
.gn-sc-label {
  font-size: 22px;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--gn-ink);
}
.gn-sc-sub {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gn-ink);
  opacity: .75;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (max-width: 880px) {
  .gn-sticky-cta {
    top: auto;
    bottom: 96px;
    transform: translateX(110%);
    max-width: 200px;
    padding: 12px 18px 10px;
  }
  .gn-sticky-cta.gn-show { transform: translateX(0); }
  .gn-sticky-cta:hover { transform: translateX(-2px); }
}
@media (max-width: 540px) {
  .gn-sticky-cta {
    bottom: 88px;
    max-width: 180px;
    padding: 10px 16px 8px;
  }
  .gn-sc-label { font-size: 18px; }
  .gn-sc-sub { font-size: 9px; }
}

/* ============== KK-CTA AUTO-PROMOTE ============== */
/* Existing audit links get the KingKong treatment via auto-promote */
a.gn-kk-promoted:not(.btn-massive):not(.cta-primary):not(.plan-cta):not(.nav-cta):not(.dbtn):not(.big-cta) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime) 35%, #a8e02e 100%) !important;
  color: var(--gn-ink) !important;
  border: 3px solid var(--gn-ink) !important;
  padding: 14px 24px 12px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 22px !important;
  letter-spacing: .03em !important;
  text-transform: uppercase;
  box-shadow:
    0 5px 0 var(--gn-ink),
    0 7px 0 -2px var(--gn-ink),
    0 12px 22px -6px rgba(10,10,10,.45),
    0 0 28px var(--gn-lime-glow) !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .12s;
}
a.gn-kk-promoted::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg);
  transition: left .55s;
}
a.gn-kk-promoted:hover::before { left: 130%; }
a.gn-kk-promoted:hover { filter: brightness(1.04); }
a.gn-kk-promoted:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 var(--gn-ink),
    0 4px 12px -4px rgba(10,10,10,.4),
    0 0 20px var(--gn-lime-glow) !important;
}

/* ============== FOOTER LOCK-LINE ============== */
.gn-footer-lock {
  padding: 28px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
  margin-bottom: 28px;
}
.gn-fl-spine {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .005em;
  line-height: 1.05;
  color: var(--gn-paper);
  margin-bottom: 14px;
}
.gn-fl-pill {
  display: inline-block;
  background: var(--gn-lime);
  color: var(--gn-ink);
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 2px solid var(--gn-ink);
  box-shadow: 0 3px 0 var(--gn-ink);
}

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

/* ============================================================================
   v4 ADDITIONS: scroll-shine, email opt-in band, exit popup w/ 2-min timer
============================================================================ */

/* ============== KK SCROLL-SHINE ============== */
/* Triggered once when a button scrolls into view. */
.gn-shine-now::before {
  left: 130% !important;
  transition: left .75s ease-out !important;
}

/* ============== EMAIL OPT-IN BAND (auto-injected before footer) ============== */
.gn-email-band {
  background: var(--gn-paper, #fafaf7);
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid rgba(10,10,10,.06);
  position: relative;
}
.gn-email-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(197,255,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,255,61,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.gn-eb-wrap {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.gn-eb-inner { text-align: center; }
.gn-eb-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gn-ink, #0a0a0a);
  margin-bottom: 18px;
}
.gn-eb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: .005em; line-height: 1.04;
  color: var(--gn-ink, #0a0a0a);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.gn-eb-hi {
  background: var(--gn-lime, #c5ff3d);
  padding: 0 .14em;
  display: inline-block;
  transform: skewX(-4deg);
}
.gn-eb-lead {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55; color: #444;
  max-width: 580px; margin: 0 auto 32px;
}
.gn-eb-lead strong { color: var(--gn-ink, #0a0a0a); font-weight: 700; }
.gn-eb-form {
  display: flex; gap: 10px;
  max-width: 540px; margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.gn-eb-input {
  flex: 1; min-width: 240px;
  padding: 14px 18px;
  border: 2px solid var(--gn-ink, #0a0a0a);
  border-radius: 10px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: box-shadow .15s;
}
.gn-eb-input:focus { box-shadow: 0 0 0 4px rgba(197,255,61,.4); }
.gn-eb-cta {
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime, #c5ff3d) 35%, var(--gn-lime-deep, #a8e02e) 100%);
  color: var(--gn-ink, #0a0a0a);
  border: 2.5px solid var(--gn-ink, #0a0a0a);
  border-radius: 10px;
  padding: 12px 22px 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px; letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 5px 0 var(--gn-ink, #0a0a0a);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .12s;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
}
.gn-eb-cta::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg); transition: left .55s;
}
.gn-eb-cta:hover::before { left: 130%; }
.gn-eb-cta:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 6px 0 var(--gn-ink, #0a0a0a); }
.gn-eb-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gn-ink, #0a0a0a); }
.gn-eb-cta-arr { font-size: 14px; font-family: 'Archivo', sans-serif; font-weight: 900; opacity: .8; }
.gn-eb-trust {
  margin-top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em;
  color: #777;
  display: inline-flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.gn-eb-stars { color: var(--gn-lime-deep, #a8e02e); font-weight: 700; }
.gn-eb-handnote {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--gn-lime-deep, #a8e02e);
  margin-top: 18px;
  display: inline-block;
  transform: rotate(-1.5deg);
  position: relative;
  padding-left: 28px;
}
.gn-eb-handnote::before {
  content: '↳';
  position: absolute; left: 0; top: -2px;
  font-size: 26px;
  color: var(--gn-lime-deep, #a8e02e);
  transform: rotate(-15deg);
}
.gn-eb-success {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: .02em;
  color: var(--gn-ink, #0a0a0a);
  background: var(--gn-lime, #c5ff3d);
  padding: 16px 24px;
  border: 2.5px solid var(--gn-ink, #0a0a0a);
  border-radius: 10px;
  text-align: center;
  width: 100%;
  box-shadow: 0 5px 0 var(--gn-ink, #0a0a0a);
}

/* ============== POPUP CHEATSHEET ============== */
.gn-popup {
  position: fixed; inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.gn-popup.gn-show { pointer-events: auto; opacity: 1; }
.gn-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gn-popup-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%) scale(.92);
  background: #fafaf7;
  border: 3px solid var(--gn-ink, #0a0a0a);
  border-radius: 18px;
  padding: 40px 36px 32px;
  width: 92vw; max-width: 540px;
  max-height: 92vh; overflow-y: auto;
  text-align: center;
  box-shadow: 0 12px 0 var(--gn-ink, #0a0a0a), 0 24px 60px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.gn-popup.gn-show .gn-popup-card { transform: translate(-50%, -50%) scale(1); }
.gn-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--gn-ink, #0a0a0a); color: var(--gn-paper, #fafaf7);
  border: 0; border-radius: 50%;
  font-size: 22px; line-height: 1; font-weight: 700;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  transition: transform .15s, background .15s;
  display: flex; align-items: center; justify-content: center;
}
.gn-popup-close:hover { transform: rotate(90deg); background: #2a2a2a; }
.gn-popup-badge {
  display: inline-block;
  background: rgba(255,61,61,.12);
  color: #d63333;
  border: 1px solid rgba(255,61,61,.35);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.gn-popup-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 5vw, 50px);
  letter-spacing: .005em; line-height: 1;
  color: var(--gn-ink, #0a0a0a);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.gn-popup-em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--gn-lime-deep, #a8e02e);
  font-weight: 400;
}
.gn-popup-hi {
  background: var(--gn-lime, #c5ff3d);
  padding: 0 .14em;
  display: inline-block;
  transform: skewX(-4deg);
}
.gn-popup-lead {
  font-family: 'Archivo', sans-serif;
  font-size: 14.5px; line-height: 1.55;
  color: #444;
  margin-bottom: 22px;
}
.gn-popup-lead strong { color: var(--gn-ink, #0a0a0a); font-weight: 700; }
.gn-popup-timer {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gn-ink, #0a0a0a);
  border: 2px solid var(--gn-ink, #0a0a0a);
  border-radius: 12px;
  padding: 14px 22px;
  margin-bottom: 26px;
  position: relative;
}
.gn-popup-timer::before {
  content: 'COUNTDOWN';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gn-lime, #c5ff3d);
  color: var(--gn-ink, #0a0a0a);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 10px; border-radius: 4px;
  border: 1.5px solid var(--gn-ink, #0a0a0a);
  white-space: nowrap;
}
.gn-popup-timer-block {
  display: flex; flex-direction: column; align-items: center;
}
.gn-popup-timer-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px; line-height: 1;
  color: var(--gn-lime, #c5ff3d);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.gn-popup-timer-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em;
  color: rgba(250,250,247,.55);
  margin-top: 4px;
}
.gn-popup-timer-colon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; color: var(--gn-lime, #c5ff3d);
  margin: 0 4px;
  animation: blink 1s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.gn-popup-timer-done .gn-popup-timer-num,
.gn-popup-timer-done .gn-popup-timer-colon { color: #ff5a5a; }
.gn-popup-form {
  display: flex; flex-direction: column; gap: 12px;
}
.gn-popup-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gn-ink, #0a0a0a);
  border-radius: 10px;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  background: #fff;
  outline: none;
  text-align: center;
  transition: box-shadow .15s;
}
.gn-popup-input:focus { box-shadow: 0 0 0 4px rgba(197,255,61,.4); }
.gn-popup-cta {
  background: linear-gradient(180deg, #d4ff5e 0%, var(--gn-lime, #c5ff3d) 35%, var(--gn-lime-deep, #a8e02e) 100%);
  color: var(--gn-ink, #0a0a0a);
  border: 3px solid var(--gn-ink, #0a0a0a);
  border-radius: 12px;
  padding: 16px 22px 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 6px 0 var(--gn-ink, #0a0a0a), 0 0 32px rgba(197,255,61,.45);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .12s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  line-height: 1.05;
}
.gn-popup-cta::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 70%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-22deg); transition: left .55s;
}
.gn-popup-cta:hover::before { left: 130%; }
.gn-popup-cta:hover { filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 8px 0 var(--gn-ink, #0a0a0a), 0 0 40px rgba(197,255,61,.55); }
.gn-popup-cta:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--gn-ink, #0a0a0a), 0 0 20px rgba(197,255,61,.45); }
.gn-popup-cta-arr {
  font-size: 14px; font-family: 'Archivo', sans-serif;
  font-weight: 900; opacity: .8;
  display: inline-flex; align-items: center;
  margin-bottom: 4px;
}
.gn-popup-cta-main { display: block; }
.gn-popup-cta-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .12em;
  opacity: .68;
  margin-top: 4px;
}
.gn-popup-trust {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .04em;
  color: #777;
}
.gn-popup-stars { color: var(--gn-lime-deep, #a8e02e); font-weight: 700; }
.gn-popup-handnote {
  font-family: 'Caveat', cursive;
  font-size: 17px;
  color: var(--gn-lime-deep, #a8e02e);
  display: inline-block;
  transform: rotate(-2deg);
  margin-left: 4px;
}
.gn-popup-success {
  text-align: center;
  padding: 24px 0;
}
.gn-popup-success-mark {
  font-size: 44px; color: var(--gn-lime-deep, #a8e02e);
  margin-bottom: 12px;
  font-family: 'Archivo', sans-serif;
}
.gn-popup-success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; line-height: 1;
  color: var(--gn-ink, #0a0a0a);
  margin-bottom: 10px;
}
.gn-popup-success-sub {
  font-family: 'Archivo', sans-serif;
  font-size: 14.5px; color: #555;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .gn-popup-card { padding: 32px 22px 26px; }
  .gn-popup-timer-num { font-size: 36px; }
  .gn-popup-cta { font-size: 19px; padding: 14px 16px 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gn-popup-card, .gn-popup-cta, .gn-popup-timer-colon { transition: none !important; animation: none !important; }
}

/* ============== SCROLL-HIGHLIGHT ANIMATION FOR LIME ============== */
/* Lime highlights start with reduced opacity and "fill in" when scrolled into view */
.hi {
  background: linear-gradient(120deg, var(--lime) 0%, var(--lime) 50%, transparent 50%);
  background-size: 220% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  transition: background-position .9s cubic-bezier(.22,1,.36,1);
  padding: 0 .14em;
  display: inline-block;
  transform: skewX(-3deg);
}
.hi.hi-revealed {
  background-position: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .hi {
    background: var(--lime);
    background-size: 100% 100%;
    background-position: 0 0;
  }
}

/* serif-acc accents pulse when scrolled into view */
em.serif-acc.acc-revealed {
  animation: acc-glow 1.4s ease-out;
}
@keyframes acc-glow {
  0% { text-shadow: 0 0 0 transparent; }
  40% { text-shadow: 0 0 28px rgba(197,255,61,.55), 0 0 12px rgba(197,255,61,.35); }
  100% { text-shadow: 0 0 0 transparent; }
}

/* ============== DAY/NIGHT THEME (toggle on <html data-theme="day">) ============== */
html[data-theme="day"] {
  --ink: #1a1a14;
  --ink-2: #2a2a20;
  --ink-3: #3a3a30;
  --paper: #fffcf2;
  --paper-2: #f6f1de;
  --line: rgba(26,26,20,.12);
  --lime: #c5ff3d;
  --lime-deep: #5a8c00;
}
html[data-theme="day"] body { background: var(--paper); color: var(--ink); }
html[data-theme="day"] .topnav { background: rgba(255,252,242,.94); }

/* Hero in day mode - readable text */
html[data-theme="day"] .hero {
  background: linear-gradient(180deg, #fffcf2 0%, #f6f1de 100%);
  color: var(--ink);
}
html[data-theme="day"] .hero h1 { color: var(--ink); }
html[data-theme="day"] .hero h1 em.serif-acc { color: #5a8c00; }
html[data-theme="day"] .hero h1 .hi { color: var(--ink); }
html[data-theme="day"] .hero-lead {
  color: var(--ink) !important;
  opacity: .82;
}
html[data-theme="day"] .hero-lead strong { color: var(--ink); }
html[data-theme="day"] .hero-pill {
  background: rgba(197,255,61,.22);
  color: #4a7800;
  border-color: rgba(154,208,38,.55);
}
html[data-theme="day"] .hero-stat .num { color: #4a7800; }
html[data-theme="day"] .hero-stat .lbl { color: rgba(26,26,20,.7); }
html[data-theme="day"] .hero-stats { border-top-color: rgba(26,26,20,.18); }
html[data-theme="day"] .hud-tag { color: rgba(26,26,20,.7); border-color: rgba(26,26,20,.3); }
html[data-theme="day"] .hud-bracket { stroke: rgba(26,26,20,.4); }
html[data-theme="day"] .hero-bg .layer-grid {
  background-image:
    linear-gradient(rgba(26,26,20,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,20,.07) 1px, transparent 1px);
}
html[data-theme="day"] .hero-bg .layer-topo { opacity: .25; }

/* Dark sections in day mode get a slightly warmer background, text stays readable */
html[data-theme="day"] .case-studies {
  background: linear-gradient(180deg, #f6f1de 0%, #ede5c8 100%);
  color: var(--ink);
}
html[data-theme="day"] .case-studies-head h2 { color: var(--ink); }
html[data-theme="day"] .case-studies-head h2 em.serif-acc { color: #5a8c00; }
html[data-theme="day"] .case-studies-head .eyebrow-pill {
  background: var(--ink); color: var(--lime); border-color: var(--ink);
}
html[data-theme="day"] .video-tests {
  background: linear-gradient(180deg, #ede5c8 0%, #f6f1de 100%);
  color: var(--ink);
}
html[data-theme="day"] .video-tests-mark { color: rgba(26,26,20,.55); }
html[data-theme="day"] .video-tests-quote { color: var(--ink); }
html[data-theme="day"] .video-tests-attr { color: rgba(26,26,20,.7); }
html[data-theme="day"] .video-tests-attr strong { color: var(--ink); }
html[data-theme="day"] .vt-thumb { background: var(--paper); border-color: rgba(26,26,20,.15); }
html[data-theme="day"] .vt-thumb-name { color: rgba(26,26,20,.75); }
html[data-theme="day"] .damn-button { background: linear-gradient(180deg, #1a1a14 0%, #0f0f0a 100%); }
html[data-theme="day"] .footer { background: var(--ink-2); }
html[data-theme="day"] .funnel-unlock {
  background: linear-gradient(180deg, #1a1a14 0%, #0f0f0a 100%);
}
html[data-theme="day"] .trust-solo { background: var(--ink); }

/* In day mode, dark CTA repeat sections get warmer ink + readable text */
html[data-theme="day"] section.dark { background: var(--ink) !important; color: var(--paper); }
html[data-theme="day"] section.dark h2 { color: var(--paper); }
html[data-theme="day"] section.dark .lead { color: rgba(250,250,247,.78) !important; }

/* Light sections in day mode - just a touch warmer */
html[data-theme="day"] .compare { background: var(--paper); }
html[data-theme="day"] .compare-head h2 { color: var(--ink); }
html[data-theme="day"] .compare-col-other { background: rgba(26,26,20,.04); border-color: rgba(26,26,20,.15); }
html[data-theme="day"] .compare-col-us { background: var(--ink); }
html[data-theme="day"] .compare-vs { color: rgba(26,26,20,.4); }
html[data-theme="day"] .diagnosis { background: var(--paper); }
html[data-theme="day"] .system { background: var(--paper-2); }
html[data-theme="day"] .simple-math { background: var(--paper); }
html[data-theme="day"] .press-strip { background: var(--paper-2); }

/* Topnav nav-pill stays high-contrast in day mode */
html[data-theme="day"] .nav-pill {
  background: rgba(154,208,38,.22);
  border-color: rgba(74,120,0,.55);
  color: #2a3000;
}
html[data-theme="day"] .nav-pill .pulse {
  background: #4a7800;
  box-shadow: 0 0 0 4px rgba(74,120,0,.25);
}

/* ============== SOCIAL ICONS (footer) ============== */
.gn-socials {
  display: inline-flex; gap: 10px; align-items: center;
  margin-top: 5px;
  flex-wrap: wrap;
}
.gn-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(250,250,247,.05);
  border: 1.5px solid rgba(250,250,247,.12);
  color: rgba(250,250,247,.7);
  transition: all .15s;
}
.gn-socials a:hover {
  background: var(--gn-lime, #c5ff3d);
  color: var(--gn-ink, #0a0a0a);
  border-color: var(--gn-lime, #c5ff3d);
  transform: translateY(-2px);
}
.gn-socials svg { width: 17px; height: 17px; }
.gn-socials-label {
  display: block;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gn-lime, #c5ff3d);
  margin-top: 8px;
  margin-bottom: 0px;
}
.gn-socials-label::before { content: '◆ '; }

/* Country selector when placed in ft-bottom (right corner) */
.ft-bottom .gn-country-selector {
  margin: 0;
  margin-left: auto;
}

/* Move geo line content - drop the inline dropdown styling */
.gn-geo-line .gn-country-selector { display: none; }
.gn-geo-line {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250,250,247,.55);
  padding: 18px 24px;
  text-align: center;
  border-top: 1px solid rgba(197,255,61,.12);
  border-bottom: 1px solid rgba(197,255,61,.12);
  margin-bottom: 24px;
  background: rgba(197,255,61,.03);
  letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gn-geo-line .gn-geo-mark {
  color: var(--gn-lime, #c5ff3d);
  font-size: 11px;
}
.gn-geo-line .gn-geo-city,
.gn-geo-line .gn-geo-country {
  color: var(--gn-lime, #c5ff3d);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
  font-size: 12px;
  text-transform: uppercase;
}
.gn-geo-line .gn-geo-tail {
  color: rgba(250,250,247,.7);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  margin-left: 4px;
}
