/* ==========================================================================
   RADAR — Component Styles (Funded & HelpPad Architecture)
   Strict adherence to DESIGN_RULES.md:
   - NO emojis
   - NO pulsating dots on static statuses
   - NO nested cards
   - NO border + heavy shadow combo
   - Clean, compact, expensive editorial aesthetic
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 32px;
}

/* Floating 3D decorative shapes (HelpPad style) */
.cube {
  position: absolute;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(217, 250, 69, 0.35), rgba(217, 250, 69, 0.06));
  border: 1px solid var(--lime-line);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.3), 0 8px 18px rgba(0, 0, 0, 0.4);
  animation: spinCube 12s ease-in-out infinite;
  pointer-events: none;
}
.q1 { left: 5%; top: 14%; }
.q2 { right: 8%; top: 38%; width: 16px; height: 16px; animation-delay: -4s; }
.q3 { left: 48%; top: 4%; width: 14px; height: 14px; animation-delay: -8s; }

.reticle-decor {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  opacity: 0.22;
  animation: floatReticle 8s ease-in-out infinite;
  pointer-events: none;
}
.r1 { right: 3%; top: 8%; }
.r2 { left: 2%; bottom: 10%; animation-delay: -4s; }

@keyframes spinCube {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(180deg); }
}
@keyframes floatReticle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.08); }
}

/* Live Community Audits Ticker (Funded style) */
.tick {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-card);
  padding: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tick-in {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: mq 42s linear infinite;
}
.tick:hover .tick-in {
  animation-play-state: paused;
}
@keyframes mq {
  to { transform: translateX(-50%); }
}
.tk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  text-decoration: none;
  font: 500 12.5px var(--fm);
  white-space: nowrap;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.tk:hover {
  border-color: var(--lime);
}
.tk .tk-tag {
  color: var(--lime);
  font-weight: 700;
}
.tk .tk-res {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.tk .tk-res.ok { background: var(--lime-bg); color: var(--lime); }
.tk .tk-res.bad { background: var(--bad-bg); color: var(--bad); }
.tk .tk-res.info { background: rgba(244, 241, 233, 0.08); color: var(--ink2); }

/* Hero (Exact HelpPad Architecture & Depth) */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 44px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(0, 560px) 1fr;
  gap: 28px;
  align-items: center;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-g {
  position: relative;
  width: min(220px, 56vw);
  margin-bottom: 16px;
}

.logo-g::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 250, 69, 0.45), rgba(217, 250, 69, 0) 70%);
  animation: glow 3.2s ease-in-out infinite;
}

.logo-g img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.65));
}

@keyframes glow {
  50% { transform: scale(1.16); opacity: 0.85; }
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 10px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero h1 mark {
  background: linear-gradient(transparent 58%, var(--lime-line) 58%);
  color: var(--lime);
  padding: 0 0.06em;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink2);
  max-width: 32em;
  margin-bottom: 24px;
}

.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero side cards (Live tasks / verified indicators) */
.side {
  display: grid;
  gap: 18px;
}
.side.l { justify-items: end; }
.side.r { justify-items: start; }

.hc {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 300px);
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: left;
  cursor: pointer;
  animation: bob 5s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}

.hc:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
  box-shadow: 0 16px 40px rgba(217, 250, 69, 0.12);
}

.side.l .hc:nth-child(2), .side.r .hc:nth-child(2) { --bd: -2.5s; }
.side.l .hc:nth-child(2) { margin-right: 36px; }
.side.r .hc:nth-child(2) { margin-left: 36px; }

@keyframes bob { 50% { transform: translateY(-8px); } }

.hc .ic {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-bg);
  color: var(--lime);
}

.hc .ic svg { width: 22px; height: 22px; }

.hc .tx {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hc b {
  font: 600 17px/1.15 var(--fd);
  color: var(--ink);
}

.hc .pr {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--lime);
  color: #0C0E0D;
  font: 700 12.5px var(--fm);
}

