/* lp.css -- shared look for the growth / landing pages (yiddish-text-to-speech.html, voicemail-greeting.html,
   shabbos-announcement.html, faq.html, he.html, chanukah.html ...). Load it AFTER /hv.css: it only adds
   components and uses hv.css's tokens (--accent, --tint, --line ...), so the pages stay design "B"
   (one light-brown colour on warm off-white). Nothing here changes the existing tool pages. */

.wrap.page.lp { max-width: 860px; }
.lp h1 { font-size: 32px; }
.lp .sub { font-size: 17px; }
.lp h2 { font-size: 21px; margin: 34px 0 10px; }
.lp .card h2:first-child, .lp .card h3:first-child { margin-top: 0; }
.lp h3 { font-size: 17px; margin: 18px 0 6px; }
.lp p { margin: 0 0 12px; }
.lp ul, .lp ol { padding-inline-start: 22px; margin: 0 0 12px; }
.lp li { margin: 4px 0; }

/* small pill above the h1 ("Yiddish text to speech", "חנוכה תשפ"ז") */
.kicker { display: inline-block; background: var(--tint); color: var(--accent-dark); font-weight: 700; font-size: 13px;
  padding: 3px 12px; border-radius: 99px; margin-bottom: 10px; }

/* call-to-action row */
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0 8px; }
.cta .free { margin-inline-start: 4px; }

/* numbered steps */
.lp-steps { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-steps li { counter-increment: st; position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; padding-inline-start: 56px; margin: 0; }
.lp-steps li::before { content: counter(st); position: absolute; inset-inline-start: 14px; top: 12px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; }
.lp-steps li > b:first-child { display: block; }   /* only the step title; inline <b> in the text stays inline */

/* use-case / feature cards in a responsive grid */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 0 0 12px; }
.grid2 > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.grid2 > div > b:first-child { display: block; font-size: 16px; margin-bottom: 2px; }
.grid2 > div a { font-weight: 600; }

/* a ready-made text the visitor can send straight to text-to-speech (lp.js: [data-use] / [data-copy]) */
.tpl { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 12px; margin: 0 0 12px; }
.tpl h3 { margin: 0 0 6px; font-size: 16px; }
.tpl-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 18px; line-height: 1.85; margin: 0 0 8px;
  background: var(--soft); border: 1px solid var(--tint-line); border-radius: 10px; padding: 10px 12px; }
.tpl[dir="rtl"], .tpl-text[dir="rtl"] { text-align: right; }
.tpl .tr { font-size: 14px; color: var(--muted); margin: 0 0 8px; direction: ltr; text-align: left; }
.tpl .tr[dir="rtl"] { direction: rtl; text-align: right; }
.tpl-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tpl-acts button, .tpl-acts .btn { min-height: 40px; padding: 0 14px; font-size: 14.5px; }

/* a Yiddish block inside an English (LTR) page, or the reverse */
.yi { direction: rtl; text-align: right; }
.en { direction: ltr; text-align: left; }

/* "in brief" facts block -- the same text as /ai-facts.txt, visible on the page */
.facts { background: var(--tint); border: 1px solid var(--tint-line); border-radius: var(--radius); padding: 16px 18px; margin: 30px 0 0; font-size: 14.5px; }
.facts h2 { font-size: 16px; margin: 0 0 6px; }
.facts ul { margin: 0; padding-inline-start: 20px; }
.facts li { margin: 3px 0; }
.facts .asof { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* FAQ accordions */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 700; font-size: 16px; display: flex; gap: 10px; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; line-height: 1; margin-top: 2px; }
.faq details[open] summary::before { content: "\2212"; }
.faq .a { padding: 0 16px 12px; padding-inline-start: 48px; color: var(--ink); font-size: 15.5px; }
.faq .a p:last-child { margin-bottom: 0; }

/* comparison table (compare.html). hv.css already lets a table scroll inside its .card on phones. */
.cmp { min-width: 720px; font-size: 14.5px; }
.cmp th { text-align: start; padding: 9px 10px; border-bottom: 2px solid var(--edge); font-size: 13.5px; color: var(--muted); vertical-align: bottom; }
.cmp td:first-child { font-weight: 700; white-space: nowrap; }
.cmp tr.us td { background: var(--soft); }
.cmp .y { color: var(--ok); font-weight: 700; }
.cmp .n { color: var(--muted); }

/* YIVO vs heimish spelling pairs (learn-yiddish.html) */
.pairs { min-width: 0; }
.pairs td { font-size: 17px; }
.pairs td.lat { font-size: 14.5px; color: var(--muted); direction: ltr; }

.lp .muted { color: var(--muted); }
.lp .small { font-size: 13.5px; }
.lp hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

@media (max-width: 760px) {
  .lp h1 { font-size: 25px; }
  .lp .sub { font-size: 16px; }
  .lp h2 { font-size: 19px; }
  .tpl-text { font-size: 17px; }
  .cta .btn.big { flex: 1 1 auto; }
}
