/* Home page (index.html, .hm- prefix): one idea per section, a visual for each, detail one click away.
   Shared pieces (.btn, .tag, .topbar, .ld-form fields) come from style.css and landing.css; colours via tokens only. */

/* the contact form reuses landing.css's field styles; only the parts the form needs are repeated here */
.ld-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 18px; }
.ld-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ld-field > label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.ld-field input, .ld-field select, .ld-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--axis); border-radius: var(--radius-m);
  background: var(--raised); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4; }
.ld-field textarea { min-height: 112px; resize: vertical; }
.ld-field input::placeholder, .ld-field textarea::placeholder { color: var(--muted); opacity: 1; }
.ld-field input:focus-visible, .ld-field select:focus-visible, .ld-field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.ld-field [aria-invalid="true"] { border-color: var(--critical); box-shadow: inset 0 0 0 1px var(--critical); }
.ld-err { margin: 0; color: var(--critical); font-size: .875rem; font-weight: 600; }
.ld-err::before { content: "! "; }
.ld-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ld-form .btn[disabled] { opacity: .65; cursor: progress; }
.ld-form-fine { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }
.ld-form-status { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--critical); background: var(--surface-2); border-radius: 0 var(--radius-m) var(--radius-m) 0; color: var(--ink); }
.ld-form-status a { overflow-wrap: anywhere; }
.ld-sent:focus, .hm-form-card:focus { outline: none; }
.ld-sent-h { margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--st-verified); font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; color: var(--ink); }
.ld-sent p:not(.ld-sent-h) { color: var(--ink-2); }

/* ---------- frame ---------- */
.hm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hm-wrap { max-width: calc(1200px + 2 * var(--wrap-pad)); margin: 0 auto; padding: 0 var(--wrap-pad); }
#main [id] { scroll-margin-top: 24px; }
.hm-ic svg, .hm-ticks svg, .hm-sys-list svg, .hm-more svg, .hm-head-link svg, .hm-offer-link svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hm-sec { padding: var(--space-section) 0; }
.hm-band { background: var(--surface-2); }
.hm-head { margin: 0 0 48px; }
/* type: one calm scale for the page. Lighter display weight, gentle tracking, sizes that step down quickly */
.hm h1, .hm h2, .hm h3 { font-weight: calc(var(--display-wght) - 90); }
.hm-hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.75rem, 1.3rem + 4.8vw, 5.75rem); font-weight: calc(var(--display-wght) + 60); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.hm-h1-em { font-style: normal; color: var(--on-photo-accent); }
.hm-nb { white-space: nowrap; }
.hm-head h2, .hm-offer h2, .hm-start h2 { margin: 0; max-width: 24ch; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }
.hm-head-c { text-align: center; }
.hm-head-c h2 { margin-inline: auto; }
.hm-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.hm-head-link, .hm-more a, .hm-offer-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }
.hm-head-link svg, .hm-more svg, .hm-offer-link svg { width: 18px; height: 18px; transition: transform .16s cubic-bezier(.2,.7,.2,1); }
.hm-head-link:hover svg, .hm-more a:hover svg, .hm-offer-link:hover svg { transform: translateX(3px); }
.hm-lede { margin: 0; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; max-width: 40ch; text-wrap: pretty; }
.hm-btn-lg { min-height: 48px; padding: 12px 22px; font-size: 1rem; }
.hm .btn:not(.btn-ghost):not(.ghost) { box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.hm .btn:not(.btn-ghost):not(.ghost):hover { transform: none; }
.hm-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hm-fine { margin: 20px 0 0; color: var(--muted); font-size: .875rem; }
.hm-play { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px; color: var(--ink); font-weight: 500; text-decoration: none; }
.hm-play-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-card);
  transition: transform .16s cubic-bezier(.2,.7,.2,1); }
.hm-play-ic svg { width: 18px; height: 18px; margin-left: 2px; fill: var(--accent); }
.hm-play:hover { color: var(--accent); }
.hm-play:hover .hm-play-ic { transform: scale(1.06); }