/* Background Soft Neon Blobs */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 250, 69, 0.1), transparent 70%);
  filter: blur(45px);
  pointer-events: none;
}
.b1 { width: 440px; height: 440px; left: -140px; top: -100px; }
.b2 { width: 480px; height: 480px; right: -160px; bottom: -180px; }

/* Quick Flow Ribbon (HelpPad style) */
.flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 14px var(--ft);
  color: var(--ink);
}

.flow .fn {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: #0C0E0D;
  font: 700 12px var(--fm);
}

.flow .arw {
  width: 12px;
  height: 2px;
  background: var(--line-strong);
  position: relative;
}

.flow .arw::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}

/* Responsive adjustments for 3-column Hero (HelpPad standard) */
@media (max-width: 820px) {
  .hero { padding: 32px 0 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .center { grid-column: 1 / -1; order: -1; }
  .logo-g { width: 140px; }
  .hero h1 { font-size: 38px; }
  .side { gap: 12px; }
  .side.l, .side.r { justify-items: stretch; }
  .side.l .hc:nth-child(2), .side.r .hc:nth-child(2) { margin: 0; }
  .hc {
    width: 100%;
    min-height: 74px;
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hc .ic { width: 36px; height: 36px; flex-basis: 36px; }
  .hc b { font-size: 15px; }
  .cube { display: none; }
  .flow { border-radius: var(--r); }
  .flow .arw { display: none; }
}

/* ==========================================================================
   Interactive X Inquiry & Reply Widget (Hero Right)
   ========================================================================== */
.x-thread-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease-out, border-color 0.2s;
}

.x-thread-card:hover {
  border-color: var(--line-strong);
}

.x-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.x-thread-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 12px var(--fm);
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.x-prompts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.x-prompt-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font: 600 12px var(--ft);
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.15s;
}

.x-prompt-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.x-prompt-btn.active {
  background: var(--lime-bg);
  border-color: var(--lime-line);
  color: var(--lime);
}

.tweet-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tweet-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--lime);
}

.tweet-avatar.radar-av {
  background: transparent;
  border: none;
}

.tweet-avatar.radar-av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.tweet-bubble {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tweet-bubble.radar-reply {
  background: rgba(217, 250, 69, 0.04);
  border-color: var(--lime-line);
}

.tweet-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.tweet-user b {
  color: var(--ink);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--lime);
  color: #0C0E0D;
  font: 700 10.5px var(--fm);
}

.tweet-user span.mute {
  color: var(--mute);
}

.tweet-body {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.tweet-body mark {
  background: transparent;
  color: var(--lime);
  font-weight: 700;
}

/* ==========================================================================
   Numbers / Impact KPIs (Funded style)
   ========================================================================== */
.sec-sm {
  padding: 16px 0 24px;
}

.nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nm1 {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease-out, border-color 0.2s;
}

.nm1:hover {
  border-color: var(--line-strong);
}

.nm1 b {
  font: 700 clamp(26px, 3vw, 36px)/1 var(--fd);
  color: var(--lime);
}

.nm1 span {
  font-size: 13px;
  color: var(--ink2);
}

/* ==========================================================================
   Radar Signal Hub (3 Tabs: Audits, Coins, Narratives)
   ========================================================================== */
.hub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hub-header h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.hub-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 12px;
}

.hub-tab-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font: 600 13px var(--ft);
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.hub-tab-btn:hover {
  color: var(--ink);
}

.hub-tab-btn.active {
  background: var(--paper);
  color: var(--lime);
}

.hub-pane {
  display: none;
}

.hub-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pane 1: Audits Feed (Recent X Inquiries & Community Dispatches) */
.audits-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-row {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 22px;
  align-items: start;
  transition: border-color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}

.audit-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(90, 242, 164, 0.12), rgba(74, 222, 128, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.85s ease;
  pointer-events: none;
}

.audit-row:hover::before {
  left: 160%;
}

.audit-row:hover {
  border-color: var(--lime);
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(74, 222, 128, 0.16);
}

.audit-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  transition: transform 0.2s;
}

