.ms-hero-caption {
  position: absolute; left: 6vw; right: 6vw;
  top: calc(46svh + min(10.61vw, 17.9svh) + 30px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; z-index: 2;
}
.ms-hero-caption h1 {
  margin: 0; color: #f4f4f5; font-size: clamp(20px,2.15vw,32px);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.16;
}
.ms-hero-caption h1 span { display: block; }
.ms-primary-download {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; margin-top: 25px; padding: 0 28px;
  border-radius: 999px; background: #f4f4f5; color: #050505;
  font-size: 16px; font-weight: 600; line-height: 1;
  transition: transform 180ms cubic-bezier(.22,1,.36,1), background-color 180ms ease;
}
.ms-primary-download:hover { color: #050505; background: #c5ffbe; transform: translateY(-2px); }
.ms-primary-download:active { transform: scale(.97); }
.ms-hero-caption > p { margin: 14px 0 0; color: #aaaab2; font-size: 13px; line-height: 1.5; }
.ms-hero-next {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: inline-flex; gap: 18px; align-items: center; min-height: 44px;
  font-size: 14px; color: #b8b8bf; white-space: nowrap;
}
.ms-hero-next span { color: #80ff7f; font-size: 20px; }

.ms-device-card {
  position:relative; display:flex; flex-direction:column; align-items:center;
  width:190px; min-height:151px; box-sizing:border-box; padding:13px 16px 14px;
  border-radius:17px; background:rgba(29,30,35,.86);
  border:1px solid rgba(255,255,255,.19);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  font-family:-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
}
.ms-device-art { display:block; width:90px; height:58px; margin-bottom:8px; }
.ms-device-name { font-size:14px; line-height:1.3; font-weight:600; letter-spacing:-.015em; color:#f5f5f7; white-space:nowrap; }
.ms-device-chip { margin-top:3px; font-size:12px; line-height:1.3; font-weight:400; color:#b5b7c0; }
.ms-device-track { display:block; width:100%; height:3px; margin-top:12px; border-radius:2px; background:rgba(255,255,255,.13); overflow:hidden; }
.ms-device-track > span { display:block; height:100%; border-radius:2px; background:var(--device-accent); transition:width 200ms linear; }
.ms-device-done { position:absolute; top:10px; right:10px; display:grid; place-items:center; width:16px; height:16px; border-radius:50%; background:#32d74b; color:#09240e; transition:opacity 180ms ease,transform 180ms ease; }
@media(max-width:700px) {
  .ms-hero-caption { left:16px; right:16px; top:calc(46svh + 10.61vw + 25px); }
  .ms-hero-caption h1 { font-size:clamp(18px,5.25vw,24px); }
  .ms-hero-caption h1 span { white-space:nowrap; }
  .ms-primary-download { margin-top:23px; }
  .ms-hero-next { bottom:20px; }
}
@media(max-height:650px) and (min-width:701px) {
  .ms-hero-caption { top:calc(46svh + min(10.61vw,17.9svh) + 10px); }
  .ms-hero-caption h1 { font-size:24px; }
  .ms-primary-download { margin-top:16px; min-height:44px; }
  .ms-hero-next { display:none; }
}
@media(prefers-reduced-motion:reduce) { .ms-primary-download,.ms-device-track>span,.ms-device-done,[data-ms-stk] { transition:none!important; } }

/* Speed section: one training-time bar per tool, scaled to the slowest. */
.ms-bench { max-width: 1100px; margin: 0 auto; padding: 4vh 6vw 14vh; box-sizing: border-box; }
.ms-bench-kicker { margin: 0 0 3vh; font: 12px ui-monospace, 'SF Mono', Menlo, Monaco, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ms-bench-title { margin: 0 0 6vh; font-size: clamp(32px, 4.6vw, 68px); font-weight: 850; letter-spacing: -.045em; line-height: 1.04; color: #fff; }
.ms-bench-title span { display: block; color: rgba(255,255,255,.4); }
.ms-bench-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ms-bench-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 150px; align-items: center; column-gap: 20px; row-gap: 6px; }
.ms-bench-name { font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: #f4f4f5; }
.ms-bench-name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #8e8e96; }
.ms-bench-bar { height: 14px; border-radius: 7px; background: rgba(255,255,255,.07); overflow: hidden; }
.ms-bench-bar i { display: block; height: 100%; width: var(--w); border-radius: 7px; background: rgba(255,255,255,.32); }
.ms-bench-row.is-us .ms-bench-bar i { background: linear-gradient(90deg, #09FF00, #3FFF42 60%, #c5ffbe); box-shadow: 0 0 18px rgba(63,255,66,.35); }
.ms-bench-time { min-width: 5.5em; text-align: right; font: 600 17px ui-monospace, 'SF Mono', Menlo, Monaco, monospace; font-variant-numeric: tabular-nums; color: #f4f4f5; }
.ms-bench-time small { display: block; font-size: 11px; font-weight: 400; color: #8e8e96; }
.ms-bench-row.is-us .ms-bench-time { color: #80ff7f; }
.ms-bench-note { margin: 6vh 0 0; max-width: 760px; font-size: 13px; line-height: 1.6; color: #8e8e96; }
@media (max-width: 700px) {
  .ms-bench { padding: 2vh 16px 10vh; }
  .ms-bench-row { grid-template-columns: 1fr auto; }
  .ms-bench-bar { grid-column: 1 / -1; grid-row: 2; }
}
