/* Zillow 3D Home vs Matterport article.
   Lane colours carry meaning across the whole page:
   gold = Zillow 3D Home, green = Matterport, cream outline = Zillow Showcase. */

.page-zvm {
  --zvm-z: #c48d26;
  --zvm-z-ink: #8a5d12;
  --zvm-z-wash: rgba(196, 141, 38, .12);
  --zvm-m: #296216;
  --zvm-m-wash: rgba(41, 98, 22, .09);
  --zvm-ink: #142014;
  --zvm-paper: #fffdf8;
  --zvm-measure: 68ch;
  background: #f7f4ec;
}

.page-zvm main { overflow: clip; }

/* ---------------------------------------------------------------- hero
   Split layout: headline on deep forest at left, photo at right.
   The photo sits on a 16:9 stage sized to cover its box, so the tour tags
   are placed in image coordinates and stay pinned to the cameras. */
.zvm-hero {
  position: relative;
  min-height: clamp(660px, 92vh, 900px);
  display: flex;
  align-items: center;
  color: var(--white-on-dark);
  background: #0d200b;
  isolation: isolate;
}

.zvm-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(60% + 4px);
  overflow: hidden;
  container-type: size;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .45) 12%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .45) 12%, #000 34%);
}

.zvm-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 32, 11, .7) 0%, rgba(13, 32, 11, 0) 22%),
    linear-gradient(0deg, rgba(13, 32, 11, .55) 0%, rgba(13, 32, 11, 0) 20%);
}

.zvm-hero__stage {
  position: absolute;
  left: 46%;
  top: 50%;
  width: max(100cqw, 177.78cqh);
  aspect-ratio: 2048 / 1152;
  transform: translate(-50%, -50%);
}

.zvm-hero__stage img { display: block; width: 100%; height: 100%; object-fit: cover; }

.zvm-hero__inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 170px 0 150px;
}

.zvm-hero__inner > * { max-width: min(540px, 44vw); }

.zvm-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .92rem;
  color: rgba(245, 241, 232, .7);
}

.zvm-crumbs a { color: rgba(245, 241, 232, .86); text-decoration: none; }
.zvm-crumbs a:hover { color: #e2b45e; }

.zvm-hero h1 {
  margin: 0 0 24px;
  color: var(--white-on-dark);
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.zvm-hero__vs {
  display: block;
  margin: .14em 0 .1em;
  color: #e2b45e;
  font-family: var(--font-body);
  font-size: .36em;
  font-weight: 300;
  letter-spacing: .02em;
}

.zvm-hero__dek {
  margin: 0 0 28px;
  color: rgba(245, 241, 232, .84);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.zvm-legend { display: none; }

.zvm-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: rgba(245, 241, 232, .7);
}

.zvm-byline strong { color: var(--white-on-dark); font-weight: 600; }

/* Tour tags pinned to the two cameras, styled like 3D tour hotspots */
.zvm-tag {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--zvm-ink);
  text-decoration: none;
  transform: translate(-11px, -50%);
}

.zvm-tag__dot {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tag-color);
  box-shadow: 0 0 0 5px rgba(255, 253, 248, .85);
}

.zvm-tag__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--tag-color);
  opacity: 0;
}

.zvm-tag__card {
  padding: 11px 16px 12px;
  border-radius: 14px;
  background: rgba(255, 253, 248, .95);
  box-shadow: 0 18px 40px rgba(5, 14, 6, .28);
  border-left: 4px solid var(--tag-color);
  line-height: 1.25;
  white-space: nowrap;
  transition: transform var(--ease);
}

