/* ============================================================
   Pikarta content pages (compare / for) — reuses landing.v3.css
   design tokens (:root vars) for a full-width, on-brand layout.
   ============================================================ */

/* Nav: keep a translucent surface at all times so these pages read well
   without the landing's scroll JS (which toggles .scrolled). */
.pg .nav {
  background: rgba(238, 240, 237, .9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--brd);
}

/* ---- Hero ---- */
.pg-hero { padding: 48px 0 44px; }
.pg-crumb { font-size: 13.5px; color: var(--txF); margin-bottom: 20px; }
.pg-crumb a { color: var(--txS); transition: color .2s; }
.pg-crumb a:hover { color: var(--gr); }
.pg-crumb span { color: var(--txF); }
.pg-h1 {
  font-size: clamp(32px, 5.4vw, 60px); font-weight: 900;
  line-height: .98; letter-spacing: -.032em; color: var(--tx);
  max-width: 18ch; text-wrap: balance;
}
.pg-lead {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55;
  color: var(--txS); margin-top: 18px; max-width: 62ch; font-weight: 420;
}
.pg-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }

/* ---- Bands (full-width alternating sections) ---- */
.pg-band { padding: 64px 0; }
.pg-band.srf  { background: var(--srf); }
.pg-band.soft { background: var(--srf2); }
.pg-band .eyebrow { margin-bottom: 12px; }
.pg-band .sec-h2 {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 900;
  line-height: 1.02; letter-spacing: -.03em; color: var(--tx); text-wrap: balance;
}

/* ---- Prose ---- */
.pg-prose { max-width: 72ch; }
.pg-prose p { font-size: 16.5px; line-height: 1.72; color: #374151; margin-top: 16px; }
.pg-prose p:first-child { margin-top: 0; }
.pg-prose p strong, .pg-prose p em { color: var(--tx); }

/* ---- TL;DR callout ---- */
.pg-tldr {
  background: var(--srf); border: 1px solid var(--brd); border-left: 4px solid var(--gr);
  border-radius: var(--rL); padding: 24px 28px; box-shadow: var(--shd); max-width: 100%;
}
.pg-tldr p { font-size: 16.5px; line-height: 1.7; color: #374151; margin: 0; }
.pg-tldr strong { color: var(--tx); }

/* ---- Comparison table ---- */
.pg-table-wrap {
  overflow-x: auto; border: 1px solid var(--brd); border-radius: var(--rL);
  background: var(--srf); box-shadow: var(--shd); margin-top: 28px;
}
table.pg-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pg-table th, .pg-table td {
  padding: 16px 22px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--brd); font-size: 15.5px; line-height: 1.5;
}
.pg-table thead th {
  background: var(--srf2); font-weight: 800; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--txS);
}
.pg-table thead th.pk { color: var(--gr); }
.pg-table td:first-child, .pg-table th:first-child { font-weight: 700; width: 34%; color: var(--tx); }
.pg-table tbody tr:last-child td { border-bottom: none; }
.pg-table tbody tr:nth-child(even) td { background: rgba(0,0,0,.012); }
/* Highlight the Pikarta column so the advantage is unmissable */
.pg-table thead th.pk { background: var(--gr); color: #fff; }
.pg-table td.pk { background: var(--gr50); color: var(--tx); font-weight: 700; }
.pg-table tbody tr:nth-child(even) td.pk { background: rgba(14,159,110,.14); }
.pg-table .yes { color: var(--grD); font-weight: 800; }
.pg-table .no  { color: var(--txF); font-weight: 600; }

/* Advantages grid — reuses .feat-card / .feat-ic / .feat-h3 / .feat-p visuals */
.pg-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.pg-adv .feat-h3 { font-size: 18px; }
@media (max-width: 980px) { .pg-adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pg-adv { grid-template-columns: 1fr; } }

/* ---- Two-column cards (reuses feat-card look) ---- */
.pg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.pg-col {
  background: var(--srf); border: 1px solid var(--brd); border-radius: var(--rL);
  padding: 28px 26px; box-shadow: var(--shd);
}
.pg-col.win { border-color: rgba(14,159,110,.4); box-shadow: 0 8px 30px rgba(14,159,110,.1); }
.pg-col h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; color: var(--tx); }
.pg-col ul { margin: 0; padding-left: 20px; }
.pg-col li { font-size: 15.5px; line-height: 1.6; color: #374151; margin: 9px 0; }

/* ---- Numbered steps ---- */
.pg-steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; max-width: 760px; }
.pg-steps li {
  counter-increment: s; position: relative; padding: 18px 0 18px 60px;
  border-bottom: 1px solid var(--brd);
}
.pg-steps li:last-child { border-bottom: none; }
.pg-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 16px;
  width: 40px; height: 40px; border-radius: 12px; background: var(--gr50);
  border: 1px solid rgba(14,159,110,.25); color: var(--gr);
  font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.pg-steps b { display: block; font-size: 17px; font-weight: 800; color: var(--tx); margin-bottom: 3px; }
.pg-steps span { color: var(--txS); font-size: 15.5px; line-height: 1.55; }

/* ---- FAQ ---- */
.pg-faq { max-width: 820px; margin-top: 26px; }
.pg-faq details {
  background: var(--srf); border: 1px solid var(--brd); border-radius: var(--r);
  padding: 2px 22px; margin: 12px 0; box-shadow: var(--shd);
}
.pg-faq summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--tx);
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; color: var(--gr); font-weight: 800; font-size: 22px; line-height: 1; }
.pg-faq details[open] summary::after { content: "\2013"; }
.pg-faq details p { padding: 0 0 20px; margin: 0; color: var(--txS); line-height: 1.65; font-size: 15.5px; }

/* ---- CTA band ---- */
.pg-cta { background: var(--tx); }
.pg-cta .wrap { text-align: center; }
.pg-cta .eyebrow { color: var(--grB); }
.pg-cta h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.03em; color: #fff; line-height: 1.04; }
.pg-cta p { color: rgba(255,255,255,.72); font-size: clamp(16px, 1.35vw, 19px); margin-top: 14px; }
.pg-cta .pg-hero-cta { justify-content: center; margin-top: 28px; }

/* ---- Note / disclaimer ---- */
.pg-note { font-size: 13px; color: var(--txF); line-height: 1.6; max-width: 80ch; margin-top: 40px; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .pg-band { padding: 48px 0; }
  .pg-hero { padding: 32px 0 36px; }
  .pg-2col { grid-template-columns: 1fr; gap: 14px; }
  .pg-hero-cta { flex-direction: column; align-items: stretch; }
  .pg-hero-cta .btn { width: 100%; justify-content: center; }
  .pg-col { padding: 22px 20px; }
  .pg-steps li { padding-left: 54px; }
}
