/* ============================================================
   MarketMoodz Template v3 — "Signal"
   Light, data-forward design system matching the app UI.
   Brand inversion: red = Oversold = where we hunt.
   Loaded only on TEMPLATE_V3_PAGES (see scripts/build-site.js);
   overrides marketmoodz.css header/footer on those pages only.
   ============================================================ */

:root {
  --v3-bg: #f7f9fb;
  --v3-panel: #ffffff;
  --v3-ink: #101828;
  --v3-ink-2: #475467;
  --v3-ink-3: #667085;
  --v3-line: #e4e7ec;
  --v3-line-soft: #eef1f5;
  --v3-red: #b42318;
  --v3-red-deep: #912018;
  --v3-red-bg: #fee4e2;
  --v3-green: #0e7a4e;
  --v3-green-bg: #e6f6ec;
  --v3-amber: #b54708;
  --v3-amber-bg: #fef0c7;
  --v3-dark: #0c111d;
  --v3-dark-2: #161b26;
  --v3-radius: 14px;
  --v3-radius-sm: 10px;
  --v3-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --v3-shadow-lg: 0 12px 40px rgba(16, 24, 40, 0.12);
  --v3-font: 'Inter', 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --v3-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
}

body {
  background: var(--v3-bg);
  color: var(--v3-ink);
  font-family: var(--v3-font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- header / footer modernization (v3 pages only) ---------- */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v3-line);
  box-shadow: none;
}
.header .logo { color: var(--v3-ink); font-weight: 800; letter-spacing: -0.02em; }
.header .nav-link { color: var(--v3-ink-2); font-weight: 600; }
.header .nav-link:hover { color: var(--v3-ink); }
.header .cta-button {
  background: var(--v3-ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  box-shadow: none;
}
.header .cta-button:hover { background: var(--v3-dark-2); transform: none; }
.header .dropdown { border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow-lg); border-radius: 12px; }

/* Mobile nav: the base sheet paints a dark slide-down menu with white links;
   the v3 header is white, so restyle the open menu light with dark links. */
