/* Compare and guide pages (2026-11-10). Loaded with `css: compare`. */

/* Hero: the answer paragraph and the stat beside it */
.pg-hero .vs-answer { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.5; opacity: .9; }
.pg-hero .vs-hero-stats { display: grid; gap: 12px; }

/* Comparison table: three columns on desktop, stacked rows on phones */
.vs-table .pg-table { min-width: 0; }
.vs-table .pg-table th[scope="row"] { font-weight: 500; width: 26%; }
.vs-table .pg-table td.win { font-weight: 500; }
.vs-src { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: var(--text--text-small); opacity: .75; max-width: 860px; }
.vs-src a { color: inherit; }
@media screen and (max-width: 640px) {
  .vs-table .pg-table thead { display: none; }
  .vs-table .pg-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--border-dark); }
  .vs-table .pg-table tr:last-child { border-bottom: 0; }
  .vs-table .pg-table th[scope="row"] { grid-column: 1 / -1; width: auto; border-bottom: 0; padding: 16px 16px 4px; }
  .vs-table .pg-table td { border-bottom: 0; padding: 4px 16px 16px; font-size: 14px; }
  .vs-table .pg-table td::before { content: attr(data-l); display: block; font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
}

/* Funnel leak checklist */
.lk { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-dark); counter-reset: lk; }
.lk > li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--border-dark); counter-increment: lk; scroll-margin-top: 120px; }
.lk h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.lk h3::before { content: counter(lk, decimal-leading-zero); display: block; margin-bottom: 8px; font-family: var(--font--mono); font-size: var(--text--label); letter-spacing: var(--letter-spacing--2-0); opacity: .7; }
.lk p { margin: 0; line-height: 1.5; }
.lk p b { display: block; margin-bottom: 4px; font-family: var(--font--mono); font-size: var(--text--label); font-weight: 400; letter-spacing: var(--letter-spacing--2-0); text-transform: uppercase; opacity: .7; }
.lk a { color: inherit; font-weight: 500; white-space: nowrap; }
@media screen and (max-width: 991px) {
  .lk > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; }
  .lk h3 { grid-column: 1 / -1; }
}
@media screen and (max-width: 560px) {
  .lk > li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
}

/* Self-check form and its result */
.sc-form { display: flex; flex-direction: column; gap: 32px; max-width: 820px; }
.sc-form .ms-group legend { font-size: 18px; font-weight: 500; line-height: 1.35; }
.sc-form .ms-group legend span { display: block; margin-bottom: 6px; font-family: var(--font--mono); font-size: var(--text--label); font-weight: 400; letter-spacing: var(--letter-spacing--2-0); opacity: .7; }
.sc-result { margin-top: 48px; max-width: 820px; padding: 40px; border-radius: var(--radius--small); background-color: var(--dark); color: var(--light); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.sc-result[hidden] { display: none; }
.sc-result h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; outline: none; }
.sc-result p { margin: 0; line-height: 1.55; }
.sc-result ul { margin: 0; }
.sc-result a:not(.cta-main) { color: inherit; }
@media screen and (max-width: 479px) { .sc-result { padding: 24px; } }
.pg-stats-note a { color: inherit; }