/* ---------- 1. hero: centred copy, then a wide illustration as the header image ---------- */
.hm-hero { position: relative; isolation: isolate; padding: 64px 0 40px; }
.hm-hero::before { content: ""; position: absolute; inset: 0 0 30% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, var(--accent-wash), transparent 75%); opacity: .7; }
.hm-hero-copy { display: grid; justify-items: center; gap: 22px; text-align: center; }
.hm-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.hm-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.hm-ticks svg { width: 16px; height: 16px; color: var(--st-verified); stroke-width: 2.2; }

/* hero photograph: only the headline and the reel sit on it; the lede, CTAs and ticks follow on the page */
.hm-hero.hm-hero-photo { padding-top: 0; }
.hm-hero-photo::before { content: none; }
.hm-hero-stage { position: relative; isolation: isolate; display: grid; align-content: center; min-height: clamp(540px, 74vh, 740px); padding: 96px 0 104px; }
.hm-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--photo-scrim); }
.hm-hero-bg img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* darken the middle a touch for the text, then melt the bottom edge into the page */
.hm-hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 52% 42% at 50% 46%, var(--photo-scrim), transparent 72%),
              linear-gradient(to bottom, var(--photo-scrim), rgba(24,18,34,.12) 60%, transparent 78%),
              linear-gradient(to bottom, transparent 80%, var(--paper) 100%); }
.hm-hero-stage h1 { color: var(--on-photo); text-shadow: 0 2px 28px rgba(0,0,0,.3); }
.hm-hero-copy { gap: 28px; }
.hm-hero-sub { display: grid; justify-items: center; gap: 22px; padding-top: 8px; text-align: center; }
.hm-hero-sub .hm-lede { max-width: 46ch; }
.hm-hero-sub .hm-ctas { justify-content: center; margin-top: 2px; }
.hm-hero-photo .hm-art { margin-top: 64px; }
.hm-hero-bg img { filter: brightness(.9) saturate(.95); }
[data-theme="dusk"] .hm-hero-bg img { filter: brightness(.8); }

/* hero reel: one photo and one question per industry, crossfading under the fixed headline. All slides share one
   grid cell, so the hero never changes height; the active dot's progress bar is the timer (see home.js) */
.hm-hero-bg img { opacity: 0; transition: opacity 1.2s ease; }
.hm-hero-bg img.is-on { opacity: 1; }
/* the industry photos are brighter than the dusk skyline, so they sit darker under the white type */
.hm-hero-bg img[data-slide]:not([data-slide="overview"]) { filter: brightness(.5) saturate(.85); }
.hm-hero-bg img[data-slide="healthcare"] { filter: brightness(.42) saturate(.85); }
.hm-hero-bg img[data-slide="staffing"] { object-position: 50% 55%; }
.hm-hero-bg img[data-slide="manufacturing"] { object-position: 50% 40%; }
.hm-hero-bg img[data-slide="lending"] { object-position: 50% 30%; }
.hm-reel { display: grid; justify-items: center; gap: 20px; width: 100%; }
.hm-reel-slides { display: grid; width: 100%; margin: 0; padding: 0; list-style: none; }
.hm-reel-slide { grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .45s, transform .6s cubic-bezier(.2,.7,.2,1), visibility 0s .6s; }
.hm-reel-slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, 0s; }
.hm-reel-q { margin: 0; max-width: 34ch; color: var(--on-photo); font-family: var(--font-text); font-size: clamp(1.1875rem, .95rem + 1vw, 1.75rem);
  font-weight: 450; line-height: 1.3; letter-spacing: -0.012em; text-wrap: balance; text-shadow: 0 1px 18px rgba(0,0,0,.5); }
/* the key phrase of each question gets a highlighter stroke: a broad, slightly ragged band over the lower part of the
   letters that sweeps in as the slide arrives (two gradients: a lighter streak along the top, and the stroke). No
   color-mix(), and the token carries a fallback, so an older browser or a stale cached themes.css still draws it */
