/* ============================================================
   pseo.css — components for generated pSEO pages ONLY.
   Loaded as the 4th stylesheet (after normalize, site, 2026-update)
   and only by pages emitted by scripts/pseo/generate.js.
   Existing pages never load this file.

   Ported components (.lp-*, .vs-*) are adapted from the inline
   <style> blocks of public/vs/vanta.html so generated pages match
   the established look. Tokens (--cd385d etc.) come from site.css
   and 2026-update.css :root.
   ============================================================ */

/* Anchored sections scroll below the fixed nav */
[id] { scroll-margin-top: 6rem; }

/* ===== Eyebrow badge ===== */
.lp-since-badge {
  display: inline-block;
  background: var(--f7f7f7);
  border: 1px solid var(--e3e3e3);
  border-radius: 2rem;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cd385d);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

/* ===== Breadcrumb ===== */
.vs-breadcrumb { font-size: 0.875rem; color: var(--8e8e8e); margin-bottom: 1.25rem; }
.vs-breadcrumb a { color: var(--8e8e8e); text-decoration: none; }
.vs-breadcrumb a:hover { color: var(--cd385d); }
.vs-breadcrumb .vs-bc-current { color: var(--2d2d2d); }
.vs-breadcrumb .vs-bc-sep { margin: 0 0.5rem; color: var(--e3e3e3); }

/* ===== Hero extras ===== */
.pseo-updated {
  display: block;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--8e8e8e);
}
.pseo-updated strong { color: var(--3b3b3b); font-weight: 600; }

/* ===== Verdict / TL;DR box ===== */
.pseo-verdict-sc { text-align: center; }
.pseo-verdict-sc .vs-verdict-box { margin: 0 auto; text-align: left; }
.vs-verdict-box {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--2d2d2d);
  background: var(--f7f7f7);
  border: 1px solid var(--e3e3e3);
  border-left: 3px solid var(--cd385d);
  padding: 1.5rem 1.75rem;
  border-radius: 0.5rem;
  max-width: 60rem;
}

/* ===== Prose inside step-item columns ===== */
.pseo-body p { margin: 0 0 1rem; }
.pseo-body p:last-child { margin-bottom: 0; }
.pseo-body a { color: var(--cd385d); text-decoration: none; border-bottom: 1px solid transparent; }
.pseo-body a:hover { border-bottom-color: var(--cd385d); }

/* ===== Light content cards (marketing-page variant of cp-card) ===== */
.pseo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pseo-card {
  background: #fff;
  border: 1px solid var(--e3e3e3);
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.pseo-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.875rem;
  margin-bottom: 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cd385d);
  background: var(--f7f7f7);
  border: 1px solid var(--e3e3e3);
}
.pseo-card-heading {
  font-family: "Gilroy 1", Arial, sans-serif;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--2d2d2d);
  margin: 0 0 0.625rem;
}
.pseo-card-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--3b3b3b);
  margin: 0;
}
.pseo-card-desc a { color: var(--cd385d); text-decoration: none; }
.pseo-card-desc a:hover { text-decoration: underline; }
@media screen and (max-width: 991px) {
  .pseo-cards { grid-template-columns: 1fr 1fr; }
}

/* ===== Two-column split cards (✓/✗ lists) ===== */
.vs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.vs-split-card {
  background: #fff;
  border: 1px solid var(--e3e3e3);
  border-radius: 0.75rem;
  padding: 1.75rem;
}
.vs-split-card--agency { border-left: 3px solid var(--cd385d); }
.vs-split-card h3 {
  font-family: "Gilroy 1", Arial, sans-serif;
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--2d2d2d);
  margin: 0 0 1rem;
}
.vs-split-list { list-style: none; padding: 0; margin: 0; }
.vs-split-list li {
  position: relative;
  padding: 0.4375rem 0 0.4375rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--3b3b3b);
  line-height: 1.55;
}
.vs-split-card--problem .vs-split-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: var(--8e8e8e);
  font-weight: 700;
}
.vs-split-card--agency .vs-split-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cd385d);
  font-weight: 700;
}
.pseo-checklist-wrap { max-width: 52rem; margin: 1.5rem auto 0; }
.vs-check-list { list-style: none; padding: 0; margin: 0; }
.vs-check-list li {
  position: relative;
  padding: 0.375rem 0 0.375rem 1.75rem;
  font-size: 1rem;
  color: var(--3b3b3b);
  line-height: 1.6;
}
.vs-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--cd385d);
  font-weight: 700;
}

