/* Hero selling points over the KeyShot sequence (installbox-hero-callouts-001): technical-drawing annotations.
   Motion order for each point: node drops in → leader draws from the node side → label unmasks upwards. */
.ibx-hc { --ink: #0b2a2e; --teal: #0b7a75; --mute: rgba(11, 42, 46, .58); --ease: cubic-bezier(.2, .8, .2, 1);
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .6s;
  font-variant-numeric: tabular-nums; }
.ibx-hc.is-on { opacity: 1; }

/* Chapter header + five-segment rail */
.ibx-hc__head { position: absolute; left: max(28px, 6%); top: 112px; width: 252px; color: var(--ink); }   /* under the floating site header */
.ibx-hc__head p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.ibx-hc__head span { width: 100%; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.ibx-hc__head b { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ibx-hc__head em { font-style: normal; font-size: 12px; color: var(--mute); }
.ibx-hc__head em i { font-style: normal; font-weight: 700; color: var(--ink); }
.ibx-hc__head ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.ibx-hc__head li { position: relative; height: 2px; border-radius: 2px; background: rgba(11, 42, 46, .16); overflow: hidden; }
.ibx-hc__head li::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ibx-hc__head li.is-on::after { transform: scaleX(1); }

/* Leaders */
.ibx-hc__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ibx-hc__lines polyline { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: -1;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .95)); opacity: .9;
  transition: stroke-dashoffset .75s cubic-bezier(.65, 0, .35, 1) .12s, opacity .5s; }
.ibx-hc__lines polyline.is-on { stroke-dashoffset: 0; }
.ibx-hc__lines polyline.is-past, .ibx-hc__lines circle.is-past { opacity: .38; }
.ibx-hc__lines circle { fill: var(--ink); opacity: 0; transition: opacity .3s .8s; }
.ibx-hc__lines circle.is-on { opacity: .9; }

/* Nodes on the parts */
.ibx-hc__node { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; }
.ibx-hc__node span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
  font: 700 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--ink); background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 1px var(--ink), 0 3px 10px rgba(11, 42, 46, .22); opacity: 0; scale: .4;
  transition: opacity .3s, scale .55s cubic-bezier(.2, 1.5, .4, 1), background .4s, color .4s, box-shadow .4s; }
.ibx-hc__node.is-on span { opacity: 1; scale: 1; }
.ibx-hc__node.is-latest span { color: #fff; background: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 3px 12px rgba(11, 42, 46, .3); }
.ibx-hc__node::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--teal); opacity: 0; }
.ibx-hc__node.is-latest::before { animation: ibxHcPulse 2.2s cubic-bezier(.2, .6, .3, 1) .5s infinite; }
@keyframes ibxHcPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }

/* Labels: quiet frosted tag, unmasked upwards after the leader has drawn */
.ibx-hc__label { position: absolute; left: 0; top: 0; border-radius: 12px; color: var(--ink);
  background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .78), 0 1px 0 rgba(11, 42, 46, .06);
  clip-path: inset(100% 0 0 0 round 12px); opacity: 0;   /* opacity too: a fully clipped label still left its 1px inset edge */
  transition: clip-path .6s var(--ease) .55s, opacity .3s; }
.ibx-hc__label.is-on { clip-path: inset(0 0 0 0 round 12px); opacity: 1; transition: clip-path .6s var(--ease) .55s, opacity .2s .5s; }
.ibx-hc__label.is-past { opacity: .74; }
.ibx-hc__label > div { padding: 11px 14px 12px; translate: 0 10px; opacity: 0; transition: translate .7s var(--ease) .6s, opacity .5s .6s; }
.ibx-hc__label.is-on > div { translate: 0 0; opacity: 1; }
.ibx-hc__label b { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ibx-hc__label b i { font: 700 10.5px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; font-style: normal; letter-spacing: 0; color: var(--mute); }
.ibx-hc__label span { display: block; font-size: 14px; line-height: 1.45; letter-spacing: -.005em; }

/* Phones: header + one numbered card */
.ibx-hc.is-phone .ibx-hc__head { left: 16px; top: 84px; width: calc(100% - 32px); }
.ibx-hc__card { position: absolute; left: 16px; right: 16px; bottom: 96px; padding: 14px 16px 15px; border-radius: 14px; color: var(--ink);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  opacity: 0; translate: 0 12px; transition: opacity .35s, translate .5s var(--ease); }
.ibx-hc__card.is-on { opacity: 1; translate: 0 0; }
.ibx-hc__card em { display: block; margin-bottom: 4px; font: 700 11px/1.2 ui-monospace, Menlo, monospace; font-style: normal; color: var(--mute); }
.ibx-hc__card b { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ibx-hc__card span { display: block; font-size: 14px; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  .ibx-hc__lines polyline { transition: opacity .2s; stroke-dashoffset: 0; }
  .ibx-hc__label, .ibx-hc__label > div, .ibx-hc__card, .ibx-hc__node span { transition: opacity .2s; translate: none; scale: none; clip-path: none; }
  .ibx-hc__node.is-latest::before { animation: none; }
}