@media (max-width: 768px) {
  .nav {
    background: #fff;
    border-bottom: 1px solid var(--v3-line);
    box-shadow: 0 16px 32px rgba(16, 24, 40, 0.12);
  }
  .mobile-dropdown summary { color: var(--v3-ink-2); }
  .mobile-dropdown[open] summary { color: var(--v3-red); }
  .mobile-dropdown .dropdown-content { background: #fbfcfd; }
  .mobile-dropdown .dropdown-content a { color: var(--v3-ink-2); }
  .mobile-dropdown .dropdown-content a:hover { background: var(--v3-line-soft); color: var(--v3-ink); }
  .nav > .nav-link { color: var(--v3-ink-2); }
}

.footer { background: var(--v3-dark); color: #98a2b3; }
.footer .footer-title { color: #fff; }
.footer .footer-links a { color: #98a2b3; }
.footer .footer-links a:hover { color: #fff; }
.footer .footer-bottom { color: #667085; border-top: 1px solid #1f242f; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout primitives ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.block { padding: 88px 0; }
.block-tight { padding: 56px 0; }
.band-dark { background: var(--v3-dark); color: #e4e7ec; }
.band-dark .section-title, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-intro, .band-dark p { color: #98a2b3; }
.band-panel { background: var(--v3-panel); border-top: 1px solid var(--v3-line); border-bottom: 1px solid var(--v3-line); }

/* ---------- type ---------- */
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v3-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v3-red);
  margin-bottom: 18px;
}
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--v3-red); }
.band-dark .section-label { color: #f97066; }
.band-dark .section-label::before { background: #f97066; }

.hero-title {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--v3-ink);
}
.hero-title em, .section-title em, .final h2 em { font-style: normal; color: var(--v3-red); }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--v3-ink-2);
  max-width: 56ch;
  margin: 0 0 28px;
}
.section-title {
  display: block;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--v3-ink);
  border-bottom: none;
  padding-bottom: 0;
}
.section-intro { font-size: 17px; line-height: 1.65; color: var(--v3-ink-2); max-width: 64ch; margin: 0 0 40px; }

.num { font-family: var(--v3-mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--v3-ink);
  color: #fff;
  font-family: var(--v3-font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid var(--v3-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--v3-dark-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 17px; padding: 17px 32px; border-radius: 12px; }
.btn-red { background: var(--v3-red); border-color: var(--v3-red); }
.btn-red:hover { background: var(--v3-red-deep); }
.btn-ghost { background: transparent; color: var(--v3-ink); border: 1px solid var(--v3-line); }
.btn-ghost:hover { background: var(--v3-panel); border-color: var(--v3-ink-3); color: var(--v3-ink); }
.band-dark .btn { background: #fff; color: var(--v3-ink); border-color: #fff; }
.band-dark .btn:hover { background: #e4e7ec; }
.band-dark .btn-ghost { background: transparent; color: #fff; border-color: #344054; }
/* legacy class names still used by shared JS — map onto v3 looks */
.btn-teal { background: var(--v3-ink); border-color: var(--v3-ink); color: #fff; }
.btn-teal:hover { background: var(--v3-dark-2); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; }
.hero-fineprint, .price-line, .email-landing-fineprint {
  font-size: 14px;
  color: var(--v3-ink-3);
  margin-top: 14px;
}
.hero-fineprint span { margin: 0 6px; color: var(--v3-line); }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--v3-line);
  background: var(--v3-panel);
  color: var(--v3-ink-2);
}
.chip-red { background: var(--v3-red); border-color: var(--v3-red); color: #fff; }
.chip-red-soft { background: var(--v3-red-bg); border-color: var(--v3-red-bg); color: var(--v3-red); }
.chip-green-soft { background: var(--v3-green-bg); border-color: var(--v3-green-bg); color: var(--v3-green); }
.chip-amber-soft { background: var(--v3-amber-bg); border-color: var(--v3-amber-bg); color: var(--v3-amber); }

.score-pill {
  font-family: var(--v3-mono);
  font-weight: 700;
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--v3-red-bg);
  color: var(--v3-red);
}

/* ---------- hero grid + product board mock ---------- */
.hero { padding: 76px 0 84px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.board-card {
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  box-shadow: var(--v3-shadow-lg);
  overflow: hidden;
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--v3-line);
}
.board-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.board-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--v3-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--v3-ink-3);
}
.board-live .live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--v3-red); animation: v3pulse 2s infinite; }
@keyframes v3pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.board-rows { padding: 6px 0; }
.board-row {
  display: grid;
  grid-template-columns: 76px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--v3-line-soft);
}
.board-row:last-child { border-bottom: none; }
.board-row .tk { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.board-row .sec { font-size: 12px; color: var(--v3-ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.board-row svg { display: block; }
.board-row.locked { position: relative; }
.board-row.locked .tk, .board-row.locked .sec { filter: blur(5px); user-select: none; }
.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #fbfcfd;
  border-top: 1px solid var(--v3-line);
  font-size: 14px;
}
.board-foot a { color: var(--v3-red); font-weight: 700; text-decoration: none; }
.board-foot a:hover { text-decoration: underline; }

/* product screenshot framing */
.product-shot { border-radius: var(--v3-radius); overflow: hidden; border: 1px solid var(--v3-line); box-shadow: var(--v3-shadow-lg); background: var(--v3-panel); }
.product-shot img { display: block; width: 100%; }
.product-shot-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--v3-line); }
.product-shot-head h3 { margin: 0; font-size: 15px; }
.product-shot-footer { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14px; color: var(--v3-ink-2); border-top: 1px solid var(--v3-line); }
.product-shot-footer a { color: var(--v3-red); font-weight: 700; text-decoration: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); }
.live .live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--v3-red); animation: v3pulse 2s infinite; }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat-cell { background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius-sm); padding: 20px 22px; }
.stat-cell .stat-num { font-family: var(--v3-mono); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat-cell .stat-num.red { color: var(--v3-red); }
.stat-cell .stat-label { font-size: 13px; color: var(--v3-ink-3); font-weight: 600; margin-top: 4px; }

/* ---------- feature/get grid ---------- */
.get-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.get-item {
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  padding: 26px 24px;
  box-shadow: var(--v3-shadow);
}
.get-tag {
  display: inline-block;
  font-family: var(--v3-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3-red);
  background: var(--v3-red-bg);
  border-radius: 6px;
  padding: 5px 9px;
  margin-bottom: 14px;
}
.get-item h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.get-item p { font-size: 14.5px; line-height: 1.6; color: var(--v3-ink-2); margin: 0; }

/* ---------- how steps ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-col { background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); padding: 28px 26px; }
.how-num { font-family: var(--v3-mono); font-size: 13px; font-weight: 700; color: var(--v3-red); margin-bottom: 14px; }
.how-col h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -0.01em; }
.how-col p { font-size: 15px; line-height: 1.65; color: var(--v3-ink-2); margin: 0; }
.band-dark .how-col { background: var(--v3-dark-2); border-color: #1f242f; }
.band-dark .how-col h3 { color: #fff; }
.band-dark .how-col p { color: #98a2b3; }

/* ---------- offer stack ---------- */
.stack-card {
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  box-shadow: var(--v3-shadow-lg);
  padding: 8px 30px;
}
.stack-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--v3-line-soft); align-items: flex-start; }
.stack-row:last-child { border-bottom: none; }
.stack-check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--v3-green-bg);
  color: var(--v3-green);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.stack-row h4 { margin: 0 0 4px; font-size: 16.5px; letter-spacing: -0.01em; }
