/* ── Design tokens (match panel.css exactly) ─────────────────────────────── */
:root {
  --bg:            #0b0c0d;
  --bg-card:       #111315;
  --bg-card-hover: #16191c;
  --border:        rgba(255,255,255,0.06);
  --border-hi:     rgba(255,255,255,0.12);
  --text:          #e8eaed;
  --text-muted:    rgba(232,234,237,0.55);
  --text-dim:      rgba(232,234,237,0.35);
  --accent:        #b8e15a;
  --accent-dim:    rgba(184,225,90,0.14);
  --sale:          #ffd166;
  --sativa:        #ffb27a;
  --indica:        #b594ff;
  --hybrid:        #7dd3a2;
  --cbd:           #8ec8ff;
  --font-mono:     "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius:        8px;
  --radius-sm:     5px;

  /* Landing-only tokens */
  --section-gap:   clamp(72px, 10vw, 120px);
  --content-max:   1140px;
  --nav-h:         60px;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Logo mark ───────────────────────────────────────────────────────────── */
.logo-mark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.logo-bullet { color: var(--accent); margin-right: 2px; }
.logo-dex    { color: var(--accent); }
.logo-keystone {
  height: 0.85em;
  width: 0.85em;
  color: var(--accent);
  margin-right: 3px;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0b0c0d;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.btn-cta:hover { opacity: 0.86; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 13px 24px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0b0c0d;
  color: var(--accent);
  border: 2px solid #0b0c0d;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.btn-cta-dark:hover { background: transparent; color: #0b0c0d; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-nav.scrolled {
  background: rgba(11,12,13,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 20px; padding: 9px 20px; font-size: 14px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav */
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 0; margin: 0; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }

  .site-nav.nav-open {
    background: rgba(11,12,13,0.97);
    backdrop-filter: blur(14px);
    height: auto;
  }
  .site-nav.nav-open .nav-links {
    display: flex;
    padding: 8px 24px 20px;
    border-top: 1px solid var(--border);
  }
  .site-nav.nav-open .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.nav-open .nav-cta {
    display: flex;
    margin: 0 24px 20px;
    justify-content: center;
  }
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 0; padding-bottom: 0; }
  .nav-logo-wrap { display: flex; align-items: center; height: var(--nav-h); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-copy { flex: 1 1 460px; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-proof {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.hero-proof span { margin: 0 6px; color: var(--border-hi); }

/* Mockup screenshot */
.hero-mockup {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.mockup-wrap {
  transform-origin: top center;
}
.mockup-screenshot {
  width: 360px;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.07);
  display: block;
}

@media (max-width: 960px) {
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-copy  { text-align: center; }
  .hero-sub   { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof   { text-align: center; }
  .mockup-screenshot { width: 300px; }
}
@media (max-width: 640px) {
  .hero-copy { flex: none; }
  .mockup-screenshot { width: 240px; }
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(184,225,90,0.03) 50%, transparent 100%);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-hi); }
.feature-icon {
  font-size: 26px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── Feature Showcase ────────────────────────────────────────────────────── */
.showcase {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
}
.showcase-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.showcase-row:first-child { padding-top: 0; }
.showcase-row:last-child  { border-bottom: none; padding-bottom: 0; }
.showcase-row--reverse    { grid-template-columns: 1fr auto; }
.showcase-row--reverse .showcase-img { order: 2; }
.showcase-row--reverse .showcase-copy { order: 1; }
.showcase-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.showcase-img img {
  width: 260px;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.07);
  display: block;
}
.showcase-copy .eyebrow { margin-bottom: 14px; }
.showcase-copy h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.showcase-copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}
@media (max-width: 900px) {
  .showcase-row,
  .showcase-row--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
  }
  .showcase-row--reverse .showcase-img { order: 0; }
  .showcase-row--reverse .showcase-copy { order: 0; }
  .showcase-img img { width: 220px; }
}

/* ── How It Works ────────────────────────────────────────────────────────── */
.how-it-works { padding: var(--section-gap) 0; }
.hiw-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.step { position: relative; }
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-number::after { display: none; }
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.hiw-screenshot img {
  width: 260px;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.07);
  display: block;
}
@media (max-width: 860px) {
  .hiw-layout { grid-template-columns: 1fr; gap: 48px; }
  .hiw-screenshot { display: flex; justify-content: center; }
  .hiw-screenshot img { width: 220px; }
}

/* ── Ticker ──────────────────────────────────────────────────────────────── */
.ticker-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.ticker-track {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker-inner {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-section:hover .ticker-inner { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.chain-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.chain-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: 72px 24px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  flex-wrap: wrap;
}
.cta-copy h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #0b0c0d;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-copy p {
  font-size: 16px;
  color: rgba(11,12,13,0.65);
}

@media (max-width: 680px) {
  .cta-inner { flex-direction: column; text-align: center; }
}
.cta-install-options {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cta-alt-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(11,12,13,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.cta-alt-link:hover { color: rgba(11,12,13,0.85); }
@media (max-width: 680px) {
  .cta-install-options { align-items: center; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-brand .logo-mark { margin-bottom: 8px; display: flex; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 220px;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  width: 100%;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 44px;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stats-inner { gap: 0; }
  .stat { padding: 16px 24px; width: 50%; }
  .stat-divider { display: none; }
}

/* ── Deals feed ──────────────────────────────────────────────────────────── */
.deals-section { padding: var(--section-gap) 0; }
.deals-scroll-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 24px 4px;
  margin: 0 -24px;
}
.deals-scroll-wrap::-webkit-scrollbar { display: none; }
.deals-row {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 4px 0;
}
.deal-card {
  width: 188px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.2s, background 0.2s;
}
.deal-card:hover { background: var(--bg-card-hover); border-color: var(--border-hi); }
.deal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.deal-chain {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.deal-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.deal-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.deal-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.deal-was {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.deals-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 16px;
  text-align: center;
}

/* ── Compare demo ────────────────────────────────────────────────────────── */
.compare-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(184,225,90,0.025) 50%, transparent 100%);
}
.compare-demo {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-product-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.compare-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.compare-row {
  display: grid;
  grid-template-columns: 10px 180px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.best {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  padding-left: 17px;
}
.compare-chain-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.compare-loc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.compare-chain {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.compare-locname {
  font-size: 11px;
  color: var(--text-dim);
}
.compare-bar-wrap {
  background: var(--border);
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
}
.compare-bar {
  height: 100%;
  background: var(--border-hi);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.compare-row.best .compare-bar { background: var(--accent); }
.compare-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.compare-price-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.compare-best-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(184,225,90,0.3);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}
.compare-tagline {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}
.compare-tagline s { color: var(--text-dim); }

@media (max-width: 600px) {
  .compare-row { grid-template-columns: 8px 1fr auto; gap: 10px; }
  .compare-bar-wrap { display: none; }
}

/* ── Regional coverage ───────────────────────────────────────────────────── */
.coverage-section { padding: var(--section-gap) 0; }
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.region-card:hover { background: var(--bg-card-hover); border-color: var(--border-hi); }
.region-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.region-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.coverage-screenshot img {
  width: 240px;
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.07);
  display: block;
}
@media (max-width: 860px) {
  .coverage-layout { grid-template-columns: 1fr; gap: 40px; }
  .coverage-screenshot { display: flex; justify-content: center; }
  .coverage-screenshot img { width: 220px; }
}
@media (max-width: 480px) { .region-grid { grid-template-columns: 1fr; } }

/* ── Privacy callout ─────────────────────────────────────────────────────── */
.privacy-section {
  padding: var(--section-gap) 0;
  background: linear-gradient(135deg, rgba(184,225,90,0.05) 0%, transparent 55%);
  border-top: 1px solid var(--border);
}
.privacy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.privacy-copy h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.privacy-copy > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.privacy-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.privacy-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.privacy-bullets li::before {
  content: '✕';
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
}
.privacy-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.privacy-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}
.privacy-table tr:last-child td { border-bottom: none; }
.privacy-table .feature-col { color: var(--text); font-weight: 500; }
.privacy-table .cell-yes { color: var(--accent); font-family: var(--font-mono); font-weight: 600; font-size: 12px; }
.privacy-table .cell-no  { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 860px) {
  .privacy-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { padding: var(--section-gap) 0; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--accent); }
.faq-a {
  padding: 4px 0 22px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 680px;
}

/* ── Install Wizard Modal ────────────────────────────────────────────────── */
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.install-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  transform: translateY(12px);
  transition: transform 0.22s ease;
}
.install-modal.is-open .modal-panel { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  z-index: 10;
}
.modal-close:hover { border-color: var(--border-hi); color: var(--text); }

/* Header */
.modal-head {
  padding: 28px 28px 0;
  text-align: center;
}
.modal-logo {
  display: inline-flex;
  margin-bottom: 12px;
  cursor: default;
}
.modal-head h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.modal-reason {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* Progress indicator */
.modal-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 28px 16px;
}
.mprog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mprog-step > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mprog-step > em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: color 0.2s;
}
.mprog-step.active > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0c0d;
}
.mprog-step.active > em { color: var(--accent); }
.mprog-step.done > span {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
.mprog-step.done > em { color: var(--text-muted); }
.mprog-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 22px;
  min-width: 20px;
  max-width: 48px;
  border-radius: 1px;
}

/* Step panels */
.modal-body {
  padding: 8px 28px 0;
  min-height: 260px;
}
.wiz-step {
  display: none;
  animation: wiz-in 0.2s ease;
}
.wiz-step.active { display: block; }
@keyframes wiz-in {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.wiz-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.wiz-step > p, .wiz-step > div > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.wiz-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(184,225,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.wiz-dl-btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 15px 24px;
  margin-bottom: 12px;
}
.wiz-hint {
  font-size: 12px !important;
  color: var(--text-dim) !important;
  margin-bottom: 0 !important;
}
.wiz-hint strong { color: var(--text-muted); }

/* OS tabs */
.os-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.os-tab {
  flex: 1;
  padding: 7px 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.os-tab.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.os-pane { display: none; }
.os-pane.active { display: block; }

/* Step list */
.wiz-list {
  list-style: none;
  counter-reset: wiz-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.wiz-list li {
  counter-increment: wiz-counter;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.wiz-list li::before {
  content: counter(wiz-counter);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(184,225,90,0.25);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wiz-list li strong { color: var(--text); }
.wiz-list li code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
}

/* Copy URL row */
.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 16px;
}
.ext-page-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  user-select: all;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 5px;
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Browser mockup */
.browser-mock {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  margin-bottom: 14px;
  font-size: 12px;
}
.bm-chrome {
  background: #1e2124;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bm-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.bm-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.bm-dots span:nth-child(1) { background: #ff5f57; }
.bm-dots span:nth-child(2) { background: #febc2e; }
.bm-dots span:nth-child(3) { background: #28c840; }
.bm-addr {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bm-body {
  background: #17191b;
  padding: 14px 16px;
}
.bm-ext-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.bm-page-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.bm-devmode {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
}
.bm-devmode-label { font-size: 11px; color: var(--text-muted); }
.bm-toggle {
  width: 30px;
  height: 17px;
  border-radius: 9px;
  background: var(--border-hi);
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.bm-toggle.on { background: var(--accent); }
.bm-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.bm-toggle.on::after { transform: translateX(13px); }
.bm-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.bm-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  color: var(--text);
  white-space: nowrap;
}
.bm-btn.muted { color: var(--text-dim); border-color: var(--border); }
.bm-btn.accent {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

/* Extension card (step 4) */
.bm-ext-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  animation: ext-appear 0.4s ease;
}
@keyframes ext-appear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bm-ext-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bm-ext-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  min-width: 0;
}
.bm-ext-info strong { font-size: 12px; color: var(--text); font-weight: 600; }
.bm-ext-info span   { font-size: 10px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-ext-toggle {
  width: 30px;
  height: 17px;
  border-radius: 9px;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
}
.bm-ext-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Pulse ring on highlighted elements */
.bm-pulse {
  position: relative;
}
.bm-pulse::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  animation: bm-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes bm-pulse {
  0%   { opacity: 0.9; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}

/* Modal footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.modal-back { padding: 11px 20px; font-size: 14px; }
.modal-next { padding: 11px 28px; font-size: 14px; }

/* Inline code in wizard steps */
.wiz-step code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent);
}

@media (max-width: 540px) {
  .modal-head   { padding: 20px 18px 0; }
  .modal-body   { padding: 8px 18px 0; }
  .modal-footer { padding: 16px 18px 20px; }
  .modal-panel  { border-radius: 10px; }
  .mprog-line   { min-width: 10px; }
  .mprog-step > em { display: none; }
  .browser-mock { display: none; } /* hide on very small screens — too cramped */
}

/* ── Firefox add-ons manager mock ───────────────────────────────────────── */
.bm-ff .bm-chrome { background: #2b2a33; }
.bm-ff .bm-addr   { background: rgba(255,255,255,0.08); color: #c0c0cf; }
.bm-addons-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.bm-gear-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  font-size: 15px;
  color: var(--text-muted);
  background: var(--bg-card);
  flex-shrink: 0;
}
.bm-gear-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 6px;
  padding: 4px 0;
  margin-left: auto;
  width: 190px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  animation: ext-appear 0.25s ease;
}
.bm-gear-item {
  padding: 7px 14px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.bm-gear-item.accent {
  color: var(--text);
  background: var(--accent-dim);
  font-weight: 600;
}
.bm-gear-item + .bm-gear-item { border-top: 1px solid var(--border); }
.bm-ff-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  animation: ext-appear 0.3s ease;
}
.bm-ff-confirm-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bm-ff-confirm-body {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.bm-ff-confirm-body strong { display: block; font-size: 12px; color: var(--text); font-weight: 600; }
.bm-ff-confirm-body span   { font-size: 10px; color: var(--text-dim); }
.bm-ff-confirm-add {
  padding: 5px 12px;
  border-radius: 5px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
