/* ─────────────────────────────────────────────────────────────
   Vouch Dock — marketing site design system
   Dark premium, Linear/Stripe-grade. Mobile-first.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0f;
  --bg-soft: #101017;
  --bg-card: #14141d;
  --bg-elevated: #1a1a26;
  --border: #262633;
  --border-strong: #34344a;

  --accent: #6d4aff;
  --accent-hover: #8a6bff;
  --accent-muted: #9d4aff;
  --accent-soft: rgba(109, 74, 255, 0.12);
  --accent-gradient: linear-gradient(135deg, #6d4aff 0%, #9d4aff 100%);

  --text: #f2f2f7;
  --text-2: #a5a5b8;
  --text-3: #6b6b80;

  --success: #34d399;
  --star: #fbbf24;

  --radius: 14px;
  --radius-lg: 20px;

  --shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.65);
  --glow: 0 0 48px rgba(109, 74, 255, 0.22);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* decorative glows bleed past viewport on mobile */
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ── nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.brand-badge {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-gradient);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: var(--glow);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-elevated); }
.nav-links a.active { color: var(--text); background: var(--bg-elevated); }
.nav-cta {
  margin-left: 8px;
  background: var(--accent-gradient); color: #fff !important;
  font-weight: 600; box-shadow: 0 2px 14px rgba(109,74,255,.4);
}
.nav-cta:hover { filter: brightness(1.1); }
.nav-burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: 9px; width: 40px; height: 40px; font-size: 17px; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-burger { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(13,13,20,.98); border-bottom: 1px solid var(--border);
    padding: 12px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ── hero ── */
.hero { position: relative; padding: 168px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(109,74,255,.28), transparent 62%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); background: var(--bg-card);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  letter-spacing: .02em; margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; max-width: 850px; margin: 0 auto 22px; }
.text-gradient {
  background: linear-gradient(120deg, #8a6bff, #c084fc 55%, #f0abfc);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 19.5px); color: var(--text-2); max-width: 640px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15.5px; cursor: pointer; border: 0;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-gradient); color: #fff; box-shadow: 0 4px 24px rgba(109,74,255,.45); }
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 8px 32px rgba(109,74,255,.55); }
.btn-ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); }

.hero-shot { position: relative; margin: 70px auto 0; max-width: 980px; }
.browser {
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-lg), var(--glow);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.browser-bar .b { width: 11px; height: 11px; border-radius: 50%; }
.browser-bar .b1 { background: #ff5f57; } .browser-bar .b2 { background: #febc2e; } .browser-bar .b3 { background: #28c840; }
.browser-bar .url {
  margin-left: 12px; flex: 1; min-width: 0; background: var(--bg); border-radius: 7px;
  font-size: 12px; color: var(--text-3); padding: 5px 12px; text-align: left;
  font-family: ui-monospace, monospace; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser img { width: 100%; }

/* ── sections ── */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.section-tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-hover); margin-bottom: 14px; display: block;
}
.section-head h2 { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }

/* ── cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); font-size: 20px; margin-bottom: 18px;
}
.card h3 { font-size: 18.5px; margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 14.8px; }

/* ── feature rows (alternating) ── */
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.frow + .frow { border-top: 1px solid var(--border); }
.frow.flip .frow-media { order: -1; }
.frow h3 { font-size: clamp(23px, 3vw, 30px); margin-bottom: 14px; }
.frow p { color: var(--text-2); font-size: 16px; margin-bottom: 18px; }
.flist { list-style: none; display: grid; gap: 11px; }
.flist li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.flist li::before {
  content: '✓'; color: var(--success); font-weight: 700; flex: none;
  width: 21px; height: 21px; border-radius: 7px; background: rgba(52,211,153,.12);
  display: grid; place-items: center; font-size: 12px; margin-top: 2px;
}
.frow-media .browser { box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .frow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .frow.flip .frow-media { order: 0; }
}

/* ── theme showcase ── */
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.theme-grid .browser { box-shadow: var(--shadow); }
.theme-name { text-align: center; margin-top: 13px; font-size: 14px; color: var(--text-2); font-weight: 600; }
@media (max-width: 860px) { .theme-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent-gradient); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  margin-bottom: 18px; box-shadow: 0 4px 14px rgba(109,74,255,.4);
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ── personas ── */
.persona { display: flex; flex-direction: column; }
.persona .who {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-hover); margin-bottom: 10px;
}
.persona ul { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.persona ul li { display: flex; gap: 9px; color: var(--text-2); font-size: 14.3px; }
.persona ul li::before { content: '→'; color: var(--accent-hover); flex: none; }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.16,1,.3,1), border-color .22s, box-shadow .22s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(109,74,255,.09), var(--bg-card) 42%); box-shadow: var(--glow); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-gradient); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan-price { margin: 16px 0 4px; font-family: var(--font-display); }
.plan-price .amount { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .per { color: var(--text-3); font-size: 14.5px; font-weight: 500; }
.plan-desc { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.3px; color: var(--text-2); }
.plan ul li::before { content: '✓'; color: var(--success); font-weight: 700; flex: none; }
.plan ul li.no { color: var(--text-3); }
.plan ul li.no::before { content: '—'; color: var(--text-3); }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; } }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; } }

