/* Home, visual version: interface mockups and illustrations that replace long text.
   Every mockup uses the design-system tokens; "before" states are drained of colour. */

/* Reveal on scroll (visual.js adds .is-in). Without JS everything is visible. */
.js .hv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .hv-reveal.is-in { opacity: 1; transform: none; }

/* What changes: one row per service — headline, before, arrow, after */
.hv-changes { display: flex; flex-direction: column; gap: 14px; }
.hv-change { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) 32px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; background: var(--white); border-radius: var(--radius-card); color: var(--ink); text-decoration: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.hv-change:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.hv-change__head { display: flex; flex-direction: column; gap: 10px; padding-left: 6px; }
.hv-change__more { color: var(--muted); }
.hv-change:hover .hv-change__more { color: var(--ink); }
.hv-change__arrow { display: flex; justify-content: center; color: var(--label); }
@media (max-width: 900px) {
	.hv-change { grid-template-columns: minmax(0, 1fr); }
	.hv-change__arrow svg { transform: rotate(90deg); }
}

/* Mockup frame */
.hv-mock { position: relative; display: flex; flex-direction: column; height: 220px; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; font-family: var(--font-sans); }
.hv-mock--before { background: var(--page); }
.hv-mock--before > :not(.hv-tag) { filter: grayscale(1); opacity: .7; }
.hv-mock--after { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 14%, transparent); }
.hv-tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: -0.5px; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); color: var(--label); }
.hv-tag--after { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hv-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; }
.hv-big-icon { width: 44px; height: 44px; color: var(--prm-c-05); }

/* Browser chrome */
.hv-browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--white); border-bottom: 1px solid var(--line); }
.hv-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--prm-c-06); }
.hv-browser__url { margin-left: 8px; padding: 0 10px; height: 18px; line-height: 18px; border-radius: 9px; background: var(--page); font-family: var(--font-mono); font-size: 11px; color: var(--label); }
.hv-browser__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--white); }
.hv-mock--before .hv-browser__body { background: var(--page); }
.hv-site__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hv-site__nav b { width: 18px; height: 18px; border-radius: 5px; background: var(--prm-01); margin-right: auto; }
.hv-site__nav span { width: 28px; height: 5px; border-radius: 3px; background: var(--prm-c-06); }
.hv-bar { display: block; height: 6px; border-radius: 3px; background: var(--prm-c-06); }
.hv-bar--title { height: 11px; background: var(--prm-01); }
.hv-site__btn { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 500; }
.hv-toast { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); animation: hv-pop 3.6s cubic-bezier(.2, .8, .2, 1) infinite; }
.hv-toast i { width: 9px; height: 9px; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 4px color-mix(in srgb, var(--status) 22%, transparent); }
.hv-toast span { display: flex; flex-direction: column; }
.hv-toast b { font-size: 12px; font-weight: 600; }
.hv-toast small { font-size: 10.5px; color: var(--muted); }
@keyframes hv-pop { 0%, 12% { transform: translateY(8px); opacity: 0; } 22%, 85% { transform: none; opacity: 1; } 100% { transform: none; opacity: 1; } }

/* Google listing */
.hv-search { display: flex; align-items: center; gap: 8px; margin: 12px 76px 0 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-size: 12px; color: var(--ink-soft); }
.hv-search svg { width: 13px; height: 13px; color: var(--label); }
.hv-listing { display: flex; flex-direction: column; gap: 6px; margin: 10px 12px 12px; padding: 12px 14px; flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--ink-soft); }
.hv-listing__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hv-listing__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.hv-chip { font-family: var(--font-mono); font-size: 10.5px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--page); color: var(--label); }
.hv-stars { color: var(--prm-c-05); letter-spacing: 1px; }
.hv-stars span { color: var(--prm-c-04); }
.hv-stars--on span { color: var(--accent); }
.hv-stars small { color: var(--muted); letter-spacing: 0; }
.hv-warn { color: var(--accent-ink); }
.hv-open { color: var(--status); font-weight: 500; }
.hv-actions { display: flex; gap: 6px; margin-top: 2px; }
.hv-act { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 11px; color: var(--ink); }
.hv-act--main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hv-tracked { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; color: var(--label); }

