/* Home page (index.html). Sits on bulkpe-aurora.css tokens; motion and interaction in files/js/bulkpe-home.js. */

.hm {
  --hm-night: #0c0f1d;
  --hm-night-2: #12162b;
  --hm-on-dark: rgba(255, 255, 255, 0.7);
  --hm-faint: rgba(255, 255, 255, 0.08);
  --hm-lilac: #c4b5fd;
  --hm-violet: #b9a3ff;
  --hm-mint: #5fe0cb;
  --hm-teal-soft: #d6f5ef;
  --hm-brand-tint: #f3effe;
  --hm-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ---------- Shared ---------- */

.hm-sec { padding: clamp(72px, 9vw, 128px) 0; scroll-margin-top: calc(var(--bh-header) + 12px); }
.hm-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.hm-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.hm-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bh-brand); }
.hm-kicker { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hm-violet); }
.hm-h2 { margin: 0; font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; color: var(--bh-ink); }
.hm-h2 em { font-style: normal; color: var(--bh-brand); }
.hm-lede { margin: 18px 0 0; max-width: 52ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--bh-ink-soft); }
.hm-head-center .hm-lede { margin-left: auto; margin-right: auto; }

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--bh-font);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--bh-ease), color 0.2s var(--bh-ease), border-color 0.2s var(--bh-ease), transform 0.2s var(--bh-ease);
}
.hm-btn:active { transform: scale(0.98); }
.hm-btn-light { background: #fff; color: var(--bh-ink); }
.hm-btn-light:hover { background: var(--hm-brand-tint); color: var(--bh-brand-deep); }
.hm-btn-line { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.hm-btn-line:hover { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hm-btn-ink { background: var(--bh-ink); color: #fff; }
.hm-btn-ink:hover { background: var(--bh-brand-deep); color: #fff; }
.hm-btn:focus-visible,
.hm-link:focus-visible { outline: 2px solid var(--bh-brand); outline-offset: 3px; }

.hm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--bh-ink); text-decoration: none; }
.hm-link::after { content: "→"; transition: transform 0.2s var(--bh-ease); }
.hm-link:hover::after { transform: translateX(3px); }
.hm-link-light { color: #fff; }

[data-hm-tick] { font-variant-numeric: tabular-nums; }

/* ---------- Hero: live money flow ---------- */

.hm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: max(700px, calc(100svh - var(--bh-header)));
  background: linear-gradient(180deg, var(--hm-night) 0%, var(--hm-night-2) 100%);
  color: #fff;
}
.hm-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hm-hero .hm-field { cursor: crosshair; }
/* Keeps the headline readable over the flow */
.hm-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 44% 44% at 50% 38%, rgba(12, 15, 29, 0.92) 0%, rgba(12, 15, 29, 0.55) 50%, rgba(12, 15, 29, 0) 78%);
}

.hm-hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vh, 80px) 0 0; text-align: center; pointer-events: none; }
.hm-hero-copy { max-width: 940px; margin: 0 auto; }
.hm-hero-copy a,
.hm-hero-copy button { pointer-events: auto; }

