/* Audit fixes, 2026-10-31. Homepage additions that sit on the design-system tokens in css/ds.css:
   the hero illustration, What we fix and our values (.hm-fix), Where we are (.hm-prog), the waitlist link
   in the closing band, and the footer's team and status lines. */

/* Hero: the Field illustration in the accent-soft spot, in place of the logo */
.hm-hero .hm-spot--art { padding: clamp(16px, 3vw, 40px); }
.hm-spot--art .visual { width: 100%; max-width: 520px; }
.hm-spot--art .visual__label { right: 0; bottom: -4px; }

/* What we fix, and our values: three open items, hairline on top, no cards */
.hm-fix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap) clamp(24px, 4vw, 56px);
  margin: 0; padding: 0; list-style: none;
}
.hm-fix__item { margin: 0; padding-top: var(--space-2, 16px); border-top: 1px solid var(--border, var(--gray-3)); }
.hm-fix__item .h3 { margin: 0 0 8px; }
.hm-fix__item .body { margin: 0; color: var(--ink-muted, var(--text-muted)); max-width: var(--body-max); }

/* Where we are: Done beside Next */
.hm-prog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.hm-prog__col { padding: var(--card-pad); border-radius: var(--radius-md); background: var(--surface); }
.hm-prog__col h3 { margin: 0 0 12px; }
.hm-prog__col ul { margin: 0; padding: 0; list-style: none; }
.hm-prog__col li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--border, var(--gray-3)); }
.hm-prog__col li:first-child { border-top: 0; }
.hm-prog__col li::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  border: 2px solid var(--accent);
}
.hm-prog__col--done li::before { background: var(--accent); }

/* Closing band: the waitlist link beside Contact us */
.hm-actions--deep { margin-top: var(--space-3, 24px); }
.hm-on-deep, .hm-on-deep:visited { color: inherit; }

/* Footer: team and competition, then what is and isn't measured yet */
.bv-footer__line { margin-top: 16px !important; }
.bv-footer__status { margin-top: 4px !important; max-width: 72ch; }

@media (max-width: 760px) {
  .hm-fix, .hm-prog { grid-template-columns: 1fr; }
}

/* Contact: the waitlist link under the email button */
.v2c-waitlist { display: block; width: max-content; margin: 16px auto 0; }

/* Demo: the Simulated chip sits at its own width under each heading */
.sim-inside__head .chip, .sim-chart__head .chip { align-self: flex-start; justify-self: start; width: max-content; }
.sim-chart__head .chip { margin-left: 12px; margin-right: auto; }
/* No dot on these chips, just the word */
.sim-inside__head .chip::before, .sim-chart__head .chip::before { display: none; }

/* Who BioVault serves: every card now carries a use case and a comparison, so all six share one type size
   (the mixed widths stay) */
.hm-bento .hm-card { padding: var(--card-pad, 32px); gap: 12px; }
.hm-bento .hm-card .hm-card__title { font-size: var(--type-h3-size, 24px); letter-spacing: var(--type-h3-ls, -0.02em); line-height: var(--type-h3-lh, 1.2); }
.hm-bento .hm-card .hm-card__line { font-size: var(--type-body-size, 17px); max-width: 52ch; }
.hm-bento .hm-card .hm-card__ico { width: 28px; height: 28px; }

/* Demo on phones: the controls stack, so Play and its status get a full row instead of a 0px column */
@media (max-width: 600px) {
  .sim-controls { grid-template-columns: minmax(0, 1fr) !important; }
  .sim-play { justify-content: flex-start; }
}

/* Products: one pattern down the page. A centered heading, a lead and one Learn more link,
   then a single row of open items, each an icon in a soft circle, a short title and one line. */