/* AI assistant chat */
.hv-chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px 14px 14px; }
.hv-bubble { display: flex; flex-direction: column; gap: 6px; max-width: 82%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--page); font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.hv-bubble--user { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--prm-01); color: var(--on-dark); }
.hv-mock--after .hv-ai .hv-bubble { background: color-mix(in srgb, var(--accent) 12%, var(--white)); }
.hv-ai { display: flex; align-items: flex-end; gap: 8px; }
.hv-ai__avatar { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--prm-c-06); font-family: var(--font-mono); font-size: 9px; color: var(--ink); }
.hv-flag { align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--white); color: var(--accent-ink); }
.hv-source { align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--white); color: var(--status); border: 1px solid color-mix(in srgb, var(--status) 35%, transparent); }

/* What you can count on: icon tiles */
.hv-counts-card { align-items: center; }
.hv-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hv-count { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--prm-c-01); border: 1px solid var(--line); border-radius: var(--radius-card); }
.hv-count__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.hv-count__icon svg { width: 30px; height: 30px; }
@media (max-width: 600px) {
	.hv-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hv-count { padding: 18px 14px; gap: 8px; }
	.hv-count .pm-text-stat { font-size: 19px; }
	.hv-count__icon { width: 44px; height: 44px; border-radius: 13px; }
}

/* How it works: illustrated steps */
.hv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (max-width: 900px) { .hv-steps { grid-template-columns: minmax(0, 1fr); } }
.hv-step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.hv-step:not(:last-child)::after { content: ""; position: absolute; top: 110px; right: -14px; width: 12px; height: 12px; border-top: 1.5px solid var(--prm-c-05); border-right: 1.5px solid var(--prm-c-05); transform: rotate(45deg); }
@media (max-width: 900px) { .hv-step:not(:last-child)::after { display: none; } }
.hv-step__pic { height: 220px; display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--white); border-radius: var(--radius-card); border: 1px solid var(--line); overflow: hidden; }
.hv-step__text { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }

.hv-msg { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 10px; }
.hv-msg__box { min-height: 74px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.hv-caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: hv-blink 1s steps(1) infinite; }
@keyframes hv-blink { 50% { opacity: 0; } }
.hv-msg__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hv-msg__send { padding: 7px 16px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 500; }
.hv-msg__ok { font-family: var(--font-mono); font-size: 11px; color: var(--status); }