.stack-row p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--v3-ink-2); }

/* ---------- guarantee ---------- */
.guarantee-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  background: var(--v3-dark);
  color: #e4e7ec;
  border-radius: var(--v3-radius);
  padding: 36px 40px;
}
.guarantee-num { font-family: var(--v3-mono); font-size: 56px; font-weight: 700; color: #fff; line-height: 1; }
.guarantee-num span { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #f97066; margin-top: 8px; }
.guarantee-box h3 { color: #fff; margin: 0 0 8px; font-size: 22px; letter-spacing: -0.01em; }
.guarantee-box p { margin: 0; color: #98a2b3; font-size: 15px; line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius-sm); overflow: hidden; }
.faq-q {
  position: relative;
  display: block;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.faq-q em { font-style: normal; color: var(--v3-red); }
.faq-q::after {
  content: '+';
  font-family: var(--v3-mono);
  color: var(--v3-ink-3);
  font-size: 18px;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}
.faq-item.open .faq-q::after { content: '–'; }
.faq-a { display: none; padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--v3-ink-2); }
.faq-item.open .faq-a { display: block; }

/* ---------- final CTA ---------- */
.final { background: var(--v3-dark); color: #fff; padding: 96px 0; text-align: center; }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0 0 18px; color: #fff; }
.final .final-sub { font-size: 17px; color: #98a2b3; max-width: 56ch; margin: 0 auto 30px; line-height: 1.65; }
.final .price-line { color: #667085; margin-top: 18px; }
.final .price-line strong { color: #e4e7ec; }

/* ---------- email capture forms (landing-email + trial) ---------- */
.email-landing-hero { padding: 76px 0 70px; }
.email-landing-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.email-signup-form { display: flex; flex-direction: column; gap: 0; align-items: stretch; max-width: 620px; margin-top: 6px; }
.email-signup-row { display: flex; gap: 10px; margin-bottom: 10px; }
.email-signup-row input[type='email'],
.email-signup-row input[type='text'] {
  flex: 1;
  font-family: var(--v3-font);
  font-size: 16px;
  padding: 15px 18px;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  background: var(--v3-panel);
  color: var(--v3-ink);
  min-width: 0;
}
.email-signup-row input:focus { outline: 2px solid var(--v3-ink); outline-offset: -1px; border-color: var(--v3-ink); }
.email-signup-row .btn, .email-signup-row button { white-space: nowrap; }
.email-signup-status { min-height: 22px; font-size: 14px; margin-top: 6px; }
.email-signup-status.is-error { color: var(--v3-red); }
.email-signup-status.is-success { color: var(--v3-green); }
.email-signup-form-centered { max-width: 560px; margin-left: auto; margin-right: auto; }

.email-preview-card {
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  box-shadow: var(--v3-shadow-lg);
  overflow: hidden;
}
.email-preview-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--v3-mono);
  font-size: 12.5px;
  color: var(--v3-ink-3);
  border-bottom: 1px solid var(--v3-line);
}
.email-preview-card img { display: block; width: 100%; }
.email-preview-card p { font-size: 13px; color: var(--v3-ink-3); padding: 12px 18px; margin: 0; border-top: 1px solid var(--v3-line); }

.email-final { background: var(--v3-dark); color: #fff; padding: 88px 0; text-align: center; }
.email-final h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 14px; }
.email-final .final-sub { color: #98a2b3; font-size: 17px; margin: 0 0 28px; }

/* ---------- ticker ribbon (home, classes consumed by home.js) ---------- */
.ticker-strip { overflow: hidden; border-top: 1px solid var(--v3-line); border-bottom: 1px solid var(--v3-line); background: var(--v3-panel); }
/* Duration calibrated for the 12-unique static fallback at ~24px/s (the calm
   dev speed). home.js overrides animationDuration inline for live data so the
   pixels-per-second stay constant no matter how many tickers load. */
.ticker-track { display: flex; gap: 0; width: max-content; animation: v3ticker 106s linear infinite; }
@keyframes v3ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-right: 1px solid var(--v3-line-soft);
  font-size: 13.5px;
  white-space: nowrap;
}
.ticker-item .t { font-weight: 800; }
.ticker-item .r { font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); }
.ticker-item .chg { font-family: var(--v3-mono); font-weight: 600; font-size: 12.5px; }
.ticker-item .chg.pos { color: var(--v3-green); }
.ticker-item .chg.neg { color: var(--v3-red); }

/* ---------- sidebar briefing card (home, classes consumed by home.js) ---------- */
.sidebar-card { background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); box-shadow: var(--v3-shadow-lg); overflow: hidden; }
.sb-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--v3-line); }
.sb-head h3 { margin: 0; font-size: 15px; }
.sb-head .time { font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); }
.sb-body { padding: 18px 20px; }
.sb-kicker { font-family: var(--v3-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v3-red); margin-bottom: 10px; }
.sb-body h4 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.sb-body p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--v3-ink-2); }
.sb-picks { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--v3-line-soft); }
.sb-pick { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--v3-line-soft); font-size: 14px; }
.sb-pick .t { font-weight: 800; }
.sb-pick .r { font-family: var(--v3-mono); font-size: 12.5px; color: var(--v3-red); font-weight: 600; }
.sb-foot { padding: 14px 20px; background: #fbfcfd; border-top: 1px solid var(--v3-line); font-size: 14px; }
.sb-foot a { color: var(--v3-red); font-weight: 700; text-decoration: none; }

/* ---------- flow bars (home, classes consumed by home.js) ---------- */
.flow-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); padding: 40px; box-shadow: var(--v3-shadow); }
.flow-side h3 { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 12px; }
.flow-side p { font-size: 15px; line-height: 1.65; color: var(--v3-ink-2); }
.flow-stamp { font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); border-top: 1px solid var(--v3-line-soft); padding-top: 12px; margin-top: 16px; }
.flow-bars { display: flex; flex-direction: column; gap: 12px; }
.flow-bar { display: grid; grid-template-columns: 130px 1fr 64px; gap: 14px; align-items: center; }
.flow-bar .name { font-size: 13.5px; font-weight: 600; color: var(--v3-ink-2); }
.flow-bar .bar-wrap { position: relative; height: 12px; background: var(--v3-line-soft); border-radius: 999px; overflow: hidden; }
.flow-bar .bar { position: absolute; top: 0; bottom: 0; left: 50%; border-radius: 999px; }
.flow-bar .bar.pos { background: var(--v3-green); }
.flow-bar .bar.neg { background: var(--v3-red); }
.flow-bar .val { font-family: var(--v3-mono); font-size: 13px; font-weight: 600; text-align: right; }
.flow-bar .val.pos { color: var(--v3-green); }
.flow-bar .val.neg { color: var(--v3-red); }