.hm-h1 { margin: 0 0 24px; font-size: clamp(42px, 6.2vw, 92px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; color: #fff; }
.hm-h1 em { font-style: normal; color: var(--hm-lilac); }
.hm-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hm-line > span { display: inline-block; }

.hm-hero-lede { margin: 0 auto 32px; max-width: 56ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--hm-on-dark); }
.hm-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hm-railbar { margin-top: 36px; }
.hm-railbar-btns { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(12, 15, 29, 0.6); }
.hm-railbar-btns button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: 600 13px/1 var(--bh-font);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--bh-ease), color 0.2s var(--bh-ease);
}
.hm-railbar-btns button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hm-violet); }
.hm-railbar-btns button[data-lane="1"]::before { background: var(--hm-mint); }
.hm-railbar-btns button[data-lane="2"]::before { background: #8f7cf7; }
.hm-railbar-btns button[data-lane="3"]::before { background: #7dd3c8; }
.hm-railbar-btns button:hover,
.hm-railbar-btns button.is-on { background: rgba(129, 90, 240, 0.24); color: #fff; }
.hm-railbar-btns button:focus-visible { outline: 2px solid var(--hm-lilac); outline-offset: 2px; }
.hm-rail-fact { margin: 12px 0 0; min-height: 1.5em; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.hm-hero-foot { position: relative; z-index: 2; padding-top: 64px; }
.hm-live { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 auto 18px; padding: 0 20px; text-align: center; }
.hm-live-n { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.hm-live-l { max-width: 72ch; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.hm-tape {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--hm-faint);
  background: rgba(12, 15, 29, 0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hm-tape-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; width: max-content; }
.hm-tape-track.is-looping { animation: hm-loop 70s linear infinite; }
.hm-tape:hover .hm-tape-track { animation-play-state: paused; }
.hm-tape li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; color: rgba(255, 255, 255, 0.58); }
.hm-tape b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.hm-tape i,
.hm-feed i { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-violet); flex: none; }
.hm-tape i.t,
.hm-feed i.t { background: var(--hm-mint); }
@keyframes hm-loop { to { transform: translateX(-50%); } }

.hm-field-hint { position: absolute; z-index: 2; right: 24px; top: 20px; margin: 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.36); pointer-events: none; }
@media (hover: none), (pointer: coarse) { .hm-field-hint { display: none; } }

/* Hero entrance: hidden only while JS sets up, with a CSS failsafe */
html.hm-motion:not(.hm-ready) .hm-line > span { transform: translateY(110%); animation: hm-failsafe 0.01s 2.5s forwards; }
html.hm-motion:not(.hm-ready) .hm-hero [data-hero],
html.hm-motion:not(.hm-ready) .hm-hero .hm-field { opacity: 0; animation: hm-failsafe 0.01s 2.5s forwards; }
@keyframes hm-failsafe { to { opacity: 1; transform: none; } }

/* ---------- Banks ---------- */

.hm-banks { background: #fff; border-bottom: 1px solid var(--bh-line); padding: 24px 0; }
.hm-banks-row { display: flex; align-items: center; gap: 32px; }
.hm-banks-row p { margin: 0; flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bh-muted); }
.hm-banks-row ul { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hm-banks-row img { display: block; height: 28px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s var(--bh-ease), opacity 0.25s var(--bh-ease); }
.hm-banks-row li:hover img { filter: none; opacity: 1; }

/* ---------- Platform: product OS ---------- */

.hm-os { background: var(--bh-bg); }
.hm-os-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.hm-os-nav { display: grid; gap: 4px; }
.hm-os-nav button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--bh-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--bh-ease), box-shadow 0.25s var(--bh-ease);
}
.hm-os-nav button:hover { background: rgba(255, 255, 255, 0.7); }
.hm-os-nav button:focus-visible { outline: 2px solid var(--bh-brand); outline-offset: 2px; }
.hm-os-n { font-size: 12px; font-weight: 700; color: var(--bh-muted); }
.hm-os-t { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.hm-os-d {
  grid-column: 2;
  display: block;
  max-height: 0;
  opacity: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--bh-ink-soft);
  overflow: hidden;
  transition: max-height 0.4s var(--bh-ease), opacity 0.3s var(--bh-ease), margin 0.3s var(--bh-ease);
}
.hm-os-bar { grid-column: 2; display: none; height: 2px; margin-top: 14px; border-radius: 2px; background: var(--bh-line); overflow: hidden; }
.hm-os-bar span { display: block; height: 100%; background: var(--bh-brand); transform-origin: left center; transform: scaleX(0); }
.hm-os-nav .is-on { background: #fff; box-shadow: 0 0 0 1px var(--bh-line), 0 14px 32px -22px rgba(22, 27, 46, 0.35); }
.hm-os-nav .is-on .hm-os-n { color: var(--bh-brand); }
.hm-os-nav .is-on .hm-os-d { max-height: 6em; opacity: 1; margin-top: 6px; }
.hm-os-nav .is-on .hm-os-bar { display: block; }
.hm-os.is-auto .hm-os-nav .is-on .hm-os-bar span { animation: hm-prog var(--hm-dwell, 7s) linear forwards; }
.hm-os.is-paused .hm-os-bar span { animation-play-state: paused; }
@keyframes hm-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hm-os-cap { display: none; }

.hm-os-links { margin-top: 24px; text-align: right; }
.hm-os-links a { display: inline-flex; gap: 6px; font-weight: 600; color: var(--bh-brand-deep); text-decoration: none; }
.hm-os-links a::after { content: "→"; transition: transform 0.2s var(--bh-ease); }
.hm-os-links a:hover::after { transform: translateX(3px); }
.hm-os-links a[hidden] { display: none; }

/* App window */
.hm-app { border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--bh-line), 0 40px 80px -44px rgba(22, 27, 46, 0.4); }
.hm-app-top { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--bh-line); background: #fbfbfd; }
.hm-app-dots { display: inline-flex; gap: 6px; }
.hm-app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e4e1ec; }
.hm-app-url { flex: 1; max-width: 340px; margin: 0 auto; padding: 6px 12px; border-radius: 8px; background: #f1f0f6; text-align: center; font-size: 12px; color: var(--bh-muted); }
.hm-app-url b { font-weight: 600; color: var(--bh-ink); }
.hm-app-body { display: grid; grid-template-columns: 60px minmax(0, 1fr); }
.hm-app-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; border-right: 1px solid var(--bh-line); }
.hm-app-side img { width: 26px; height: 26px; margin-bottom: 6px; }
.hm-app-side i { width: 28px; height: 28px; border-radius: 8px; background: #f1f0f6; transition: background 0.3s var(--bh-ease); }
.hm-app-side i.is-on { background: var(--bh-brand); }
.hm-app-main { position: relative; height: 460px; padding: 22px; overflow: hidden; }
.hm-pane { height: 100%; }
.hm-pane.is-on { animation: hm-pane-in 0.45s var(--bh-ease) both; }
@keyframes hm-pane-in { from { opacity: 0; transform: translateY(10px); } }

.hm-pane small { display: block; font-size: 12px; color: var(--bh-muted); }
.hm-pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hm-pane-head strong { font-size: 17px; font-weight: 700; }
.hm-file { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: var(--hm-brand-tint); color: var(--bh-brand-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.hm-file i { width: 10px; height: 13px; border: 2px solid currentColor; border-radius: 2px; }

/* Shared play keyframes: default styles are the finished state, .is-play replays from the start */
@keyframes hm-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes hm-slide { from { opacity: 0; transform: translateX(16px); } }
@keyframes hm-pop { 0% { opacity: 0; transform: scale(0.4); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes hm-drop { from { opacity: 0; transform: translateY(-12px) scale(0.96); } }
@keyframes hm-fill { from { transform: scaleX(0); } }
@keyframes hm-press { 50% { transform: scale(0.94); } }
@keyframes hm-flash { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }

.is-play .hm-file { animation: hm-drop 0.6s var(--bh-ease) both; }

.hm-table { border: 1px solid var(--bh-line); border-radius: 14px; overflow: hidden; }
.hm-tr { display: grid; grid-template-columns: 1.6fr 0.7fr 1fr 0.8fr; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--bh-line); font-size: 13px; }
.hm-th { border-top: 0; padding: 9px 14px; background: #fafafc; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bh-muted); }
.hm-tr > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-tr > span:first-child b { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--hm-brand-tint); color: var(--bh-brand-deep); font-size: 10px; font-weight: 700; }
.hm-tr > span:nth-child(2) { color: var(--bh-muted); font-weight: 600; font-size: 12px; }
.hm-tr > span:nth-child(3) { font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-th > span:nth-child(n) { font-size: 11px; font-weight: 600; color: var(--bh-muted); }
.hm-st { display: grid; }
.hm-st em { grid-area: 1 / 1; font-style: normal; font-size: 12px; font-weight: 600; }
.hm-st em:first-child { opacity: 0; color: var(--bh-muted); }
.hm-st em:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--bh-teal); }
.hm-st em:last-child::before,
.hm-approved::before,
.hm-result .ok::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.is-play .hm-tr:not(.hm-th) { animation: hm-in 0.45s calc(var(--d) - 0.45s) var(--bh-ease) both; }
.is-play .hm-st em:first-child { animation: hm-flash 0.6s calc(var(--d) - 0.4s) both; }
.is-play .hm-st em:last-child { animation: hm-in 0.35s calc(var(--d) + 0.2s) var(--bh-ease) both; }

.hm-pane-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--bh-ink-soft); }
.hm-pane-foot b { color: var(--bh-ink); }
.hm-meter { flex: 1; height: 6px; border-radius: 6px; background: #efedf5; overflow: hidden; }
.hm-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--bh-brand), var(--bh-teal)); transform-origin: left center; }
.is-play .hm-meter span { animation: hm-fill 2.2s 0.4s var(--bh-ease) both; }

