/* =========================================================
   Hospital Management — Healthcare Suite
   Built to public/reference/brand-guidelines.md. Loaded after /index.css.

   The overview page for the whole platform, so it shares the component
   vocabulary of the Solutions set — stage rails, tags, field rows,
   tables, metric strips — and adds what only this page needs: the
   channel converge, the systems stack, the three-part journey and the
   request workflow.

   POSITIONING, ENFORCED IN THE MARKUP: Wisemelon is the layer AROUND the
   hospital's systems, never a replacement for HIS, HMS, EMR, LIS, PACS
   or billing. The stack section draws those systems as the base and the
   engagement layer as a band beside them, and says so in words too.

   The brief's green (#16C542) is not in our palette: --lime for active
   states, confirmed actions and TAT within target; --lime-ink for green
   text. White dominates.

   Every class is prefixed hm- ; the reset weighs nothing (guidelines §14).
   ========================================================= */

.hm {
  --pad: calc(67 * var(--u));
  --text: #2a2a2a;
  --faint: #9a9a9a;
  --soft: #f5f8f1;
  --grey: #f7f7f7;
  --lime-tint: #effcb5;
  --lime-ink: #3f5a00;
  --amber: #fff1d2;
  --amber-ink: #8a5600;
  --rose: #ffe8e4;
  --rose-ink: #b23a2c;
  --r-card: calc(18 * var(--u));
  --r: calc(12 * var(--u));
  --r-sm: calc(9 * var(--u));
  --shadow: 0 1px 2px rgba(17, 19, 24, .03), 0 calc(18 * var(--u)) calc(40 * var(--u)) calc(-28 * var(--u)) rgba(17, 19, 24, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  display: block;
  color: var(--ink);
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
:where(.hm) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, table) { margin: 0; }
:where(.hm) :where(ul, ol) { padding: 0; list-style: none; }
.hm img { display: block; max-width: 100%; }
.hm .i { flex: none; width: calc(16 * var(--u)); height: calc(16 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.hm-h1, .hm-h2, .hm-h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.hm-h1 { font-size: calc(64 * var(--u)); line-height: calc(77 * var(--u)); }
.hm-h2 { font-size: calc(48 * var(--u)); line-height: calc(57 * var(--u)); }
.hm-h3 { font-size: calc(24 * var(--u)); line-height: calc(30 * var(--u)); }
.hm .dim { color: var(--muted); }
.hm-lede { margin-top: calc(16 * var(--u)); max-width: calc(660 * var(--u)); font-size: calc(25 * var(--u)); line-height: calc(33 * var(--u)); letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.hm-sub { margin-top: calc(18 * var(--u)); max-width: calc(520 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(30 * var(--u)); letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.hm-k { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

.hm-pill { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); padding: calc(5 * var(--u)) calc(13 * var(--u)); border-radius: 999px; background: var(--soft); color: var(--text); font-size: calc(13 * var(--u)); font-weight: 600; line-height: 1.3; }
.hm-pill::before { content: ""; width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: currentColor; opacity: .7; }
.hm-pill.problem { background: var(--amber); color: var(--amber-ink); }
.hm-pill.solution { background: var(--lime-tint); color: var(--lime-ink); }
.hm-pill.ink { background: var(--ink); color: var(--lime); }
.hm-pill + .hm-h1, .hm-pill + .hm-h2 { margin-top: calc(22 * var(--u)); }
.hm-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: calc(14 * var(--u)); margin-top: calc(44 * var(--u)); }
.hm .btn .i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); transition: transform .2s var(--ease); }
.hm .btn:hover .i { transform: translateX(calc(3 * var(--u))); }

/* ---------- sections ---------- */
.hm-sec { position: relative; padding: calc(128 * var(--u)) var(--pad); }
.hm-sec + .hm-sec { border-top: 1px solid var(--rule); }
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(96 * var(--u)); align-items: center; }
.hm-split.rev > :first-child { order: 2; }
.hm-head { max-width: calc(940 * var(--u)); }
.hm-head.mid { margin-inline: auto; text-align: center; }
.hm-head.mid .hm-lede { margin-inline: auto; }
.hm-stage { margin-top: calc(72 * var(--u)); }
.hm-sec.soft { isolation: isolate; }
.hm-sec.soft::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); background: #fafaf8; z-index: -1; }
.hm-sec.soft::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; right: -1px; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); pointer-events: none; }

