/* Vertical landing pages (/villages/, /accountants/ — layouts/vertical/). Builds on styles.css (hero, steps, features, faq,
   cta-strip) and demo-widget.css (browser frame); only what's new lives here. */

/* The shared arrow points right; mirror it in RTL. */
[dir="rtl"] .vl-arrow svg { transform: scaleX(-1); }
.vl-arrow { display: inline-flex; }

/* ── HERO ──────────────────────────────────────────────── */
.vl-hero-h1 { font-family: 'Frank Ruhl Libre', Georgia, serif; }
.vl-hero-sub { max-width: 560px; }

.vl-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.vl-demo-link {
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid rgba(79,85,193,.35);
  padding-bottom: 2px;
}
.vl-demo-link:hover { color: var(--primary-dark); border-color: var(--primary-dark); }

/* ── PAIN: the weekly questions as chat bubbles ────────── */
.vl-pain-body { margin-top: 1.25rem; }

.vl-bubbles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.vl-bubble {
  align-self: flex-start;
  max-width: 85%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 1.1rem;
  border-start-start-radius: .3rem;
  padding: .85rem 1.15rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(79,85,193,.08);
}

.vl-bubble--alt {
  align-self: flex-end;
  border-start-start-radius: 1.1rem;
  border-start-end-radius: .3rem;
}

/* ── LIVE DEMO ─────────────────────────────────────────── */
.vl-demo {
  background: #fff;
  padding: 6rem 0;
}

.vl-section-sub {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 560px;
  margin: .75rem auto 0;
}

.vl-demo-widget {
  max-width: 1000px;
  margin: 2.5rem auto 0;
}

.vl-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.vl-picker-label {
  font-weight: 700;
  color: var(--muted);
  margin-inline-end: .25rem;
}

.vl-family {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  min-height: 44px;
  padding: .55rem 1rem;
  background: #fff;
  border: 1.5px solid var(--eg2-grid);
  border-radius: .8rem;
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.vl-family:hover { border-color: var(--primary); }
.vl-family:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-glow); border-color: var(--primary); }
.vl-family[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary-pale);
  box-shadow: 0 0 0 1px var(--primary) inset;
}

.vl-family-name { font-weight: 700; font-size: .95rem; }
.vl-family-meta { font-size: .78rem; color: var(--muted); }
.vl-family-status { color: #B45309; font-weight: 600; }
.vl-family-status.is-paid { color: #15803d; }

.vl-tries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: 1rem 0 1.25rem;
  font-size: .85rem;
  color: var(--muted);
}
.vl-tries-label { font-weight: 600; }
.vl-try {
  background: var(--paper-warm);
  border-radius: 2rem;
  padding: .2rem .7rem;
}

.vl-frame-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.vl-demo-widget .vl-frame {
  height: 680px;
  border: 1px solid var(--eg2-grid);
  box-shadow: 0 18px 50px rgba(22,25,29,.10);
}

.vl-demo-note {
  margin: 1rem auto 0;
  max-width: 620px;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ── MATH (optional: a page sets math_h2) ──────────────── */
.vl-math {
  /* Continues the pain section above it (same background), as its answer. */
  background: var(--paper-warm);
  padding: 0 0 6rem;
}
.vl-math-card {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem;
}
.vl-math-formula {
  margin: 1.25rem 0 .75rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #1f2937;
}
.vl-math-formula strong { color: var(--primary); white-space: nowrap; }
.vl-math-body { margin: 0; color: #4b5563; line-height: 1.65; }

/* ── PRIVACY + PRICE ───────────────────────────────────── */
.vl-trust {
  background: var(--paper-warm);
  padding: 6rem 0;
}

.vl-privacy,
.vl-price {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  padding: 2.25rem;
}

.vl-h2-sm { font-size: clamp(1.5rem, 3vw, 2rem); }

.vl-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.vl-checks li {
  position: relative;
  padding-inline-start: 1.9rem;
  line-height: 1.6;
  color: #374151;
}
.vl-checks li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: .05rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vl-privacy-link,
.vl-price-link {
  font-size: .88rem;
  color: var(--primary);
}

.vl-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink-mid);
  color: #fff;
  border: none;
}
.vl-price .sec-label { color: rgba(255,255,255,.65); }
.vl-price-amount {
  font-size: 1.1rem;
  color: var(--light-text);
}
.vl-price-amount span {
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.vl-price-h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: .9rem 0 .5rem;
  color: #fff;
}
.vl-price-sub {
  color: var(--light-text);
  font-weight: 300;
  margin-bottom: 1.75rem;
}
.vl-price .btn-hero { box-shadow: none; }
.vl-price-link { margin-top: 1rem; color: rgba(255,255,255,.8); }
.vl-price-link:hover { color: #fff; }

/* ── CLOSING CTA ───────────────────────────────────────── */
.cta-strip .vl-cta-h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.3;
}

/* ── MOBILE ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .vl-demo, .vl-trust { padding: 4rem 0; }
  .vl-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .vl-picker-label { grid-column: 1 / -1; }
  .vl-family { width: 100%; }
  .vl-demo-widget .vl-frame { height: 600px; }
  .vl-privacy, .vl-price { padding: 1.6rem; }
  .vl-math { padding-bottom: 3.5rem; }
  .vl-math-card { padding: 1.75rem 1.25rem; }
  .vl-bubble { max-width: 100%; font-size: 1rem; }
}