.audit-status.verified svg {
  animation: radarBlipPulse 2.2s infinite ease-in-out;
}

.audit-status.fresh svg {
  animation: radarBlipPulse 1.8s infinite ease-in-out;
}

@keyframes radarBlipPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 6px var(--lime)); }
}

.prog {
  position: relative;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 6px;
}
.prog i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 100%);
  background: repeating-linear-gradient(-45deg, var(--lime) 0 10px, #b8ff2e 10px 20px);
  border-radius: 99px;
  animation: stripes 1.2s linear infinite;
}
@keyframes stripes {
  to { background-position: 28px 0; }
}

.audit-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font: 600 12px var(--fm);
  white-space: nowrap;
}

.audit-status.verified {
  background: var(--lime-bg);
  color: var(--lime);
  border: 1px solid var(--lime-line);
}

.audit-status.spotted {
  background: rgba(142, 168, 29, 0.15);
  color: #E7FF5E;
  border: 1px solid rgba(231, 255, 94, 0.3);
}

.audit-status.rejected {
  background: var(--bad-bg);
  color: var(--bad);
  border: 1px solid rgba(255, 82, 71, 0.3);
}

.audit-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audit-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}

.user-tag {
  color: var(--lime);
  font-weight: 600;
  font-family: var(--fm);
}

.inquiry-text {
  color: var(--ink);
  font-style: italic;
}

.timestamp {
  margin-left: auto;
  font-family: var(--fm);
  font-size: 11.5px;
}

.audit-verdict {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink2);
}

.audit-verdict b {
  color: var(--ink);
}

.audit-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.link-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px var(--fm);
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ca-pill {
  font: 500 11.5px var(--fm);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink2);
}

.ca-pill.bad {
  border-color: rgba(255, 82, 71, 0.3);
  color: var(--bad);
}

.btn.xs {
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 6px;
  margin-left: auto;
}

/* Pane 2: Coins Grid */
.coins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.coin-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
  opacity: 1 !important;
  visibility: visible !important;
}

.coin-card:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 250, 69, 0.08);
}

.coin-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coin-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--lime);
  flex-shrink: 0;
}

.coin-titles h3 {
  font-size: 18px;
  line-height: 1.15;
}

.coin-titles .ticker {
  font-size: 12.5px;
  color: var(--lime);
}

.platform-tag {
  margin-left: auto;
  font: 600 11.5px var(--fm);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink2);
}

.coin-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink2);
}

.coin-audit-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.audit-line {
  display: flex;
  justify-content: space-between;
  font: 500 12px var(--fm);
  color: var(--ink2);
}

.audit-line .lbl {
  color: var(--mute);
}

.audit-line a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-lime {
  color: var(--lime);
}

.coin-foot {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.coin-foot .btn {
  flex: 1;
}

/* Pane 3: Narratives Grid */
.narratives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.narrative-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
  opacity: 1 !important;
  visibility: visible !important;
}

.narrative-card:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 250, 69, 0.08);
}

.narrative-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.narrative-card h3 {
  font-size: 20px;
}

.narrative-card p {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink2);
}

.narrative-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink2);
}

.narrative-action {
  margin-top: auto;
}

/* ==========================================================================
   4. How It Works & Provenance Incubator (Compact 2-Column Grid)
   ========================================================================== */
.how-launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.how-box, .incubator-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sec-h-tight {
  margin-bottom: 18px;
}

.sec-h-tight h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 4px;
}

.sec-h-tight p {
  font-size: 13.5px;
}

/* Connected Vertical Steps (.steps-compact) */
.steps-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 8px;
}

.steps-compact .ln-v {
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--line);
  overflow: hidden;
}

.steps-compact .ln-v i {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--lime);
  transition: height 0.4s ease;
}

.st-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.st-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--lime);
  display: grid;
  place-items: center;
  font: 700 11px var(--fm);
  color: var(--lime);
  flex-shrink: 0;
}

.st-content h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.st-content p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink2);
}