/* ── comparison table ── */
.compare { width: 100%; border-collapse: collapse; font-size: 14.3px; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--text-2); }
.compare thead th { font-family: var(--font-display); font-size: 15px; padding-bottom: 16px; }
.compare td.y { color: var(--success); font-weight: 700; }
.compare td.n { color: var(--text-3); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 22px; background: none; border: 0; cursor: pointer;
  color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 15.8px; text-align: left;
}
.faq-q .chev { color: var(--text-3); transition: transform .22s; flex: none; font-size: 13px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s cubic-bezier(.16,1,.3,1); }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-2); font-size: 14.8px; }

/* ── final CTA ── */
.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta .hero-glow { top: auto; bottom: -320px; }
.final-cta h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 18px; }
.final-cta p { color: var(--text-2); font-size: 17px; max-width: 540px; margin: 0 auto 34px; }

/* ── footer ── */
footer { border-top: 1px solid var(--border); padding: 54px 0 40px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-bottom: 42px; }
.foot-grid p { color: var(--text-3); font-size: 13.8px; margin-top: 12px; max-width: 260px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--text-2); font-size: 14.2px; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ── misc ── */
.stat-row { display: flex; justify-content: center; gap: clamp(28px, 7vw, 80px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; }
.stat .lbl { color: var(--text-3); font-size: 13.5px; margin-top: 4px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.page-hero { padding: 158px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; margin-bottom: 18px; }
.page-hero p { color: var(--text-2); font-size: 17.5px; max-width: 640px; margin: 0 auto; }

@media (max-width: 640px) {
  .hero { padding-top: 138px; }
  .section { padding: 64px 0; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- v5: CSS product mock + pain cards + personas ---------- */
.mock { padding: 22px 26px 26px; background: #fff; text-align: left; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 15px; color: #17171c; }
.mock-brand span { color: #6d4aff; }
.mock-nav { display: flex; gap: 10px; }
.mock-nav i { width: 34px; height: 6px; border-radius: 3px; background: #e8e8ee; }
.mock-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 21px; color: #17171c; letter-spacing: -0.01em; }
.mock-sub { color: var(--text-3); font-size: 12.5px; margin: 4px 0 16px; }
.mock-row {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid #ececf2; border-radius: 12px;
  padding: 13px 16px; margin-bottom: 9px; background: #fff;
}
.mock-row-1 { border-color: #6d4aff; box-shadow: 0 6px 18px rgba(109, 74, 255, 0.12); }
.mock-rank {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: #f0edff; color: #6d4aff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.mock-body { flex: 1; min-width: 0; }
.mock-line { height: 8px; border-radius: 4px; background: #e8e8ee; margin-bottom: 6px; }
.mock-line.thin { height: 6px; opacity: .7; margin-bottom: 8px; }
.mock-line.w50 { width: 50%; } .mock-line.w55 { width: 55%; }
.mock-line.w60 { width: 60%; } .mock-line.w75 { width: 75%; }
.mock-line.w80 { width: 80%; } .mock-line.w85 { width: 85%; } .mock-line.w90 { width: 90%; }
.mock-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }
.mock-stars span { color: var(--text-3); letter-spacing: 0; font-size: 11.5px; margin-left: 6px; }
.mock-cta {
  flex-shrink: 0; background: #6d4aff; color: #fff;
  font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 8px;
}
.mock-cta.ghost { background: #f0edff; color: #6d4aff; }

.card.pain h3 { font-size: 16.5px; }
.card.pain p { color: var(--text-2); }
.persona-line { color: #6d4aff; font-weight: 600; font-size: 13.5px; margin-top: -6px; }
.personas .card p:last-child { color: var(--text-2); }

/* pricing dynamic */
.plan .plan-limits-line { font-size: 13px; color: var(--text-3); margin: 2px 0 10px; }
.plan .plan-feature-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 7px; }
.plan .plan-feature-list li { font-size: 13.5px; display: flex; gap: 8px; align-items: baseline; }
.plan .plan-feature-list li.yes::before { content: '✓'; color: #16a34a; font-weight: 700; }
.plan .plan-feature-list li.no { color: #a2a2ae; }
.plan .plan-feature-list li.no::before { content: '—'; color: #d4d4db; }
.plan-enterprise {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
  background: linear-gradient(135deg, #17171c 0%, #2a2040 100%);
  color: #fff; border-radius: 18px; padding: 30px 34px;
}
.plan-enterprise h3 { font-size: 20px; margin: 0 0 6px; }
.plan-enterprise p { color: #b9b9c6; margin: 0; max-width: 560px; }
.plan-enterprise .ent-price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 26px; white-space: nowrap; }
.plan-enterprise .ent-price span { font-size: 13px; font-weight: 500; color: #b9b9c6; }
.plan-enterprise .btn { white-space: nowrap; }
#plans-loading { text-align: center; color: var(--text-3); padding: 40px 0; }

/* articles — dark theme, consistent with site tokens */
.article-list { display: flex; flex-direction: column; gap: 14px; }
.article-item {
  display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 26px; text-decoration: none; color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.article-item:hover { border-color: var(--accent); box-shadow: 0 8px 28px rgba(109,74,255,.15); transform: translateY(-2px); }
.article-item h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.article-item p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.article-item .art-meta { font-size: 12px; color: var(--text-3); margin-top: 10px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 21px; margin: 34px 0 12px; color: var(--text); }
.article-body h3 { font-size: 16.5px; margin: 26px 0 8px; color: var(--text); }
.article-body p, .article-body li { font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 7px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--accent); margin: 22px 0; padding: 4px 0 4px 18px;
  color: var(--text-2); font-style: italic;
}
.article-body .art-back { font-size: 13.5px; color: var(--accent); }
.art-meta-top { color: var(--text-3); font-size: 13px; margin-bottom: 8px; }