/* ===== Comparison table (full base + mobile collapse) ===== */
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem auto 0; max-width: 60rem; }
.lp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.55;
}
.lp-comparison-table thead th {
  background: var(--2d2d2d);
  color: #fff;
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-family: "Gilroy 1", Arial, sans-serif;
}
.lp-comparison-table thead th:first-child { border-radius: 0.5rem 0 0 0; }
.lp-comparison-table thead th:last-child { border-radius: 0 0.5rem 0 0; }
.lp-comparison-table td {
  padding: 0.8125rem 1rem;
  border-bottom: 1px solid var(--e3e3e3);
  color: var(--3b3b3b);
  vertical-align: top;
}
.lp-comparison-table tbody tr:nth-child(even) td { background: var(--f7f7f7); }
.lp-comparison-table td.lp-cost-row-label { font-weight: 500; color: var(--2d2d2d); }
.lp-table-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--8e8e8e);
  margin-top: 1rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ===== Numbered steps ===== */
.pseo-steps {
  list-style: none;
  counter-reset: pseo-step;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 52rem;
}
.pseo-steps li {
  counter-increment: pseo-step;
  position: relative;
  padding: 0 0 1.75rem 3.5rem;
}
.pseo-steps li:last-child { padding-bottom: 0; }
.pseo-steps li::before {
  content: counter(pseo-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--e3e3e3);
  color: var(--cd385d);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pseo-step-title {
  font-family: "Gilroy 1", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--2d2d2d);
  margin-bottom: 0.375rem;
}
.pseo-step-desc { font-size: 0.9375rem; color: var(--3b3b3b); line-height: 1.65; }

/* ===== Inline example (letter/document) box ===== */
.pseo-example-box {
  max-width: 52rem;
  margin: 2rem auto 0;
  background: #fff;
  border: 1px solid var(--e3e3e3);
  border-radius: 0.75rem;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.pseo-example-label {
  display: inline-block;
  background: var(--f7f7f7);
  border: 1px solid var(--e3e3e3);
  border-radius: 2rem;
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cd385d);
  margin-bottom: 1.25rem;
}
.pseo-example-box p { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--3b3b3b); line-height: 1.7; }
.pseo-example-box p:last-child { margin-bottom: 0; }

/* ===== Dated operator observations ===== */
.pseo-observations {
  list-style: none;
  padding: 0;
  margin: 1.75rem auto 0;
  max-width: 52rem;
}
.pseo-observations li {
  position: relative;
  padding: 0.625rem 0 0.625rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--3b3b3b);
  line-height: 1.65;
  border-bottom: 1px solid var(--e3e3e3);
}
.pseo-observations li:last-child { border-bottom: none; }
.pseo-observations li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--cd385d);
  font-weight: 700;
}

/* ===== Changelog ===== */
.pseo-changelog { max-width: 52rem; margin: 1.75rem auto 0; }
.pseo-changelog-row {
  display: flex;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--e3e3e3);
}
.pseo-changelog-row:last-child { border-bottom: none; }
.pseo-changelog-row dt {
  flex: 0 0 7.5rem;
  font-weight: 600;
  color: var(--2d2d2d);
  font-size: 0.875rem;
}
.pseo-changelog-row dd { margin: 0; color: var(--3b3b3b); font-size: 0.9375rem; line-height: 1.6; }

/* ===== Profile pick line (which-fits-you cards) ===== */
.pseo-profile-pick {
  color: var(--cd385d);
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0.25rem 0 0.5rem;
}