.pc-head { max-width: 720px; margin: 0 auto var(--space-intro, 48px); text-align: center; }
.pc-head h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink, var(--text)); }
.pc-lead { margin: 0 auto; max-width: 56ch; text-wrap: balance; font-size: var(--type-lead-size, 21px); line-height: 1.5; color: var(--ink-muted, var(--text-muted)); }
.pc-more { margin: 16px 0 0; }
.pc-row { position: relative; display: grid; gap: 40px clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.pc-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.pc-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pc-item { margin: 0; text-align: center; }
.pc-ico {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
}
.pc-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pc-item h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink, var(--text)); }
.pc-item p { margin: 0 auto; max-width: 30ch; font-size: 16px; line-height: 1.55; color: var(--ink-muted, var(--text-muted)); }
/* Using BioVault reads as a sequence: a thin line runs behind the four icons */
.pc-row--steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: var(--border, var(--gray-3)); }
.pc-note { margin: var(--space-4, 48px) auto 0; max-width: 76ch; text-wrap: balance; text-align: center; font-size: 16px; color: var(--ink-muted, var(--text-muted)); }
@media (max-width: 900px) {
  .pc-row--4, .pc-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-row--steps::before { display: none; }
}
@media (max-width: 560px) {
  .pc-row--4, .pc-row--3, .pc-row--2 { grid-template-columns: minmax(0, 1fr); }
}

/* Values: a number before each title, on the homepage and the Team page */
.v-num { margin-right: 4px; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Products: the same calm pieces, but each section has its own shape so they are easy to tell apart.
   Using BioVault stays a centered timeline (above). */

/* Field units at low or no cost: a soft full-width band with four white cards, read left to right */
.pc-sec--band { margin-top: var(--section-gap, 160px); padding-block: clamp(72px, 7vw, 104px); background: var(--surface); }
.pc-sec--band .pc-item { padding: var(--card-pad, 28px); border-radius: var(--radius-md, 20px); background: var(--bg, #fff); text-align: left; }
.pc-sec--band .pc-ico { width: 48px; height: 48px; margin-bottom: 20px; background: var(--accent-soft); }
.pc-sec--band .pc-item p { margin: 0; max-width: none; }

/* Our take-back loop: heading on the left, the three return paths stacked on the right on one line */
.pc-sec--split .v2-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4, 48px) clamp(40px, 6vw, 96px); align-items: start; }
.pc-sec--split .pc-head { margin: 0; text-align: left; }
.pc-sec--split .pc-lead { margin: 0; }
.pc-sec--split .pc-row { grid-template-columns: minmax(0, 1fr); max-width: none; margin: 0; gap: 32px; }
.pc-sec--split .pc-row::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 1px; background: var(--border, var(--gray-3)); }
.pc-sec--split .pc-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; text-align: left; }
.pc-sec--split .pc-ico { grid-row: span 2; margin: 0; }
.pc-sec--split .pc-item h3 { align-self: end; margin: 4px 0 4px; }
.pc-sec--split .pc-item p { margin: 0; max-width: 48ch; }

/* Where our cartridge goes next: a 2 by 2 grid of compact outlined tiles, icon beside the words */
.pc-sec--tiles .pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; gap: 16px; }
.pc-sec--tiles .pc-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 20px 24px; border: 1px solid var(--border, var(--gray-3)); border-radius: var(--radius-md, 20px); text-align: left;
}
.pc-sec--tiles .pc-ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
.pc-sec--tiles .pc-ico svg { width: 20px; height: 20px; }
.pc-sec--tiles .pc-item h3 { margin: 2px 0 4px; font-size: 18px; }
.pc-sec--tiles .pc-item p { margin: 0; max-width: none; font-size: 15px; }