.hv-doc { position: relative; width: 100%; max-width: 260px; display: flex; flex-direction: column; gap: 9px; padding: 16px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .07); transform: rotate(-2deg); }
.hv-doc__title { font-size: 13px; font-weight: 600; color: var(--ink); padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.hv-doc__row { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 8px; }
.hv-doc__row b { font-family: var(--font-mono); font-size: 10px; font-weight: 400; color: var(--label); }
.hv-doc__row span { height: 6px; border-radius: 3px; background: var(--prm-c-06); }
.hv-doc__sign { width: 110px; height: 30px; color: var(--prm-01); margin-top: 2px; }
.hv-doc__stamp { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border: 2px solid var(--status); border-radius: 8px; color: var(--status); font-family: var(--font-mono); font-size: 11px; font-weight: 500; transform: rotate(-8deg); background: var(--white); }

.hv-chart { width: 100%; max-width: 280px; display: flex; flex-direction: column; gap: 10px; }
.hv-chart__title { font-family: var(--font-mono); font-size: 11px; color: var(--label); }
.hv-chart__bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.hv-chart__col { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; }
.hv-chart__col i { display: block; border-radius: 3px; transform-origin: bottom; }
.js .hv-reveal .hv-chart__col i { transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .hv-reveal.is-in .hv-chart__col i { transform: none; }
.hv-chart__col:nth-child(2) i { transition-delay: .06s; }
.hv-chart__col:nth-child(3) i { transition-delay: .12s; }
.hv-chart__col:nth-child(4) i { transition-delay: .18s; }
.hv-chart__col:nth-child(5) i { transition-delay: .24s; }
.hv-chart__col:nth-child(6) i { transition-delay: .3s; }
.hv-legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.hv-legend span { display: flex; align-items: center; gap: 5px; }
.hv-legend i { width: 8px; height: 8px; border-radius: 2px; }

/* Marketing you can check: sample monthly report */
.hv-report-sec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--space-column); align-items: center; }
.hv-report { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--white); border-radius: var(--radius-panel); box-shadow: var(--shadow-media); }
.hv-report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hv-report__kpi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.hv-report__kpi b { font-size: clamp(48px, 5vw, 64px); line-height: 1; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hv-delta { font-family: var(--font-mono); font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--status) 14%, transparent); color: var(--status); }
.hv-stack { display: flex; gap: 3px; height: 16px; }
.hv-stack i { display: block; border-radius: 4px; }
.js .hv-reveal .hv-stack { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.2, .8, .2, 1) .2s; }
.js .hv-reveal.is-in .hv-stack { clip-path: inset(0 0 0 0); }
.hv-report__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; font-size: 14px; color: var(--ink-soft); }
.hv-report__legend span { display: flex; align-items: center; gap: 8px; }
.hv-report__legend i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.hv-report__legend b { margin-left: auto; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.hv-report__did { display: flex; flex-direction: column; gap: 0; padding-top: 6px; }
.hv-report__did > .pm-text-mono-badge { padding-bottom: 8px; }
.hv-did { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.hv-did b { font-weight: 500; color: var(--ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.js .hv-reveal, .js .hv-reveal .hv-chart__col i, .js .hv-reveal .hv-stack { opacity: 1; transform: none; clip-path: none; transition: none; }
	.hv-toast, .hv-caret { animation: none; }
}

/* ---------- Services, visual version ---------- */

/* Page head with a collage of what the services deliver */
.hv-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(32px, 4vw, 72px); }
.hv-collage { position: relative; height: 400px; background: transparent; }
.hv-collage__item { position: absolute; width: min(320px, 70%); }
.hv-collage__item .hv-mock { box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.hv-collage__item--1 { left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.hv-collage__item--2 { right: 0; top: 64px; transform: rotate(3deg); z-index: 2; }
.hv-collage__item--3 { left: 10%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
@media (max-width: 1000px) {
	.hv-head { grid-template-columns: minmax(0, 1fr); }
	.hv-collage { display: none; }
}

/* Service cards: "what you get" picture, the problem, three deliverables */
.hv-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hv-svc { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-card); overflow: hidden; color: var(--ink); text-decoration: none; transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
/* Hover / focus: the card turns into the dark hero panel, so the chosen problem is unmistakable. */
.hv-svc:hover, .hv-svc:focus-visible { background: var(--hero-dark); color: var(--on-dark); transform: translateY(-6px); box-shadow: 0 26px 56px rgba(1, 4, 12, .28); }
.hv-svc__pic { padding: 18px 18px 0; }
.hv-svc .hv-mock--after { box-shadow: none; border-color: var(--line); }
.hv-svc:hover .hv-mock--after, .hv-svc:focus-visible .hv-mock--after { border-color: transparent; }
.hv-svc .hod-c-label, .hv-svc__get { transition: color .25s ease; }
.hv-svc:hover .hod-c-label, .hv-svc:focus-visible .hod-c-label { color: #afafaf; }
.hv-svc:hover .hv-svc__get, .hv-svc:focus-visible .hv-svc__get { color: var(--prm-c-06); }
.hv-svc__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.hv-svc__fix { font-size: clamp(22px, 1.9vw, 27px); }
.hv-svc__gets { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.hv-svc__get { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.hv-svc__more { margin-top: auto; padding-top: 10px; color: var(--muted); transition: color .25s ease; }
.hv-svc:hover .hv-svc__more, .hv-svc:focus-visible .hv-svc__more { color: var(--accent); }
.hv-ok, .hv-no { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.hv-ok { background: color-mix(in srgb, var(--status) 16%, transparent); color: var(--status); }
.hv-no { background: var(--prm-c-06); color: var(--prm-c-04); }
.hv-ok svg, .hv-no svg { width: 13px; height: 13px; }

/* Builder call to action with a mini builder */
.hv-buildcta { align-items: center; }
.hv-builder { flex: 0 1 430px; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); font-family: var(--font-sans); }
.hv-builder__presets { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; }
.hv-builder__presets span { padding: 5px 10px; border-radius: var(--radius-pill); border: 1px solid var(--prm-c-06); font-size: 11.5px; color: var(--ink-soft); white-space: nowrap; }
.hv-builder__presets .is-on { background: var(--prm-01); border-color: var(--prm-01); color: var(--on-dark); }
.hv-builder__part { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; }
.hv-builder__part i { grid-row: 1 / 3; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1.5px solid var(--prm-c-05); box-sizing: border-box; display: grid; place-items: center; color: var(--on-dark); }
.hv-builder__part.is-on i { background: var(--prm-01); border-color: var(--prm-01); }
.hv-builder__part i svg { width: 11px; height: 11px; }
.hv-builder__part b { font-size: 13.5px; font-weight: 500; }
.hv-builder__part small { font-size: 11.5px; color: var(--muted); }
.hv-builder__part:not(.is-on) { opacity: .6; }
.hv-builder__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 2px 2px; font-family: var(--font-mono); font-size: 11.5px; color: var(--label); }
.hv-builder__segs { display: grid; grid-template-columns: repeat(3, 28px); gap: 3px; }
.hv-builder__segs i { height: 4px; border-radius: 2px; background: var(--prm-c-06); }
.hv-builder__segs .is-on { background: var(--prm-01); }
.hv-builder__send { padding: 11px; text-align: center; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; border-radius: 4px; }

/* What we don't do / always do */
.hv-promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; align-items: stretch; }
.hv-promise__card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-panel); }
.hv-promise__card--not { border: 1px dashed var(--prm-c-05); }
.hv-promise__card--yes { background: var(--white); border: 1px solid color-mix(in srgb, var(--status) 35%, var(--line)); }
.hv-promise__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.hv-promise__icon svg { width: 26px; height: 26px; }
.hv-promise__card--not .hv-promise__icon { background: var(--prm-c-06); color: var(--prm-c-04); }
.hv-promise__card--yes .hv-promise__icon { background: color-mix(in srgb, var(--status) 16%, transparent); color: var(--status); }
.hv-promise ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.hv-promise li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.35; color: var(--ink); }
.hv-promise__card--not li { color: var(--muted); }

/* ---------- Build Your Setup, visual version ---------- */

/* Stage bar (five stages): navigation + picks per stage */
.hv-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding-top: clamp(32px, 4vw, 48px); }
.hv-stage { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s, color .25s; }
.hv-stage:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 1.5px; background: var(--prm-c-05); }
.hv-stage:hover { color: var(--ink); border-color: var(--prm-c-05); }
.hv-stage__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--page); color: var(--prm-c-04); transition: background .25s, color .25s; }
.hv-stage__icon .hod-icon { width: 22px; height: 22px; }
.hv-stage__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hv-stage__label { font-size: 16px; font-weight: 500; line-height: 1.25; }
.hv-stage__count { margin-left: auto; flex-shrink: 0; min-width: 26px; height: 26px; padding: 0 7px; box-sizing: border-box; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--page); font-family: var(--font-mono); font-size: 12px; color: var(--label); transition: background .25s, color .25s; }
.hv-stage.is-on { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.hv-stage.is-on .hv-stage__icon { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); }
.hv-stage.is-on .hv-stage__count { background: var(--accent); color: var(--on-accent); }
/* Narrower: the compact stage (smaller icon, count as a badge on the corner), then three and two per row. */
@media (max-width: 1240px) {
	.hv-stage { gap: 10px; padding: 10px 12px; }
	.hv-stage__icon { width: 32px; height: 32px; border-radius: 10px; }
	.hv-stage__icon .hod-icon { width: 18px; height: 18px; }
	.hv-stage__label { font-size: 15px; }
	.hv-stage__count { position: absolute; top: -7px; right: -5px; min-width: 22px; height: 22px; font-size: 11px; }
}
@media (max-width: 900px) {
	.hv-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hv-stage::after { display: none; }
}
@media (max-width: 600px) {
	.hv-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hv-stage:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.hv-stage__text .pm-text-mono-badge { display: none; }
	.hv-stage__label { font-size: 14px; }
}

