:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #101131;
  background: #eaf3ff;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: pan-y;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  overflow: hidden;
}

.screen {
  height: 100%;
  overflow: hidden auto;
  overscroll-behavior: none;
  touch-action: pan-y;
  padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  background:
    radial-gradient(ellipse 75% clamp(8rem, 27vw, 14rem) at 103% calc(100% + 5.5rem), #cce0fd 98%, transparent 100%),
    radial-gradient(ellipse 63% clamp(7rem, 24vw, 12rem) at -5% calc(100% + 5.25rem), #dceaff 98%, transparent 100%),
    radial-gradient(ellipse at 68% 23%, #d7e8ff, transparent 56%),
    linear-gradient(150deg, #f8fbff, #ebf3ff 48%, #eaf3ff);
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  align-items: center;
  justify-items: center;
  width: min(100% - 2rem, 41rem);
  min-height: 100%;
  margin-inline: auto;
  padding-block:
    calc(1.25rem + env(safe-area-inset-top, 0px))
    calc(1.25rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

.brand svg { width: 1.35em; height: 1.35em; color: #0876e1; }

.illustration {
  display: block;
  width: min(100%, 27rem);
  height: auto;
  max-height: clamp(7rem, 31vh, 17rem);
  max-height: clamp(7rem, 31dvh, 17rem);
  margin-block: .65rem;
  object-fit: contain;
}

.intro h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 6.15rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .98;
}

.intro p {
  max-width: 29rem;
  margin: clamp(.7rem, 2.5vw, 1.1rem) auto 0;
  color: #3c4766;
  font-size: clamp(1rem, 2.7vw, 1.35rem);
  line-height: 1.45;
  text-wrap: balance;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.4rem, 1.8vw, .85rem);
  width: 100%;
  list-style: none;
  margin: clamp(1.3rem, 4vw, 2.15rem) 0 0;
  padding: 0;
}

.features li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: clamp(.78rem, 2.1vw, 1.15rem) .25rem;
  border: 1px solid #fff;
  border-radius: clamp(.85rem, 3vw, 1.4rem);
  background: linear-gradient(155deg, #fffe, #edf5ffc9);
  box-shadow: 0 .5rem 1.2rem #2665af19;
  color: #182440;
  font-size: clamp(.875rem, 2vw, 1.05rem);
  font-weight: 650;
  line-height: 1.26;
}

.features svg {
  width: clamp(1.6rem, 5vw, 2.35rem);
  height: auto;
  fill: none;
  stroke: #0870d1;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  min-height: clamp(3.65rem, 8vw, 4.45rem);
  margin-top: clamp(1.1rem, 4vw, 2.25rem);
  padding: .7rem 1rem;
  border: 1px solid #fff;
  border-radius: 99rem;
  background: linear-gradient(110deg, #029cdd, #3554db 41%, #8f20d9 90%);
  box-shadow: 0 .75rem 1.65rem #425dd649;
  color: #fff;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow .18s ease, filter .18s ease;
}

.connect-icon {
  display: grid;
  place-items: center;
  flex: none;
  padding-right: .75rem;
  border-right: 1px solid #fffc;
}

.connect-icon svg { width: 1.4em; height: 1.4em; }
.connect:hover { box-shadow: 0 .85rem 1.8rem #425dd660; filter: brightness(1.05); }
.connect:focus-visible { outline: 3px solid #1b47ab; outline-offset: 5px; }

@media (min-width: 51rem) {
  .landing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-template-areas: "brand illustration" "intro illustration" "features illustration" "connect illustration";
    column-gap: clamp(1rem, 4vw, 3.75rem);
    width: min(100% - 5rem, 66rem);
    text-align: left;
  }

  .brand { grid-area: brand; justify-self: start; margin-bottom: 1.65rem; }
  .illustration { grid-area: illustration; width: 100%; max-height: 24rem; margin: 0; }
  .intro { grid-area: intro; justify-self: start; }
  .intro p { margin-inline: 0; text-wrap: pretty; }
  .features { grid-area: features; text-align: center; }
  .connect { grid-area: connect; }
}

@media (max-width: 21rem) {
  .landing { width: min(100% - 1.25rem, 41rem); }
}

@media (prefers-reduced-motion: reduce) {
  .connect { transition: none; }
}
