/* ════════════════════════════════════════════════════════════
   Pic2Sell Landing — Coinbase-style redesign
   Blue #0052FF · Manrope · pill buttons · generous whitespace
   Scoped to .cb-* marketing classes (auth modal keeps landing.css)
   ════════════════════════════════════════════════════════════ */

:root {
  --cb-blue: #0052FF;
  --cb-blue-h: #0047E0;
  --cb-blue-lt: #F0F4FF;
  --cb-blue-bd: #C9D7FF;
  --cb-ink: #0A0B0D;
  --cb-body: #5B616E;
  --cb-muted: #9AA0AB;
  --cb-faint: #B0B6BF;
  --cb-bd: #EFF0F3;
  --cb-card: #F9FAFB;
  --cb-green: #0A8054;
  --cb-green-bg: #E8F8F1;
  --cb-amber: #B26B00;
  --cb-amber-bg: #FFFBEB;
  --cb-amber-bd: #FDE68A;
}

html { scroll-behavior: smooth; }
/* The hero glow intentionally bleeds past the viewport — clip it so it can
   never create horizontal scroll (which breaks the whole page on mobile). */
html, body { overflow-x: clip; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--cb-ink);
}
[id] { scroll-margin-top: 80px; }

/* Keyboard focus — one consistent ring */
:focus-visible {
  outline: 2px solid var(--cb-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Buttons ── */
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer; outline: none;
  transition: background 150ms, border-color 150ms, color 150ms, box-shadow 150ms;
  text-decoration: none;
}
.cb-btn-lg { padding: 15px 28px; font-size: 16px; }
.cb-btn-primary { background: var(--cb-blue); color: #fff; }
.cb-btn-primary:hover { background: var(--cb-blue-h); box-shadow: 0 4px 18px rgba(0,82,255,0.25); }
.cb-btn-outline { background: #fff; color: var(--cb-ink); border-color: var(--cb-bd); }
.cb-btn-outline:hover { background: #F9FAFB; border-color: #DEE1E7; }
.cb-btn:active { transform: scale(0.98); }
.cb-link-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--cb-body);
  padding: 6px 8px; transition: color 150ms;
}
.cb-link-btn:hover { color: var(--cb-blue); }

/* ── Logo ── */
.cb-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.cb-logo-mark { display: block; flex-shrink: 0; }
.cb-logo-word { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--cb-ink); }

/* ── Shared section heads ── */
.cb-section { max-width: 1140px; margin: 0 auto; padding: 88px 48px; }
.cb-sec-head { margin-bottom: 36px; }
.cb-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cb-muted); margin-bottom: 12px;
}
.cb-h2 { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; color: var(--cb-ink); line-height: 1.08; margin: 0; }
.cb-center { text-align: center; }

/* ── NAV ── */
nav.cb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--cb-bd);
}
.cb-nav-spacer { height: 64px; }
.cb-nav-links { display: flex; align-items: center; gap: 28px; }
.cb-nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--cb-body);
  text-decoration: none; transition: color 150ms;
}
.cb-nav-links a:hover { color: var(--cb-ink); }
.cb-nav-right { display: flex; align-items: center; gap: 10px; }

