/* OFEngine sales landing pages (e.g. /fanvue-clone/). Loaded after
   /styles.css and uses its tokens, so light and dark mode both work. */

/* Section shells that are new on sales pages */
.fv-ai, .fv-vs, .fv-calc-section, .fv-links {
  padding: 140px 24px;
  border-bottom: 1px solid var(--border);
}
.fv-ai, .fv-calc-section { background: var(--bg); }
.fv-vs, .fv-links { background: var(--bg-soft); }
@media (max-width: 640px) {
  .pain, .features, .pricing, .faq, .final-cta,
  .fv-ai, .fv-vs, .fv-calc-section, .fv-links { padding: 88px 0; }
  .section-sub { margin-bottom: 40px; }
}

.fv-src { font-size: 0.7em; line-height: 0; margin-left: 2px; }
.fv-src a { color: var(--accent-2); text-decoration: none; }
.fv-src a:hover { text-decoration: underline; }
.fv-link, .fv-plan-note a, .faq details p a { color: var(--accent-2); font-weight: 500; }
.fv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero extras */
.fv-crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; font-family: var(--font-mono); }
.fv-crumbs a { color: var(--muted); }
.fv-crumbs a:hover { color: var(--accent); }
.fv-hero-note { margin: 18px auto 0; font-size: 13.5px; color: var(--muted); max-width: 560px; line-height: 1.5; }

/* Why strip */
.pain .pain-a { font-size: 16px; font-weight: 400; color: var(--fg-soft); line-height: 1.55; }
.fv-fair { margin: 28px 0 0; max-width: var(--max-prose); color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Screenshots */
.fv-shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
}
.fv-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.fv-shot figcaption { padding: 12px 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--border); }
.fv-shot figcaption strong { color: var(--fg); font-weight: 600; }

/* AI rows: text + screenshot, alternating */
.fv-rows { display: flex; flex-direction: column; gap: 64px; }
.fv-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.fv-row--flip .fv-row-text { order: 2; }
.fv-row-text h3 { font-family: var(--font-body); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--fg); }
.fv-row-text p { margin: 0 0 12px; color: var(--fg-soft); font-size: 16px; line-height: 1.6; }
.fv-ticks { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.fv-ticks li { position: relative; padding-left: 18px; color: var(--fg-soft); font-size: 15px; line-height: 1.5; }
.fv-ticks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
@media (max-width: 880px) {
  .fv-row { grid-template-columns: 1fr; gap: 24px; }
  .fv-row--flip .fv-row-text { order: 0; }
  .fv-rows { gap: 48px; }
}

.fv-ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.fv-ai-cards article, .fv-calc, .fv-link-cards a {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.fv-ai-cards article { padding: 22px 22px; }
.fv-ai-cards h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--fg); }
.fv-ai-cards p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-soft); }
@media (max-width: 880px) { .fv-ai-cards { grid-template-columns: 1fr; margin-top: 48px; } }
.fv-plan-note {
  margin: 28px 0 0; padding: 16px 20px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--fg); font-size: 15px; line-height: 1.55;
}

/* Feature screenshots */
.fv-shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .fv-shot-pair { grid-template-columns: 1fr; } }

/* Fanvue vs own site table: 3 columns, no forced width */
.compare.fv-compare { min-width: 0; table-layout: fixed; }
.compare.fv-compare th, .compare.fv-compare td { text-align: left; vertical-align: top; }
.compare.fv-compare th.col-feature, .compare.fv-compare td:first-child { width: 24%; min-width: 0; font-weight: 500; color: var(--fg); }
@media (max-width: 640px) {
  .compare.fv-compare th, .compare.fv-compare td { padding: 10px 8px; font-size: 12.5px; line-height: 1.4; }
  .compare.fv-compare th.col-feature, .compare.fv-compare tbody td:first-child {
    position: static; min-width: 0; max-width: none; width: 26%; box-shadow: none;
  }
  .compare.fv-compare th:not(.col-feature), .compare.fv-compare td:not(:first-child) { min-width: 0; }
  .compare.fv-compare thead th { font-size: 10px; letter-spacing: 0.06em; }
  .compare.fv-compare thead th.col-us { font-size: 14px; }
}

/* Calculator */
.fv-calc { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.fv-calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: 28px; align-content: start; }
.fv-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fv-field--half { grid-column: auto; }
.fv-field label { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.fv-money {
  display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px;
  border: 1px solid var(--border-2); border-radius: 10px; background: var(--bg);
  color: var(--muted); font-size: 17px;
}
.fv-money:focus-within, .fv-field select:focus { border-color: var(--accent); outline: 2px solid var(--accent-glow); outline-offset: 0; }
.fv-money input {
  flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; outline: none;
  font: 600 18px/1 var(--font-body); color: var(--fg); font-variant-numeric: tabular-nums;
}
.fv-field select {
  height: 48px; padding: 0 12px; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: 500 15px var(--font-body); width: 100%;
}
.fv-field input[type="range"] { width: 100%; accent-color: var(--accent); margin: 4px 0 0; }
.fv-calc-out { display: flex; flex-direction: column; background: var(--bg-soft); border-left: 1px solid var(--border); }
.fv-out-row { display: flex; flex-direction: column; gap: 4px; padding: 22px 28px; border-bottom: 1px solid var(--border); min-height: 112px; justify-content: center; }
.fv-out-row:last-child { border-bottom: 0; }
.fv-out-label { font-size: 14px; color: var(--muted); }
.fv-out-val { font: 600 30px/1.15 var(--font-body); color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.fv-out-how { font-size: 13px; color: var(--muted); line-height: 1.45; min-height: 2.9em; font-variant-numeric: tabular-nums; }
.fv-out-row--total { background: var(--accent-soft); }
.fv-out-row--total .fv-out-val { color: var(--accent-3); }
html[data-theme="dark"] .fv-out-row--total .fv-out-val { color: var(--accent); }
@media (max-width: 860px) {
  .fv-calc { grid-template-columns: 1fr; }
  .fv-calc-out { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 420px) {
  .fv-calc-in { padding: 20px; gap: 16px 12px; }
  .fv-out-row { padding: 18px 20px; }
  .fv-out-val { font-size: 26px; }
}
.fv-assume { margin: 24px 0 0; display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.fv-assume li { font-size: 14px; color: var(--muted); line-height: 1.55; }
.fv-assume strong { color: var(--fg-soft); font-weight: 600; }

/* Read-first cards + sources */
.fv-link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.fv-link-cards a { display: flex; flex-direction: column; gap: 8px; padding: 22px; transition: border-color 0.18s ease, transform 0.18s ease; }
.fv-link-cards a:hover { border-color: var(--accent); transform: translateY(-2px); }
.fv-link-cards strong { color: var(--fg); font-size: 16px; font-weight: 600; }
.fv-link-cards span { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 880px) { .fv-link-cards { grid-template-columns: 1fr; } }
.fv-sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.fv-sources-h { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 12px; }
.fv-sources ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.fv-sources li { scroll-margin-top: 100px; overflow-wrap: anywhere; }
.fv-sources a { color: var(--fg-soft); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.fv-sources a:hover { color: var(--accent); }
.fv-tm { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* Anchor targets clear the sticky nav */
.fv-ai, .fv-vs, .fv-calc-section, .fv-links, #features, #pricing, #faq, #why { scroll-margin-top: 72px; }

/* A row whose screenshot was removed: text only, readable width. */
.fv-row--solo { grid-template-columns: 1fr; max-width: 760px; }