/* Category heads and part cards with icons */
.hv-build { padding-top: clamp(32px, 4vw, 56px); }
.hv-build .hod-build__parts > section { scroll-margin-top: 90px; }
.hv-cat-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--prm-01); color: var(--on-dark); }
.hv-cat-icon .hod-icon { width: 26px; height: 26px; }
.hv-part__toggle { grid-template-columns: 24px minmax(0, 1fr) 40px; }
.hv-part__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.hv-part__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--page); color: var(--prm-c-04); transition: background .25s, color .25s; }
.hv-part__icon .hod-icon { width: 22px; height: 22px; }
.hod-part.is-open .hv-part__icon { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); }

/* "Your setup" as a chain of the stages */
.hv-chain { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.hv-chain__stage { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.hv-chain__stage:not(:last-child)::before { content: ""; position: absolute; left: 17.5px; top: 38px; bottom: 2px; width: 1.5px; background: var(--prm-c-06); }
.hv-chain__stage.is-on:not(:last-child)::before { background: var(--prm-01); }
.hv-chain__dot { width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed var(--prm-c-05); color: var(--prm-c-05); background: var(--white); transition: background .25s, color .25s, border-color .25s; }
.hv-chain__dot .hod-icon { width: 18px; height: 18px; }
.hv-chain__stage.is-on .hv-chain__dot { border: 0; background: var(--prm-01); color: var(--on-dark); }
.hv-chain__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; min-width: 0; }
.hv-chain__parts { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-chain__parts:empty { display: none; }
.hv-chain__chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 4px 4px 10px; border-radius: var(--radius-pill); background: var(--page); font-size: 13px; line-height: 18px; color: var(--ink); }
.hv-chain__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-chain__chip button { flex-shrink: 0; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--label); font-size: 11px; cursor: pointer; }
.hv-chain__chip button:hover { background: var(--white); color: var(--ink); }
.hv-chain__add { color: var(--muted); text-decoration: none; }
.hv-chain__add:hover { color: var(--ink); }
.hv-chain.is-empty .hv-chain__add { display: none; }