/* ── HERO ── */
.cb-hero {
  max-width: 720px; margin: 0 auto;
  padding: 96px 24px 104px;
  text-align: center;
  position: relative;
}
/* Soft atmosphere behind the hero — one restrained accent, not a gradient wash */
.cb-hero::before {
  content: '';
  position: absolute; inset: -64px -25vw 0;
  background:
    radial-gradient(560px 300px at 50% 8%, rgba(0,82,255,0.07), transparent 70%),
    radial-gradient(900px 420px at 50% 0%, rgba(0,82,255,0.035), transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.cb-eyebrow-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cb-blue-lt); color: var(--cb-blue);
  border: 1px solid var(--cb-blue-bd);
  border-radius: 100px; padding: 7px 15px;
  font-size: 13px; font-weight: 700; margin-bottom: 26px;
}
.cb-hero-h1 {
  font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--cb-ink); margin: 0 0 22px; text-align: center;
}
.cb-hero-word { color: var(--cb-blue); font-style: italic; transition: opacity 0.25s ease; display: inline-block; }
.cb-hero-sub {
  font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--cb-body);
  max-width: 520px; margin: 0 auto 30px;
}
.cb-hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.cb-social { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cb-social-logo { width: 28px; height: 28px; object-fit: contain; opacity: 0.85; }
.cb-social-text { font-size: 14px; font-weight: 500; color: var(--cb-muted); }

/* ── HOW IT WORKS ── */
.cb-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cb-how-card {
  border: 1px solid var(--cb-bd); border-radius: 12px; padding: 28px;
  background: #fff; display: flex; flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.cb-how-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #c4ccff;
}
.cb-how-card-blue { background: var(--cb-blue); border-color: var(--cb-blue); color: #fff; }
.cb-how-card-blue:hover {
  box-shadow: 0 4px 20px rgba(0,82,255,0.20);
  border-color: var(--cb-blue);
}
.cb-how-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cb-blue-lt); color: var(--cb-blue);
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.cb-how-card-blue .cb-how-num { background: rgba(255,255,255,0.18); color: #fff; }
.cb-how-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.cb-how-body { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--cb-body); margin-bottom: 22px; }
.cb-how-card-blue .cb-how-body { color: rgba(255,255,255,0.85); }
.cb-how-illo {
  margin-top: auto; height: 120px; border-radius: 12px;
  background: var(--cb-card); color: var(--cb-blue);
  display: flex; align-items: center; justify-content: center;
}
.cb-how-card-blue .cb-how-illo { background: rgba(255,255,255,0.12); color: #fff; }

/* ── EXAMPLE OUTPUT ── */
.cb-example { background: var(--cb-card); border-top: 1px solid var(--cb-bd); border-bottom: 1px solid var(--cb-bd); }
.cb-example-inner { max-width: 1140px; margin: 0 auto; padding: 88px 48px; }
.cb-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.cb-tab {
  padding: 9px 18px; border-radius: 100px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  background: #fff; color: var(--cb-body); border: 1.5px solid var(--cb-bd);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.cb-tab:hover:not(.active) { border-color: var(--cb-blue-bd); color: var(--cb-ink); }
.cb-tab.active { background: var(--cb-blue); color: #fff; border-color: var(--cb-blue); }
.cb-analysis {
  display: grid; grid-template-columns: 300px 1fr;
  background: #fff; border: 1px solid var(--cb-bd); border-radius: 16px; overflow: hidden;
}
.cb-an-left { border-right: 1px solid var(--cb-bd); padding: 24px; }
.cb-an-illo {
  height: 180px; border-radius: 12px; background: var(--cb-blue-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  overflow: hidden;
}
.cb-an-illo-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
  transition: opacity 0.25s ease;
  display: block;
}
.cb-an-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.cb-an-stat { background: var(--cb-card); border: 1px solid var(--cb-bd); border-radius: 12px; padding: 12px 8px; text-align: center; }
.cb-an-stat-val { font-size: 18px; font-weight: 800; color: var(--cb-ink); }
.cb-an-stat-lbl { font-size: 11px; font-weight: 600; color: var(--cb-muted); margin-top: 2px; }
.cb-an-cond { font-size: 13px; font-weight: 600; color: var(--cb-body); background: var(--cb-card); border: 1px solid var(--cb-bd); border-radius: 12px; padding: 12px 14px; }
.cb-an-right { padding: 24px; max-height: 600px; overflow-y: auto; }
.cb-an-title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; color: var(--cb-ink); margin-bottom: 10px; }
.cb-an-price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--cb-blue); margin-bottom: 14px; }
.cb-an-desc { font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--cb-body); margin-bottom: 20px; }
.cb-an-block-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cb-muted); margin-bottom: 10px; }
.cb-an-bullets { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.cb-an-bullets li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--cb-ink); }
.cb-an-bullets li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--cb-green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230A8054' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.cb-an-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.cb-an-chips span {
  background: var(--cb-blue-lt); color: var(--cb-blue);
  border-radius: 100px; padding: 5px 11px; font-size: 12px; font-weight: 600;
}
.cb-an-tip {
  background: var(--cb-amber-bg); border: 1px solid var(--cb-amber-bd);
  border-radius: 12px; padding: 14px 16px;
  font-size: 13px; font-weight: 500; line-height: 1.5; color: #7a4d00;
}
.cb-disclaimer { font-size: 12px; color: var(--cb-faint); text-align: center; margin: 22px 0 20px; }