/* Provenance Launch Incubator Form */
.inc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f-group label {
  font: 600 12px var(--ft);
  color: var(--ink2);
}

.token-preview-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 2px;
}

.preview-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--lime);
  flex-shrink: 0;
}

.preview-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.preview-meta b {
  font-size: 14px;
}

.preview-meta span {
  font-size: 12px;
  color: var(--lime);
}

.preview-url {
  margin-left: auto;
  font-size: 11px;
  color: var(--mute);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepper-compact {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 2px;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font: 600 10px var(--fm);
  color: var(--mute);
  cursor: default;
}

.step-dot.active {
  border-color: var(--lime);
  color: var(--lime);
  background: var(--lime-bg);
}

.step-dot.done {
  background: var(--lime);
  color: #0C0E0D;
  border-color: var(--lime);
}

/* ==========================================================================
   5. Principles & FAQ (Compact Grid)
   ========================================================================== */
.rules-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.rules-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.rule-card:hover {
  border-color: var(--line-strong);
}

.rule-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--lime-bg);
  border: 1px solid var(--lime-line);
  color: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rule-icon svg {
  width: 16px;
  height: 16px;
}

.rule-card h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.rule-card p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 18px;
  cursor: pointer;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 600 14.5px var(--ft);
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 16px;
  color: var(--lime);
  transition: transform 0.2s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink2);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* ==========================================================================
   Final CTA (Funded style)
   ========================================================================== */
.final-cta {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.final-cta h2 {
  font-size: clamp(26px, 3.6vw, 38px);
}

.final-cta p {
  font-size: 15px;
  color: var(--ink2);
  max-width: 32em;
}

/* ==========================================================================
   Floating Radar AI Assistant (Bottom-Right)
   ========================================================================== */
.ai-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}

.ai-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--lime-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font: 600 13.5px var(--ft);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s;
}

.ai-trigger:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}

.ai-window {
  display: none;
  position: absolute;
  right: 0;
  bottom: 56px;
  width: min(380px, calc(100vw - 32px));
  height: 480px;
  background: #121513;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7);
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.2s ease-out;
}

.ai-window.open {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
}

.ai-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-title b {
  font-size: 13.5px;
  color: var(--ink);
  display: block;
}

.ai-status {
  font-size: 11px;
  color: var(--lime);
  font-family: var(--fm);
}

.ai-close {
  background: transparent;
  border: none;
  color: var(--mute);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.ai-close:hover {
  color: var(--ink);
}

.ai-chips {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.ai-chips::-webkit-scrollbar {
  display: none;
}

.ai-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font: 500 11.5px var(--ft);
  color: var(--ink2);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.ai-chip:hover {
  border-color: var(--lime-line);
  color: var(--lime);
}

.ai-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.ai-msg.ai-user {
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ai-msg-body {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.ai-msg.ai-user .ai-msg-body {
  background: var(--lime-bg);
  border-color: var(--lime-line);
  color: var(--ink);
}

.ai-input-form {
  display: flex;
  padding: 10px 12px;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: var(--bg-card);
}

.ai-in {
  flex: 1;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 500 13px var(--ft);
  color: var(--ink);
}

.ai-in:focus {
  outline: none;
  border-color: var(--lime-line);
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--lime);
  color: #0C0E0D;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   Mobile Responsive Rules (390px Viewport)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid,
  .how-launch-grid,
  .rules-faq-grid {
    grid-template-columns: 1fr;
  }
  .coins-grid,
  .narratives-grid {
    grid-template-columns: 1fr 1fr;
  }
  .audit-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nums {
    grid-template-columns: 1fr 1fr;
  }
  .ai-widget {
    bottom: 74px;
    right: 16px;
  }
  .ai-window {
    width: calc(100vw - 32px);
    right: -6px;
  }
}

@media (max-width: 680px) {
  .coins-grid,
  .narratives-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .nums {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Tactical Sonar Cursor & Luxury Agency Polish
   ========================================================================== */

/* Hero Real-time Radar Background Canvas */
.radar-bg-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1400px;
  height: 680px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  mix-blend-mode: screen;
}

/* Hero Laser Scanline Sweep */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(217, 250, 69, 0.8) 50%, transparent 100%);
  box-shadow: 0 0 16px var(--lime), 0 0 32px var(--lime);
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  animation: scanlineSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scanlineSweep {
  0% { transform: translateY(-10px); opacity: 0; }
  15% { opacity: 0.7; }
  85% { opacity: 0.7; }
  100% { transform: translateY(640px); opacity: 0; }
}

/* Card Hover Sheen Sweep */
.hc, .audit-row, .coin-card, .narrative-card, .how-box, .incubator-box {
  position: relative;
  overflow: hidden;
}

.hc::after, .audit-row::after, .coin-card::after, .narrative-card::after, .how-box::after, .incubator-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), rgba(217, 250, 69, 0.08), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
  z-index: 3;
}

.hc:hover::after, .audit-row:hover::after, .coin-card:hover::after, .narrative-card:hover::after, .how-box:hover::after, .incubator-box:hover::after {
  left: 140%;
  transition: left 0.75s ease-out;
}

/* Sonar Visualizer Bars in Hero / Hub */
.sonar-visualizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  padding: 0 4px;
}