.hm-mark { padding: 0 .16em; margin: 0 -.08em; color: inherit; border-radius: .35em .2em .4em .25em;
  background:
    linear-gradient(178deg, transparent 0, rgba(255,255,255,.16) 30%, transparent 70%) 0 74% / 0% .7em no-repeat,
    linear-gradient(101deg, transparent .1em, var(--on-photo-mark, #C8763C) .3em, var(--on-photo-mark, #C8763C) calc(100% - .35em), transparent calc(100% - .05em))
      0 92% / 0% .74em no-repeat;
  text-shadow: 0 1px 2px rgba(40,20,10,.35);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .75s cubic-bezier(.3,.7,.2,1) .45s; }
.hm-reel-slide.is-on .hm-mark { background-size: 100% .7em, 100% .74em; }
.hm-reel-more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--on-photo-2); font-size: .9375rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hm-reel-more:hover { color: var(--on-photo); text-decoration-color: currentColor; }
.hm-reel-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-reel-nav { display: flex; align-items: center; justify-content: center; gap: 6px 10px; max-width: 100%; }
.hm-reel-nav[hidden] { display: none; }
.hm-reel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.hm-reel-dot, .hm-reel-pause { position: relative; overflow: hidden; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--on-photo-2); font: inherit; cursor: pointer; }
.hm-reel-dot { min-height: 32px; padding: 4px 11px 6px; font-size: .8125rem; font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hm-reel-dot:hover, .hm-reel-pause:hover { color: var(--on-photo); background: rgba(255,255,255,.1); }
.hm-reel-dot.is-on { color: var(--on-photo); background: rgba(255,255,255,.16); }
.hm-reel-dot::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 1px; background: var(--on-photo);
  transform: scaleX(0); transform-origin: 0 50%; }
.hm-reel-dot.is-on::after { transform: scaleX(1); }
.hm-reel.is-auto .hm-reel-dot.is-on::after { animation: hm-reel-fill 3.25s linear both; }
.hm-reel.is-paused .hm-reel-dot.is-on::after { animation-play-state: paused; }
@keyframes hm-reel-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hm-reel-pause { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.28); }
.hm-reel-pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hm-reel-pause .ic-play { display: none; fill: currentColor; stroke-width: 1.5; }
.hm-reel.is-paused .hm-reel-pause .ic-play { display: block; }
.hm-reel.is-paused .hm-reel-pause .ic-pause { display: none; }
.hm-reel-dot:focus-visible, .hm-reel-pause:focus-visible, .hm-reel-more:focus-visible { outline: 2px solid var(--on-photo); outline-offset: 2px; }