.zvm-tag__card b {
  display: block;
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.zvm-tag__card span { font-size: .9rem; color: var(--muted); }

/* image coordinates: right edge of each camera body */
.zvm-tag--z { --tag-color: var(--zvm-z); left: 37.6%; top: 49%; }
.zvm-tag--m { --tag-color: var(--zvm-m); left: 61.6%; top: 30%; }

.zvm-tag:hover .zvm-tag__card { transform: translateY(-2px); }
.zvm-tag:focus-visible { outline: none; }
.zvm-tag:focus-visible .zvm-tag__card { outline: 3px solid #e2b45e; outline-offset: 2px; }

/* the one orchestrated moment: tags ping in once on load */
@media (prefers-reduced-motion: no-preference) {
  .zvm-tag { animation: zvm-tag-in 700ms cubic-bezier(.2, .8, .2, 1) both; }
  .zvm-tag--z { animation-delay: 450ms; }
  .zvm-tag--m { animation-delay: 750ms; }
  .zvm-tag__dot::after { animation: zvm-ping 1.6s ease-out 1 both; animation-delay: inherit; }
  .zvm-tag--z .zvm-tag__dot::after { animation-delay: 900ms; }
  .zvm-tag--m .zvm-tag__dot::after { animation-delay: 1200ms; }
}

@keyframes zvm-tag-in {
  from { opacity: 0; transform: translate(-11px, calc(-50% + 10px)) scale(.96); }
  to { opacity: 1; transform: translate(-11px, -50%); }
}

@keyframes zvm-ping {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.6); }
}

/* ---------------------------------------------------------------- answer box */
.zvm-answer {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin: clamp(-96px, -8vw, -64px) auto 0;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--zvm-paper);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
}

.zvm-answer h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -.02em;
  color: var(--green-deep);
}

.zvm-answer p { margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--zvm-ink); }

.zvm-answer__lanes { display: grid; gap: 10px; align-content: start; margin: 0; padding: 0; list-style: none; }

.zvm-answer__lanes li {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--lane-wash);
  border-left: 4px solid var(--lane);
  font-size: .98rem;
  line-height: 1.45;
}

.zvm-answer__lanes b { display: block; font-weight: 700; color: var(--zvm-ink); }

.lane-z { --lane: var(--zvm-z); --lane-wash: var(--zvm-z-wash); }
.lane-m { --lane: var(--zvm-m); --lane-wash: var(--zvm-m-wash); }
.lane-both { --lane: var(--green-deep); --lane-wash: rgba(23, 53, 14, .06); }

/* ---------------------------------------------------------------- article layout */
.zvm-layout {
  width: min(var(--max), calc(100% - 48px));
  margin: clamp(56px, 7vw, 96px) auto 0;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.zvm-toc {
  position: sticky;
  top: 118px;
  font-size: .95rem;
}

.zvm-toc strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--green-deep);
}

.zvm-toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }

.zvm-toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
  transition: color var(--ease), border-color var(--ease);
}

.zvm-toc a:hover { color: var(--green); }
.zvm-toc a[aria-current="true"] { color: var(--green-deep); border-left-color: var(--zvm-z); font-weight: 600; }

.zvm-progress {
  height: 3px;
  margin-top: 18px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.zvm-progress span { display: block; height: 100%; width: 0; background: var(--zvm-z); }

.zvm-body { max-width: var(--zvm-measure); font-size: 1.08rem; line-height: 1.72; color: var(--zvm-ink); }
.zvm-body > * + * { margin-top: 1.1em; }
.zvm-body p { margin-bottom: 0; }

.zvm-body h2 {
  margin: 2.6em 0 .55em;
  scroll-margin-top: 120px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--green-deep);
  text-wrap: balance;
}

.zvm-body h3 {
  margin: 1.8em 0 .4em;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  letter-spacing: -.01em;
  color: var(--zvm-ink);
}

.zvm-body a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.zvm-body a:hover { color: var(--zvm-z-ink); }
.zvm-body ul { padding-left: 1.2em; }
.zvm-body li + li { margin-top: .4em; }

/* 40-60 word answer under a question H2 */
.zvm-qa {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(41, 98, 22, .06);
  font-size: 1.06rem;
}

.zvm-qa strong { color: var(--green-deep); }

