/* Comparison pages (/vs/ and /vs/<name>/). Loaded after ../legal/legal.css, which brings the home
   page's colours, typeface, bar, buttons and footer.

   These pages read as articles: a title, a short summary, an at-a-glance table, then a few plainly
   titled sections of prose. One typeface, one accent colour, one illustration per page. Each page
   adds its own styles only for its one feature graphic. */

:root {
  --bad-ink: #B42318; --bad-wash: #FDECEA;
  --warn-ink: #8A5300; --warn-wash: #FFF2D6;
  --text: #3A3A3C;
  --measure: 66ch;
  --col: min(100% - 2 * var(--pad), 1080px);
  --read: min(100% - 2 * var(--pad), 860px);
}

body { background: var(--ground); }

/* ── Header ───────────────────────────────────────────────────────────── */
.a-head { width: var(--col); margin: 0 auto; padding: calc(var(--nav-h) + clamp(36px, 6vh, 72px)) 0 clamp(28px, 4vh, 44px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.a-head h1 { font-size: clamp(38px, min(5vw, 9svh), 66px); font-weight: 680; letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.a-head .lede { margin-top: 18px; max-width: 46ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -0.01em; color: var(--text); }
.a-head .meta { margin-top: 16px; font-size: 14px; color: var(--mute); }
.a-head .meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.a-visual { justify-self: center; width: 100%; max-width: 460px; }

/* ── Article column ───────────────────────────────────────────────────── */
.a-body { width: var(--read); margin: 0 auto; padding-bottom: clamp(48px, 8vh, 90px); }
.a-sec { padding-top: clamp(40px, 6vh, 64px); }
.a-sec > h2 { font-size: clamp(26px, 2.3vw, 32px); font-weight: 660; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); max-width: 30ch; }
.a-sec > p, .a-prose p { margin-top: 16px; max-width: var(--measure); font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.65; letter-spacing: -0.005em; color: var(--text); text-wrap: pretty; }
.a-sec > h2 + p { margin-top: 14px; }
.a-sec p b, .a-prose p b { font-weight: 640; color: var(--ink); }
.a-sec p a, .a-note a { color: var(--blue-ink); text-decoration: underline; text-decoration-color: rgba(10, 79, 194, 0.35); text-underline-offset: 3px; }
.a-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.a-two > .a-prose > p:first-child { margin-top: 14px; }

/* Footnote markers. */
sup { font-size: 0.68em; line-height: 0; margin-left: 1px; }
sup a { color: var(--blue-ink); font-weight: 650; padding: 0 1px; text-decoration: none !important; }

/* ── The short answer: the verdict and what to do, before anything else ── */
.a-short { margin-top: clamp(4px, 1vh, 12px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); border-radius: 22px; background: var(--blue-wash); }
.a-short h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.005em; color: var(--blue-ink); }
.a-short p { margin-top: 8px; max-width: 64ch; font-size: clamp(18px, 1.3vw, 20.5px); line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.a-short p + p { margin-top: 10px; }

.a-short p b { color: var(--blue-ink); font-weight: 700; }

/* "What that means for you": the consequence, spelled out at the end of a section. */
.a-sec > p.a-means { margin-top: 20px; padding: 2px 0 2px 16px; border-left: 3px solid var(--blue); font-weight: 560; color: var(--ink); }
.a-sec > p.a-means b { color: var(--blue-ink); font-weight: 720; }

/* ── What to do: a few numbered steps ─────────────────────────────────── */
.a-steps { margin-top: 18px; display: grid; gap: 14px; max-width: var(--measure); counter-reset: step; }
.a-steps li { counter-increment: step; position: relative; padding-left: 44px; font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.6; color: var(--text); }
.a-steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.a-steps li b { color: var(--ink); font-weight: 650; }

/* ── At a glance ──────────────────────────────────────────────────────── */
.glance { margin-top: 18px; width: 100%; max-width: 860px; border-collapse: collapse; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: var(--cast-low); }
.glance th, .glance td { padding: 13px 18px; text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.4; border-top: 1px solid var(--line); }
.glance thead th { border-top: 0; background: #FAFBFC; font-size: 13px; font-weight: 650; color: var(--mute); }
.glance tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.glance td { color: var(--text); }
.glance td.us { color: var(--ink); font-weight: 600; }
.glance thead th.us { color: var(--blue-ink); }
.glance tr.theirs td:last-child { color: var(--ink); font-weight: 600; }

/* ── Quotes and notes ─────────────────────────────────────────────────── */
.a-quote { margin: 22px 0 0; max-width: var(--measure); padding: 4px 0 4px 20px; border-left: 3px solid var(--line); }
.a-quote blockquote { margin: 0; font-size: clamp(18px, 1.3vw, 20px); line-height: 1.5; color: var(--ink); }
.a-quote figcaption { margin-top: 6px; font-size: 14px; color: var(--mute); }
.a-quotes { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.a-quotes figure { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--paper); box-shadow: var(--cast-low); }
.a-quotes blockquote { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.a-quotes figcaption { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.a-figure { margin: 24px 0 0; }
.a-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--mute); max-width: var(--measure); }

/* Where the rival is better: one short, calm aside with the page's single Comfi. */
.a-fair { margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 22px; align-items: center; max-width: 860px; padding: 20px 24px; border-radius: 20px; background: var(--paper); box-shadow: var(--cast-low); }
.a-fair img { width: 110px; height: auto; }
.a-fair h2 { font-size: 20px; font-weight: 660; letter-spacing: -0.02em; color: var(--ink); }
.a-fair p { margin-top: 6px; font-size: 16.5px; line-height: 1.55; color: var(--text); max-width: 60ch; }

/* ── Sources ──────────────────────────────────────────────────────────── */
.a-src { padding-top: clamp(40px, 6vh, 64px); }
.a-src h2 { font-size: 18px; font-weight: 660; color: var(--ink); }
.receipts { margin-top: 12px; display: grid; gap: 8px; max-width: 860px; counter-reset: src; }
.receipts li { counter-increment: src; position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--mute); overflow-wrap: anywhere; scroll-margin-top: calc(var(--nav-h) + 10px); }
.receipts li::before { content: counter(src) '.'; position: absolute; left: 0; top: 0; font-weight: 650; color: var(--ink-2); }
.receipts li:target { color: var(--ink); }
.receipts a { color: var(--blue-ink); text-decoration: underline; text-decoration-color: rgba(10, 79, 194, 0.35); text-underline-offset: 3px; }

/* ── Closing ──────────────────────────────────────────────────────────── */
.a-cta { width: var(--read); margin: 0 auto clamp(56px, 9vh, 100px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); border-radius: 24px; background: var(--blue); color: #fff; }
.a-cta h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 660; letter-spacing: -0.025em; line-height: 1.2; color: #fff; }
.a-cta p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); max-width: 52ch; }
.a-cta .btn { flex: none; }
/* What every reader gets with ComfiSkin, spelled out under the closing pitch. */
.a-promise { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.a-promise li { padding: 16px 0 2px; }
.a-promise b { display: block; font-size: 16px; font-weight: 680; letter-spacing: -0.01em; color: #fff; }
.a-promise span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.84); }
@media (max-width: 760px) { .a-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .a-promise { grid-template-columns: minmax(0, 1fr); } }

/* ── Related ──────────────────────────────────────────────────────────── */
.a-more { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.a-more a { padding: 8px 14px; border-radius: 12px; background: var(--paper); box-shadow: var(--cast-low); font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* Ticks and crosses, used sparingly. */
.y { color: var(--good-ink); }
.n { color: var(--mute); }

@media (max-width: 900px) {
  .a-head { grid-template-columns: minmax(0, 1fr); }
  .a-visual { max-width: 420px; }
  .a-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .glance th, .glance td { padding: 11px 12px; font-size: 14.5px; }
  .glance tbody th { width: 38%; }
  .a-quotes { grid-template-columns: minmax(0, 1fr); }
  .a-fair { grid-template-columns: minmax(0, 1fr); }
  .a-fair img { width: 90px; }
}
@media print {
  .a-cta { display: none; }
  .glance, .a-fair, .a-quotes figure { box-shadow: none; border: 1px solid var(--line); }
}
