/* Home page. Desktop coordinates are taken from the live page at 1440px and expressed
   as fractions of the 980px content column so the layout scales down for tablets. */
.page-index .wrap { --c: 980; }

/* hero */
.h-hero { position: relative; height: 617px; overflow: visible; z-index: 2; }
.h-lines-l { position: absolute; left: calc(50% - 1126px); top: 84px; width: 855px; max-width: none; }
.h-lines-r { position: absolute; left: calc(50% + 187px); top: 346px; width: 805px; max-width: none; }
.h-hero-inner { text-align: center; padding-top: var(--s7); }
.h-title { color: var(--ink); }
.h-sub { color: var(--navy); margin-top: var(--s5); }
.h-btns { display: flex; justify-content: center; gap: var(--s6); margin-top: var(--s7); }
.h-btn { height: 56px; width: 236px; }
.h-btn em { line-height: 18px; }
.h-phone { position: absolute; left: calc(50% - 214px); top: 347px; width: 319px; z-index: 3; }

/* launch / navy */
.h-launch { background: var(--navy); color: #fff; position: relative; z-index: 1; }
.h-launch-inner { height: 588px; display: flex; }
.h-launch-text { padding-top: 160px; width: 460px; }
.h-gif { width: 269px; }
.h-launch-text .t-lead { margin-top: var(--s6); max-width: 446px; }
.h-docs { width: 236px; margin-top: var(--s7); }
.h-pins { position: absolute; inset: 0; pointer-events: none; }
.h-pins img { position: absolute; }
.h-pins .p27 { left: calc(651 / 980 * 100%); top: 244px; width: 87px; }
.h-pins .p29 { left: calc(652 / 980 * 100%); top: 383px; width: 86px; }
.h-pins .p30 { left: calc(765 / 980 * 100%); top: 324px; width: 86px; }
.h-pins .p28 { left: calc(873 / 980 * 100%); top: 244px; width: 83px; }
.h-pins .p31 { left: calc(869 / 980 * 100%); top: 383px; width: 87px; }

/* stats */
.h-stats-inner { height: 415px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; padding-top: 128px; }
.h-map { position: absolute; left: calc(112 / 980 * 100%); top: 34px; width: calc(754 / 980 * 100%); }
.stat { position: relative; text-align: center; font-weight: 700; line-height: 1.25; }
.stat .num { font-size: 48px; color: var(--orange); }
.stat .lbl { font-size: var(--fs-h3); color: var(--teal); }

/* hardware */
.h-hw { height: 524px; }
.h-hw h2 { text-align: center; color: var(--navy); padding-top: var(--s7); }
.h-logos { position: relative; height: 258px; margin-top: var(--s6); }
.h-logos img { position: absolute; }
.lg-tempo  { left: calc(73 / 980 * 100%);  top: 0;     width: calc(247 / 980 * 100%); }
.lg-noke   { left: calc(349 / 980 * 100%); top: 41px;  width: calc(92 / 980 * 100%); }
.lg-omni   { left: calc(530 / 980 * 100%); top: 41px;  width: calc(114 / 980 * 100%); }
.lg-acton  { left: calc(741 / 980 * 100%); top: 26px;  width: calc(92 / 980 * 100%); }
.lg-rentfun{ left: 0;                      top: 171px; width: calc(142 / 980 * 100%); }
.lg-okai   { left: calc(232 / 980 * 100%); top: 172px; width: calc(132 / 980 * 100%); }
.lg-axa    { left: calc(442 / 980 * 100%); top: 166px; width: calc(95 / 980 * 100%); }
.lg-on     { left: calc(628 / 980 * 100%); top: 155px; width: calc(132 / 980 * 100%); }
.lg-segway { left: calc(828 / 980 * 100%); top: 144px; width: calc(153 / 980 * 100%); }
.h-shop { display: flex; width: 236px; margin: var(--s5) auto 0; }

/* brand */
.h-brand-inner { height: 497px; display: flex; }
.h-icons { position: relative; width: calc(468 / 980 * 100%); flex: none; }
.h-icons img { position: absolute; border-radius: 22%; }
.h-icons .ic1 { left: 12px;  top: 97px;  width: 99px; }
.h-icons .ic2 { left: 16px;  top: 233px; width: 95px; }
.h-icons .ic3 { left: 132px; top: 48px;  width: 94px; }
.h-icons .ic4 { left: 130px; top: 168px; width: 99px; }
.h-icons .ic5 { left: 135px; top: 293px; width: 89px; }
.h-icons .ic6 { left: 250px; top: 102px; width: 96px; }
.h-icons .ic7 { left: 251px; top: 231px; width: 96px; }
.h-brand-text { padding-top: var(--s7); width: 483px; }
.h-brand-text h2 { color: var(--navy); }
.h-brand-text .t-lead { margin-top: var(--s4); }
.h-brand-text .btn { margin-top: var(--s6); }

/* tablet */
@media (max-width: 1023px) {
  .h-lines-l { left: -500px; } .h-lines-r { left: auto; right: -560px; }
  .h-launch-text { width: 55%; }
  .h-pins img { width: 9% !important; }
  .stat .num { font-size: 40px; }
  .h-logos { height: 260px; }
  .h-brand-inner { height: auto; padding-bottom: var(--s8); }
  .h-icons { width: 360px; }
  .h-brand-text { width: auto; flex: 1; }
}

/* mobile — follows the live mobile layout (stacked, centred) */
@media (max-width: 699px) {
  .h-hero { height: auto; padding-bottom: 0; }
  .h-lines-l, .h-lines-r { display: none; }
  .h-hero-inner { padding-top: var(--s5); }
  .h-sub { margin-top: var(--s4); }
  .h-btns { flex-direction: column; align-items: center; gap: var(--s3); margin-top: var(--s5); }
  .h-btn { height: 48px; width: 220px; }
  .h-phone { position: relative; left: auto; top: auto; width: 206px; margin: var(--s6) auto -146px; transform: translateX(-17.8%); } /* image has a shadow on its left; this centres the phone body */
  .h-launch-inner { height: auto; flex-direction: column; padding: 160px 0 var(--s7); }
  .h-launch-text { padding-top: var(--s8); width: auto; text-align: center; }
  .h-gif { width: 190px; margin: 0 auto var(--s4); }
  .h-launch-text .t-lead { margin-top: 0; }
  .h-docs { width: 220px; margin-top: var(--s5); }
  .h-pins { position: relative; inset: auto; height: 240px; width: 260px; margin: var(--s7) auto 0; }
  .h-pins img { width: 71px !important; }
  .h-pins .p27 { left: 0; top: 0; } .h-pins .p29 { left: 0; top: 113px; }
  .h-pins .p30 { left: calc(50% - 35px); top: 65px; }
  .h-pins .p28 { left: auto; right: 0; top: 0; } .h-pins .p31 { left: auto; right: 0; top: 113px; }
  .h-stats-inner { height: auto; grid-template-columns: 1fr; padding: var(--s9) 0 var(--s6); row-gap: var(--s6); }
  .h-map { left: -10px; width: calc(100% + 20px); top: 59px; }
  .stat { line-height: 1.25; }
  .stat .num { font-size: 32px; }
  .h-hw { height: auto; padding-bottom: var(--s7); }
  .h-hw h2 { padding: var(--s7) 0 0; }
  .h-logos { height: auto; margin: var(--s5) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); justify-items: center; align-items: center; }
  .h-logos img { position: static; width: auto !important; max-height: 60px; max-width: 120px; }
  .h-logos .lg-tempo { max-height: 90px; max-width: 170px; }
  .h-shop { margin: var(--s6) auto 0; }
  .h-brand-inner { flex-direction: column; height: auto; }
  .h-icons { width: 284px; height: 344px; margin: var(--s5) auto 0; }
  .h-icons .ic1 { left: 0; top: 54px; width: 86px; }
  .h-icons .ic2 { left: 2px; top: 172px; width: 82px; }
  .h-icons .ic3 { left: 100px; top: 10px; width: 82px; }
  .h-icons .ic4 { left: 98px; top: 116px; width: 86px; }
  .h-icons .ic5 { left: 102px; top: 226px; width: 78px; }
  .h-icons .ic6 { left: 198px; top: 58px; width: 84px; }
  .h-icons .ic7 { left: 199px; top: 172px; width: 84px; }
  .h-brand-text { padding: 0 0 var(--s7); text-align: center; }
  .h-brand-text .t-lead { margin-top: var(--s3); }
  .h-brand-text .btn { margin-top: var(--s5); }
}