/* ---------- hero ---------- */
.hm-hero { padding: calc(120 * var(--u)) var(--pad) calc(96 * var(--u)); }
.hm-hero .hm-h1 { max-width: calc(960 * var(--u)); }
.hm-hero__stage { position: relative; margin-top: calc(72 * var(--u)); }
/* the frame the photograph will occupy; for now it carries the payer record */
/* Until the photograph exists the frame sizes to the record it holds, so
   the panel reads as intentional rather than as a gap waiting to be
   filled. Restore `aspect-ratio: 16 / 7` when the <img> goes in. */
.hm-scene { position: relative; display: grid; place-items: center; padding: calc(64 * var(--u)) calc(40 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--soft); overflow: hidden; }
.hm-scene > img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-card) - 1px); }
.hm-cap { margin-top: calc(16 * var(--u)); font-size: calc(14 * var(--u)); color: var(--muted); }

/* ---------- the payer record ---------- */

/* ---------- shared product UI ---------- */
.hm-ui { border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.hm-ui__top { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); background: #fcfcfb; }
.hm-ui__top b { font-size: calc(13 * var(--u)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hm-ui__top .hm-tag { margin-left: auto; }
.hm-ui__body { padding: calc(20 * var(--u)); }
.hm-ui + .hm-ui { margin-top: calc(16 * var(--u)); }
.hm-tag { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(4 * var(--u)) calc(10 * var(--u)); border-radius: 999px; background: var(--grey); color: var(--text); font-size: calc(12 * var(--u)); font-weight: 600; white-space: nowrap; }
.hm-tag.ok { background: var(--lime-tint); color: var(--lime-ink); }
.hm-tag.wait { background: var(--amber); color: var(--amber-ink); }
.hm-tag.bad { background: var(--rose); color: var(--rose-ink); }
.hm-tag .i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.hm-fields { display: grid; gap: calc(14 * var(--u)); }
.hm-fields > div { display: grid; gap: calc(3 * var(--u)); }
.hm-fields dt { font-size: calc(11.5 * var(--u)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.hm-fields dd { font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: -.01em; }
.hm-fields.two { grid-template-columns: 1fr 1fr; column-gap: calc(24 * var(--u)); }

/* ---------- the continuous stage rail ---------- */

/* the small vertical rail inside a column */

/* ---------- the rate change ---------- */

/* ---------- the renewal countdown ---------- */

/* the expiry notice, integrated rather than a pop-up */

/* ---------- one record, several teams ---------- */

/* ---------- workspace ---------- */
.hm-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: #fff; }
.hm-metrics > div { padding: calc(20 * var(--u)); }
.hm-metrics > div + div { border-left: 1px solid var(--rule); }
.hm-metrics b { display: block; font-family: var(--font-head); font-size: calc(34 * var(--u)); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hm-metrics span { display: block; margin-top: calc(4 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; color: var(--muted); }
.hm-metrics > div.on { background: var(--lime-soft); }
.hm-bar { display: flex; align-items: center; gap: calc(10 * var(--u)); flex-wrap: wrap; padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); }
.hm-search { display: flex; align-items: center; gap: calc(9 * var(--u)); flex: 1 1 calc(230 * var(--u)); min-width: calc(170 * var(--u)); padding: calc(9 * var(--u)) calc(13 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--faint); font-size: calc(14 * var(--u)); }
.hm-table { width: 100%; border-collapse: collapse; }
.hm-table th, .hm-table td { padding: calc(14 * var(--u)) calc(18 * var(--u)); text-align: left; font-size: calc(14.5 * var(--u)); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.hm-table th { font-size: calc(11.5 * var(--u)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: #fcfcfb; }
.hm-table td b { font-weight: 600; }
.hm-table tr:last-child td { border-bottom: 0; }
.hm-table tr.on td { background: var(--lime-soft); }
.hm-table .num { font-variant-numeric: tabular-nums; color: var(--muted); }

/* activity */
.hm-time li { position: relative; display: grid; grid-template-columns: calc(66 * var(--u)) minmax(0, 1fr); column-gap: calc(18 * var(--u)); padding: calc(12 * var(--u)) 0 calc(12 * var(--u)) calc(18 * var(--u)); }
.hm-time li::before { content: ""; position: absolute; left: 0; top: calc(19 * var(--u)); width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--divider); }
.hm-time li::after { content: ""; position: absolute; left: calc(4 * var(--u)); top: calc(28 * var(--u)); bottom: calc(-4 * var(--u)); width: 1px; background: var(--rule); }
.hm-time li:last-child::after { display: none; }
.hm-time li.now::before { background: var(--lime-ico); box-shadow: 0 0 0 calc(4 * var(--u)) rgba(199, 243, 104, .35); }
.hm-time time { font-size: calc(13 * var(--u)); font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.hm-time p { font-size: calc(15.5 * var(--u)); font-weight: 500; }

/* ---------- AI ---------- */
.hm-ai { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: calc(64 * var(--u)); align-items: center; }
.hm-said .hm-k { display: block; margin-bottom: calc(7 * var(--u)); color: var(--faint); }

/* ---------- outcomes: four blocks, generous space, not cards ---------- */

/* ---------- FAQ ---------- */
.hm-faq { max-width: calc(920 * var(--u)); margin-top: calc(56 * var(--u)); border-top: 1px solid var(--rule); }
.hm-faq details { border-bottom: 1px solid var(--rule); }
.hm-faq summary { display: flex; align-items: center; gap: calc(18 * var(--u)); padding: calc(24 * var(--u)) 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(29 * var(--u)); font-weight: 500; letter-spacing: -.028em; transition: color .15s ease; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary:hover { color: var(--lime-ink); }
.hm-faq summary::after { content: ""; flex: none; width: calc(11 * var(--u)); height: calc(11 * var(--u)); margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(calc(-2 * var(--u)), calc(-2 * var(--u))); transition: transform .25s var(--ease); }
.hm-faq details[open] summary::after { transform: rotate(-135deg); }
.hm-faq p { padding: 0 calc(48 * var(--u)) calc(26 * var(--u)) 0; max-width: calc(760 * var(--u)); font-size: calc(17 * var(--u)); line-height: calc(27 * var(--u)); color: var(--prose, #4d4d4d); }

/* ---------- final CTA + strip ---------- */
.hm-cta { padding: calc(130 * var(--u)) var(--pad); border-top: 1px solid var(--rule); }
.hm-cta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: calc(96 * var(--u)); align-items: center; }

/* ---------- motion ---------- */
.hm-js .hm-rev { opacity: 0; transform: translateY(calc(12 * var(--u))); }
.hm-js .hm-rev.is-in { opacity: 1; transform: none; transition: opacity .75s ease var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
@keyframes hmWave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}

/* =========================================================
   Below 1180 --u is 1px. Stack, don't shrink (guidelines §10).
   ========================================================= */
@media (max-width: 1179px) {
  .hm { --pad: 22px; }
  .hm .i { width: 16px; height: 16px; }
  .hm-h1 { font-size: clamp(32px, 7.2vw, 48px); line-height: 1.08; }
  .hm-h2 { font-size: clamp(26px, 5.4vw, 36px); line-height: 1.16; }
  .hm-h3 { font-size: 20px; line-height: 27px; }
  .hm-lede { font-size: 17px; line-height: 25px; }
  .hm-sub { font-size: 16px; line-height: 24px; max-width: none; }
  .hm-ctas { margin-top: 28px; flex-direction: column; align-items: stretch; }

  .hm-hero { padding: 44px 22px 56px; }
  .hm-hero__stage, .hm-stage { margin-top: 32px; }
  .hm-scene { aspect-ratio: auto; padding: 20px 14px; }

  .hm-sec { padding: 56px 22px; }
  .hm-split { grid-template-columns: 1fr; row-gap: 32px; }
  .hm-split.rev > :first-child { order: 0; }

  /* label and value stay on one line; only the payer name may wrap */

  .hm-fields.two { grid-template-columns: 1fr; row-gap: 14px; }

  .hm-metrics { grid-template-columns: 1fr 1fr; }
  .hm-metrics > div:nth-child(odd) { border-left: 0; }
  .hm-metrics > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .hm-metrics b { font-size: 28px; }
  .hm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hm-table th, .hm-table td { padding: 12px 14px; }

  .hm-ai { grid-template-columns: 1fr; row-gap: 28px; }

  .hm-faq summary { font-size: 19px; line-height: 26px; padding: 20px 0; gap: 14px; }
  .hm-faq p { font-size: 16px; line-height: 25px; padding: 0 0 22px; }

  .hm-cta { padding: 72px 22px; }
  .hm-cta__grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ---------- money: the triptych this page is built around ---------- */

/* the readiness checklist */

/* the three-state list used by the closing panel */
.hm-marks li { display: flex; align-items: center; gap: calc(13 * var(--u)); padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); font-size: calc(16 * var(--u)); font-weight: 600; }
.hm-marks li:last-child { border-bottom: 0; }
.hm-marks .mark { display: grid; place-items: center; flex: none; width: calc(21 * var(--u)); height: calc(21 * var(--u)); border-radius: 50%; background: var(--grey); }
.hm-marks .mark .i { width: calc(11 * var(--u)); height: calc(11 * var(--u)); }
.hm-marks .done .mark { background: var(--lime); color: var(--ink); }
.hm-marks .live .mark { background: var(--lime-tint); box-shadow: 0 0 0 calc(4 * var(--u)) rgba(199, 243, 104, .3); }
.hm-marks .live .mark::after { content: ""; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: var(--lime-ink); }
.hm-marks .live { color: var(--lime-ink); }
.hm-marks .todo { color: var(--muted); font-weight: 500; }
.hm-marks .todo .mark::after { content: ""; width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; border: calc(1.5 * var(--u)) solid var(--divider); }

/* an operational notice, integrated rather than a pop-up */

@media (max-width: 1179px) {
  /* the arrow turns to point down the stack; the equals sign must not */
}

/* ---------- proportional revenue, read as a list not a chart ---------- */

/* ---------- tabs: one interface, several dimensions ---------- */
.hm-tabs { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); padding: calc(14 * var(--u)) calc(18 * var(--u)); border-bottom: 1px solid var(--rule); }
.hm-tab { padding: calc(8 * var(--u)) calc(15 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: calc(14 * var(--u)); font-weight: 600; color: var(--muted); white-space: nowrap; }
.hm-tab.on { border-color: var(--lime-ico); background: var(--lime); color: var(--ink); }

/* ---------- payment modes and aging, same shape ---------- */

/* ---------- the OPD / IPD matrix ---------- */

/* ---------- the small trend ---------- */

/* ---------- the three revenue views, sequential ---------- */

/* the quiet context labels around a problem statement */

/* ---------- hero: channels converge on one layer ---------- */
.hm-scene { position: relative; border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
.hm-scene > img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 46%; }
.hm-chans { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(10 * var(--u)); }
.hm-chan { display: inline-flex; align-items: center; gap: calc(9 * var(--u)); padding: calc(9 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: calc(15 * var(--u)); font-weight: 600; box-shadow: var(--shadow); }
.hm-chan svg { width: calc(17 * var(--u)); height: calc(17 * var(--u)); display: block; }
.hm-converge { display: grid; justify-items: center; gap: calc(12 * var(--u)); }
.hm-funnel { position: relative; width: 100%; max-width: calc(560 * var(--u)); height: calc(30 * var(--u)); }
.hm-funnel::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; background: var(--divider); }
.hm-funnel i { position: absolute; top: 0; width: 2px; height: calc(14 * var(--u)); background: var(--divider); }
.hm-funnel i:nth-child(1) { left: 12%; }
.hm-funnel i:nth-child(2) { left: calc(38% - 1px); }
.hm-funnel i:nth-child(3) { left: calc(62% - 1px); }
.hm-funnel i:nth-child(4) { right: 12%; }
.hm-funnel::after { content: ""; position: absolute; top: 0; left: calc(50% - 1px); width: 2px; height: 100%; background: var(--lime-ico); }
.hm-layer { display: inline-flex; align-items: center; gap: calc(11 * var(--u)); padding: calc(13 * var(--u)) calc(24 * var(--u)); border-radius: 999px; background: var(--lime); font-family: var(--font-head); font-size: calc(21 * var(--u)); font-weight: 500; letter-spacing: -.025em; color: var(--ink); }
.hm-layer .i { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.hm-fan { position: relative; width: 100%; max-width: calc(520 * var(--u)); height: calc(28 * var(--u)); }
.hm-fan::before { content: ""; position: absolute; top: calc(14 * var(--u)); left: 16.6%; right: 16.6%; height: 2px; background: var(--lime-ico); }
.hm-fan i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--lime-ico); }
.hm-fan i:nth-child(1) { left: 16.6%; top: calc(14 * var(--u)); }
.hm-fan i:nth-child(2) { left: calc(50% - 1px); }
.hm-fan i:nth-child(3) { right: 16.6%; top: calc(14 * var(--u)); }
.hm-ends { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(14 * var(--u)); width: 100%; max-width: calc(520 * var(--u)); }
.hm-end { padding: calc(13 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r); background: #fff; text-align: center; font-size: calc(15 * var(--u)); font-weight: 600; }

/* the appointment exchange */
.hm-talk { display: grid; gap: calc(10 * var(--u)); max-width: calc(440 * var(--u)); }
.hm-bub { max-width: 86%; padding: calc(13 * var(--u)) calc(17 * var(--u)); border-radius: calc(18 * var(--u)); font-size: calc(16 * var(--u)); line-height: calc(23 * var(--u)); }
.hm-bub.pt { justify-self: end; border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)) calc(18 * var(--u)); background: var(--grey); }
.hm-bub.wm { border: 1px solid var(--rule); border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)); background: #fff; }
.hm-ok { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(18 * var(--u)); border-radius: var(--r); background: var(--lime); font-size: calc(15.5 * var(--u)); font-weight: 600; }
.hm-ok .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

/* ---------- the systems stack ---------- */
.hm-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); column-gap: calc(20 * var(--u)); align-items: stretch; }
.hm-sys { display: grid; gap: calc(10 * var(--u)); align-content: start; }
.hm-sys li { display: flex; align-items: center; gap: calc(14 * var(--u)); padding: calc(18 * var(--u)) calc(22 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r); background: #fcfcfb; }
.hm-sys b { font-size: calc(17 * var(--u)); font-weight: 600; }
.hm-sys span { margin-left: auto; font-size: calc(14 * var(--u)); color: var(--muted); text-align: right; }
.hm-band { display: grid; align-content: space-between; gap: calc(18 * var(--u)); padding: calc(26 * var(--u)); border: 1px solid var(--lime-ico); border-radius: var(--r-card); background: var(--lime-soft); }
.hm-band__t { font-family: var(--font-head); font-size: calc(24 * var(--u)); line-height: calc(30 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.hm-band ul { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); }
.hm-band li { padding: calc(7 * var(--u)) calc(13 * var(--u)); border-radius: 999px; background: #fff; font-size: calc(14 * var(--u)); font-weight: 600; }
.hm-alongside { display: inline-flex; align-items: center; gap: calc(9 * var(--u)); margin-top: calc(24 * var(--u)); padding: calc(9 * var(--u)) calc(15 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: calc(14 * var(--u)); font-weight: 600; color: var(--text); }
.hm-alongside .i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); color: var(--lime-ink); }

/* ---------- the journey ---------- */
.hm-jr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(20 * var(--u)); }
.hm-leg { display: grid; align-content: start; gap: calc(16 * var(--u)); padding-top: calc(26 * var(--u)); border-top: calc(2 * var(--u)) solid var(--rule); }
.hm-leg.on { border-top-color: var(--lime-ico); }
.hm-leg__k { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hm-leg.on .hm-leg__k { color: var(--lime-ink); }
.hm-leg h3 { font-family: var(--font-head); font-size: calc(24 * var(--u)); line-height: calc(31 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.hm-leg p { font-size: calc(16 * var(--u)); line-height: calc(24 * var(--u)); color: var(--muted); }
.hm-beats { display: grid; gap: calc(6 * var(--u)); }
.hm-beat { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-sm); background: #fff; font-size: calc(14.5 * var(--u)); font-weight: 600; }
.hm-beat .n { display: grid; place-items: center; width: calc(19 * var(--u)); height: calc(19 * var(--u)); border-radius: 50%; background: var(--grey); font-size: calc(11 * var(--u)); font-weight: 700; color: var(--muted); }
.hm-beat.on { border-color: var(--lime-ico); background: var(--lime-soft); }
.hm-beat.on .n { background: var(--lime); color: var(--ink); }
.hm-wire { display: flex; align-items: center; gap: calc(14 * var(--u)); margin-top: calc(40 * var(--u)); padding: calc(16 * var(--u)) calc(20 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r); background: var(--soft); font-size: calc(15 * var(--u)); font-weight: 600; }
.hm-wire .sep { color: var(--divider); }
.hm-wire b { margin-left: auto; color: var(--lime-ink); }

/* ---------- the request workflow ---------- */
.hm-req { display: grid; gap: calc(16 * var(--u)); }
.hm-said { max-width: calc(420 * var(--u)); padding: calc(15 * var(--u)) calc(19 * var(--u)); border: 1px solid var(--rule); border-radius: calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u)) calc(4 * var(--u)); background: #fff; box-shadow: var(--shadow); font-family: var(--font-head); font-size: calc(19 * var(--u)); line-height: calc(26 * var(--u)); font-weight: 500; letter-spacing: -.025em; }
.hm-said .hm-k { display: block; margin-bottom: calc(7 * var(--u)); color: var(--faint); }
.hm-tat { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(13 * var(--u)) calc(16 * var(--u)); border-radius: var(--r); background: var(--lime-soft); font-size: calc(15 * var(--u)); font-weight: 600; color: var(--lime-ink); }
.hm-tat .i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.hm-tat span { margin-left: auto; font-variant-numeric: tabular-nums; }
.hm-ai { display: grid; gap: calc(6 * var(--u)); }
.hm-ai li { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(11 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-sm); background: #fff; font-size: calc(15 * var(--u)); font-weight: 600; }
.hm-ai .n { display: grid; place-items: center; width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: var(--lime); font-size: calc(11 * var(--u)); font-weight: 700; color: var(--ink); }
.hm-ai li:last-child { border-color: var(--lime-ico); background: var(--lime-soft); color: var(--lime-ink); }

/* ---------- management ---------- */
.hm-toggle { display: inline-flex; gap: calc(6 * var(--u)); padding: calc(4 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; }
.hm-toggle span { padding: calc(7 * var(--u)) calc(15 * var(--u)); border-radius: 999px; font-size: calc(14 * var(--u)); font-weight: 600; color: var(--muted); }
.hm-toggle span.on { background: var(--lime); color: var(--ink); }
.hm-insight { display: grid; gap: calc(16 * var(--u)); padding: calc(28 * var(--u)); border: 1px solid var(--lime-ico); border-radius: var(--r-card); background: var(--lime-soft); }
.hm-insight__k { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--lime-ink); }
.hm-insight__k i { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: 50%; background: var(--lime); color: var(--ink); }
.hm-insight__k i .i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.hm-insight__t { font-family: var(--font-head); font-size: calc(28 * var(--u)); line-height: calc(36 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.hm-attn { display: grid; gap: calc(7 * var(--u)); }
.hm-attn li { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(15 * var(--u)); border-radius: var(--r-sm); background: #fff; font-size: calc(15 * var(--u)); font-weight: 600; }
.hm-attn li span { margin-left: auto; font-weight: 500; color: var(--muted); }
.hm-dpi { display: flex; align-items: center; justify-content: center; gap: calc(12 * var(--u)); flex-wrap: wrap; margin-top: calc(26 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hm-dpi b { color: var(--lime-ink); }
.hm-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(16 * var(--u)); margin-top: calc(48 * var(--u)); }
.hm-triple > div { display: grid; gap: calc(8 * var(--u)); padding: calc(24 * var(--u)); border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; }
.hm-triple b { font-size: calc(13 * var(--u)); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.hm-triple p { font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(29 * var(--u)); font-weight: 500; letter-spacing: -.028em; }

/* ---------- roles ---------- */
.hm-roles { display: grid; border-top: 1px solid var(--rule); }
.hm-roles > article { display: grid; grid-template-columns: calc(56 * var(--u)) minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; column-gap: calc(36 * var(--u)); padding: calc(30 * var(--u)) 0; border-bottom: 1px solid var(--rule); transition: background .2s var(--ease); }
.hm-roles > article:hover { background: var(--soft); }
.hm-roles .n { font-size: calc(13 * var(--u)); font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.hm-roles h3 { font-family: var(--font-head); font-size: calc(26 * var(--u)); line-height: calc(33 * var(--u)); font-weight: 500; letter-spacing: -.03em; }
.hm-roles ul { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); }
.hm-roles li { padding: calc(7 * var(--u)) calc(13 * var(--u)); border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: calc(14 * var(--u)); font-weight: 500; color: var(--muted); }
.hm-roles > article:hover li { border-color: var(--lime-ico); color: var(--text); }

@media (max-width: 1179px) {
  .hm-scene > img { aspect-ratio: 4 / 3; }
  .hm-chan { font-size: 13.5px; padding: 7px 12px; }
  .hm-layer { font-size: 17px; padding: 11px 18px; }
  .hm-ends { grid-template-columns: 1fr; }
  .hm-fan { width: 2px; }
  .hm-fan::before, .hm-fan i:nth-child(1), .hm-fan i:nth-child(3) { display: none; }
  .hm-funnel { width: 2px; }
  .hm-funnel::before, .hm-funnel i { display: none; }
  .hm-talk { max-width: none; }
  .hm-stack { grid-template-columns: 1fr; row-gap: 16px; }
  .hm-jr { grid-template-columns: 1fr; gap: 28px; }
  .hm-wire { flex-wrap: wrap; row-gap: 6px; font-size: 13.5px; }
  .hm-wire b { margin-left: 0; flex: 1 1 100%; }
  .hm-said { max-width: none; font-size: 17px; line-height: 24px; }
  .hm-insight__t { font-size: 21px; line-height: 28px; }
  .hm-triple { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .hm-triple p { font-size: 19px; line-height: 26px; }
  .hm-roles > article { grid-template-columns: 1fr; row-gap: 12px; padding: 24px 0; }
  .hm-roles h3 { font-size: 21px; line-height: 28px; }
}
