/* ── SniperIntel — Global Styles ── */

:root {
  --bg-primary: #07080d;
  --bg-secondary: #0d0f17;
  --bg-card: #111422;
  --bg-card-hover: #161a2d;
  --border: #1a1e30;
  --border-accent: #2a3050;
  --text-primary: #e8eaf0;
  --text-secondary: #8b90a5;
  --text-muted: #555a70;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --yellow: #eab308;
  --yellow-dim: rgba(234, 179, 8, 0.12);
  --gradient-accent: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-card: linear-gradient(145deg, #111422, #0d0f17);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.08);
  --max-width: 1120px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-brand .brand-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* ── Stats bar ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 auto;
  max-width: var(--max-width);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.stat-value .accent { color: var(--accent); }
.stat-value .green { color: var(--green); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ── Sections ── */
section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

/* ── How it works ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-step {
  padding: 32px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.how-step:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.how-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}

/* ── Pricing ── */
.pricing-section {
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 48px rgba(59, 130, 246, 0.08);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.price-tier {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.price-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.price-btn-primary {
  background: var(--accent);
  color: #fff;
}

.price-btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.price-btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-accent);
}

.price-btn-outline:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Free tier callout ── */
.free-callout {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 32px;
}

.free-callout h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.free-callout p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ── Edge section ── */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.edge-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.edge-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
}

.edge-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.edge-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ── Roadmap ── */
.roadmap-section {
  background: var(--bg-primary);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-card {
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--transition);
}

.roadmap-card:hover {
  border-color: var(--border-accent);
}

.roadmap-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  padding: 3px 10px;
  background: var(--yellow-dim);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.roadmap-icon {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.roadmap-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.roadmap-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── Hero entrance animation (CSS-only, content always visible) ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

html.js .hero-badge,
html.js .hero h1,
html.js .hero-sub,
html.js .hero-actions {
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}

html.js .hero-badge { animation-delay: 0.05s; }
html.js .hero h1 { animation-delay: 0.15s; }
html.js .hero-sub { animation-delay: 0.3s; }
html.js .hero-actions { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero-badge,
  html.js .hero h1,
  html.js .hero-sub,
  html.js .hero-actions {
    opacity: 1 !important;
    animation: none !important;
  }
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0;
  gap: 16px;
}

.faq-question .faq-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 12px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-secondary); }

/* ── Disclaimer ── */
.disclaimer {
  background: var(--bg-secondary);
  padding: 48px 0;
}

.disclaimer-content {
  max-width: 720px;
  margin: 0 auto;
}

.disclaimer h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-item { flex: 1 1 120px; }

  .how-grid,
  .features-grid,
  .edge-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero { padding: 120px 0 60px; }

  section { padding: 60px 0; }

  .hero-actions { flex-direction: column; align-items: center; }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-bar { gap: 16px; }
  .stat-value { font-size: 1.5rem; }
}

/* ── Guide Page ── */
.guide-page {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.06), transparent 22%),
    linear-gradient(180deg, #06070b 0%, #0b0f18 24%, #07080d 100%);
}

.guide-page .nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.guide-page .container {
  max-width: 1220px;
}

.guide-hero {
  position: relative;
  padding: 164px 0 60px;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto;
  height: 320px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.16), transparent 68%);
  pointer-events: none;
}

.guide-hero-inner {
  display: block;
}

.guide-hero-copy {
  position: relative;
  max-width: 780px;
  animation: guide-fade-up 0.75s ease both;
}

.guide-kicker,
.guide-section-eyebrow,
.guide-inline-label,
.guide-jump-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #98a2c8;
}

.guide-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 14px 0 22px;
}

.guide-hero-lead {
  max-width: 700px;
  font-size: 1.08rem;
  color: #c1c9dc;
  line-height: 1.9;
}

.guide-shell {
  padding: 24px 0 104px;
}

.guide-jump-wrap {
  display: none;
  margin-bottom: 28px;
}

.guide-jump-label {
  display: block;
  margin-bottom: 10px;
}

.guide-jump {
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 191, 214, 0.18);
  background: rgba(15, 17, 24, 0.95);
  color: var(--text-primary);
  font: inherit;
}

.guide-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.guide-rail {
  position: sticky;
  top: 112px;
  align-self: start;
  max-height: calc(100vh - 136px);
  overflow: auto;
  padding-right: 12px;
}

