/* Compare pages (site/compare/). Shared tokens and classes come from /styles.css.
   Redesign 2026-10-13 (owner): the home look (yellow hero card, ink-outlined cards), the brand up front
   ("the easiest way to a website: ask your AI"), fair about the other tool, no prices or numbers about it. */

/* Hero: a yellow card like the home hero, with a small chat on the right */
.cv-hero { padding: clamp(16px, 3vw, 32px) 0 0; }
.cv-field { display: grid; gap: 28px; background: var(--field); border-radius: var(--radius-lg); padding: 32px 20px 24px; }
@media (min-width: 640px) { .cv-field { padding: 40px 32px; } }
@media (min-width: 960px) { .cv-field { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 48px; padding: 52px 48px; } }
@media (max-width: 420px) { .cv-field { padding: 28px 16px 20px; border-radius: 20px; } }
.cv-field .crumbs { color: var(--ink); margin: 0 0 12px; }
.cv-field .crumbs a { color: var(--ink); }
.cv-field h1 { color: var(--brand); font: 900 clamp(32px, 6.4vw, 52px)/1.06 var(--display); letter-spacing: -0.03em; margin: 0 0 16px; max-width: 13em; }
.cv-lede { font-size: var(--fs-lede); line-height: 1.5; margin: 0 0 24px; max-width: 34em; color: var(--ink); }
.cv-field .btn-quiet { border-width: 1.5px; }
.cv-asof { margin: 18px 0 0; font: 500 var(--fs-xs)/1.5 var(--mono); color: var(--ink); opacity: 0.8; }

/* The small chat: what using Page Lemon looks like */
.cv-chat { margin: 0; min-width: 0; background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--pop); overflow: hidden; }
.cv-chat-bar { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--paper); font: 500 var(--fs-xs)/1.2 var(--mono); color: var(--muted); }
.cv-chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
.cv-chat .msg { max-width: 90%; overflow-wrap: anywhere; }
.cv-chat .msg b { font-weight: 600; }
.cv-ways { margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: var(--fs-sm); line-height: 1.45; }
.cv-ways div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
.cv-ways dt { font-weight: 600; color: var(--ink); }
.cv-ways dd { margin: 0; color: var(--muted); }
.cv-ways .is-us dd { color: var(--ink); }
@media (max-width: 420px) { .cv-ways div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Section heads with the text on the left and cards on the right */
.cv-sec { margin-top: var(--section); }
.cv-split { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .cv-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } }
.cv-split h2 { margin: 0 0 var(--s-3); }
.cv-split .lede { margin: 0 0 var(--s-5); }

/* "Page Lemon fits if" / "X fits if" ticks */
.cv-fits { margin: 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cv-fits h3 { font-size: var(--fs-body); margin: 0 0 6px; }
.cv-fits .ticks { margin: 0; }
.cv-fits .ticks li { padding: 5px 0 5px 26px; }
.cv-fits-us { border: 2px solid var(--line-strong); box-shadow: 4px 4px 0 var(--line-strong); }
.cv-fits-them .ticks li::before { border-color: var(--muted); }

/* Customer stories: who switches, who stays */
.cv-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cv-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-case { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cv-case .icon-dot { margin: 0; }
.cv-case h3 { font-size: var(--fs-h3); margin: 0; }
.cv-case p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.cv-cases-us .cv-case { border: 2px solid var(--line-strong); }
.cv-cases-them .cv-case { background: transparent; border-style: dashed; border-color: rgba(35, 34, 29, 0.28); }
.cv-cases-them .icon-dot { background: var(--surface); border-color: var(--line); }

/* Side by side: a two-column table, our column on yellow, theirs quiet */
.cv-table { margin: 0; border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.cv-table table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.cv-table th, .cv-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cv-table tbody tr:last-child > * { border-bottom: 0; }
.cv-table thead th { padding: 14px 18px; font-size: var(--fs-body); }
.cv-table thead th.is-us { background: var(--field); color: var(--brand); }
.cv-table thead th.is-us img { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
.cv-table thead th.is-them { background: var(--paper); color: var(--ink); }
.cv-table tbody th { width: 20%; font-weight: 600; color: var(--ink); }
.cv-table td.is-us { width: 44%; background: color-mix(in srgb, var(--field) 22%, var(--surface)); color: var(--ink); }
.cv-table td.is-them { color: var(--muted); }
.cv-table td strong { color: var(--ink); }
@media (max-width: 720px) {
  .cv-table { border: 0; background: transparent; overflow: visible; }
  .cv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cv-table table, .cv-table tbody, .cv-table tr, .cv-table th, .cv-table td { display: block; width: auto !important; }
  .cv-table tr { margin: 0 0 12px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
  .cv-table tbody th { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
  .cv-table td { padding: 10px 16px 12px; }
  .cv-table td[data-label]::before { content: attr(data-label); display: block; margin: 0 0 2px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
  .cv-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .cv-table tbody tr > :last-child { border-bottom: 0 !important; }
}
.cv-note { color: var(--muted); font-size: var(--fs-sm); margin: 12px 0 0; max-width: 760px; }

/* Moving over: numbered steps in a row */
.cv-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .cv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cv-steps li { counter-increment: step; min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-sm); line-height: 1.5; }
.cv-steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 12px; border-radius: 50%; background: var(--field); border: 2px solid var(--line-strong); color: var(--ink); font: 700 15px/1 var(--body); }

/* Questions: heading left, answers right (as on the home page) */
.cv-faq { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .cv-faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } }
.cv-faq h2 { margin: 0 0 var(--s-3); }

.cv-close { margin-top: var(--section); }

/* Overview page: four reasons, then the tools */
.cv-why { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cv-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cv-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cv-why li { min-width: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cv-why h3 { margin: 0 0 6px; }
.cv-why p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

.cv-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cv-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cv-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cv-tool { display: flex; flex-direction: column; gap: 12px; height: 100%; min-width: 0; padding: 22px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform var(--ease), box-shadow var(--ease); }
.cv-tool:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--line-strong); }
.cv-tool h3 { margin: 0; font-size: 22px; }
.cv-tool dl { margin: 0; display: grid; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; }
.cv-tool dt { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.cv-tool dd { margin: 2px 0 0; }
.cv-tool .cv-good dd { color: var(--muted); }
.cv-tool-try { background: var(--field); }
.cv-tool-try p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.cv-tool .cv-more { margin-top: auto; padding-top: 4px; color: var(--primary); font-weight: 600; font-size: var(--fs-sm); }

.cv-better { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cv-better li { display: grid; gap: 4px 24px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.cv-better li:last-child { border-bottom: 0; }
@media (min-width: 720px) { .cv-better li { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: baseline; } }
.cv-better span { color: var(--ink); }
.cv-better b { font-weight: 600; color: var(--ink); }