/* Collections */
.hm-collect { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; height: 100%; }
.hm-qr-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1px solid var(--bh-line); border-radius: 16px; text-align: center; align-self: start; }
.hm-qr { position: relative; width: 148px; height: 148px; margin-bottom: 8px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--bh-line); }
.hm-qr svg { display: block; width: 100%; height: 100%; }
.hm-qr-scan { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; border-radius: 2px; background: var(--bh-brand); box-shadow: 0 0 0 3px rgba(129, 90, 240, 0.16); opacity: 0; --hm-scan: 132px; }
.is-play .hm-qr-scan { animation: hm-scan 1s 0.2s ease-in-out 2 alternate both; }
@keyframes hm-scan { from { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(var(--hm-scan)); } }
.hm-qr-card strong { font-size: 22px; font-weight: 700; }
.hm-qr-paid { margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: var(--hm-teal-soft); color: #0b7d6e; font-size: 12px; font-weight: 600; }
.is-play .hm-qr-paid { animation: hm-pop 0.45s 2.3s both; }
.hm-feed-total { display: block; margin: 2px 0 14px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.hm-feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-feed li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bh-line); border-radius: 12px; font-size: 13px; }
.hm-feed li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-feed li b { color: var(--bh-teal); font-weight: 700; font-variant-numeric: tabular-nums; }
.is-play .hm-feed li { animation: hm-slide 0.5s var(--d) var(--bh-ease) both; }
.hm-recon { display: inline-flex; margin-top: 12px; padding: 5px 10px; border-radius: 8px; background: var(--hm-teal-soft); color: #0b7d6e; font-size: 12px; font-weight: 600; }
.is-play .hm-recon { animation: hm-pop 0.45s 2.6s both; }

/* Current account */
.hm-acc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hm-acc-top strong { display: block; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.hm-live-dot { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--hm-teal-soft); color: #0b7d6e; font-size: 12px; font-weight: 600; }
.hm-live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bh-teal); }
.hm-spark { display: block; width: 100%; height: 90px; margin: 14px 0 8px; }
.hm-spark-line { fill: none; stroke: var(--bh-brand); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hm-spark-fill { fill: rgba(129, 90, 240, 0.08); }
.is-play .hm-spark-line { animation: hm-draw 1.6s 0.2s var(--bh-ease) both; }
.is-play .hm-spark-fill { animation: hm-in 1s 0.9s both; }
@keyframes hm-draw { from { stroke-dashoffset: 1; } }
.hm-acc-tx { list-style: none; margin: 0; padding: 0; }
.hm-acc-tx li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bh-line); font-size: 13px; }
.hm-acc-tx b { font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-acc-tx b.in { color: var(--bh-teal); }
.is-play .hm-acc-tx li { animation: hm-slide 0.5s var(--d) var(--bh-ease) both; }
.hm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hm-badges span { padding: 5px 10px; border-radius: 8px; background: var(--hm-brand-tint); color: var(--bh-brand-deep); font-size: 12px; font-weight: 600; }

/* Bill payments */
.hm-bills { list-style: none; margin: 0; padding: 0; border: 1px solid var(--bh-line); border-radius: 14px; overflow: hidden; }
.hm-bills li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--bh-line); font-size: 13.5px; }
.hm-bills li:first-child { border-top: 0; }
.hm-bills li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-bills b { font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-box { position: relative; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #cfcbe0; }
.hm-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.is-play .hm-box::after { animation: hm-pop 0.35s var(--d) both; }
.hm-bills-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hm-payall { padding: 12px 18px; border-radius: 10px; background: var(--bh-ink); color: #fff; font-size: 13px; font-weight: 600; }
.is-play .hm-payall { animation: hm-press 0.4s 1.9s both; }
.hm-approved { display: inline-flex; align-items: center; gap: 8px; color: var(--bh-teal); font-size: 13px; font-weight: 600; }
.is-play .hm-approved { animation: hm-in 0.4s 2.4s var(--bh-ease) both; }

/* Verification */
.hm-verify { display: grid; gap: 14px; align-content: start; }
.hm-input { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #dcd7ef; border-radius: 12px; }
.hm-input small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hm-type { font: 600 16px/1.2 var(--hm-mono); letter-spacing: 0.02em; white-space: nowrap; }
.is-play .hm-type { animation: hm-typing 1.1s steps(15, end) 0.3s both; }
@keyframes hm-typing { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hm-scanning { font-size: 13px; font-weight: 600; color: var(--bh-brand); opacity: 0; }
.hm-scanning::after { content: "..."; }
.is-play .hm-scanning { animation: hm-flash 0.8s 1.4s both; }
.hm-result { border: 1px solid var(--bh-line); border-radius: 14px; overflow: hidden; }
.hm-result-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--bh-line); font-size: 13px; }
.hm-result-row:first-child { border-top: 0; }
.hm-result-row span { color: var(--bh-muted); }
.hm-result-row b { font-weight: 700; text-align: right; }
.hm-result .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--bh-teal); }
.is-play .hm-result-row { animation: hm-in 0.4s var(--d) var(--bh-ease) both; }
.is-play .hm-verify .hm-badges { animation: hm-in 0.4s 3s var(--bh-ease) both; }

/* ---------- Use-case constellation ---------- */

.hm-uses { padding: clamp(72px, 9vw, 120px) 0; background: #fff; overflow-x: clip; }
.hm-uses-stage { position: relative; height: 820px; }
.hm-uses-center { position: absolute; left: 50%; top: 50%; z-index: 1; width: min(580px, 50%); transform: translate(-50%, -50%); text-align: center; }
.hm-uses-center .hm-h2 { font-size: clamp(32px, 3.8vw, 52px); }
.hm-uses-center .hm-lede { margin-left: auto; margin-right: auto; font-size: 16px; }
.hm-uses-scenes,
.hm-uses-chips { list-style: none; margin: 0; padding: 0; }
.hm-uc { --w: 212px; position: absolute; left: min(var(--x), calc(100% - var(--w))); top: var(--y); }
.hm-uc-scene { --w: 236px; }
.hm-uc-depth { display: block; }
.hm-uc-in { display: block; box-sizing: border-box; text-decoration: none; color: inherit; }
.hm-uc-in:focus-visible { outline: 2px solid var(--bh-brand); outline-offset: 4px; }

/* Chips */
.hm-uc-chip .hm-uc-in {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  width: 212px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4f6fa;
  box-shadow: 0 0 0 1px var(--bh-line);
  transition: transform 0.3s var(--bh-ease), box-shadow 0.3s var(--bh-ease), background 0.3s var(--bh-ease);
}
.hm-uc-ic { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--bh-brand); transition: background 0.3s var(--bh-ease), color 0.3s var(--bh-ease); }
.hm-uc-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-uc-chip strong { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--bh-ink); }
.hm-uc-chip small { max-height: 0; opacity: 0; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: var(--bh-muted); transition: max-height 0.35s var(--bh-ease), opacity 0.25s var(--bh-ease), margin 0.35s var(--bh-ease); }
.hm-uc-chip .hm-uc-in:hover,
.hm-uc-chip .hm-uc-in:focus-visible { transform: translateY(-4px); background: #fff; box-shadow: 0 0 0 1px rgba(129, 90, 240, 0.35), 0 18px 36px -22px rgba(99, 67, 204, 0.45); }
.hm-uc-chip .hm-uc-in:hover .hm-uc-ic,
.hm-uc-chip .hm-uc-in:focus-visible .hm-uc-ic { background: var(--bh-brand); color: #fff; }
.hm-uc-chip .hm-uc-in:hover small,
.hm-uc-chip .hm-uc-in:focus-visible small { max-height: 4em; opacity: 1; margin-top: 2px; }

/* Scene cards: a live product moment on a brand gradient */
.hm-uc-scene .hm-uc-in {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 236px;
  height: 252px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--g);
  color: #fff;
  box-shadow: 0 30px 60px -32px rgba(40, 24, 110, 0.6);
  transition: transform 0.35s var(--bh-ease), box-shadow 0.35s var(--bh-ease);
}
.hm-uc-scene .hm-uc-in:hover { transform: translateY(-6px); }
.hm-uc-scene .hm-uc-in.is-spot { box-shadow: 0 0 0 3px rgba(129, 90, 240, 0.28), 0 34px 64px -30px rgba(40, 24, 110, 0.7); }
.hm-sc-cashback { --g: linear-gradient(165deg, #a48bff 0%, #6a47e6 55%, #4b2fc2 100%); }
.hm-sc-rider { --g: linear-gradient(165deg, #3fd1bb 0%, #0d9f8c 50%, #0a6458 100%); }
.hm-sc-loan { --g: linear-gradient(165deg, #5a5fc8 0%, #2e3380 50%, #161b2e 100%); }
.hm-sc-refund { --g: linear-gradient(165deg, #8f74ff 0%, #5a3fd6 45%, #2b2f6b 100%); }
.hm-scene { position: relative; display: block; flex: 1; }
.hm-uc-cap { display: block; padding: 0 16px 18px; text-align: center; }
.hm-uc-cap strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.hm-uc-cap small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); }

.hm-okdot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hm-notif { position: absolute; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; color: var(--bh-ink); font-size: 11px; line-height: 1.3; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.45); }
.hm-notif b { display: block; font-size: 12.5px; }

/* Narrower desktops: slightly smaller cards so the constellation keeps its gaps */
@media (min-width: 981px) and (max-width: 1180px) {
  .hm-uc { --w: 186px; }
  .hm-uc-scene { --w: 208px; }
  .hm-uc-chip .hm-uc-in { width: 186px; padding: 12px 14px; }
  .hm-uc-scene .hm-uc-in { width: 208px; height: 232px; }
  .hm-uses-center { width: min(520px, 48%); }
  .hm-sc-refund .hm-refund { top: 98px; }
  .hm-flowline { height: 20px; }
  .hm-uc-cap small { font-size: 12px; }
}

/* Cashback */
.hm-ph { position: absolute; left: 50%; top: 14px; width: 120px; height: 150px; margin-left: -60px; padding: 20px 9px 0; display: grid; gap: 6px; align-content: start; border-radius: 18px; background: #fff; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5); }
.hm-ph-bar { position: absolute; left: 50%; top: 8px; width: 34px; height: 4px; margin-left: -17px; border-radius: 4px; background: #e7e3f3; }
.hm-ph-row { display: block; padding: 6px 8px; border-radius: 8px; background: #f6f4fb; }
.hm-ph-row b { display: block; font-size: 11px; color: var(--bh-ink); }
.hm-ph-row i { font-style: normal; font-size: 9.5px; color: var(--bh-muted); }
.hm-sc-cashback .hm-notif { top: 96px; }
.hm-coin { position: absolute; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--bh-brand-deep); font-size: 11px; font-weight: 700; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.hm-coin.c1 { right: 22px; top: 70px; }
.hm-coin.c2 { right: 48px; top: 54px; }
.hm-coin.c3 { right: 12px; top: 40px; }
.is-play.hm-sc-cashback .hm-notif { animation: hm-drop 0.55s 0.35s var(--bh-ease) both; }
.is-play.hm-sc-cashback .hm-coin { animation: hm-coin 0.7s var(--bh-ease) both; }
.is-play.hm-sc-cashback .hm-coin.c1 { animation-delay: 0.8s; }
.is-play.hm-sc-cashback .hm-coin.c2 { animation-delay: 0.92s; }
.is-play.hm-sc-cashback .hm-coin.c3 { animation-delay: 1.04s; }
@keyframes hm-coin { from { opacity: 0; transform: translateY(28px) scale(0.4); } 70% { opacity: 1; transform: translateY(-4px) scale(1.05); } }

/* Rider */
.hm-earn { display: block; width: 172px; margin: 18px auto 0; padding: 12px 14px; border-radius: 16px; background: #fff; color: var(--bh-ink); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45); }
.hm-earn small { display: block; font-size: 10.5px; color: var(--bh-muted); }
.hm-earn b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.hm-earn em { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 3px 8px; border-radius: 6px; background: var(--hm-teal-soft); color: #0b7d6e; font-size: 11px; font-weight: 600; font-style: normal; }
.hm-road { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 28px; border-bottom: 2px dashed rgba(255, 255, 255, 0.5); }
.hm-scooter { position: absolute; left: 0; bottom: 3px; width: 40px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: translateX(150px); }
.is-play.hm-sc-rider .hm-earn { animation: hm-in 0.5s 0.1s var(--bh-ease) both; }
.is-play.hm-sc-rider .hm-earn em { animation: hm-pop 0.45s 1.5s both; }
.is-play.hm-sc-rider .hm-scooter { animation: hm-ride 1.6s 0.1s cubic-bezier(0.45, 0, 0.2, 1) both; }
@keyframes hm-ride { from { transform: translateX(0); } }

/* Loan */
.hm-loan { display: block; width: 184px; margin: 14px auto 0; padding: 12px 14px; border-radius: 16px; background: #fff; color: var(--bh-ink); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45); }
.hm-loan small { display: block; font-size: 10.5px; color: var(--bh-muted); }
.hm-loan b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hm-loan-steps { display: grid; gap: 5px; margin-top: 8px; }
.hm-loan-steps i { display: flex; align-items: center; gap: 6px; font-size: 11px; font-style: normal; font-weight: 600; color: var(--bh-ink-soft); }
.hm-loan-steps i::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.is-play.hm-sc-loan .hm-loan-steps i { animation: hm-in 0.4s var(--bh-ease) both; }
.is-play.hm-sc-loan .hm-loan-steps i::before { animation: hm-pop 0.4s both; }
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(1),
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(1)::before { animation-delay: 0.3s; }
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(2),
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(2)::before { animation-delay: 0.75s; }
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(3),
.is-play.hm-sc-loan .hm-loan-steps i:nth-child(3)::before { animation-delay: 1.2s; }

/* Refund */
.hm-order { position: absolute; left: 16px; top: 18px; display: block; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.hm-order small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.75); }
.hm-order b { display: block; font-size: 14px; }
.hm-flowline { position: absolute; left: 34px; top: 76px; width: 2px; height: 30px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0 4px, transparent 4px 8px); transform-origin: top center; }
.hm-sc-refund .hm-refund { top: 110px; }
.is-play.hm-sc-refund .hm-order { animation: hm-in 0.45s 0.05s var(--bh-ease) both; }
.is-play.hm-sc-refund .hm-flowline { animation: hm-grow 0.45s 0.5s var(--bh-ease) both; }
.is-play.hm-sc-refund .hm-refund { animation: hm-slide 0.5s 0.85s var(--bh-ease) both; }
.is-play.hm-sc-refund .hm-refund .hm-okdot { animation: hm-pop 0.4s 1.2s both; }
@keyframes hm-grow { from { transform: scaleY(0); } }

/* ---------- Rail picker ---------- */

.hm-rails { background: var(--bh-bg); }
.hm-rails-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hm-rails .hm-head { margin-bottom: 0; }
.hm-picker { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--bh-line); }
.hm-amount { display: block; }
.hm-amount-l { display: block; font-size: 13px; color: var(--bh-muted); }
.hm-amount-v { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--bh-ink); }
.hm-amount-w { display: block; font-size: 14px; font-weight: 600; color: var(--bh-brand-deep); }

.hm-range { --p: 55%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 32px; margin: 18px 0 4px; background: transparent; cursor: pointer; }
.hm-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--bh-brand) var(--p), #e3e0ee var(--p)); }
.hm-range::-moz-range-track { height: 6px; border-radius: 6px; background: #e3e0ee; }
.hm-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--bh-brand); }
.hm-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--bh-brand); box-shadow: 0 4px 12px rgba(99, 67, 204, 0.3); transition: transform 0.15s var(--bh-ease); }
.hm-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--bh-brand); box-shadow: 0 4px 12px rgba(99, 67, 204, 0.3); }
.hm-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.hm-range:focus-visible { outline: none; }
.hm-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(129, 90, 240, 0.3); }
.hm-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(129, 90, 240, 0.3); }
.hm-range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--bh-muted); }