/* ── TOOLS ── */
.cb-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cb-tool-card {
  border: 1px solid var(--cb-bd); border-radius: 12px; padding: 24px;
  background: #fff; transition: border-color 150ms, background 150ms;
  display: flex; flex-direction: column;
}
.cb-tool-card:hover { border-color: var(--cb-blue-bd); background: #FAFBFF; }
.cb-tool-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cb-blue-lt); color: var(--cb-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.cb-tool-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--cb-ink); margin-bottom: 7px; }
.cb-tool-body { font-size: 14px; font-weight: 500; line-height: 1.55; color: var(--cb-body); margin-bottom: 16px; }
.cb-tool-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--cb-blue); text-decoration: none; }
.cb-tool-link:hover { color: var(--cb-blue-h); }

/* ── Preview cards (Dashboard + Analytics) ── */
.cb-tool-card--preview {
  padding: 0; overflow: hidden; grid-column: span 1;
  display: flex; flex-direction: column;
}
.cb-tool-card--preview:last-child { grid-column: 2 / span 1; }
.cb-tool-card-top { padding: 24px 24px 20px; display: flex; flex-direction: column; }
.cb-tool-card-top .cb-tool-link { margin-top: 0; }
.cb-tool-preview-wrap {
  flex: 1; margin: 0 12px 12px; border-radius: 12px; overflow: hidden;
  border: 1px solid #E8E8EC; background: #FAFAFA;
}
.cb-tp-chrome {
  padding: 8px 12px; border-bottom: 1px solid #EBEBEF;
  display: flex; align-items: center; gap: 8px; background: #F4F4F6;
}
.cb-tp-dots { display: flex; gap: 4px; }
.cb-tp-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.cb-tp-dots i:nth-child(1) { background: #FC5753; }
.cb-tp-dots i:nth-child(2) { background: #FDBC40; }
.cb-tp-dots i:nth-child(3) { background: #33C748; }
.cb-tp-title { font-size: 11px; font-weight: 600; color: #8C8C9A; margin: 0 auto; }
.cb-tp-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }

/* stats strip inside preview */
.cb-tp-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid #EBEBEF; border-radius: 8px; overflow: hidden; }
.cb-tp-stats--3 { grid-template-columns: 1fr 1fr 1fr; }
.cb-tp-stat { padding: 9px 10px; border-right: 1px solid #EBEBEF; }
.cb-tp-stat:last-child { border-right: none; }
.cb-tp-stat--main { background: #F7F7F9; }
.cb-tp-stat--green { background: #F0FDF4; }
.cb-tp-lbl { font-size: 9.5px; font-weight: 600; color: #A0A0AB; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-tp-val { font-size: 16px; font-weight: 800; color: #18181b; letter-spacing: -0.03em; line-height: 1; }
.cb-tp-val--green { color: #16a34a; }
.cb-tp-delta { font-size: 9px; font-weight: 700; color: #16a34a; background: #f0fdf4; border-radius: 3px; padding: 1px 4px; display: inline-block; margin-top: 3px; }

/* listing rows */
.cb-tp-rows { display: flex; flex-direction: column; border: 1px solid #EBEBEF; border-radius: 8px; overflow: hidden; }
.cb-tp-row { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-size: 11px; border-bottom: 1px solid #EBEBEF; }
.cb-tp-row:last-child { border-bottom: none; }
.cb-tp-row:nth-child(even) { background: #FAFAFA; }
.cb-tp-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cb-tp-dot--g { background: #16a34a; }
.cb-tp-dot--b { background: #0052FF; }
.cb-tp-name { flex: 1; font-weight: 500; color: #18181b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-tp-price { font-weight: 700; color: #18181b; }

/* chart */
.cb-tp-chart { border: 1px solid #EBEBEF; border-radius: 8px; overflow: hidden; padding: 8px 10px 4px; }

/* platform bars */
.cb-tp-bars { display: flex; flex-direction: column; gap: 6px; }
.cb-tp-bar-row { display: flex; align-items: center; gap: 7px; }
.cb-tp-bar-lbl { font-size: 10px; font-weight: 600; color: #52525B; width: 52px; flex-shrink: 0; }
.cb-tp-bar-track { flex: 1; height: 5px; background: #EBEBEF; border-radius: 3px; overflow: hidden; }
.cb-tp-bar-fill { height: 100%; border-radius: 3px; }
.cb-tp-bar-val { font-size: 10px; font-weight: 700; color: #18181b; width: 36px; text-align: right; }

.cb-calc-strip {
  margin-top: 16px; border: 1px solid var(--cb-bd); border-radius: 16px; padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff;
}
.cb-calc-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--cb-ink); }
.cb-calc-sub { font-size: 13.5px; font-weight: 500; color: var(--cb-body); margin-top: 3px; }
.cb-calc-links { display: flex; gap: 18px; flex-wrap: wrap; }
.cb-calc-links a { font-size: 14px; font-weight: 700; color: var(--cb-blue); text-decoration: none; }
.cb-calc-links a:hover { color: var(--cb-blue-h); }

.cb-trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cb-trust-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cb-body); }

/* ── PRICING ── */
.cb-pricing { background: var(--cb-card); border-top: 1px solid var(--cb-bd); }
.cb-pricing-inner { max-width: 1000px; margin: 0 auto; padding: 88px 48px; }
.cb-pricing-inner .cb-sec-head { text-align: center; }
.cb-toggle-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; }
.cb-toggle-lbl { font-size: 15px; font-weight: 600; color: var(--cb-muted); transition: color 150ms; }
.cb-toggle-lbl.active { font-weight: 700; color: var(--cb-ink); }
.cb-toggle {
  position: relative; width: 40px; height: 22px; border-radius: 100px;
  background: #DEE1E7; border: none; cursor: pointer; padding: 0;
  transition: background 0.2s ease;
}
.cb-toggle.on { background: var(--cb-blue); }
.cb-knob {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: left 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cb-toggle.on .cb-knob { left: 20px; }
.cb-save { background: var(--cb-green-bg); color: var(--cb-green); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; }

.cb-tiers { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: start; }
.cb-tier { background: #fff; border: 1px solid var(--cb-bd); border-radius: 12px; padding: 28px 24px; position: relative; display: flex; flex-direction: column; }
.cb-tier-pro { border: 2px solid var(--cb-blue); }
.cb-tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cb-blue); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px; white-space: nowrap;
}
.cb-tier-name { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cb-ink); margin-bottom: 12px; }
.cb-tier-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.cb-tier-amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--cb-ink); }
.cb-tier-amt::before { content: '$'; font-size: 24px; font-weight: 700; vertical-align: top; }
.cb-tier-per { font-size: 14px; font-weight: 600; color: var(--cb-muted); }
.cb-tier-yearly { font-size: 12px; font-weight: 500; color: var(--cb-muted); min-height: 16px; margin-bottom: 4px; }
.cb-tier-for { font-size: 13px; font-weight: 500; color: var(--cb-body); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--cb-bd); }
.cb-tier-feats { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.cb-tier-feats li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 500; color: var(--cb-ink); line-height: 1.45; }
.cb-tier-feats li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%230052FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.cb-tier-cta { margin-top: auto; width: 100%; }
.cb-tier-multiplier { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--cb-blue-lt); color: var(--cb-blue); font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; vertical-align: middle; white-space: nowrap; }
.cb-pricing-note { text-align: center; font-size: 13px; font-weight: 500; color: var(--cb-muted); margin-top: 28px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ── FAQ ── */
.cb-faq { max-width: 720px; margin: 0 auto; padding: 88px 48px; }
.cb-faq .cb-sec-head { text-align: center; }
.cb-faq-list { border-bottom: 1px solid var(--cb-bd); }
.cb-faq-item { border-top: 1px solid var(--cb-bd); }
.cb-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 22px 4px;
  font-family: inherit; font-size: 17px; font-weight: 700; color: var(--cb-ink); text-align: left;
}
.cb-faq-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.cb-faq-ico::before, .cb-faq-ico::after {
  content: ''; position: absolute; background: var(--cb-blue); border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.cb-faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.cb-faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.cb-faq-item.open .cb-faq-ico::after { transform: rotate(90deg); }
.cb-faq-item.open .cb-faq-ico { transform: rotate(45deg); }
.cb-faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.38s ease; }
.cb-faq-item.open .cb-faq-a { max-height: 300px; opacity: 1; }
.cb-faq-a p { font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--cb-body); margin: 0 4px 22px; }

/* ── FOOTER ── */
footer.cb-footer { background: #fff; border-top: 1px solid var(--cb-bd); padding: 52px 48px 32px; }
.cb-footer-inner { max-width: 1140px; margin: 0 auto; }
.cb-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.cb-footer-tagline { font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--cb-body); max-width: 320px; margin: 14px 0 18px; }
.cb-footer-col-title { font-size: 13px; font-weight: 800; color: var(--cb-ink); margin-bottom: 14px; }
.cb-footer-col a { display: block; font-size: 14px; font-weight: 500; color: var(--cb-body); text-decoration: none; margin-bottom: 10px; transition: color 150ms; }
.cb-footer-col a:hover { color: var(--cb-blue); }
.cb-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--cb-bd); }
.cb-footer-copy { font-size: 13px; font-weight: 500; color: var(--cb-faint); }
.cb-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.cb-footer-legal a { font-size: 13px; font-weight: 500; color: var(--cb-faint); text-decoration: none; }
.cb-footer-legal a:hover { color: var(--cb-body); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1.visible { transition-delay: 70ms; }
.reveal.d2.visible { transition-delay: 150ms; }
.reveal.d3.visible { transition-delay: 230ms; }

/* ════ RESPONSIVE ════ */
@media (max-width: 900px) {
  .cb-how-grid, .cb-tools-grid { grid-template-columns: 1fr 1fr; }
  .cb-tool-card--preview:last-child { grid-column: auto; }
  .cb-tiers { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cb-tier-pro { order: -1; }
  .cb-analysis { grid-template-columns: 1fr; }
  .cb-an-left { border-right: none; border-bottom: 1px solid var(--cb-bd); }
  .cb-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Nav must never clip: tighter padding, smaller CTA, no shrinking overflow */
  nav.cb-nav { padding: 0 14px; gap: 8px; }
  .cb-nav-links { display: none; }
  .cb-logo { min-width: 0; }
  .cb-nav-right { gap: 6px; flex-shrink: 0; }
  .cb-nav-right .cb-btn { padding: 9px 14px; font-size: 13.5px; white-space: nowrap; }
  .cb-link-btn { padding: 6px 6px; font-size: 13.5px; white-space: nowrap; }

  .cb-section, .cb-example-inner, .cb-pricing-inner, .cb-faq { padding: 48px 18px; }
  .cb-hero { padding: 48px 18px 56px; }
  .cb-hero-h1 { font-size: 40px; }
  .cb-hero-sub { font-size: 16px; }
  .cb-h2 { font-size: 30px; }
  .cb-how-grid, .cb-tools-grid { grid-template-columns: 1fr; }
  .cb-tool-card--preview:last-child { grid-column: auto; }
  .cb-calc-strip { flex-direction: column; align-items: flex-start; }
  .cb-footer-top { grid-template-columns: 1fr; gap: 24px; }

  /* ── Mobile simplification: cut decoration, keep the pitch ── */
  /* Hero badge is fluff on a small screen */
  .cb-eyebrow-badge { display: none; }
  /* How-it-works: drop the big empty icon boxes, tighten the cards */
  .cb-how-illo { display: none; }
  .cb-how-card { padding: 20px; }
  .cb-how-body { margin-bottom: 0; }
  /* Example output: keep title/price/description, trim the extras */
  .cb-an-illo { height: 140px; }
  .cb-an-cond, .cb-an-tip { display: none; }
  .cb-an-right { max-height: none; }
  .cb-tool-card { padding: 18px 20px; }
  .cb-tool-body { margin-bottom: 10px; }
}
@media (max-width: 420px) {
  .cb-hero-h1 { font-size: 32px; }
  .cb-hero-ctas { flex-direction: column; }
  .cb-hero-ctas .cb-btn { width: 100%; }
  /* Compact brand + buttons so everything fits on narrow screens */
  .cb-logo { gap: 7px; }
  .cb-logo-word { font-size: 16px; }
  .cb-logo-mark { width: 28px; height: 28px; }
  .cb-nav-right .cb-btn { padding: 8px 12px; font-size: 13px; }
  .cb-link-btn { font-size: 13px; padding: 6px 4px; }
}