/* ---------------------------------------------------------------- timeline */
.zvm-timeline { margin: 1.6em 0 0; padding: 0; list-style: none; position: relative; }

.zvm-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--zvm-m), var(--zvm-z));
}

.zvm-timeline li { position: relative; padding: 0 0 22px 36px; }
.zvm-timeline li:last-child { padding-bottom: 0; }

.zvm-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--zvm-paper);
  border: 3px solid var(--green-deep);
}

.zvm-timeline li.is-break::before { background: var(--zvm-z); border-color: var(--zvm-z); }

.zvm-timeline time {
  display: block;
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--zvm-z-ink);
}

.zvm-timeline p { margin: 2px 0 0; }

/* ---------------------------------------------------------------- comparison table */
.zvm-table-wrap {
  margin-top: 1.4em;
  margin-right: min(0px, calc((var(--zvm-measure) - 100%) * 0));
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--zvm-paper);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.zvm-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .97rem; line-height: 1.45; }
.zvm-table caption { padding: 14px 18px 0; text-align: left; color: var(--muted); font-size: .92rem; }
.zvm-table th, .zvm-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.zvm-table thead th { border-top: 0; font-family: var(--font-heading); font-size: .98rem; }
.zvm-table thead th.col-z { box-shadow: inset 0 -4px 0 var(--zvm-z); }
.zvm-table thead th.col-s { box-shadow: inset 0 -4px 0 rgba(196, 141, 38, .4); }
.zvm-table thead th.col-m { box-shadow: inset 0 -4px 0 var(--zvm-m); }
.zvm-table tbody th { width: 20%; font-weight: 600; color: var(--muted); }
.zvm-table td.win { background: var(--cell-wash); }
.zvm-table td.win-z { --cell-wash: var(--zvm-z-wash); }
.zvm-table td.win-m { --cell-wash: var(--zvm-m-wash); }

.zvm-table-note { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- head-to-head rounds */
.zvm-rounds { margin-top: 1.4em; display: grid; gap: 14px; }

.zvm-round {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--zvm-paper);
  border: 1px solid var(--line);
}

.zvm-round__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.zvm-round h3 { margin: 0; }
.zvm-round p { margin: .7em 0 0; }

.zvm-edge {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  background: var(--edge-wash);
  color: var(--edge-ink);
}

.zvm-edge--z { --edge-wash: var(--zvm-z-wash); --edge-ink: var(--zvm-z-ink); }
.zvm-edge--m { --edge-wash: var(--zvm-m-wash); --edge-ink: var(--zvm-m); }
.zvm-edge--tie { --edge-wash: rgba(16, 33, 13, .06); --edge-ink: var(--muted); }

.zvm-score {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 1.4em;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--green-deep);
  color: var(--white-on-dark);
}

.zvm-score b { font-family: var(--font-heading); font-size: 1.9rem; letter-spacing: -.03em; }
.zvm-score b.z { color: #e2b45e; }
.zvm-score b.m { color: #9fd38a; }
.zvm-score p { margin: 0; text-align: center; font-size: .98rem; color: rgba(245, 241, 232, .82); }

/* ---------------------------------------------------------------- figure */
.zvm-figure { margin: 2em 0 0; }
.zvm-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.zvm-figure figcaption { margin-top: 10px; font-size: .94rem; color: var(--muted); }

/* ---------------------------------------------------------------- tour picker */
.zvm-picker {
  margin-top: 1.4em;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--white-on-dark);
}

.zvm-picker fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.zvm-picker legend { margin-bottom: 10px; font-weight: 600; font-size: 1.02rem; }

.zvm-picker__opts { display: flex; flex-wrap: wrap; gap: 8px; }

.zvm-picker__opts label { position: relative; cursor: pointer; }

.zvm-picker__opts input { position: absolute; opacity: 0; pointer-events: none; }

.zvm-picker__opts span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, .24);
  font-size: .96rem;
  color: rgba(245, 241, 232, .86);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.zvm-picker__opts label:hover span { border-color: rgba(245, 241, 232, .5); }