/* ===== FAQ accordion ===== */
.pseo-faq-list { max-width: 52rem; margin: 1.5rem auto 0; }
.lp-faq-item { border-bottom: 1px solid var(--e3e3e3); }
.lp-faq-item summary {
  padding: 1.25rem 2rem 1.25rem 0;
  font-family: "Gilroy 1", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--2d2d2d);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--8e8e8e);
  transition: transform 0.2s ease;
}
.lp-faq-item[open] summary::after { content: "\2212"; }
.lp-faq-item .lp-faq-answer {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--3b3b3b);
  line-height: 1.7;
  max-width: 52rem;
}
.lp-faq-answer p { margin: 0 0 0.75rem; }
.lp-faq-answer p:last-child { margin-bottom: 0; }
.lp-faq-answer a { color: var(--cd385d); text-decoration: none; }
.lp-faq-answer a:hover { text-decoration: underline; }

/* ===== Hub listings ===== */
.pseo-qlist { list-style: none; padding: 0; margin: 1rem auto 0; max-width: 52rem; }
.pseo-qlist li { border-bottom: 1px solid var(--e3e3e3); }
.pseo-qlist li:last-child { border-bottom: none; }
.pseo-qlist a {
  display: block;
  padding: 0.875rem 0;
  color: var(--2d2d2d);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
}
.pseo-qlist a:hover { color: var(--cd385d); }
.pseo-hub-group { margin-top: 2.5rem; }
.pseo-letter {
  font-family: "Gilroy 1", Arial, sans-serif;
  font-size: 1.375rem;
  color: var(--cd385d);
  border-bottom: 1px solid var(--e3e3e3);
  padding-bottom: 0.5rem;
  margin: 2.5rem auto 0.25rem;
  max-width: 52rem;
}
.pseo-term-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem auto 0;
  max-width: 52rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.125rem 2.5rem;
}
.pseo-term-list a {
  display: block;
  padding: 0.5rem 0;
  color: var(--3b3b3b);
  text-decoration: none;
  line-height: 1.5;
}
.pseo-term-list a:hover { color: var(--cd385d); }

/* ===== Responsive ===== */
@media screen and (max-width: 991px) {
  .vs-split { gap: 1.25rem; }
}
/* 44px minimum touch targets on mobile (site-wide accessibility standard) */
@media screen and (max-width: 767px) {
  .vs-breadcrumb a {
    display: inline-block;
    padding: 0.75rem 0.375rem;
    margin-left: -0.375rem;
  }
  .vs-breadcrumb a:first-child { margin-left: -0.375rem; }
  .vs-breadcrumb .vs-bc-sep { margin: 0 0.25rem; }
  .pseo-term-list a { padding: 0.75rem 0; }
  .pseo-qlist a { padding: 1rem 0; }
}
@media screen and (max-width: 620px) {
  .vs-split { grid-template-columns: 1fr; }
  .pseo-cards { grid-template-columns: 1fr; }
  .pseo-term-list { grid-template-columns: 1fr; }
  /* Comparison table collapses to stacked cards */
  .lp-comparison-table { min-width: 0; }
  .lp-comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lp-comparison-table, .lp-comparison-table tbody, .lp-comparison-table tr, .lp-comparison-table td { display: block; width: 100%; }
  .lp-comparison-table tr {
    border: 1px solid var(--e3e3e3);
    border-radius: 0.625rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
  }
  .lp-comparison-table tbody tr:nth-child(even) td { background: transparent; }
  .lp-comparison-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid var(--e3e3e3);
    text-align: right;
  }
  .lp-comparison-table td:last-child { border-bottom: none; }
  .lp-comparison-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--8e8e8e);
    text-align: left;
    flex: 0 0 auto;
  }
  .lp-comparison-table td.lp-cost-row-label {
    background: var(--cd385d);
    color: #fff;
    font-weight: 700;
    text-align: left;
    display: block;
  }
  .lp-comparison-table td.lp-cost-row-label::before { content: none; }
}
@media screen and (max-width: 479px) {
  .lp-faq-item summary { font-size: 1rem; }
  .pseo-example-box { padding: 1.5rem 1.25rem; }
}
