:root {
  color-scheme: light;
  --blue: #2f6fed;
  --blue-deep: #2459d8;
  --navy: #16345f;
  --slate: #5f6c7d;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--slate);
  background:
    radial-gradient(circle at 10% 6%, rgb(127 176 255 / 0.34), transparent 29rem),
    radial-gradient(circle at 90% 95%, rgb(47 111 237 / 0.16), transparent 33rem),
    #f4f7fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgb(22 52 95 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(22 52 95 / 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--navy);
  font-size: 24px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 7px 18px rgb(36 89 216 / 0.22);
}

main {
  display: grid;
  place-items: center;
  padding-block: clamp(44px, 8vh, 92px);
}

.holding-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.86);
  border-radius: 30px;
  background: rgb(255 255 255 / 0.88);
  box-shadow:
    0 1px 2px rgb(22 52 95 / 0.05),
    0 28px 70px -28px rgb(22 52 95 / 0.32);
  backdrop-filter: blur(16px);
}

.copy {
  align-self: center;
  padding: clamp(48px, 7vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgb(47 111 237 / 0.12);
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 690;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 em {
  color: #6f7f94;
  font-style: normal;
}

.lede {
  max-width: 31rem;
  margin: 27px 0 0;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 34px;
  padding: 0 22px;
  border-radius: 10px;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 10px 24px -10px rgb(36 89 216 / 0.7);
  font-size: 16px;
  font-weight: 680;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.app-link svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.app-link:hover {
  background: var(--blue-deep);
  box-shadow: 0 14px 28px -10px rgb(36 89 216 / 0.8);
  transform: translateY(-2px);
}

.app-link:hover svg {
  transform: translateX(3px);
}

.app-link:focus-visible {
  outline: 3px solid rgb(47 111 237 / 0.34);
  outline-offset: 4px;
}

.brand-field {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 42%, rgb(127 176 255 / 0.48), transparent 14rem),
    linear-gradient(145deg, #193b70, #10294e 72%);
  isolation: isolate;
}

.brand-field::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: radial-gradient(circle, black, transparent 68%);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
}

.orbit-large {
  width: 390px;
  height: 230px;
}

.orbit-small {
  width: 255px;
  height: 355px;
  transform: translate(-50%, -50%) rotate(31deg);
}

.mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.46);
  border-radius: 32px;
  background: rgb(255 255 255 / 0.94);
  box-shadow:
    0 30px 60px -22px rgb(0 8 24 / 0.7),
    0 0 0 12px rgb(255 255 255 / 0.06);
  transform: translate(-50%, -50%) rotate(3deg);
}

.mark img {
  width: 74px;
  height: 74px;
  border-radius: 20px;
}

.spark {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a9c8ff;
  box-shadow: 0 0 0 7px rgb(169 200 255 / 0.1), 0 0 22px #7fb0ff;
}

.spark-one {
  top: 22%;
  right: 19%;
}

.spark-two {
  right: 28%;
  bottom: 18%;
  width: 6px;
  height: 6px;
}

.spark-three {
  bottom: 28%;
  left: 18%;
  width: 7px;
  height: 7px;
}

footer {
  color: var(--slate);
  font-size: 13px;
  letter-spacing: 0.015em;
  text-align: center;
}

@media (max-width: 780px) {
  .holding-card {
    grid-template-columns: 1fr;
  }

  .copy {
    padding: 48px 34px 52px;
  }

  .brand-field {
    min-height: 280px;
  }

  .orbit-large {
    width: 330px;
    height: 185px;
  }

  .orbit-small {
    width: 210px;
    height: 300px;
  }
}

@media (max-width: 460px) {
  .page-shell {
    padding-inline: max(16px, env(safe-area-inset-left));
  }

  main {
    padding-block: 34px 46px;
  }

  .holding-card {
    border-radius: 22px;
  }

  .copy {
    padding: 38px 25px 42px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .app-link {
    width: 100%;
    justify-content: center;
  }

  .brand-field {
    min-height: 230px;
  }

  .mark {
    width: 96px;
    height: 96px;
    border-radius: 25px;
  }

  .mark img {
    width: 59px;
    height: 59px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-link,
  .app-link svg {
    transition: none;
  }

  .app-link:hover,
  .app-link:hover svg {
    transform: none;
  }
}
