/* How it works, version B. Uses the homepage's label / headline / card pattern (home-b.css). */
.hiw-b .hiw-top { padding: 150px 0 40px; text-align: center; }
.hiw-b .hiw-top h1 { margin: 0 auto; max-width: 900px; font-size: clamp(38px, 5vw, 68px); font-weight: 900; line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.hiw-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.hiw-jump a { padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.hiw-jump a:hover { border-color: #45dce8; color: #fff; }

.hiw-shot { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.hiw-shot img, .hiw-shot video { display: block; width: 100%; height: auto; }
.hiw-shot--wide { margin-top: 44px; }

/* Four steps: one large picture at a time. Without the script every step simply shows in order. */
.hiw-stepper { margin-top: 44px; }
.hiw-tabs { display: none; }
.hiw-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 44px; align-items: center; }
.hiw-panel + .hiw-panel { margin-top: 56px; }
.hiw-panel h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 24px; letter-spacing: -0.01em; color: #fff; }
.hiw-panel p { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.hiw-stepper.is-tabbed .hiw-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.hiw-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 8px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.72); font: 600 16px Inter, sans-serif; cursor: pointer; }
.hiw-tabs button .hb-num { width: 32px; height: 32px; font-size: 16px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.hiw-tabs button[aria-selected="true"] { border-color: #45dce8; background: rgba(69, 220, 232, 0.08); color: #fff; }
.hiw-tabs button[aria-selected="true"] .hb-num { background: linear-gradient(120deg, #45dce8 0%, #25b8ff 100%); color: #04222e; }
.hiw-tabs button:focus-visible { outline: 2px solid #45dce8; outline-offset: 2px; }
.hiw-stepper.is-tabbed .hiw-panel { margin-top: 0; }
.hiw-stepper.is-tabbed .hiw-panel[hidden] { display: none; }
.hiw-stepper.is-tabbed .hiw-panel h3 .hb-num { display: none; }

.hiw-feature-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.hiw-feature--flip .hiw-feature-copy { order: 2; }
.hiw-feature .hb-eyebrow, .hiw-feature .hb-h2, .hiw-feature .hb-lede { text-align: left; margin-left: 0; }
.hiw-b .hiw-feature .hb-h2 { font-size: clamp(28px, 3vw, 42px); }
.hiw-points { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hiw-points li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.84); }
.hiw-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid #45dce8; border-bottom: 2.5px solid #45dce8; transform: rotate(-45deg); }
.hiw-b #teams .hb-promise-actions { margin-top: 40px; }

@media (max-width: 900px) {
  .hiw-b .hiw-top { padding-top: 110px; }
  .hiw-panel, .hiw-feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .hiw-feature--flip .hiw-feature-copy { order: 0; }
  .hiw-tabs button { padding-right: 14px; font-size: 15px; }
}

/* Media picture is a light screen: keep it from glaring against the dark page. */
.hiw-b #media .hiw-shot { background: #fff; }
.hiw-b .hiw-feature .hb-lede { max-width: none; }
@media (min-width: 901px) { .hiw-feature--flip .hiw-feature-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr); } }