/* the header image (inline SVG, every colour a token) */
.hm-art { margin: 48px auto 0; }
.hm-art-frame { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-pop); }
.hm-art-svg { display: block; width: 100%; height: auto; }
.hm-stamp { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .8125rem; }
.ha-bg { fill: url(#ha-bg); }
.ha-bg0 { stop-color: var(--accent-wash); }
.ha-bg1 { stop-color: var(--surface); }
.ha-bg2 { stop-color: var(--surface-2); }
.ha-dot { fill: var(--rule); }
.ha-glow0 { stop-color: var(--accent-wash); stop-opacity: .9; }
.ha-glow1 { stop-color: var(--accent-wash); stop-opacity: 0; }
.ha-sheet { fill: var(--raised); stroke: var(--rule); stroke-width: 1; filter: drop-shadow(0 10px 18px rgba(16,24,40,.08)); }
.ha-plab { fill: var(--ink-2); font: 600 13px var(--font-text); }
.ha-rule { stroke: var(--rule); stroke-width: 1; }
.ha-sk { fill: var(--grid); }
.ha-sk2 { fill: var(--rule); }
.ha-miss { fill: none; stroke: var(--neg); stroke-width: 1.5; stroke-dasharray: 3 2; }
.ha-flag { fill: var(--st-likely); }
.ha-flow { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 7; opacity: .45; }
.ha-hub-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .25; }
.ha-hub-c { fill: var(--raised); stroke: var(--rule); filter: drop-shadow(0 8px 18px rgba(16,24,40,.12)); }
.ha-mark1 { stroke: var(--ink); }
.ha-mark2 { stroke: var(--accent); }
.ha-card-bg { fill: var(--raised); stroke: var(--rule); filter: drop-shadow(0 18px 30px rgba(16,24,40,.12)); }
.ha-k { fill: var(--muted); font: 500 13px var(--font-text); }
.ha-q { fill: var(--ink); font: 550 21px var(--font-display); letter-spacing: -0.01em; }
.ha-neg { fill: var(--neg); }
.ha-row { fill: var(--ink-2); font: 400 14px var(--font-text); }
.ha-amt { fill: var(--ink); font: 600 14px var(--font-text); font-variant-numeric: tabular-nums; }
.ha-ok { fill: var(--st-verified); }
[data-theme="ink"] .ha-sheet, [data-theme="ink"] .ha-card-bg, [data-theme="ink"] .ha-hub-c,
[data-theme="dusk"] .ha-sheet, [data-theme="dusk"] .ha-card-bg, [data-theme="dusk"] .ha-hub-c { filter: drop-shadow(0 14px 24px rgba(0,0,0,.45)); }
[data-theme="contrast"] .ha-sheet, [data-theme="contrast"] .ha-card-bg, [data-theme="contrast"] .ha-hub-c { filter: none; stroke: var(--ink); }
/* waterfall marks inside the answer card */
.hv-axis { stroke: var(--rule); stroke-width: 1.5; }
.hv-tot { fill: var(--axis); opacity: .35; }
.hv-act { fill: var(--ink-2); }
.hv-pos { fill: var(--pos); opacity: .8; }
.hv-v { fill: var(--st-verified); opacity: .85; }
.hv-l { fill: url(#hv-hatch); stroke: var(--st-likely); stroke-width: 2; }
.hv-hatch-bg { fill: var(--raised); }
.hv-hatch-ln { stroke: var(--st-likely); stroke-width: 2.5; }
.hv-h { fill: var(--raised); stroke: var(--st-hypothesis); stroke-width: 2; stroke-dasharray: 4 3; }
.hv-n { fill: var(--raised); stroke: var(--muted); stroke-width: 2; stroke-dasharray: 1.5 3; }
.hv-gap { fill: none; stroke: var(--neg); stroke-width: 2.4; }

/* ---------- 2. systems strip ---------- */
.hm-systems { padding: 36px 0; border-block: 1px solid var(--rule); background: var(--surface); }
.hm-eyebrow { margin: 0 0 18px; text-align: center; color: var(--muted); font: 500 .9375rem/1.3 var(--font-text); }
.hm-sys-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.hm-sys-list li { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 1rem; font-weight: 400; }
.hm-sys-list svg { width: 22px; height: 22px; color: var(--muted); stroke-width: 1.5; }

/* ---------- 3. dashboard vs analyst ---------- */
.hm-vs { display: grid; gap: 20px; }
.hm-vs-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-card); }
.hm-vs-k { margin: 0; font: 500 .9375rem/1.3 var(--font-text); color: var(--muted); }
.hm-vs-us { background: var(--accent-wash); border-color: transparent; }
.hm-vs-us .hm-vs-k { color: var(--accent); }
.hm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hm-kpis div { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--paper); }
.hm-kpis span { color: var(--muted); font-size: .8125rem; }
.hm-kpis b { font-family: var(--font-display); font-weight: calc(var(--display-wght) - 90); font-size: 1.375rem; line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; }
.hm-kpis i { font-style: normal; font-size: .8125rem; color: var(--ink-2); }
.hm-down { color: var(--neg) !important; }
.hm-vs-answer { margin: 0; font-family: var(--font-display); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.hm-vs-answer b { font-weight: 600; }
.hm-vs-cap { margin: auto 0 0; color: var(--muted); font-size: .9375rem; }
.hm-strip { display: flex; gap: 3px; height: 12px; }
.hm-strip i { display: block; height: 100%; border-radius: 3px; }
.hm-s-v { background: var(--st-verified); }
.hm-s-l { background: repeating-linear-gradient(45deg, var(--st-likely) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px var(--st-likely); }
.hm-s-n { border: 1.5px dotted var(--muted); }

/* ---------- 4. five steps ---------- */
.hm-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.hm-steps li { counter-increment: st; position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow-card); }
.hm-steps li::after { content: "0" counter(st); position: absolute; top: 22px; right: 22px; color: var(--muted); font: 500 .8125rem/1 var(--font-mono); }
.hm-steps b { font-family: var(--font-display); font-weight: calc(var(--display-wght) - 90); font-size: 1.1875rem; letter-spacing: -0.01em; color: var(--ink); margin-top: 8px; }
.hm-steps span:not(.hm-ic) { color: var(--ink-2); line-height: 1.5; }
.hm-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-wash); color: var(--accent); }
.hm-ic svg { width: 22px; height: 22px; }
.hm-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 32px 0 0; padding: 20px 24px; border: 1px dashed var(--axis); border-radius: var(--radius-l); }
.hm-tags-h { margin: 0; font-weight: 500; color: var(--ink); }
.hm-tags ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.hm-tags li { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .9375rem; }
.hm-tags .tag { font-size: .8125rem; padding: 2px 10px 2px 8px; }
.hm-more { margin: 28px 0 0; font-size: 1.0625rem; }

