:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #fff;
  background: #3a9af4;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
body { margin: 0; }
.sky {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  overflow: hidden;
}
.brand { width: min(360px, 100%); text-align: center; }
.flight-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 280px;
  margin-bottom: 22px;
}
.plane-flight {
  position: relative;
  z-index: 2;
  width: min(320px, calc(100vw - 64px));
  aspect-ratio: 1;
  filter: drop-shadow(0 2px 1px rgb(20 72 123 / 18%))
    drop-shadow(0 9px 12px rgb(20 72 123 / 22%));
  animation: flying 6s ease-in-out 3.1s infinite;
}
.plane {
  display: block;
  width: 100%;
  height: 100%;
  animation: takeoff 2.1s cubic-bezier(.45, 0, .2, 1) 1s both;
}
.clouds {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  animation: clouds-appear 1s ease 3.1s forwards;
}
.cloud {
  position: absolute;
  left: 0;
  width: var(--width);
  height: auto;
  opacity: var(--opacity);
  filter: brightness(0) invert(1);
  animation: passing-cloud var(--duration) linear var(--delay) infinite;
  will-change: transform;
}
.clouds-front { z-index: 3; }
.cloud-one { --width: 300px; --opacity: .8; --duration: 29s; --delay: -11s; top: 2%; }
.cloud-two { --width: 120px; --opacity: .24; --duration: 32s; --delay: -24s; top: 26%; }
.cloud-three { --width: 380px; --opacity: .9; --duration: 26s; --delay: -3s; top: 51%; }
.cloud-four { --width: 130px; --opacity: .44; --duration: 27s; --delay: -17s; top: 78%; }
.cloud-five { --width: 90px; --opacity: .2; --duration: 36s; --delay: -29s; top: 61%; }
.cloud-six { --width: 85px; --opacity: .55; --duration: 19s; --delay: -9s; top: 34%; }
.cloud-seven { --width: 110px; --opacity: .65; --duration: 23s; --delay: -18s; top: 58%; }
.cloud-eight { --width: 65px; --opacity: .4; --duration: 17s; --delay: -3s; top: 72%; }

h1 {
  position: relative;
  margin: 0;
  font-size: 56px;
  font-weight: 650;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgb(15 55 100 / 15%);
}
.status {
  position: relative;
  margin: 14px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}
.motion-toggle {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #12324e;
  cursor: pointer;
  opacity: .6;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { opacity: 1; background: rgb(255 255 255 / 12%); }
.motion-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; opacity: 1; }
.play-icon { display: none; }
.is-paused .pause-icon { display: none; }
.is-paused .play-icon { display: block; }
.is-paused .plane, .is-paused .plane-flight, .is-paused .clouds, .is-paused .cloud {
  animation-play-state: paused;
}

@keyframes takeoff {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-8deg); }
  100% { transform: rotate(90deg); }
}
@keyframes flying {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes clouds-appear { to { opacity: 1; } }
@keyframes passing-cloud {
  from { transform: translateX(calc(100vw + var(--width))); }
  to { transform: translateX(calc(0px - var(--width))); }
}

@media (max-width: 600px) {
  .flight-stage { height: 240px; margin-bottom: 18px; }
  h1 { font-size: 48px; }
  .cloud-one { --width: 240px; }
  .cloud-three { --width: 290px; }
}
@media (max-height: 500px) {
  .sky { padding: 28px 24px; }
  .flight-stage { height: 150px; margin-bottom: 16px; }
  .plane-flight { width: 200px; }
  h1 { font-size: 40px; }
  .status { font-size: 16px; margin-top: 10px; }
  .cloud { width: calc(var(--width) * .65); }
}
@media (prefers-reduced-motion: reduce) {
  .plane, .plane-flight, .clouds, .cloud { animation: none; }
  .plane { transform: rotate(0deg); }
  .clouds { opacity: 0; }
  .motion-toggle { display: none; }
}

.sky { grid-template-columns: minmax(0, 360px) minmax(0, 440px); justify-content: center; gap: 80px; padding: 100px 32px 64px; }
.language-switch { position: absolute; top: max(22px, env(safe-area-inset-top)); left: max(24px, env(safe-area-inset-left)); display: flex; gap: 6px; z-index: 5; }
.language-switch a { color: #fff; background: transparent; border: 1px solid transparent; padding: 8px 12px; border-radius: 20px; font: inherit; font-size: 13px; cursor: pointer; }
.language-switch a[aria-current="page"] { background: rgb(255 255 255 / 16%); border-color: rgb(255 255 255 / 35%); }
.language-switch a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.beta-card { position: relative; z-index: 4; width: 100%; color: #163a5d; background: rgb(255 255 255 / 97%); border: 1px solid #fff; border-radius: 24px; padding: 34px; box-shadow: 0 18px 55px rgb(16 67 116 / 12%); }
.eyebrow { margin: 0 0 12px; color: #2776bc; font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.beta-card h2 { margin: 0; font-size: 29px; line-height: 1.2; letter-spacing: -.03em; }
.beta-intro { margin: 14px 0 24px; color: #516c84; font-size: 15px; line-height: 1.55; }
#beta-form > label { display: block; margin: 16px 0 7px; font-size: 13px; font-weight: 600; }
#beta-form > input, #beta-form > select { display: block; width: 100%; min-height: 46px; border: 1px solid #cbdce9; border-radius: 9px; background: #fff; color: #163a5d; padding: 10px 12px; font: inherit; font-size: 16px; }
#beta-form input:focus-visible, #beta-form select:focus-visible { outline: 2px solid #287ac5; outline-offset: 2px; }
#beta-form > .consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 12px; line-height: 1.5; font-weight: 400; color: #516c84; cursor: pointer; }
.consent input { margin: 2px 0 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: #287ac5; }
.signup-button { width: 100%; border: 0; border-radius: 10px; color: #fff; background: #216bb0; padding: 14px; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.signup-button:hover { background: #195b98; }
.signup-button:focus-visible { outline: 2px solid #163a5d; outline-offset: 3px; }
.signup-button:disabled { opacity: .65; cursor: wait; }
.privacy-note { font-size: 11px; line-height: 1.6; color: #60768a; margin: 14px 0 0; }
.form-feedback { margin: 0; font-size: 14px; line-height: 1.55; }
.form-feedback:not(:empty) { margin-top: 18px; padding: 12px; border-radius: 9px; background: #e7f4ec; color: #235a39; }
.form-feedback[data-error="true"] { color: #963d32; background: #fff0ed; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .sky { grid-template-columns: minmax(0, 440px); gap: 42px; padding: 90px 22px 40px; }
  .brand { width: min(360px, 100%); }
  .flight-stage { height: 220px; }
  .plane-flight { width: 280px; max-width: calc(100vw - 64px); }
}
@media (max-width: 420px) { .beta-card { padding: 25px 22px; border-radius: 20px; } .beta-card h2 { font-size: 26px; } }

.brand-description { position: relative; margin: 16px auto 0; max-width: 310px; font-size: 18px; font-weight: 500; line-height: 1.5; text-wrap: balance; }

.language-switch a { text-decoration: none; display: inline-block; }