.hm-railcards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-railcards li { position: relative; padding: 16px; border-radius: 16px; background: var(--bh-bg); box-shadow: 0 0 0 1px var(--bh-line); transition: opacity 0.3s var(--bh-ease), box-shadow 0.3s var(--bh-ease), transform 0.3s var(--bh-ease); }
.hm-railcards strong { display: block; font-size: 18px; font-weight: 700; }
.hm-rc-rule { display: block; font-size: 13px; color: var(--bh-ink-soft); }
.hm-rc-why { display: block; min-height: 1.5em; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--bh-teal); }
.hm-railcards li.is-off { opacity: 0.5; transform: scale(0.98); }
.hm-railcards li.is-off .hm-rc-why { color: var(--bh-muted); }
.hm-railcards li.is-pick { box-shadow: 0 0 0 2px var(--bh-brand), 0 12px 28px -18px rgba(99, 67, 204, 0.5); }
.hm-railcards li.is-pick::after { content: "Suggested"; position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 6px; background: var(--bh-brand); color: #fff; font-size: 11px; font-weight: 700; }

/* ---------- Numbers ---------- */

.hm-nums { padding: clamp(56px, 7vw, 88px) 0; background: #fff; border-top: 1px solid var(--bh-line); }
.hm-nums-grid { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.85fr); }
.hm-nums-grid > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 8px 24px; border-left: 1px solid var(--bh-line-strong); }
.hm-nums-grid > div:first-child { border-left: 0; padding-left: 0; }
.hm-nums-grid dd { margin: 0; font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; color: var(--bh-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-nums-grid dt { font-size: 14px; color: var(--bh-muted); }

/* Odometer: each digit is a 0-9 strip that rolls to its value */
.hm-odo { display: inline-flex; vertical-align: top; }
.hm-odo-col { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.hm-odo-strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.5s var(--bh-ease); }
.hm-odo-strip > span { display: block; height: 1em; line-height: 1; }

/* ---------- Money flow (sticky rail) ---------- */

.hm-flow { background: var(--bh-navy); color: #fff; overflow-x: clip; }
.hm-flow .bh-kicker { color: #b9a6ff; }
.hm-flow .bh-display { color: #fff; }
.hm-flow .bh-display em { color: #d7ccfb; }
.hm-flow .bh-lede { color: var(--hm-on-dark); }

.hm-flow-stage { position: relative; }
.hm-flow-rail { position: relative; height: 4px; margin: 8px 0 28px; border-radius: 4px; background: var(--hm-faint); }
.hm-flow-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bh-brand), var(--bh-teal)); transform-origin: left center; }
.hm-flow-coin {
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  display: none;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--bh-brand);
  box-shadow: 0 0 0 6px rgba(129, 90, 240, 0.22);
}
.hm-flow.is-live .hm-flow-coin { display: grid; }
.hm-flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hm-flow-step {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hm-faint);
  transition: opacity 0.5s var(--bh-ease), transform 0.5s var(--bh-ease), border-color 0.5s var(--bh-ease), background 0.5s var(--bh-ease);
}
.hm-flow-n { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #b9a6ff; }
.hm-flow-step h3 { margin: 8px 0 6px; font-size: 18px; font-weight: 700; color: #fff; }
.hm-flow-step p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--hm-on-dark); }
.hm-flow.is-live .hm-flow-step:not(.is-on) { opacity: 0.38; transform: translateY(8px); }
.hm-flow-step.is-on { border-color: rgba(129, 90, 240, 0.45); background: rgba(129, 90, 240, 0.08); }
.hm-mini { margin-top: auto; display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 11.5px; color: rgba(255, 255, 255, 0.78); }
.hm-mini-row { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hm-mini-row b { margin-left: auto; color: var(--hm-mint); font-weight: 700; }
.hm-mini-label { color: rgba(255, 255, 255, 0.5); }
.hm-mini-big { font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hm-mint); }
.hm-mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); font-weight: 600; }
.hm-ok {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform 0.4s var(--bh-ease);
}
.hm-mini-bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hm-mini-bar span { display: block; height: 100%; background: var(--bh-teal); transform-origin: left center; transition: transform 0.9s var(--bh-ease) 0.15s; }
.hm-flow.is-live .hm-flow-step:not(.is-on) .hm-ok { transform: scale(0); }
.hm-flow.is-live .hm-flow-step:not(.is-on) .hm-mini-bar span { transform: scaleX(0); }
.hm-flow-step .hm-chip:nth-child(2) .hm-ok { transition-delay: 0.1s; }
.hm-flow-step .hm-chip:nth-child(3) .hm-ok { transition-delay: 0.2s; }