@media (max-width: 900px) {
  .pc-sec--split .v2-wrap { grid-template-columns: minmax(0, 1fr); }
  .pc-sec--split .pc-head { text-align: center; }
  .pc-sec--split .pc-lead { margin: 0 auto; }
  .pc-sec--band .pc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pc-sec--band .pc-row, .pc-sec--tiles .pc-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Team page ---------- */
/* Founder panels: photo beside name, role and school; then the bio in three labeled parts */
[id^="sheet-member-"] .v2-sheet__scroll { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: center; }
[id^="sheet-member-"] .v2t-sheet-photo { grid-row: 1 / 4; width: 112px; margin: 0; }
[id^="sheet-member-"] .v2-sheet__eyebrow { grid-column: 2; align-self: end; margin: 0 0 4px; color: var(--accent); font-weight: 600; }
[id^="sheet-member-"] .v2-sheet__title { grid-column: 2; margin: 0; }
[id^="sheet-member-"] .v2t-school { grid-column: 2; align-self: start; margin: 6px 0 0; font-size: 15px; color: var(--ink-muted, var(--text-muted)); }
[id^="sheet-member-"] .v2t-bio { grid-column: 1 / -1; margin-top: 28px; display: grid; gap: 0; }
.v2t-bio__part { padding: 18px 0; border-top: 1px solid var(--border, var(--gray-3)); }
.v2t-bio__part h3 { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted, var(--text-muted)); }
.v2t-bio__part p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink, var(--text)); max-width: 62ch; }
@media (max-width: 560px) {
  [id^="sheet-member-"] .v2-sheet__scroll { column-gap: 16px; }
  [id^="sheet-member-"] .v2t-sheet-photo { width: 80px; }
}

