/* ── 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); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.price-btn:focus-visible,
.guide-jump:focus-visible,
.methodology-jump:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 3px;
}

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:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow 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);
}

/* ── Home Refresh ── */
.home-page {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(234, 179, 8, 0.08), transparent 20%),
    linear-gradient(180deg, #05060a 0%, #0a0d15 22%, #07080d 100%);
}

.home-page .hero {
  padding: 148px 0 68px;
  text-align: left;
}

.home-page .hero::before {
  top: -160px;
  left: 12%;
  transform: none;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

.home-page .hero::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 96px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 72%);
  pointer-events: none;
}

.home-hero-stage,
.home-hero-stage-copy,
.home-hero-stage-product {
  position: relative;
}

.home-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 32px;
  width: 100%;
  padding: 38px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(8, 11, 18, 0.92), rgba(15, 22, 35, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  align-items: start;
}

.home-hero-stage::before,
.home-hero-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero-stage::before {
  top: -120px;
  left: -84px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 72%);
}

.home-hero-stage::after {
  right: -72px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 72%);
}

.home-hero-stage-copy,
.home-hero-stage-product {
  z-index: 1;
}

.home-hero-stage-copy {
  max-width: none;
}

.home-page .hero-badge {
  margin-bottom: 18px;
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.24);
  color: #bfdbfe;
}

.home-page .hero h1 {
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin: 0 0 18px;
  max-width: 580px;
}

.home-hero-heading span {
  display: block;
}

.home-hero-heading {
  text-wrap: balance;
}

.home-page .hero-sub {
  max-width: 620px;
  margin: 0;
  color: #d0d7ea;
  font-size: 1.08rem;
  line-height: 1.78;
}

.hero-note {
  max-width: 560px;
  margin-top: 18px;
  color: #9da8c5;
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-note a {
  color: #dbeafe;
}

.hero-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 191, 214, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #d7def0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-link:hover {
  color: var(--text-primary);
  border-color: rgba(184, 191, 214, 0.34);
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.hero-surface {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(8, 13, 22, 0.96), rgba(11, 17, 28, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-surface-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-surface-bar span,
.hero-strip-label,
.hero-mini-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa3cb;
}

.hero-surface-bar span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-surface-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(230px, 0.94fr);
  gap: 12px;
}

.hero-feed-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.84), rgba(10, 15, 24, 0.84));
}

.hero-feed-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.hero-feed-head strong {
  display: block;
  font-size: 0.96rem;
  color: #f2f5fb;
}

