/* Scientific showcase sections used by the production website. */
h1,
h2,
h3,
.eyebrow {
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
}

.hero {
  isolation: isolate;
  min-height: min(1080px, calc(100vh - 64px));
  min-height: min(1080px, calc(100dvh - 64px));
  color: #f5fbff;
  background:
    radial-gradient(circle at 72% 32%, rgba(6, 214, 181, .18), transparent 27%),
    radial-gradient(circle at 22% 78%, rgba(54, 113, 255, .15), transparent 31%),
    linear-gradient(145deg, #061019 0%, #091925 52%, #06111b 100%);
  border-radius: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(121, 224, 209, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 224, 209, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
}

.hero .eyebrow,
#map .eyebrow {
  color: #48e1ca;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1120px;
  margin-inline: auto;
  color: transparent;
  background: linear-gradient(108deg, #ffffff 12%, #c8f8f0 52%, #82d8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-transform: none;
  letter-spacing: -.055em;
  font-size: clamp(48px, 8.5vw, 112px);
  line-height: .94;
}

.hero-copy {
  max-width: 820px;
  color: #afc0ca;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.hero .primary {
  color: #07141d;
  background: #f7fffd;
  border-color: #f7fffd;
}

.hero .secondary {
  color: #eaf8f6;
  background: rgba(12, 30, 43, .7);
  border-color: #365160;
}

.hero .apk-note { color: #8197a4; }

.hero-phone-showcase {
  position: relative;
  width: min(970px, 100%);
  height: 510px;
  margin: 66px auto -36px;
}

.hero-phone-showcase .phone {
  position: absolute;
  width: min(255px, 29vw);
  margin: 0;
  padding: 7px;
  border-radius: 38px;
  background: #030a12;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .48);
  overflow: hidden;
}

.hero-phone-showcase .phone img { border-radius: 30px; }
.hero-phone-main { z-index: 3; top: 0; left: 50%; transform: translateX(-50%); }
.hero-phone-side { top: 74px; z-index: 2; opacity: .88; }
.hero-phone-left { left: 13%; transform: rotate(-8deg); }
.hero-phone-right { right: 13%; transform: rotate(8deg); }
.hero-phone-showcase figcaption { color: #b9c9d0; }

#map.section.dark {
  max-width: none;
  color: #f4fbff;
  background:
    radial-gradient(circle at 18% 24%, rgba(41, 103, 242, .18), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(1, 200, 172, .16), transparent 30%),
    linear-gradient(150deg, #07131e 0%, #0a1c28 52%, #06111a 100%);
  border-radius: 0;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
}

#map .dark-head {
  max-width: 1100px;
  margin: 0 auto 64px;
  text-align: center;
}

#map .dark-head h2 {
  max-width: 980px;
  margin: 14px auto 24px;
  color: #f7fcff;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: none;
}

#map .dark-head > p:last-child {
  max-width: 850px;
  margin-inline: auto;
  color: #aebfc9;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

#map .map-notes article {
  background: rgba(13, 31, 43, .82);
  border-color: rgba(111, 218, 202, .22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

#map .screen-stage {
  align-items: center;
}

.map-phone-showcase {
  position: relative;
  width: 100%;
  min-height: 690px;
}

.map-phone-showcase .phone {
  position: absolute;
  width: min(310px, 64%);
  margin: 0;
  padding: 7px;
  border-radius: 40px;
  background: #030a12;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .48);
  overflow: hidden;
}

.map-phone-showcase .phone img { border-radius: 31px; }
.map-phone-main { top: 0; left: 2%; z-index: 2; }
.map-phone-offset { top: 118px; right: 0; z-index: 3; transform: rotate(4deg); }

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(43px, 14vw, 68px); }
  #map .dark-head { margin-bottom: 36px; }
  #map .dark-head h2 { font-size: clamp(40px, 12vw, 62px); }
  .hero-phone-showcase { height: 330px; margin-top: 46px; }
  .hero-phone-showcase .phone { width: 170px; }
  .hero-phone-left { left: -42px; }
  .hero-phone-right { right: -42px; }
  .map-phone-showcase { min-height: 720px; }
  .map-phone-showcase .phone { width: 265px; max-width: 72vw; }
  .map-phone-main { left: 0; }
  .map-phone-offset { top: 310px; right: 0; }
}