/* ---------- mood gauge ---------- */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gauge-bands { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- pricing ---------- */
.price-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  box-shadow: var(--v3-shadow-lg);
  overflow: hidden;
}
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--v3-line); }
.price-head h2 { margin: 0; font-size: 21px; letter-spacing: -0.01em; }
.price-head .tag { font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); }
.price-body { padding: 32px; }
.price-amount { font-family: var(--v3-mono); font-size: 64px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount .dollar { font-size: 30px; vertical-align: 18px; color: var(--v3-ink-2); }
.price-amount .period { font-size: 18px; color: var(--v3-ink-3); font-weight: 500; }
.price-sub { color: var(--v3-ink-3); font-size: 14px; margin: 10px 0 24px; }
.price-features h4 { font-family: var(--v3-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v3-ink-3); margin: 0 0 14px; }
.price-features ul { list-style: none; padding: 0; margin: 0 0 26px; }
.price-features li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--v3-line-soft); font-size: 15px; position: relative; }
.price-features li::before { content: '✓'; position: absolute; left: 4px; color: var(--v3-green); font-weight: 800; }
.price-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.price-fine { font-size: 13.5px; color: var(--v3-ink-3); margin-top: 16px; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--v3-panel); border: 1px solid var(--v3-line); border-radius: var(--v3-radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--v3-line-soft); text-align: left; }
.compare-table thead th { background: #fbfcfd; font-family: var(--v3-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v3-ink-3); }
.compare-table th.mm, .compare-table td.mm { background: #fff8f7; }
.compare-table .feature { font-weight: 600; }
.compare-table .check.yes { color: var(--v3-green); font-weight: 700; }
.compare-table .check.no { color: var(--v3-ink-3); }
.compare-table .check.partial { color: var(--v3-amber); font-weight: 600; }

/* ---------- audit table (performance + landing proof) ---------- */
.audit-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.audit-table th { font-family: var(--v3-mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--v3-ink-3); text-align: left; padding: 12px 16px; background: #fbfcfd; border-bottom: 1px solid var(--v3-line); position: sticky; top: 0; }
.audit-table td { padding: 13px 16px; border-bottom: 1px solid var(--v3-line-soft); }
.audit-table td.num, .audit-table th.num { text-align: right; font-family: var(--v3-mono); font-variant-numeric: tabular-nums; }
.audit-win { color: var(--v3-green); font-weight: 700; }
.audit-loss { color: var(--v3-red); font-weight: 700; }
.audit-open { color: var(--v3-ink-3); font-weight: 600; }

/* ---------- guides / articles ---------- */
.article-container { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; background: transparent; box-shadow: none; }
.breadcrumb { display: flex; gap: 8px; font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); margin-bottom: 28px; }
.breadcrumb a { color: var(--v3-ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--v3-red); }
.article-header { margin-bottom: 36px; border-bottom: 1px solid var(--v3-line); padding-bottom: 28px; }
.category-tag {
  display: inline-block;
  font-family: var(--v3-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3-red);
  background: var(--v3-red-bg);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 16px;
}
.article-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; color: var(--v3-ink); margin: 0 0 14px; }
.article-title a { color: var(--v3-ink); text-decoration: none; }
.article-title a:hover { color: var(--v3-red); }
.article-subtitle { font-size: 18px; line-height: 1.6; color: var(--v3-ink-2); margin: 0 0 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--v3-mono); font-size: 12px; color: var(--v3-ink-3); }
.article-content p { font-size: 16.5px; line-height: 1.75; color: #2b3645; margin: 0 0 20px; }
.article-content h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.015em; color: var(--v3-ink); margin: 40px 0 14px; border: none; padding: 0; display: block; }
.article-content ul { margin: 0 0 20px; padding-left: 22px; }
.article-content li { font-size: 16px; line-height: 1.7; color: #2b3645; margin-bottom: 10px; }
.article-content a { color: var(--v3-red); font-weight: 600; text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content small { color: var(--v3-ink-3); line-height: 1.6; }
.takeaways-box {
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-left: 4px solid var(--v3-red);
  border-radius: var(--v3-radius-sm);
  padding: 22px 26px;
  margin: 0 0 28px;
}
.takeaways-box h2 { margin: 0 0 12px; font-size: 15px; font-family: var(--v3-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--v3-ink-2); }
.takeaways-box ul { margin: 0; }
.analysis-section { background: #fbfcfd; border: 1px solid var(--v3-line); border-radius: var(--v3-radius-sm); padding: 20px 24px; margin: 36px 0 26px; }
.analysis-section h2 { margin: 0 0 8px; font-size: 15px; font-family: var(--v3-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--v3-ink-2); }
.analysis-section p { margin: 0; font-size: 15px; }
.article-cta {
  background: var(--v3-dark);
  border-radius: var(--v3-radius);
  padding: 34px 36px;
  margin: 36px 0 26px;
  text-align: center;
}
.article-cta h3 { color: #fff; font-size: 22px; letter-spacing: -0.015em; margin: 0 0 10px; }
.article-cta p { color: #98a2b3; font-size: 15px; line-height: 1.65; max-width: 54ch; margin: 0 auto 20px; }
.article-cta .cta-button {
  display: inline-block;
  background: var(--v3-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
}
.article-cta .cta-button:hover { background: var(--v3-red-deep); }
.article-cta .article-cta-alt { margin: 16px 0 0; font-size: 13.5px; color: #667085; }
.article-cta .article-cta-alt a { color: #f97066; font-weight: 700; text-decoration: none; }
.guides-list { display: grid; gap: 20px; margin: 8px 0 32px; }
.guide-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--v3-panel);
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  overflow: hidden;
  box-shadow: var(--v3-shadow);
}
.guide-card-image { display: block; }
.guide-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.guide-card .article-body { padding: 22px 26px; }
.guide-card .article-meta { margin-bottom: 10px; }
.guide-card .article-title { font-size: 20px; margin: 0 0 8px; line-height: 1.3; }
.guide-card .article-excerpt { font-size: 14.5px; line-height: 1.6; color: var(--v3-ink-2); margin: 0; }
@media (max-width: 700px) {
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-image img { max-height: 180px; }
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--v3-line);
}
.sticky-cta .btn { width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .email-landing-grid, .flow-panel { grid-template-columns: 1fr; gap: 36px; }
  .get-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; gap: 10px; }
  .block { padding: 64px 0; }
  .guarantee-box { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
}
@media (max-width: 640px) {
  .get-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero-title { font-size: 34px; }
  .email-signup-row { flex-direction: column; }
  .email-signup-row .btn, .email-signup-row button { width: 100%; }
  .sticky-cta { display: block; }
  body { padding-bottom: 74px; }
  .masthead-inner { flex-direction: column; gap: 2px; text-align: center; }
  .board-row { grid-template-columns: 64px 1fr auto; }
  .board-row svg { display: none; }
}
