/* Homepage only: compact solution buttons with a user-requested looping rail. */
.visual-polish .solutions-strip { padding-block: 64px 48px; }
.solutions-strip { --hs-blue: #90bdff; --hs-green: #8adcc6; --hs-ink: #c5d7ee; }
.solutions-strip .hs-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.solutions-strip .hs-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.solutions-strip .hs-heading p { margin: 12px 0 0; font-size: 15px; }
.solutions-strip svg { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.solutions-strip .hs-all { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--hs-blue); font-size: 14px; font-weight: 600; }
.visual-polish .solutions-strip .hs-rail {
  display: flex; gap: 16px; margin: -6px; padding: 6px 6px 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: none;
  scroll-padding-inline: 6px; scrollbar-width: none; overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
}
.hs-rail:focus-visible { outline: 2px solid var(--hs-blue); outline-offset: 6px; border-radius: 16px; }
.hs-rail::-webkit-scrollbar { display: none; }

.solutions-strip .hs-card {
  flex: 0 0 264px; min-width: 0; display: flex; flex-direction: column;
  padding: 14px 16px 16px; scroll-snap-align: start; border: 1px solid var(--polish-line);
  border-radius: 16px; background: #0d1c30; color: var(--polish-text);
  text-decoration: none; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.hs-card .hs-art { display: flex; align-items: center; justify-content: center; position: relative; height: 112px; flex: 0 0 112px; gap: 16px; overflow: hidden; margin-bottom: 16px; font-size: 11px; line-height: 1.4; color: var(--hs-ink); }
.hs-card .hs-copy h3 { margin: 0; min-height: 44px; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }

.hs-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.hs-about { font-size: 13px; color: var(--polish-muted); text-underline-offset: 4px; }

@media (hover: hover) {
  .solutions-strip .hs-card:hover { border-color: #8cbbff; background: #18395e; transform: translateY(-3px); }

  .hs-about:hover, .hs-all:hover { color: #fff; text-decoration: underline; }
}

/* Each miniature shows input → work → output, without invented performance data. */
.hs-sheet { position: relative; width: 70px; padding: 12px; border-radius: 7px; background: #e7effa; color: #234368; transform: rotate(-6deg); }
.hs-sheet b { display: block; margin-bottom: 10px; font-size: 15px; }
.hs-sheet i, .hs-script i, .hs-insight i { display: block; height: 3px; margin-top: 6px; border-radius: 2px; background: #aec4de; }
.hs-sheet i:nth-of-type(2) { width: 75%; }
.hs-sheet strong { display: block; margin-top: 10px; font-size: 10px; color: #1a5aa3; }
.hs-scan { position: absolute; inset: 24px 5px auto; height: 2px; background: #246bd5; opacity: 0; }
.hs-destination { display: grid; gap: 12px; justify-items: center; text-align: center; }
.hs-destination img, .hs-base img { object-fit: contain; width: 48px; height: 36px; }
.hs-result { font-size: 10px; color: var(--hs-green); }
.hs-transfer { color: #81b4ff; }
.hs-tick { display: block; width: 12px; height: 7px; border-bottom: 2px solid #62d6b8; border-left: 2px solid #62d6b8; transform: rotate(-45deg); }
.hs-sheet > .hs-tick { position: absolute; right: -9px; bottom: 16px; background: #0d1c30; box-shadow: 0 0 0 6px #0d1c30; }
.hs-message { display: grid; gap: 8px; padding: 12px; border-radius: 10px 10px 2px 10px; background: #203b5f; }
.hs-message span { color: #adc5e5; font-size: 10px; }
.hs-message b { font-size: 12px; color: #e4efff; font-weight: 600; }
.hs-quote .hs-sheet { transform: rotate(5deg); }
.hs-sources, .hs-notes, .hs-art .hs-accounting { display: grid; gap: 8px; }
.hs-sources span, .hs-notes span, .hs-art .hs-accounting span { display: block; padding: 7px 10px; background: #19324e; border-radius: 5px; }
.hs-table { width: 88px; border-radius: 7px; background: #d9eee9; color: #24483f; padding: 10px; transform: rotate(5deg); }
.hs-table b { font-size: 11px; }
.hs-table > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 10px 0; }
.hs-table i { height: 7px; border-bottom: 1px solid #94bbae; }
.hs-table .hs-tick { margin-left: auto; border-color: #287b65; }
.hs-video .hs-art { gap: 24px; padding-bottom: 20px; }
.hs-script { padding: 12px; width: 94px; background: #1c3555; border-radius: 6px; transform: rotate(-7deg); }
.hs-script i { background: #658bb8; }
.hs-film { width: 66px; height: 98px; display: grid; place-content: center; justify-items: center; gap: 8px; border-radius: 9px; background: #235ea7; color: #e5f1ff; transform: rotate(6deg); }
.hs-film svg { width: 32px; height: 32px; fill: #d6e9ff; stroke: none; }
.hs-film span { font-size: 9px; }
.hs-timeline { position: absolute; bottom: 4px; left: 22%; width: 60%; height: 12px; display: flex; gap: 3px; }
.hs-timeline i { flex: 1; background: #25529c; border-radius: 2px; }
.hs-timeline i:nth-child(2) { background: #50827e; }
.hs-timeline i:nth-child(3) { background: #756996; }
.hs-playhead { position: absolute; bottom: -2px; left: 100%; width: 2px; height: 18px; background: #e2edff; }
.hs-dialog { display: grid; gap: 8px; width: 100%; max-width: 236px; }
.hs-dialog > span { padding: 8px 11px; border-radius: 9px; font-size: 10px; width: fit-content; }
.hs-question { justify-self: end; background: #214c80; }
.hs-answer { background: #213749; }
.hs-dialog .hs-handoff { display: flex; align-items: center; gap: 10px; color: #9cdecf; padding: 0; }
.hs-handoff svg, .hs-final svg { width: 14px; height: 14px; }
.hs-sales-flow { display: grid; gap: 10px; width: 180px; }
.hs-sales-flow > span { padding: 8px 12px; border-radius: 5px; background: #1a3353; }
.hs-sales-flow > span:nth-child(2) { margin-left: 18px; }
.hs-sales-flow .hs-final { display: flex; align-items: center; justify-content: space-between; margin-left: 36px; color: #9cdecf; background: #173e3e; white-space: nowrap; }
.hs-notes span { font-size: 10px; padding: 6px 9px; }
.hs-insight { width: 90px; padding: 13px 10px; border-radius: 7px; background: #e8e3f3; color: #4c3d6b; transform: rotate(5deg); }
.hs-insight i { background: #b5aaca; }
.hs-insight i:last-child { width: 60%; }
.hs-art .hs-training { display: grid; gap: 9px; width: 210px; }
.hs-art .hs-training > span { font-size: 11px; }
.hs-lesson { padding: 10px 12px; background: #1b3552; border-radius: 8px; }
.hs-lesson b { font-size: 11px; font-weight: 600; }
.hs-lesson span { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: #9cdecf; font-size: 10px; }
.hs-lesson i { width: 7px; height: 7px; border: 2px solid #8adcc6; border-radius: 50%; }
.hs-feedback { justify-self: end; color: #9cdecf; }
.hs-base { display: grid; gap: 10px; justify-items: center; }
.hs-art .hs-report { width: 100px; padding: 10px; border-radius: 7px; background: #183252; }
.hs-art .hs-report b { font-size: 11px; }
.hs-bars { display: flex; align-items: end; gap: 8px; height: 52px; margin-top: 12px; }
.hs-bars i { flex: 1; height: 65%; background: #80afe8; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.hs-bars i:nth-child(2) { height: 90%; }
.hs-bars i:nth-child(3) { height: 45%; }
.hs-bars i:nth-child(4) { height: 75%; background: #77bcb0; }
.hs-ledger { width: 90%; display: grid; }
.hs-ledger > div { display: flex; align-items: center; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid #2d4663; }
.hs-art .hs-accounting { width: 104px; }
.hs-art .hs-accounting span { font-size: 11px; }
.hs-art .hs-spec { display: grid; gap: 9px; }
.hs-art .hs-spec > span { display: grid; gap: 4px; padding-left: 8px; }
.hs-art .hs-spec b { font-size: 11px; font-weight: 500; }
.hs-art .hs-spec i { font-size: 11px; font-style: normal; color: #9cdecf; }
.hs-spec .hs-sheet { transform: rotate(6deg); }
.hs-art :is(.hs-result, .hs-sheet strong, .hs-message span, .hs-film span, .hs-dialog > span, .hs-notes span, .hs-training > span, .hs-lesson span, .hs-report b) { font-size: 11px; }

/* One short sequence on entry or deliberate hover/focus; no endless distracting loops. */
.hs-card.is-playing .hs-input { animation: hs-input 4.6s var(--polish-ease) both; }
.hs-card.is-playing .hs-output { animation: hs-output 4.6s var(--polish-ease) both; }
.hs-card.is-playing .hs-item { animation: hs-item 4.6s var(--polish-ease) both; }
.hs-card.is-playing .hs-item:nth-child(2) { animation-delay: 120ms; }
.hs-card.is-playing .hs-item:nth-child(3) { animation-delay: 240ms; }
.hs-card.is-playing .hs-scan { animation: hs-scan 4.6s ease-in-out both; }
.hs-card.is-playing .hs-transfer { animation: hs-transfer 4.6s var(--polish-ease) both; }
.hs-card.is-playing .hs-result { animation: hs-output 4.6s var(--polish-ease) both; }
.hs-card.is-playing .hs-playhead { animation: hs-playhead 4.6s linear both; }
.hs-card.is-playing .hs-bars i { animation: hs-bars 4.6s var(--polish-ease) both; }
.hs-card:not(.is-on-screen) *, .hs-motion-suspended .hs-card * { animation-play-state: paused !important; }
@keyframes hs-input { 0%, 8% { opacity: .65; translate: -8px 0; } 24%, 100% { opacity: 1; translate: 0 0; } }
@keyframes hs-output { 0%, 25% { opacity: .2; translate: 10px 0; } 55%, 100% { opacity: 1; translate: 0 0; } }
@keyframes hs-item { 0%, 10% { opacity: .3; translate: 0 5px; } 35%, 100% { opacity: 1; translate: 0 0; } }
@keyframes hs-scan { 0%, 8% { opacity: 0; transform: translateY(0); } 14% { opacity: 1; } 35% { opacity: 1; transform: translateY(52px); } 40%, 100% { opacity: 0; transform: translateY(52px); } }
@keyframes hs-transfer { 0%, 26% { opacity: .25; transform: translateX(-6px); } 48%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes hs-playhead { 0%, 25% { transform: translateX(-174px); opacity: .2; } 30% { opacity: 1; } 83%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes hs-bars { 0%, 30% { transform: scaleY(.1); } 58%, 100% { transform: scaleY(1); } }

@media (max-width: 650px) {
  .visual-polish .solutions-strip { padding-block: 44px 36px; }
  .solutions-strip .hs-heading { display: block; margin-bottom: 20px; }
  .solutions-strip .hs-heading h2 { max-width: 340px; font-size: 30px; }
  .solutions-strip .hs-heading p { font-size: 14px; max-width: 290px; margin-top: 10px; }
  .solutions-strip .hs-all { margin-top: 14px; font-size: 13px; }
  .solutions-strip .hs-card { flex-basis: 248px; padding: 12px 14px 14px; }
  .hs-card .hs-art { margin-bottom: 12px; height: 112px; flex-basis: 112px; }
  .hs-card .hs-copy h3 { font-size: 17px; min-height: 44px; }
  .hs-footer { gap: 12px; align-items: center; }
  .hs-about { max-width: 142px; font-size: 12px; line-height: 1.5; }

}
@media (prefers-reduced-motion: reduce) {
  .hs-card *, .hs-card.is-playing * { animation: none !important; }

}
/* Continuous travel; pointer centre, keyboard focus and reduced motion stop it. */
.hs-heading-actions { display: flex; align-items: center; gap: 16px; }
.solutions-strip .hs-card:active { transform: scale(.985); }
.solutions-strip .hs-card:focus-visible { background: #18395e; border-color: #8cbbff; }
.hs-rail [data-rail-clone][hidden] { display: none; }
@media (max-width: 650px) {
  .hs-heading-actions { margin-top: 12px; }
  .solutions-strip .hs-heading-actions .hs-all { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-card { transition: none; }
}