.zvm-picker__opts input:checked + span { background: var(--white-on-dark); border-color: var(--white-on-dark); color: var(--green-deep); font-weight: 600; }
.zvm-picker__opts input:focus-visible + span { outline: 2px solid #e2b45e; outline-offset: 2px; }

.zvm-picker__result {
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--zvm-paper);
  color: var(--zvm-ink);
  border-left: 6px solid var(--result-color, var(--line));
}

.zvm-picker__result[data-pick="z"] { --result-color: var(--zvm-z); }
.zvm-picker__result[data-pick="m"] { --result-color: var(--zvm-m); }
.zvm-picker__result[data-pick="both"] { --result-color: var(--green-deep); }

.zvm-picker__result b { display: block; font-family: var(--font-heading); font-size: 1.25rem; letter-spacing: -.02em; }
.zvm-picker__result p { margin: 6px 0 0; font-size: 1rem; line-height: 1.55; }
.zvm-picker__result a { font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .zvm-picker__result.is-updated { animation: zvm-result 380ms ease; }
}

@keyframes zvm-result { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- package callout (mid-article money link) */
.zvm-package {
  margin-top: 1.6em;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--zvm-z-wash);
  border: 1px solid rgba(196, 141, 38, .32);
}

.zvm-package h3 { margin: 0 0 6px; }
.zvm-package p { margin: 0; font-size: 1rem; }
.zvm-package .btn { white-space: nowrap; }

/* ---------------------------------------------------------------- steps (still reach Zillow buyers) */
.zvm-steps { margin: 1.2em 0 0; padding: 0; list-style: none; counter-reset: zvm-step; display: grid; gap: 12px; }

.zvm-steps li {
  counter-increment: zvm-step;
  position: relative;
  padding: 16px 18px 16px 62px;
  border-radius: 14px;
  background: var(--zvm-paper);
  border: 1px solid var(--line);
}

.zvm-steps li::before {
  content: counter(zvm-step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white-on-dark);
  font-family: var(--font-heading);
  font-size: .95rem;
}

.zvm-steps b { display: block; }

/* ---------------------------------------------------------------- stats */
.zvm-stats { margin: 1.4em 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.zvm-stats li { padding: 18px 18px 16px; border-radius: 14px; background: var(--zvm-paper); border: 1px solid var(--line); }
.zvm-stats b { display: block; font-family: var(--font-heading); font-size: 2rem; letter-spacing: -.04em; line-height: 1; color: var(--green); }
.zvm-stats span { display: block; margin-top: 8px; font-size: .95rem; line-height: 1.4; }
.zvm-stats small { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; }

/* ---------------------------------------------------------------- takeaways + faq + sources */
.zvm-takeaways {
  margin-top: 2.4em;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 2px solid var(--green-deep);
}

.zvm-takeaways h2 { margin: 0 0 10px; font-size: 1.4rem; }
.zvm-takeaways ul { margin: 0; }

.zvm-faq { margin-top: 1.2em; display: grid; gap: 10px; }
.zvm-faq details { border-radius: 14px; background: var(--zvm-paper); border: 1px solid var(--line); }
.zvm-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.zvm-faq summary::-webkit-details-marker { display: none; }
.zvm-faq summary::after { content: "+"; flex: none; font-family: var(--font-heading); color: var(--zvm-z-ink); }
.zvm-faq details[open] summary::after { content: "\2212"; }
.zvm-faq details p { margin: 0; padding: 0 20px 18px; }
.zvm-faq summary:focus-visible { outline: 2px solid var(--zvm-z); outline-offset: 2px; border-radius: 14px; }

.zvm-sources { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.zvm-sources h2 { margin: 0 0 8px; font-size: 1.15rem; }
.zvm-sources ul { padding-left: 1.1em; columns: 2; column-gap: 32px; }
.zvm-sources li { break-inside: avoid; }

.zvm-related { margin-top: 2.4em; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.zvm-related a {
  display: block;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--zvm-paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--zvm-ink);
  transition: border-color var(--ease);
}
.zvm-related a:hover { border-color: var(--zvm-z); color: var(--zvm-ink); }
.zvm-related b { display: block; font-family: var(--font-heading); font-size: 1rem; }
.zvm-related span { font-size: .93rem; color: var(--muted); }

/* ---------------------------------------------------------------- bottom CTA */
.zvm-cta {
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--green-deep);
  color: var(--white-on-dark);
}

.zvm-cta__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
}