/* Founders: three white cards, photo on top */
.v2t-people-grid { gap: var(--grid-gap, 24px); }
.v2t-person {
  padding: var(--card-pad-lg, 36px) var(--card-pad, 28px) var(--card-pad, 28px);
  border-radius: var(--radius-lg, 32px);
  background: #fff;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ink, #0b2233) 6%, transparent),
    0 2px 4px color-mix(in srgb, var(--ink, #0b2233) 4%, transparent),
    0 18px 40px -18px color-mix(in srgb, var(--accent, #0b5a8a) 30%, transparent);
}
/* the photo sits on a white ring with its own small shadow, so it lifts off the card */
.v2t-person .v2t-photo {
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink, #0b2233) 8%, transparent), 0 8px 20px -8px color-mix(in srgb, var(--ink, #0b2233) 35%, transparent);
}
.v2t-person .v2-links { padding-top: 16px; }

/* What we stand for: a soft band with three numbered white cards */
.v2t-band { margin-top: var(--section-gap, 160px); padding-block: clamp(72px, 7vw, 104px); background: var(--surface); }
.v2t-band .v2-head { text-align: center; }
.v2t-band .v2t-values__list li { padding: var(--card-pad, 28px); border: 0; border-radius: var(--radius-md, 20px); background: var(--bg, #fff); }
.v2t-band .v2t-values__list h3 { font-size: 22px; }

/* Where we are: Done, Next and Later as three outlined columns */
.v2t-prog > li { padding: var(--card-pad, 28px) !important; border: 1px solid var(--border, var(--gray-3)) !important; border-radius: var(--radius-md, 20px); }
@media (max-width: 760px) {
  .v2t-person { padding: 20px; border-radius: var(--radius-md, 20px); }
}

/* Bands (Team values, Products field units): ds.css gives every section top padding only, so a tinted band
   needs its own even padding inside, and the usual section gap outside, above it */
body.v2 .v2-sec.v2t-band,
body.v2 .v2-sec.pc-sec--band { margin-top: var(--section-gap, 160px); padding-block: clamp(64px, 6vw, 96px); }

/* Every Case gives back: how the model serves the mission, set off with an accent rule */

/* Hero: the BioVault logo, larger than the design-system default, in place of the product drawing for now */
/* sized to the panel, not the window: the logo is about 5.75 times its font-size wide, so 13% of the panel's
   width keeps it near three quarters of the panel at every screen size, capped at 80px */
.hm-spot--big { container-type: inline-size; }
.hm-spot--big .bv-hero-logo { --bv-hero-size: min(80px, 13cqi); --bv-hero-size-phone: min(80px, 13cqi); }

/* Home How it works: a cue over the drawing for the step that needs one. Step 1 (charge it with heat) shows the sun
   and heat rising toward the slid-out cartridge; step 3 (swap and keep going) shows a reuse loop. */
.hm-art { position: relative; }
.hm-cue { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hm-cue path, .hm-cue circle { vector-effect: non-scaling-stroke; }
.hm-cue > g { opacity: 0; transition: opacity 600ms ease; }
.hm-cue__heat { stroke: #d9822b; stroke-width: 2.5; }  /* amber for heat only; the palette's accent-warm is blue in Glacier */
.hm-cue__reuse { stroke: var(--accent); stroke-width: 2.5; }
.hm-how[data-step="1"] .hm-cue__heat,
.hm-how[data-step="3"] .hm-cue__reuse { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hm-cue__waves path { animation: hm-heat 2.4s ease-in-out infinite; }
  .hm-cue__waves path:nth-child(2) { animation-delay: .4s; }
  .hm-cue__waves path:nth-child(3) { animation-delay: .8s; }
}
@keyframes hm-heat { 0%, 100% { opacity: .35; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-4px); } }

/* Technology, At a glance: the three-options drawing (moved from How it works). Its line styles live in
   v2-how.css, which this page does not load, so the same rules are repeated here, scoped to .tech-fig. */
.tech-fig .fz-line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tech-fig .fz-gray { stroke: var(--gray-1); }
.tech-fig .fz-gray2 { stroke: var(--gray-2); }
.tech-fig .fz-acc { stroke: var(--accent); }
.tech-fig .fz-warm { stroke: var(--accent-warm); }
.tech-fig .fz-dash { stroke-dasharray: 5 6; }
.tech-fig .fz-fill { fill: var(--surface); }
.tech-fig .fz-lite { fill: var(--bg); }
.tech-fig .fz-acc-tint { fill: var(--accent); fill-opacity: .12; }
.tech-fig .fz-warm-tint { fill: var(--accent-warm); fill-opacity: .14; }
.tech-fig .fz-gray-tint { fill: var(--gray-3); fill-opacity: .55; stroke: none; }
.tech-fig .fz-dot { fill: var(--accent); stroke: none; }
.tech-fig .fz-dot-grain { fill: var(--gray-2); stroke: none; }
.tech-fig .fz-text { font-family: var(--font-body); font-size: 14px; font-weight: 500; fill: var(--text-muted); stroke: none; }
.tech-fig .fz-text-acc { fill: var(--accent); }
.tech-fig .fz-flow { stroke-dasharray: 5 7; }
/* Phones: the 640-wide viewBox shrinks to about half, so labels are enlarged to stay readable. */
@media (max-width: 640px) { .tech-fig .fz-text { font-size: 25px; } }
.tech-fig { margin: 0 auto var(--space-intro, 48px); max-width: 760px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg, 32px); background: var(--surface); }
.tech-fig svg { display: block; width: 100%; height: auto; max-width: 620px; margin-inline: auto; overflow: visible; }
.tech-fig .v2-how-cap { margin: 14px 0 0; text-align: center; color: var(--text-muted); font-size: 15px; line-height: 1.4; }

/* How it works, Why heat: one short tinted box after the cartridge steps */
.hw-why { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg, 32px); background: var(--surface); text-align: center; }
.hw-why h2 { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 28px); color: var(--accent); letter-spacing: -0.02em; }
.hw-why p { margin: 0 auto; max-width: 56ch; font-size: 18px; line-height: 1.6; color: var(--ink, var(--text)); text-wrap: balance; }

/* Alignment: one rule for every page, matching the homepage. Headings, leads and the items under them sit on
   the same left edge. Only the founder cards stay centered, since each is a card of its own. */
body.v2 .v2-hero, body.v2 .v2-hero h1, body.v2 .v2-sub,
body.v2 .v2-head, body.v2 .v2t-band .v2-head, body.v2 .v2-head h2 { text-align: left; margin-left: 0; margin-right: 0; }
body.v2 .v2-hero .v2-wrap > *, body.v2 .v2-head > * { margin-left: 0; }
body.v2 .v2-head { max-width: 760px; }
body.v2 .v2-tech-stat, body.v2 .v2-duo__link, body.v2 .v2-compare .compare-source,
body.v2 .v2-how-cap, body.v2 .tech-fig .v2-how-cap, body.v2 .v2-note-line,
body.v2 .sim-summary, body.v2 .pv2-why, body.v2 .pv2-indigo { text-align: left; margin-left: 0; }
body.v2 .pv2-nextpage { justify-content: flex-start; text-align: left; }
body.v2 .v2t-label { text-align: left; }
body.v2 .tech-fig { margin-left: 0; }

/* Why heat: the box sits on the left edge with its words */
.hw-why { margin: 0; text-align: left; }
.hw-why p { margin: 0; text-wrap: pretty; }

/* Products: heads, leads, items and the closing note all start on the left */
.pc-head, .pc-sec--split .pc-head { margin: 0 0 var(--space-intro, 48px); text-align: left; }
.pc-lead, .pc-sec--split .pc-lead { margin: 0; text-wrap: pretty; }
.pc-item { text-align: left; }
.pc-item p { margin: 0; }
.pc-row--3, .pc-sec--tiles .pc-row { margin-inline: 0; }
.pc-note { margin: var(--space-4, 48px) 0 0; text-align: left; text-wrap: pretty; }
/* The step line runs from the first icon's center to the last one's */
.pc-row--steps::before { left: 28px; right: calc((100% - 3 * clamp(24px, 3vw, 48px)) / 4 - 28px); }
/* Products: the Case and Field panels follow the same left edge as the heading above them */
body.v2 #products .v2-panel { align-items: flex-start; text-align: left; }
body.v2 #products .v2-panel__art svg, body.v2 #products .v2-panel__art img { margin-inline: 0; }
body.v2 #products .v2-panel > * { margin-left: 0; margin-right: 0; }
/* The panels have no card behind them, so their side padding only pushed the words in from the heading's edge */
body.v2 #products .pv2-panel { padding-inline: 0; }
/* Learn more rows start on the left too, except inside the centered founder cards */
body.v2 .v2-links { justify-content: flex-start; }
body.v2 .v2t-person .v2-links { justify-content: center; }
@media (max-width: 900px) { body.v2 .v2t-person .v2-links { justify-content: flex-start; } }
/* Button rows follow the same rule */
body.v2 .v2-actions { justify-content: flex-start; }

/* Contact: the band, the three audiences and the address all start on the left like every other page */
body.v2 .v2c-band .v2c-band__in, body.v2 .v2c-mail__in { align-items: flex-start; text-align: left; }
body.v2 .v2c-band .lead { margin-left: 0; text-align: left; }
body.v2 .v2c-auds__grid { text-align: left; }
body.v2 .v2c-aud { align-items: flex-start; }
body.v2 .v2c-waitlist { margin: 16px 0 0; }
/* Giving back: the mission line continues the lead as a second paragraph in the same voice, not a set-off quote */
.hm-model .lead.hm-model__mission { margin-top: var(--space-2, 16px); }
/* How it works, "Why heat?": the box spans the full content width, heading on the left and the body beside it */
.hw-why { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 4vw, 64px); align-items: baseline; }
.hw-why h2 { margin: 0; }
.hw-why p { max-width: 62ch; }
@media (max-width: 760px) { .hw-why { grid-template-columns: minmax(0, 1fr); } }
/* Technology, "At a glance" drawing: the box spans the full content width and the three drawings spread across it */
.tech-fig { max-width: none; }
.tech-fig svg { max-width: 1040px; }
@media (max-width: 640px) { .tech-fig .fz-text { font-size: 30px; } }
/* 404 page: the button and the link sit in one row under the lead */
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 28px 0 0; }
body[data-page="not-found"] .v2c-band { min-height: 46svh; display: flex; align-items: center; }
body[data-page="not-found"] .v2c-band > .bv-wrap { width: 100%; }
/* Devices, "Who each device is for": two raised columns, the Field (service) beside the Case (buyers) */
.pc-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap, 24px); align-items: start; }
.pc-who__col { padding: var(--card-pad-lg, 40px); border-radius: var(--radius-lg, 32px); background: var(--raised); }
.pc-who__label { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.pc-who__col h3 { margin: 0 0 24px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; color: var(--ink); }
.pc-who__list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.pc-who__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.pc-who__item .pc-ico { margin: 0; }
.pc-who__item h4 { margin: 2px 0 4px; font-size: 18px; color: var(--ink); }
.pc-who__item p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 860px) { .pc-who { grid-template-columns: minmax(0, 1fr); } .pc-who__col { padding: var(--card-pad, 28px); } }
