/* /vs/wispr-flow/ only: the hero tagline, the numbers strip, the size and memory bars and the FAQ list. The rest of the
   page is the shared comparison layout in site.css. blabe's own numbers and bars are ink (coral is for what blabe types
   and what you click, DESIGN.md); Wispr Flow's bars are grey. No inline styles (the CSP is style-src 'self'): each
   bar's width is its own class below. */

/* ---------- Hero ---------- */

.vs-head .cta-row { margin-top: var(--space-2); }
/* The tagline stays a step under the h1 (64 px at most) at every width. */
.vs-tagline { max-width: 14em; font-family: var(--font-display); font-size: clamp(28px, 4vw, 54px); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.vs-nobreak { white-space: nowrap; }

/* ---------- Numbers strip: blabe's measured figures, one row on wide screens, two columns on a phone ---------- */

.vs-strip-section { padding-top: var(--space-16); }
.vs-strip { padding: var(--space-6) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.vs-strip-label { margin-bottom: var(--space-4); }
.vs-strip-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-6); margin: 0; padding: 0; list-style: none; }
.vs-strip-list li { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.vs-strip-num { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.05; white-space: nowrap; color: var(--ink); }
.vs-u { font-size: 0.5em; font-weight: 600; }
.vs-strip-what { font-size: 15px; line-height: 1.35; color: var(--ink-secondary); }
/* Six figures, always in even rows: six across on wide screens, three by two in between, two by three on a phone. */
@media (min-width: 1000px) { .vs-strip-list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .vs-strip-section { padding-top: var(--space-10); }
  .vs-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-4); }
}

/* ---------- Table ---------- */

.vs-note { margin-top: var(--space-3); }

/* ---------- Size and memory bars ----------
   One linear scale per group, written above it: memory 0 to 1,000 MB, disk (Mac only) 0 to 550 MB. A bar's width is its value over
   the group's maximum. The thinnest bars are drawn at least 3 px wide so they can be seen. */

.vs-bars { display: flex; flex-direction: column; gap: var(--space-16); margin: 0; }
/* A bar group and its panel: the memory bars with the idle panel, the disk bars with the size panel. */
.vs-pair { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--space-6); }
.vs-bars-group { min-width: 0; }
.vs-bars-scale { margin-top: var(--space-1); }
.vs-bars-rows { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.vs-bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "track track"; align-items: baseline; gap: var(--space-1) var(--space-3); font-size: 15px; line-height: 1.35; }
.vs-bar-row--gap { margin-top: var(--space-3); }
.vs-bar-label { grid-area: label; color: var(--ink-secondary); text-wrap: balance; }
.vs-bar-value { grid-area: value; font-weight: 600; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.vs-bar-row--blabe .vs-bar-label { color: var(--ink); font-weight: 600; }
.vs-track { grid-area: track; display: block; height: 12px; overflow: hidden; border-radius: var(--radius-pill); background: var(--hairline); }
.vs-bar { display: block; min-width: 3px; height: 100%; border-radius: inherit; background: var(--hairline-strong); transform-origin: left center; }
.vs-bar-row--blabe .vs-bar { background: var(--ink); }
.vs-bars-caption a, .vs-art-caption a { color: inherit; }
/* Source, scale and date lines carry the page's trust: the 13 px caption floor (DESIGN.md), not the token's 12 px. */
.vs-strip-label, .vs-bars-scale, .vs-bars-rows .caption, .vs-bars-caption, .vs-art-caption { font-size: 13px; line-height: 1.5; }
/* ---------- Why so light, and the infographic panels ----------
   Four static panels (1536x1024, a 768-wide copy for phones): idle beside the memory bars, size beside the disk bars,
   process beside the one-process paragraph, privacy above the privacy bullets. From 900 px a panel sits in a 560 px
   column beside its content; below that it follows it, full width. Each <img> has width and height, so its box is
   reserved before it loads (no layout shift). The off-white backdrop multiplies onto the paper (.sp-blend, as on
   /speed/). Every number in a panel is also in the page text, and its alt spells out the panel's text. */

.vs-why { display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-10); }
.vs-split { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--space-6); }
.vs-split-copy { max-width: 38rem; }
.vs-split-copy .body { font-size: 17px; line-height: 1.65; }
/* Source links in these paragraphs and in the FAQ answers: subtle underlines, as in .cmp-copy (site.css). */
.vs-split-copy a, .vs-faq .blabr-faq-a a { color: inherit; text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vs-split-copy a:hover, .vs-faq .blabr-faq-a a:hover { text-decoration-color: currentColor; }
.vs-split-copy a:focus-visible, .vs-faq .blabr-faq-a a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.vs-art { display: block; width: 100%; margin: 0; }
/* The backdrops are 254 grey; multiplied they'd show as a box one shade under the paper. A 1% lift makes them white. */
.vs-art img { display: block; width: 100%; height: auto; filter: brightness(1.01); }
.vs-art--lead { max-width: 560px; margin-bottom: var(--space-10); }
.vs-art-caption { margin-top: var(--space-2); }   /* a source line under a panel, like the bars' caption */
.sp-blend { mix-blend-mode: multiply; }
@media (min-width: 900px) {
  .vs-pair, .vs-split { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: var(--space-16); }
}
@media (max-width: 899px) { .vs-art { max-width: 560px; } }

/* Memory, scale 1,000 MB. */
.vs-bar--mem-mac-blabe { width: 7.5%; }    /* ~75 MB */
.vs-bar--mem-mac-wispr { width: 99.9%; }   /* ~999 MB */
.vs-bar--mem-win-blabe { width: 2.2%; }    /* ~22 MB */
.vs-bar--mem-win-wispr { width: 56.9%; }   /* ~569 MB */
/* Disk, Mac only, scale 550 MB. (The Windows sizes, an installer and an install folder, are in the table.) */
.vs-bar--disk-mac-blabe { width: 1.87%; }  /* 10.3 MB installed */
.vs-bar--disk-mac-wispr { width: 92.91%; } /* 511 MB on disk */

/* The bars grow in once, when the figure scrolls into view: motion.js's IntersectionObserver marks the figure
   .reveal-pending while it waits below the fold and removes the class when it comes into view. The bars scale from the
   left (transform only, so no layout shift). Without the script, or with reduced motion, they are full length from
   the start. */
@media (prefers-reduced-motion: no-preference) {
  .motion .vs-bar { transition: transform 700ms var(--ease-out) 120ms; }
  .motion .vs-bars.reveal-pending .vs-bar { transform: scaleX(0); }
}
/* The panels hold still: the mascot never moves, and the bars' one grow is the figure's motion. */
@media (prefers-reduced-motion: reduce) { .vs-bar { transition: none; transform: none; } }

/* ---------- Who should pick which, and the FAQ (the shared .blabr-faq) ---------- */

.vs-before { max-width: 38rem; margin-top: var(--space-6); }
.vs-faq .blabr-faq-a { max-width: 68ch; }