/* ---------- About, visual version ---------- */

/* "Who owns what" card in the page head */
.hv-owns { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--white); color: var(--ink); border-radius: var(--radius-card); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); max-width: 480px; justify-self: end; width: 100%; box-sizing: border-box; }
.hv-owns__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; }
.hv-owns__row, .hv-owns__access { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.hv-owns__row b, .hv-owns__access b { font-size: 15px; font-weight: 500; }
.hv-owns__row small, .hv-owns__access small { font-size: 12.5px; color: var(--muted); }
.hv-owns__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--page); color: var(--ink-soft); }
.hv-owns__icon .hod-icon { width: 21px; height: 21px; }
.hv-owns__you { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--status) 14%, transparent); color: var(--status); font-size: 13px; font-weight: 600; }
.hv-owns__you svg { width: 13px; height: 13px; }
.hv-owns__access { grid-template-columns: minmax(0, 1fr) auto; background: var(--page); border-color: transparent; margin-top: 4px; }
.hv-switch { width: 40px; height: 24px; border-radius: 12px; background: var(--status); position: relative; }
.hv-switch i { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
@media (max-width: 1000px) { .hv-owns { justify-self: start; } }

/* Mission as a three-step flow */
.hv-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hv-flow__step { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--white); border-radius: var(--radius-card); }
.hv-flow__step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--prm-c-05); border-right: 1.5px solid var(--prm-c-05); transform: translateY(-50%) rotate(45deg); }
.hv-flow__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-ink); }
.hv-flow__icon .hod-icon { width: 28px; height: 28px; }
@media (max-width: 900px) {
	.hv-flow { grid-template-columns: minmax(0, 1fr); }
	.hv-flow__step::after { display: none; }
}

/* Beliefs as icon tiles on a light page */
.hv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hv-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--white); border-radius: var(--radius-card); }
.hv-tile__icon { width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; display: grid; place-items: center; background: var(--prm-01); color: var(--on-dark); }
.hv-tile__icon .hod-icon { width: 28px; height: 28px; }
@media (max-width: 600px) {
	.hv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.hv-tile { padding: 18px 14px; }
	.hv-tile .pm-text-stat { font-size: 19px; }
	.hv-tile__icon { width: 44px; height: 44px; border-radius: 13px; }
}

/* Trust without testimonials */
.hv-trust { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--status) 35%, var(--line)); border-radius: var(--radius-card); background: color-mix(in srgb, var(--status) 5%, var(--white)); }
.hv-trust__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--status) 16%, transparent); color: var(--status); }
.hv-trust__icon .hod-icon { width: 26px; height: 26px; }
.hv-trust .pm-text-body { max-width: 80ch; }
@media (max-width: 600px) { .hv-trust { flex-direction: column; gap: 12px; padding: 20px; } }
