.glw-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overflow: auto;
  color: #fff8ef;
  background: radial-gradient(ellipse at 55% 34%, #214c45 0%, #10272a 44%, #0c1620 78%);
  font-family: system-ui, sans-serif;
}
.glw-intro[open] { display: grid; place-items: center; }
.glw-intro::backdrop { background: #0c1620; }
.glw-intro__stage {
  width: min(92vw, 850px);
  min-height: min(58vh, 490px);
  display: grid;
  place-items: center;
  perspective: 850px;
  text-align: center;
  padding: 58px 12px 24px;
}
.glw-intro__scene {
  grid-area: 1 / 1;
  width: 100%;
  visibility: hidden;
}
.glw-intro__scene.is-current {
  visibility: visible;
  animation: glw-intro-arrive 570ms cubic-bezier(.2,.8,.2,1) both;
}
.glw-intro__logo {
  display: block;
  width: min(100%, 370px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 20px 20px #050a107a);
}
.glw-intro__brand {
  color: #d1f3e4;
  font-size: clamp(15px, 3vw, 25px);
  font-weight: 700;
  letter-spacing: .17em;
}
.glw-intro__question {
  font-family: Gulzar, "Noto Naskh Arabic", "Urdu Typesetting", serif;
  font-size: clamp(29px, 6vw, 59px);
  line-height: 1.9;
  color: #fff8ef;
}
.glw-intro__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #e0f7ed;
  font-size: clamp(20px, 4vw, 39px);
  font-weight: 700;
  line-height: 1.5;
}
.glw-intro__lines li + li { margin-top: .24em; }
.glw-intro__skip {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #b7e5d4;
  border-radius: 999px;
  color: #fff;
  background: #1d383b;
  font: 600 14px system-ui, sans-serif;
  z-index: 1;
}
.glw-intro__skip:focus-visible { outline: 3px solid #e8ffef; outline-offset: 3px; }
@keyframes glw-intro-arrive {
  from { opacity: 0; transform: translateZ(-110px) rotateX(-13deg) translateY(22px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glw-intro__scene.is-current { animation: none; }
}

.glw-intro__stage::before {
  content: "";
  grid-area: 1 / 1;
  width: min(68vw, 560px);
  height: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 26%, #acffe521 51%, transparent 74%);
  transform: skewX(-13deg);
  animation: glw-intro-light 7s ease-out both;
}
@keyframes glw-intro-light {
  0% { opacity: 0; translate: -25% 0; }
  25% { opacity: .8; }
  80%,100% { opacity: 0; translate: 25% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .glw-intro__stage::before { animation: none; }
}

/* The landing page stays visible behind the introduction. */
.glw-intro { background: transparent; }
.glw-intro::backdrop {
  background: #101f24bf;
  backdrop-filter: blur(15px);
}
.glw-intro__stage::before { content: none; }
.glw-intro__logo { margin: 0 auto; }
.glw-intro__question {
  color: #fff8ef !important;
  -webkit-text-fill-color: #fff8ef !important;
  text-wrap: balance;
}
.glw-intro__lines {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4.8vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
.glw-intro__lines li:nth-child(2) { color: #b8f4da; font-style: italic; }
.glw-intro__scene.is-current li { animation: glw-intro-arrive .48s both; }
.glw-intro__scene.is-current li:nth-child(2) { animation-delay: .22s; }
.glw-intro__scene.is-current li:nth-child(3) { animation-delay: .44s; }
@media (prefers-reduced-motion: reduce) {
  .glw-intro__scene.is-current li { animation: none; }
}

html body.glw-v5.glw-colorful #glw-landing-intro .glw-intro__question { color: #fff8ef !important; -webkit-text-fill-color: #fff8ef !important; }

@media (max-width: 600px), (max-height: 480px) {
  .glw-intro__stage {
    box-sizing: border-box;
    width: min(100%, 400px);
    min-height: 0;
    padding: 62px clamp(24px, 8vw, 36px) 24px;
  }
  .glw-intro__logo { width: clamp(140px, 51vw, 220px); max-height: 28svh; object-fit: contain; }
  .glw-intro .glw-intro__question,
  html body.glw-v5.glw-colorful #glw-landing-intro .glw-intro__question {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem) !important;
    line-height: 1.85 !important;
    max-width: 15em;
    margin-inline: auto;
  }
  .glw-intro__lines {
    max-width: 16em;
    margin-inline: auto;
    font-size: clamp(1rem, 4.4vw, 1.3rem);
    line-height: 1.4;
    letter-spacing: -.02em;
    text-wrap: balance;
  }
  .glw-intro__lines li + li { margin-top: .55em; }
}