.zvm-cta h2 { margin: 0 0 12px; color: var(--white-on-dark); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.035em; max-width: 18ch; }
.zvm-cta p { margin: 0; max-width: 56ch; color: rgba(245, 241, 232, .8); font-size: 1.08rem; line-height: 1.6; }
.zvm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .zvm-layout { grid-template-columns: minmax(0, 1fr); }
  .zvm-toc { position: static; padding: 18px 20px; border-radius: 14px; background: var(--zvm-paper); border: 1px solid var(--line); }
  .zvm-progress { display: none; }
  .zvm-body { max-width: none; }
  .zvm-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .zvm-hero__photo { position: relative; width: 100%; height: clamp(320px, 58vw, 540px); }
  .zvm-hero__photo::after { background: linear-gradient(180deg, rgba(13, 32, 11, .8) 0%, rgba(13, 32, 11, 0) 38%), linear-gradient(0deg, #0d200b 0%, rgba(13, 32, 11, 0) 32%); }
  .zvm-hero__stage { left: 50%; }
  .zvm-hero__photo { -webkit-mask-image: none; mask-image: none; }
  .zvm-hero__inner { padding: 4px 0 120px; }
  .zvm-hero__inner > * { max-width: 640px; }
}

@media (max-width: 760px) {
  .zvm-hero__photo { height: 340px; }
  .zvm-hero__inner { width: calc(100% - 32px); padding-bottom: 104px; }
  .zvm-tag__card { display: none; }
  .zvm-tag__dot { width: 16px; height: 16px; box-shadow: 0 0 0 4px rgba(255, 253, 248, .85); }
  .zvm-tag { transform: translate(-8px, -50%); }
  .zvm-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px; font-size: .95rem; color: rgba(245, 241, 232, .86); }
  .zvm-legend span { display: inline-flex; align-items: center; gap: 8px; }
  .zvm-legend span::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--lane); box-shadow: 0 0 0 3px rgba(255, 253, 248, .8); }
  .zvm-answer { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
  .zvm-layout, .zvm-cta__inner { width: calc(100% - 32px); }
  .zvm-cta__inner, .zvm-package { grid-template-columns: minmax(0, 1fr); }
  .zvm-score { padding: 16px; }
  .zvm-sources ul { columns: 1; }
  .zvm-round { padding: 18px 0 18px 18px; }
}

.page-zvm .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- fixes after review */
.zvm-body ul:not([class]) { list-style: disc; }
.zvm-body ul:not([class]) li::marker { color: var(--zvm-z); }
.zvm-takeaways ul { list-style: disc; padding-left: 1.2em; }
.zvm-takeaways li::marker { color: var(--green); }
.zvm-stats li + li,
.zvm-steps li + li,
.zvm-answer__lanes li + li,
.zvm-timeline li + li { margin-top: 0; }
.zvm-body a.btn,
.zvm-body a.btn:hover { color: #120d04; text-decoration: none; }
.page-zvm .site-footer { margin-top: 0; }

/* rounds read as a scored list, not a stack of identical cards */
.zvm-rounds { gap: 0; border-top: 1px solid var(--line); }
.zvm-round { padding: 22px 0 22px 22px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--round-lane, var(--line)); }
.zvm-round:has(.zvm-edge--z) { --round-lane: var(--zvm-z); }
.zvm-round:has(.zvm-edge--m) { --round-lane: var(--zvm-m); }
