/* =====================================================================
   pg-core2.css: extras for faq.html, pricing.html, enterprise.html on tpl.css.
   Load after tpl.css (and after section-pricing.css on pricing.html). Everything is namespaced .pg2-* or scoped to #pricing.pg2-pr.
   ===================================================================== */

/* ---------- FAQ: topic title left, accordion right ---------- */
.pg2-faqsec { padding: 88px 0; }
.pg2-faqsec + .pg2-faqsec { border-top: 1px solid var(--tp-line); }
.pg2-faqsec.tp-sheet { padding-top: 104px; }
.tp-sec:has(+ .tp-sheet).pg2-faqsec, .pg2-faqsec:last-of-type { padding-bottom: 88px; }
.pg2-faqgrid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; max-width: 1040px; margin: 0 auto; }
.pg2-faqh { text-align: left; position: sticky; top: 120px; font-size: clamp(28px, 2.6vw, 36px); }
.pg2-faqsec .tp-faq { gap: 12px; }

/* ---------- Pricing: plan cards sit on the mint ground under the hero ---------- */
.pg2-hero-flat { padding-bottom: 56px; }
#pricing.pg2-pr { background: transparent; padding-bottom: var(--tp-curve); }
#pricing.pg2-pr .pr-inner { max-width: 1144px; }
#pricing.pg2-pr .pr-strip { border-top: 0; padding: 0 0 calc(var(--tp-pad) - 8px); }
#pricing.pg2-pr .pr-head { flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; }
#pricing.pg2-pr .pr-copy { max-width: 640px; }
#pricing.pg2-pr .pr-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#pricing.pg2-pr .pr-lede { padding-top: 0; font-size: 20px; line-height: 1.35; color: var(--tp-muted); }
#pricing.pg2-pr .pr-toggle { align-self: center; }
#pricing.pg2-pr .pr-grid { margin-top: 44px; }
#pricing.pg2-pr .pr-card { box-shadow: 0 24px 48px -36px rgba(11,28,33,.35); }
#pricing.pg2-pr .pr-card-main { background: linear-gradient(180deg, #fff 0%, #F8FCFA 100%); }
.tp-sec:has(+ .tp-sheet):has(.pr-strip) { padding-bottom: 0; }

/* ---------- Shorter illustration tiles for 6-card grids ---------- */
.pg2-cards-short { row-gap: 56px; }
.pg2-cards-short .tp-tile { aspect-ratio: 16 / 10; margin-bottom: 24px; }
.pg2-cards-short .tp-tile svg { width: auto; height: 62%; }
.pg2-more { margin-top: 14px !important; font-size: 15px !important; }

/* ---------- Why the price is low ---------- */
.pg2-why { text-align: center; padding: 64px 56px 52px; }
.pg2-why .tp-h2 { max-width: 640px; margin: 0 auto; }
.pg2-why .tp-lede { font-size: 20px; color: var(--tp-ink); font-weight: 500; }
.pg2-answer { margin: 20px auto 0; max-width: 580px; font-size: 17px; line-height: 1.55; color: var(--tp-muted); }
.pg2-stats { list-style: none; margin: 44px 0 0; padding: 28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--tp-tint); border-radius: 18px; }
.pg2-stats li { padding: 4px 20px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pg2-stats li + li { border-left: 1px solid var(--tp-line); }
.pg2-stats strong { font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
.pg2-stats span { font-size: 14px; line-height: 1.35; color: var(--tp-muted); max-width: 170px; }
.pg2-note { margin: 28px auto 0; max-width: 520px; font-size: 14.5px; line-height: 1.55; color: var(--tp-faint); text-align: center; }

/* ---------- Enterprise ---------- */
.pg2-badges { margin-bottom: 44px; }
.pg2-review { padding: 56px 48px 52px; }
.pg2-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: left; }
.pg2-cols3 .tp-tag { margin-top: 0; }
.pg2-cols3 .tp-h3 { font-size: 22px; margin-bottom: 12px; }
.pg2-cols3 p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--tp-muted); }
.pg2-cols3 p.pg2-strong { color: var(--tp-ink); font-weight: 600; }
.pg2-cols3 p:last-child { margin-bottom: 0; }
.pg2-rows { margin: 0; }
.pg2-rows li { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); padding: 20px 0; font-size: 16.5px; }
.pg2-rows strong { font-size: 17px; }
.pg2-contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pg2-contacts li { display: flex; flex-direction: column; gap: 8px; padding: 28px 30px; background: #fff; border: 1px solid var(--tp-line); border-radius: 20px; }
.pg2-contacts strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--tp-ink); }
.pg2-contacts span { font-size: 16px; line-height: 1.5; color: var(--tp-muted); }
.pg2-ctatext { margin: 18px auto 0; max-width: 460px; font-size: 17px; line-height: 1.5; color: var(--tp-muted); }
.pg2-fine a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tp-cta-card .tp-ctas .btn-cta { text-decoration: none; }

@media (max-width: 1023px) {
  .pg2-faqgrid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pg2-faqh { position: static; }
  .pg2-faqsec { padding: 64px 0; }
  .pg2-faqsec.tp-sheet { padding-top: 80px; }
  .pg2-cards-short { row-gap: 48px; }
  .pg2-cols3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg2-review { padding: 48px 32px; }
}
@media (max-width: 700px) {
  .pg2-faqsec { padding: 52px 0; }
  .pg2-faqsec.tp-sheet { padding-top: 60px; }
  .pg2-hero-flat { padding-bottom: 32px; }
  #pricing.pg2-pr .pr-inner { padding: 0 16px; }
  #pricing.pg2-pr .pr-lede { font-size: 17px; }
  #pricing.pg2-pr .pr-grid { margin-top: 32px; }
  .pg2-why { padding: 52px 22px 36px; }
  .pg2-stats { grid-template-columns: minmax(0, 1fr); padding: 8px 0; gap: 0; }
  .pg2-stats li { padding: 18px 20px; }
  .pg2-stats li + li { border-left: 0; border-top: 1px solid var(--tp-line); }
  .pg2-review { padding: 56px 22px 36px; }
  .pg2-rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pg2-contacts { grid-template-columns: minmax(0, 1fr); }
  .pg2-contacts li { padding: 22px 22px; }
  .pg2-badges { margin-bottom: 32px; }
}