.sonar-visualizer i {
  display: inline-block;
  width: 3px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.sonar-visualizer i:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.sonar-visualizer i:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.sonar-visualizer i:nth-child(3) { height: 100%; animation-delay: 0.5s; }
.sonar-visualizer i:nth-child(4) { height: 50%; animation-delay: 0.2s; }
.sonar-visualizer i:nth-child(5) { height: 85%; animation-delay: 0.4s; }

@keyframes waveBar {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Tactical Sonar Cursor (Desktop only) */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: default;
  }
  
  .radar-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--lime), 0 0 20px var(--lime);
    transition: opacity 0.2s;
  }
  
  .radar-cursor-reticle {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.2s;
  }
  
  .radar-cursor-reticle .reticle-ring {
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(217, 250, 69, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(217, 250, 69, 0.25);
    transition: all 0.22s ease;
  }
  
  .radar-cursor-reticle.active .reticle-ring {
    border-color: var(--lime);
    box-shadow: 0 0 24px rgba(217, 250, 69, 0.65), inset 0 0 10px rgba(217, 250, 69, 0.25);
    transform: scale(1.35);
  }

  .radar-cursor-reticle .reticle-corners {
    position: absolute;
    inset: -4px;
    opacity: 0.55;
    transition: transform 0.25s ease, opacity 0.2s;
  }
  
  .radar-cursor-reticle.active .reticle-corners {
    opacity: 1;
    transform: rotate(45deg);
  }

  .radar-cursor-reticle .rc {
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: var(--lime);
  }
  .radar-cursor-reticle .rc.tl { top: 0; left: 0; border-top: 1.5px solid; border-left: 1.5px solid; }
  .radar-cursor-reticle .rc.tr { top: 0; right: 0; border-top: 1.5px solid; border-right: 1.5px solid; }
  .radar-cursor-reticle .rc.bl { bottom: 0; left: 0; border-bottom: 1.5px solid; border-left: 1.5px solid; }
  .radar-cursor-reticle .rc.br { bottom: 0; right: 0; border-bottom: 1.5px solid; border-right: 1.5px solid; }

  .radar-cursor-reticle .reticle-coord {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    font: 600 10px var(--fm);
    color: var(--lime);
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    pointer-events: none;
  }

  .radar-cursor-reticle.active .reticle-coord {
    opacity: 0.9;
  }
  
  .radar-ping-ripple {
    position: fixed;
    width: 22px;
    height: 22px;
    border: 2px solid var(--lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 15px var(--lime);
    animation: sonarPing 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  @keyframes sonarPing {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; border-width: 2.5px; }
    100% { transform: translate(-50%, -50%) scale(5.5); opacity: 0; border-width: 0.5px; }
  }
}