/* Desktop: the section is made taller in JS and this inner block sticks for one screen
   (sticky rather than a GSAP pin, which Chrome counts as layout shift) */
@media (min-width: 981px) {
  .hm-flow.is-live { padding: 0; }
  .hm-flow.is-live .hm-flow-pin {
    position: sticky;
    top: var(--bh-header);
    min-height: calc(100vh - var(--bh-header));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 56px 0;
  }
}

/* ---------- MSME bento ---------- */

.hm-msme { background: var(--bh-bg); }
.hm-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.hm-tile { position: relative; margin: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--bh-line); overflow: hidden; transition: transform 0.35s var(--bh-ease), box-shadow 0.35s var(--bh-ease); }
.hm-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--bh-line), 0 20px 40px -28px rgba(22, 27, 46, 0.35); }
.hm-tile h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.hm-tile p { margin: 10px 0 0; font-size: 15px; color: var(--bh-ink-soft); }
.hm-tile .hm-eyebrow { margin-bottom: 10px; }

.hm-tile-photo { grid-column: span 6; grid-row: span 2; min-height: 340px; }
.hm-tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--bh-ease); }
.hm-tile-photo:hover img { transform: scale(1.03); }

.hm-tile-feat { grid-column: span 3; display: grid; align-content: start; gap: 4px; padding: 20px; }
.hm-tile-feat strong { margin-top: 12px; font-size: 16px; font-weight: 700; }
.hm-tile-feat > span:not(.hm-feat-lottie) { font-size: 13px; color: var(--bh-muted); }
.hm-feat-lottie { display: block; width: 64px; height: 64px; border-radius: 14px; background: var(--bh-bg); overflow: hidden; }