.guide-nav {
  position: static;
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.guide-nav a {
  display: block;
  padding: 10px 14px;
  color: #727a94;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition);
}

.guide-nav a:hover,
.guide-nav a[aria-current="true"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.guide-content {
  min-width: 0;
}

.guide-section {
  padding: 0 0 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(184, 191, 214, 0.12);
  scroll-margin-top: 108px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section h2 {
  font-family: var(--font-sans);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 12px 0 20px;
}

.guide-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-section p,
.guide-section li,
.guide-proof-list span {
  color: #b8bfd2;
  font-size: 1rem;
  line-height: 1.8;
}

.guide-section p + p {
  margin-top: 16px;
}

.guide-flow,
.guide-dashboard-list,
.guide-proof-list,
.guide-faq-list {
  display: grid;
  gap: 0;
}

.guide-flow-step,
.guide-faq-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.guide-flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(184, 191, 214, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: #d8def4;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.guide-dashboard-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.guide-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 28px;
}

.guide-score-grid > div {
  padding-top: 18px;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.guide-inline-callout {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid rgba(184, 191, 214, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.guide-inline-callout p {
  margin-top: 10px;
}

.guide-dashboard-list > div h3,
.guide-faq-item h3 {
  margin-bottom: 6px;
}

.guide-dashboard-list > div h3 {
  margin-bottom: 0;
  color: #eef2fb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.guide-dashboard-list > div p {
  margin: 0;
}

.guide-proof-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.guide-proof-list strong {
  flex: 0 0 220px;
  color: var(--text-primary);
  font-size: 0.96rem;
}

.guide-steps-list {
  list-style: decimal;
  padding-left: 20px;
}

.guide-steps-list li + li {
  margin-top: 14px;
}

.guide-faq-item {
  grid-template-columns: 1fr;
}

.guide-cta-light {
  padding: 0 0 110px;
}

.guide-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(180deg, #e8ebf2 0%, #dfe4f0 100%);
  color: #0f1219;
  border-radius: 28px;
}

.guide-cta-card .guide-section-eyebrow {
  color: #5b657f;
}

.guide-cta-card h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 10px 0 14px;
}

.guide-cta-card p {
  max-width: 700px;
  color: #31384b;
}

.guide-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.guide-cta-card .btn-outline {
  border-color: rgba(15, 18, 25, 0.18);
  color: #0f1219;
}

.guide-cta-card .btn-outline:hover {
  background: rgba(15, 18, 25, 0.06);
}

@keyframes guide-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .guide-hero-inner,
  .guide-layout,
  .guide-cta-card {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    padding-top: 132px;
  }

  .guide-rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .guide-nav {
    display: none;
  }

  .guide-jump-wrap {
    display: block;
  }

  .guide-score-grid {
    grid-template-columns: 1fr;
  }

  .guide-proof-list > div,
  .guide-flow-step,
  .guide-dashboard-list > div {
    grid-template-columns: 1fr;
  }

  .guide-proof-list strong {
    flex-basis: auto;
  }
}

@media (max-width: 640px) {
  .guide-hero {
    padding-bottom: 24px;
  }

  .guide-hero h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .guide-section {
    padding-bottom: 44px;
    margin-bottom: 44px;
  }

  .guide-cta-card {
    padding: 28px;
  }

  .guide-cta-actions {
    flex-direction: column;
  }
}

/* ── X Landing ── */
.x-page {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 32%),
    var(--bg-primary);
}

.x-hero {
  padding: 152px 0 36px;
}

.x-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.x-kicker,
.x-proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.x-hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.x-lead,
.x-note,
.x-band p,
.x-proof-card p,
.x-proof-card li {
  color: var(--text-secondary);
}

.x-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 12px;
}

.x-proof-card {
  background: rgba(10, 15, 24, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.x-proof-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.x-proof-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.x-band {
  padding: 8px 0 56px;
}

.x-band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.x-band-grid > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

@media (max-width: 900px) {
  .x-hero-grid,
  .x-band-grid {
    grid-template-columns: 1fr;
  }

  .x-hero {
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .guide-hero-copy {
    animation: none;
  }
}

/* ── Global Search Bar ── */
.global-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.global-search-form input {
  flex: 1;
  max-width: 520px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.global-search-form input:focus {
  border-color: var(--accent);
}
.global-search-form input::placeholder {
  color: var(--text-muted);
}
.global-search-form button {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.global-search-form button:hover {
  opacity: 0.85;
}
#gs-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  min-height: 20px;
}
#gs-status a {
  color: var(--accent);
  text-decoration: none;
}
#gs-status a:hover {
  text-decoration: underline;
}

/* ── Token & Wallet Pages ── */
.token-page, .wallet-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}
.token-page .card, .wallet-page .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
  padding: 20px;
  margin-bottom: 16px;
}
.token-page .card.loading, .wallet-page .card.loading {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}
.token-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.token-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.token-symbol {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.ca {
  font-size: 0.78rem;
  color: var(--text-secondary);
  word-break: break-all;
}
.copy-btn {
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ext-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.ext-links a, .link-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.ext-links a:hover, .link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ext-links-large a {
  padding: 12px 24px;
  font-size: 0.95rem;
}
.json-dump {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  overflow-x: auto;
  max-height: 400px;
}
.muted {
  color: var(--text-muted);
}
.error {
  color: #f87171;
}
.context {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 6px;
}
.flags {
  color: var(--yellow, #eab308);
  font-size: 0.82rem;
}
.buyer-row, .trade-row, .overlap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
.buyer-row a, .trade-row a, .overlap-row a {
  color: var(--accent);
  text-decoration: none;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.buyer-row a:hover, .trade-row a:hover, .overlap-row a:hover {
  text-decoration: underline;
}
.badge-bundled {
  background: rgba(234,179,8,0.15);
  color: var(--yellow, #eab308);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge-success {
  color: var(--green, #00d4aa);
  font-weight: 700;
}
.badge-fail {
  color: #f87171;
  font-weight: 700;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#run-deep {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: rgba(59,130,246,0.1);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
#run-deep:hover {
  background: rgba(59,130,246,0.2);
}
#run-deep:disabled {
  opacity: 0.5;
  cursor: wait;
}
.deep-headline {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.deep-success .deep-headline { color: var(--accent-green); }
.deep-empty .deep-headline { color: var(--text-secondary); }
.deep-warn .deep-headline { color: var(--accent-orange, #f0a050); }
.deep-error .deep-headline { color: var(--accent-red, #e05050); }
.deep-success, .deep-empty, .deep-warn, .deep-error {
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-top: 8px;
}
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px;
}
.brand {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