.hero-feed-head p {
  margin-top: 6px;
  color: #9ca9c9;
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-feed-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #9be9ba;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-feed-rows,
.hero-surface-side {
  display: grid;
  gap: 10px;
}

.hero-feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name score"
    "meta meta";
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.hero-feed-row strong {
  grid-area: name;
  display: block;
  min-width: 0;
  font-size: 0.9rem;
  color: #eff4ff;
}

.hero-feed-score {
  grid-area: score;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  color: #c7dcff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-feed-crowding {
  grid-area: meta;
  justify-self: start;
  font-style: normal;
  color: #9fb1d8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hero-mini-stat {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.hero-mini-stat-value {
  display: block;
  color: #f3f6ff;
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-mini-stat-label {
  display: block;
  margin-top: 4px;
}

.hero-strip {
  display: block;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.hero-strip:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.hero-strip strong {
  display: block;
  margin: 8px 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.hero-strip p {
  color: #a9b4cf;
  font-size: 0.84rem;
  line-height: 1.6;
}

.home-page .stats-bar {
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 0;
  border-top: 1px solid rgba(184, 191, 214, 0.14);
  border-bottom: none;
  max-width: var(--max-width);
}

.home-page .stat-item {
  flex: 1 1 0;
  text-align: left;
}

.home-page .stat-value {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.home-thesis {
  padding-top: 44px;
}

.home-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-thesis-card {
  padding-top: 20px;
  border-top: 1px solid rgba(184, 191, 214, 0.14);
}

.home-thesis-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.home-thesis-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.methodology-preview {
  background: linear-gradient(180deg, rgba(13, 15, 23, 0.92), rgba(7, 8, 13, 0.92));
  border-top: 1px solid rgba(184, 191, 214, 0.08);
  border-bottom: 1px solid rgba(184, 191, 214, 0.08);
}

.methodology-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.methodology-copy p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.methodology-copy p + p {
  margin-top: 16px;
}

.section-link-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 191, 214, 0.16);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.section-link:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.signal-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

.signal-list li {
  padding-top: 14px;
  border-top: 1px solid rgba(184, 191, 214, 0.12);
}

.signal-list strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: #eef2fb;
  text-transform: lowercase;
}

.signal-list span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.home-page .how-grid {
  gap: 20px;
}

.home-page .how-step {
  background: rgba(17, 20, 34, 0.72);
}

.home-page .features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .feature-card {
  min-height: 0;
  padding: 24px;
  background: rgba(17, 20, 34, 0.72);
}

.home-page .feature-card p {
  font-size: 0.86rem;
}

.home-page .roadmap-grid {
  gap: 18px;
}

.home-page .roadmap-card {
  background: rgba(17, 20, 34, 0.82);
}

.community-section {
  border-top: 1px solid rgba(184, 191, 214, 0.08);
}

.methodology-body {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(234, 179, 8, 0.1), transparent 24%),
    linear-gradient(180deg, #f4efe5 0%, #f7f3eb 18%, #ede5d6 100%);
  color: #141923;
}

.methodology-body .nav {
  background: rgba(244, 239, 229, 0.88);
}

.methodology-body .nav.scrolled {
  border-bottom-color: rgba(72, 82, 104, 0.18);
}

.methodology-body .nav-brand,
.methodology-body .nav-toggle {
  color: #10131b;
}

.methodology-body .nav-links a {
  color: #5c667d;
}

.methodology-body .nav-links a:hover,
.methodology-body .nav-links a[aria-current="page"] {
  color: #10131b;
}

.methodology-main {
  color: #1b2230;
}

.methodology-hero {
  padding: 156px 0 44px;
}

.methodology-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) 300px;
  gap: 30px;
  align-items: start;
}

.methodology-kicker,
.methodology-section-eyebrow,
.methodology-rail-label,
.methodology-jump-label,
.methodology-example-label,
.methodology-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #667087;
}

.methodology-hero h1 {
  font-size: clamp(3.1rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 14px 0 18px;
  color: #121722;
}

.methodology-lead {
  max-width: 720px;
  font-size: 1.12rem;
  color: #394154;
  line-height: 1.88;
}

.methodology-hero-note {
  max-width: 700px;
  margin-top: 18px;
  color: #4a5265;
  font-size: 0.98rem;
  line-height: 1.8;
}

.methodology-summary-card,
.methodology-rail-card {
  border: 1px solid rgba(92, 102, 125, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 60px rgba(66, 54, 29, 0.08);
}

.methodology-summary-card {
  padding: 22px;
}

.methodology-summary-card p {
  color: #394154;
  font-size: 0.94rem;
  line-height: 1.75;
}

.methodology-summary-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.methodology-summary-card li {
  padding-top: 10px;
  border-top: 1px solid rgba(92, 102, 125, 0.12);
  color: #202635;
  font-size: 0.9rem;
  line-height: 1.6;
}

.methodology-article-shell {
  padding: 18px 0 96px;
}

.methodology-jump-wrap {
  display: none;
  margin-bottom: 24px;
}

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

.methodology-jump {
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(92, 102, 125, 0.18);
  background: rgba(255, 255, 255, 0.76);
  color: #111827;
  font: inherit;
}

.methodology-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.methodology-rail {
  position: sticky;
  top: 112px;
  align-self: start;
}

.methodology-rail-card {
  padding: 20px;
}

.methodology-nav-list {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.methodology-nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  color: #5b657f;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition);
}

.methodology-nav-list a:hover,
.methodology-nav-list a[aria-current="true"] {
  background: rgba(15, 23, 42, 0.06);
  color: #10131b;
}

.methodology-section {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(92, 102, 125, 0.16);
  scroll-margin-top: 108px;
}

.methodology-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 12px 0 18px;
  color: #111827;
}

.methodology-section p,
.methodology-section li,
.methodology-caveat-list span {
  color: #414a5f;
  font-size: 1rem;
  line-height: 1.85;
}

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

.methodology-inline-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #161b26;
  color: #e7edf8;
  line-height: 1.75;
}