.hm-tile-acct { grid-column: span 7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; background: #f1ecff; box-shadow: none; }
.hm-tile-acct .hm-tile-copy { align-self: center; padding: 28px; }
.hm-tile-acct img { width: 100%; height: auto; max-height: 280px; object-fit: contain; object-position: right bottom; }
.hm-tile-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.hm-acct-toast {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(22, 27, 46, 0.35), 0 0 0 1px var(--bh-line);
}
.hm-acct-toast strong,
.hm-hook strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.hm-acct-toast small,
.hm-hook small { display: block; font-size: 11.5px; color: var(--bh-muted); }
.hm-toast-icon { position: relative; flex: 0 0 34px; width: 34px; height: 34px; }
.hm-toast-icon:empty::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hm-tile-price { grid-column: span 5; padding: 28px; background: var(--bh-navy); color: #fff; box-shadow: none; }
.hm-tile-price .hm-eyebrow { color: var(--hm-violet); }
.hm-price-n { display: block; font-size: clamp(64px, 8vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: #fff; }
.hm-tile-price h3 { margin-top: 12px; font-size: 20px; color: #fff; }
.hm-tile-price p { color: var(--hm-on-dark); margin-bottom: 22px; }

/* Shown only if Lottie cannot load: a brand tile with the rupee mark */
.hm-feat-lottie:empty {
  background: var(--bh-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5h10M7 9h10M10 5c4 0 4 8 0 8H7l7 7' fill='none' stroke='%23815af0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 50% no-repeat;
}

/* ---------- Developers ---------- */

.hm-dev { background: var(--hm-night); color: #fff; }
.hm-dev-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hm-dev .hm-head { margin-bottom: 0; }
.hm-dev .hm-eyebrow { color: var(--hm-violet); }
.hm-dev .hm-h2 { color: #fff; }
.hm-dev .hm-h2 em { color: var(--hm-lilac); }
.hm-dev .hm-lede { color: var(--hm-on-dark); }
.hm-dev-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.hm-dev-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.hm-dev-points li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(13, 159, 140, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%235fe0cb' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.hm-dev .hm-tile-ctas { margin-top: 30px; }

.hm-code { border-radius: 18px; background: #141a30; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.6); overflow: hidden; }
.hm-code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--hm-faint); }
.hm-code-tabs { display: flex; gap: 4px; }
.hm-code-tabs button { padding: 7px 12px; border: 0; border-radius: 8px; background: none; color: rgba(255, 255, 255, 0.6); font: 600 13px/1 var(--bh-font); cursor: pointer; transition: background 0.2s var(--bh-ease), color 0.2s var(--bh-ease); }
.hm-code-tabs button:hover { color: #fff; }
.hm-code-tabs button.is-on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hm-code-tabs button:focus-visible { outline: 2px solid var(--hm-lilac); outline-offset: 2px; }
.hm-code-file { font: 12px var(--hm-mono); color: rgba(255, 255, 255, 0.4); }
.hm-pre { margin: 0; min-height: 236px; padding: 20px 22px; overflow-x: auto; font: 13.5px/1.75 var(--hm-mono); color: #e7e4ef; tab-size: 2; }
.hm-pre code { font: inherit; }
.hm-pre .l { display: inline-block; white-space: pre; }
.hm-pre .k { color: var(--hm-violet); }
.hm-pre .s { color: var(--hm-mint); }
.hm-pre .f,
.hm-pre .n { color: #f3c96b; }
.hm-code.is-play .hm-pre:not([hidden]) .l { animation: hm-typing 0.45s steps(22, end) calc(var(--i) * 0.2s + 0.2s) both; }
.hm-code-out { display: grid; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--hm-faint); }
.hm-resp { display: flex; align-items: center; gap: 10px; min-width: 0; font: 12.5px var(--hm-mono); color: rgba(255, 255, 255, 0.75); }
.hm-resp code { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-200 { flex: none; padding: 3px 8px; border-radius: 6px; background: rgba(13, 159, 140, 0.22); color: var(--hm-mint); font: 700 11px var(--bh-font); }
.hm-hook { display: flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 14px 8px 8px; border-radius: 12px; background: #fff; color: var(--bh-ink); }
.hm-code.is-play .hm-resp { animation: hm-in 0.4s calc(var(--n) * 0.2s + 0.5s) var(--bh-ease) both; }
.hm-code.is-play .hm-hook { animation: hm-in 0.45s calc(var(--n) * 0.2s + 1s) var(--bh-ease) both; }
.hm-code-note { margin: 0; padding: 0 16px 14px; font-size: 11.5px; color: rgba(255, 255, 255, 0.4); }

/* ---------- Voices ---------- */

.hm-voices { background: #fff; overflow: hidden; }
.hm-marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hm-marquee + .hm-marquee { margin-top: 8px; }
.hm-marquee-track { display: flex; gap: 16px; width: max-content; }
.hm-marquee-track.is-looping { animation: hm-marq 90s linear infinite; }
.hm-marquee-rev .hm-marquee-track.is-looping { animation-direction: reverse; animation-duration: 100s; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
@keyframes hm-marq { to { transform: translateX(calc(-50% - 8px)); } }
.hm-voice { flex: none; width: 340px; margin: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: 18px; background: var(--bh-bg); box-shadow: 0 0 0 1px var(--bh-line); }
.hm-voice blockquote { margin: 0; font-size: 14.5px; line-height: 1.6; font-weight: 500; color: var(--bh-ink-soft); }
.hm-voice figcaption { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--bh-muted); }
.hm-voice img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; }
.hm-voice strong { display: block; font-size: 14px; color: var(--bh-ink); }

/* ---------- FAQ ---------- */

.hm-faq { background: var(--bh-bg); }
.hm-faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hm-help { list-style: none; margin: 32px 0 0; padding: 0; }
.hm-help a { display: block; padding: 16px 0; border-top: 1px solid var(--bh-line-strong); color: var(--bh-ink); text-decoration: none; }
.hm-help strong { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.hm-help strong::after { content: "→"; color: var(--bh-brand); transition: transform 0.2s var(--bh-ease); }
.hm-help a:hover strong::after { transform: translateX(3px); }
.hm-help span { display: block; font-size: 13px; color: var(--bh-muted); }

/* ---------- Close ---------- */

.hm-close { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 12vw, 168px) 0; background: var(--hm-night); color: #fff; text-align: center; }
.hm-close-inner { position: relative; z-index: 2; }
.hm-close .hm-h2 { max-width: 16ch; margin: 0 auto; color: #fff; font-size: clamp(34px, 5vw, 64px); }
.hm-close .hm-h2 em { color: var(--hm-lilac); }
.hm-close .hm-lede { margin: 18px auto 32px; color: var(--hm-on-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hm-banks-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hm-banks-row ul { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 20px 28px; }
  .hm-banks-row img { height: 22px; }

  .hm-os-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hm-os-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; }
  .hm-os-nav::-webkit-scrollbar { display: none; }
  .hm-os-nav button { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; }
  .hm-os-n,
  .hm-os-d,
  .hm-os-bar { display: none !important; }
  .hm-os-t { font-size: 14px; }
  .hm-os-cap { display: block; min-height: 4.6em; margin: 0; font-size: 15px; line-height: 1.5; color: var(--bh-ink-soft); }
  .hm-os-links { text-align: left; }
  .hm-app-body { grid-template-columns: minmax(0, 1fr); }
  .hm-app-side { display: none; }
  .hm-app-main { height: 500px; padding: 16px; }

  .hm-rails-grid { grid-template-columns: minmax(0, 1fr); }

  /* Constellation stacks: scene cards in a 2 x 2 grid, chips in an even grid below */
  .hm-uses-stage { height: auto; }
  .hm-uses-center { position: static; width: auto; max-width: 560px; margin: 0 auto 32px; transform: none; }
  .hm-uc { position: static; }
  .hm-uses-scenes { display: grid; grid-template-columns: repeat(2, 236px); justify-content: center; gap: 16px; }
  .hm-uses-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 24px auto 0; }
  .hm-uc-chip .hm-uc-depth,
  .hm-uc-chip .hm-uc-in { width: 100%; height: 100%; }
  .hm-uc-chip small { display: none; }
  .hm-uc-chip .hm-uc-ic { grid-row: auto; }


  .hm-nums-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .hm-nums-grid dd { font-size: clamp(30px, 8vw, 48px); }
  .hm-nums-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }

  /* Vertical rail down the left of the steps */
  .hm-flow-stage { padding-left: 32px; }
  .hm-flow-rail { position: absolute; left: 9px; top: 0; bottom: 0; width: 3px; height: auto; margin: 0; }
  .hm-flow-fill { transform-origin: center top; }
  .hm-flow.is-live .hm-flow-coin { display: none; }
  .hm-flow-steps { grid-template-columns: minmax(0, 1fr); }
  .hm-flow-step { position: relative; }
  .hm-flow-step::before { content: ""; position: absolute; left: -29px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--bh-navy); box-shadow: 0 0 0 2px #b9a6ff; }
  .hm-flow-step.is-on::before { background: var(--bh-teal); box-shadow: 0 0 0 2px var(--bh-teal); }
  .hm-mini { max-width: 320px; }

  .hm-tile-photo { grid-column: span 12; grid-row: auto; aspect-ratio: 1400 / 781; min-height: 0; }
  .hm-tile-feat { grid-column: span 6; }
  .hm-tile-acct,
  .hm-tile-price { grid-column: span 12; }

  .hm-dev-grid,
  .hm-faq-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .hm-hero { min-height: 0; }
  .hm-hero-foot { padding-top: 48px; }
  .hm-h1 { font-size: clamp(38px, 11vw, 48px); }
  .hm-railbar-btns button { padding: 8px 10px; font-size: 12px; }
  .hm-btn { height: 48px; padding: 0 20px; }

  .hm-tr { grid-template-columns: minmax(0, 1.5fr) 1fr 0.9fr; }
  .hm-tr > span:nth-child(2) { display: none; }
  .hm-collect { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hm-qr-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center; justify-items: start; text-align: left; padding: 12px; align-self: stretch; }
  .hm-qr { grid-row: span 4; width: 96px; height: 96px; margin: 0; }
  .hm-qr-scan { --hm-scan: 80px; }
  .hm-feed-total { font-size: 22px; margin-bottom: 10px; }
  .hm-feed li { padding: 8px 10px; }
  .hm-pane-head { flex-direction: column; gap: 8px; }

  .hm-railcards li { padding: 14px; }
  .hm-railcards li.is-pick::after { top: 12px; right: 10px; }

  /* Phones: scene cards swipe (the next one peeks in), chips in two even columns */
  .hm-uses-scenes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 236px; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 14px; }
  .hm-uses-scenes::-webkit-scrollbar { display: none; }
  .hm-uc-scene { scroll-snap-align: start; }
  .hm-uses-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
  .hm-uc-chip .hm-uc-in { grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; padding: 12px; }
  .hm-uc-chip .hm-uc-ic { width: 32px; height: 32px; }
  .hm-uc-chip strong { font-size: 13.5px; }

  .hm-tile-acct { grid-template-columns: minmax(0, 1fr); }
  .hm-tile-acct .hm-tile-copy { padding: 22px 22px 0; }
  .hm-acct-toast { right: 12px; bottom: 12px; }
  .hm-tile-feat { padding: 16px; }
  .hm-voice { width: 290px; }
  .hm-pre { font-size: 12.5px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-pane *,
  .hm-pane.is-on,
  .hm-code .l,
  .hm-code-out > * { animation: none !important; }
  .hm-tape-track.is-looping,
  .hm-marquee-track.is-looping { animation: none; }
  .hm-tape,
  .hm-marquee { overflow-x: auto; }
  .hm-uses .is-play *,
  .hm-uses .is-play *::before,
  .hm-uses .is-play::before { animation: none; }
  .hm-odo-strip,
  .hm-tile,
  .hm-tile-photo img,
  .hm-railcards li,
  .hm-flow-step,
  .hm-ok,
  .hm-mini-bar span { transition: none; }
}