/* ---------- 5. reel ---------- */
.hm-reel { max-width: 920px; margin: 0 auto; }

/* ---------- 6. industries ---------- */
.hm-ind { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hm-ind a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), border-color .18s cubic-bezier(.2,.7,.2,1); }
.hm-ind a:hover { transform: translateY(-3px); border-color: var(--accent); }
.hm-ind a::after { content: "→"; position: absolute; bottom: 22px; right: 24px; color: var(--accent); font-weight: 600; transition: transform .18s; }
.hm-ind a:hover::after { transform: translateX(3px); }
.hm-ind-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2);
  transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hm-ind a:hover .hm-ind-img { transform: scale(1.035); }
.hm-ind-body { position: relative; z-index: 1; display: grid; gap: 4px; padding: 18px 24px 24px; background: var(--surface); }
.hm-ind-n { color: var(--muted); font-size: .875rem; font-weight: 500; }
.hm-ind b { font-family: var(--font-display); font-weight: calc(var(--display-wght) - 90); font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.hm-ind span:last-child { color: var(--ink-2); }

/* ---------- 7. the offer: an inverted band ---------- */
.hm-offer { padding: var(--space-section) 0 0; }
.hm-offer > .hm-wrap > .hm-offer-in { padding: clamp(32px, 4vw, 64px); border-radius: 24px; background: var(--accent-wash); }
.hm-offer-head p { margin: 14px 0 0; max-width: 46ch; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; }
.hm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin: 40px 0; padding: 0; list-style: none; }
.hm-stats li { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--rule); }
.hm-stats b { font-family: var(--font-display); font-weight: calc(var(--display-wght) - 120); font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.625rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.hm-stats span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- 8. trust ---------- */
.hm-trust { display: grid; gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.hm-trust li { display: grid; gap: 6px; align-content: start; }
.hm-trust .hm-ic { margin-bottom: 8px; }
.hm-trust b { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.hm-trust span:not(.hm-ic) { color: var(--ink-2); }

/* ---------- 9. contact ---------- */
.hm-start-grid { display: grid; gap: 40px; }
.hm-start-copy { display: grid; gap: 20px; align-content: start; }
.hm-start-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 12px; border-radius: 18px; box-shadow: var(--shadow-card); background: var(--surface-2); }
.hm-form-card { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-pop); }
.hm-optional { margin: 16px 0 20px; }
.hm-optional > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; color: var(--accent); font-weight: 600; }
.hm-optional > summary span { color: var(--muted); font-weight: 400; }
.hm-optional[open] > summary { margin-bottom: 12px; }
.hm-submit { width: 100%; }