.methodology-signal-grid,
.methodology-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.methodology-signal-card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(92, 102, 125, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.methodology-signal-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #111827;
  text-transform: lowercase;
}

.methodology-caveat-list {
  display: grid;
  gap: 0;
}

.methodology-caveat-list > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(92, 102, 125, 0.14);
}

.methodology-caveat-list strong {
  color: #111827;
  font-size: 0.96rem;
}

.methodology-example-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(18, 25, 35, 0.86);
  background: #121923;
  color: #eef5ff;
  box-shadow: 0 24px 80px rgba(23, 27, 40, 0.18);
}

.methodology-example-item {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.methodology-example-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9eb2d7;
}

.methodology-example-item p {
  color: #d6dff0;
  font-size: 0.93rem;
  line-height: 1.7;
}

.methodology-cta {
  padding: 0 0 96px;
}

.methodology-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 28px;
  background: #111827;
  color: #eef2ff;
}

.methodology-cta-card h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 10px 0 14px;
}

.methodology-cta-card p {
  max-width: 700px;
  color: #c8d2e7;
}

.methodology-cta-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef2ff;
}

.methodology-cta-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.methodology-body .footer {
  background: #111827;
  border-top: none;
}

.methodology-body .footer-copy,
.methodology-body .footer-links a {
  color: #b6bfd5;
}

.methodology-body .footer-links a:hover {
  color: #eef2ff;
}

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

  .methodology-rail {
    position: static;
  }

  .methodology-nav-list {
    display: none;
  }

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

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

  .methodology-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .methodology-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .methodology-signal-grid,
  .methodology-example-grid,
  .methodology-caveat-list > div,
  .methodology-cta-card {
    grid-template-columns: 1fr;
  }

  .methodology-caveat-list > div {
    gap: 10px;
  }

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

/* ── 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:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow 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; }

html.js .home-page .hero-note,
html.js .home-page .hero-links,
html.js .home-page .home-hero-stage-product {
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}

html.js .home-page .home-hero-stage-product { animation-delay: 0.22s; }
html.js .home-page .hero-note { animation-delay: 0.36s; }
html.js .home-page .hero-links { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero-badge,
  html.js .hero h1,
  html.js .hero-sub,
  html.js .hero-actions,
  html.js .home-page .hero-note,
  html.js .home-page .hero-links,
  html.js .home-page .home-hero-stage-product {
    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;
  flex-wrap: wrap;
  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; }

  .home-page .hero {
    padding: 124px 0 54px;
  }

  section { padding: 60px 0; }

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

  .home-page .stats-bar {
    gap: 18px;
  }

  .home-page .stat-item {
    min-width: 140px;
  }

  .signal-list,
  .home-page .features-grid {
    grid-template-columns: 1fr;
  }

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

  .methodology-body .nav-links.open {
    background: #f4efe5;
    border-bottom-color: rgba(92, 102, 125, 0.16);
  }
}

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

@media (max-width: 980px) {
  .home-hero-stage,
  .hero-surface-grid,
  .home-thesis-grid,
  .methodology-preview-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-stage {
    padding: 28px;
  }

  .hero-surface-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .home-page .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-page .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 0.96;
    max-width: 320px;
  }

  .home-page .hero-actions {
    align-items: stretch;
  }

  .home-hero-stage {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-feed-row,
  .hero-surface-side,
  .hero-mini-stats {
    grid-template-columns: 1fr;
  }

  .hero-feed-crowding {
    justify-self: start;
  }

  .hero-link,
  .section-link {
    width: 100%;
  }
}

/* ── 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;
}
.brand {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

/* Google Sign-in button */
.btn-google-signin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-google-signin:hover {
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  background: #f8f9fa;
}