/* ---------- footer ---------- */
.hm-foot { margin: 0; padding: 40px 0 48px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .9375rem; }
.hm-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.hm-foot-nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 -10px; }
.hm-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); text-decoration: none; }
.hm-foot-nav a:hover { color: var(--accent); }
.hm-foot-note { margin-top: 16px; color: var(--muted); font-size: .8125rem; }
html:not(.js) [data-theme-open] { display: none; }

/* ---------- entrance motion (home.js adds html.hm-anim only when motion is welcome) ---------- */
.hm-anim [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.hm-anim [data-in].is-in { opacity: 1; transform: none; }
.hm-anim [data-in] > li { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); }
.hm-anim [data-in].is-in > li { opacity: 1; transform: none; }
.hm-anim [data-in].is-in > li:nth-child(2) { transition-delay: .06s; }
.hm-anim [data-in].is-in > li:nth-child(3) { transition-delay: .12s; }
.hm-anim [data-in].is-in > li:nth-child(4) { transition-delay: .18s; }
.hm-anim [data-in].is-in > li:nth-child(5) { transition-delay: .24s; }
.hm-anim [data-in].is-in > li:nth-child(6) { transition-delay: .3s; }
/* the header image: papers settle, the flow runs into the answer, bars rise */
.hm-anim .hm-art .ha-paper { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.15s + var(--k) * .1s); }
.hm-anim .hm-art.is-in .ha-paper { opacity: 1; transform: none; }
.hm-anim .hm-art .hv-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.8s + var(--i) * .07s); }
.hm-anim .hm-art.is-in .hv-bar { transform: none; }
.hm-anim .hm-art.is-in .ha-flow { animation: ha-flow 1.6s linear infinite; }
@keyframes ha-flow { to { stroke-dashoffset: -24; } }

/* ---------- breakpoints ---------- */
/* phones: crop the header image to the hub and the answer, with the papers peeking in from the left */
@media (max-width: 759.98px) {
  .hm-art { margin-top: 36px; }
  .hm-hero-photo .hm-art { margin-top: 44px; }
  .hm-hero-stage { min-height: 0; padding: 72px 0 88px; }
  .hm-hero-bg img { object-position: 60% 70%; }
  .hm-art-frame { border-radius: 18px; }
  .hm-art-svg { width: 178%; max-width: none; margin-left: -73%; }
  /* the reel's industry names give way to dots; the active one stretches and fills as its timer */
  .hm-reel-dot { width: 24px; min-height: 32px; padding: 0; background: none; }
  .hm-reel-dot:hover, .hm-reel-dot.is-on { background: none; }
  .hm-reel-dot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hm-reel-dot::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: rgba(255,255,255,.4); }
  .hm-reel-dot::after { left: 8px; right: 8px; top: 50%; bottom: auto; height: 8px; margin-top: -4px; border-radius: 4px; }
  .hm-reel-dot.is-on { width: 44px; }
}
@media (max-width: 559.98px) {
  .hm-kpis { gap: 6px; }
  .hm-kpis div { padding: 10px; }
  .hm-kpis b { font-size: 1.125rem; }
  .hm-kpis span, .hm-kpis i { font-size: .75rem; }
  .hm-vs-card { padding: 22px; }
}
@media (min-width: 560px) {
  .hm-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-field-wide { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .hm-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-form-card { padding: 32px; }
}
@media (min-width: 1024px) {
  .hm-hero { padding: 64px 0 48px; }
  .hm-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-ind { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-start-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-ind a, .hm-ind a::after, .hm-ind-img { transition: none; }
  .hm-hero-bg img, .hm-reel-slide, .hm-mark { transition: none; transform: none; }
}
@media (forced-colors: active) {
  .hm-strip i, .hv-bar, .hm-art-svg { forced-color-adjust: none; }
  .hm-hero::before, .hm-hero::after { display: none; }
}

/* photographs sit a little quieter on the dark page */
[data-theme="dusk"] .hm-ind-img, [data-theme="dusk"] .hm-start-img { filter: brightness(.86) saturate(.9); }
