.screen-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--screen-primary, #348157);
  background-image:
    radial-gradient(ellipse at 82% 12%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, var(--screen-primary, #348157), #205f40);
  color: #fff;
  font-family: "Poppins", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.screen-layout {
  position: relative;
  z-index: 0;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  align-content: center;
  justify-items: center;
  gap: 1.15rem;
  overflow: hidden;
  padding:
    calc(1.25rem + env(safe-area-inset-top, 0px))
    1rem
    calc(1.25rem + env(safe-area-inset-bottom, 0px));
  isolation: isolate;
}

.screen-layout::before,
.screen-layout::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.screen-layout::before {
  top: 8%;
  right: -7rem;
  width: 15rem;
  height: 15rem;
}

.screen-layout::after {
  bottom: 6%;
  left: -9rem;
  width: 19rem;
  height: 19rem;
}

.screen-card {
  box-sizing: border-box;
  width: min(100%, 440px);
  padding: clamp(1.5rem, 6vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.75rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.17),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow: 0 1.5rem 4rem rgba(10, 48, 29, 0.2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-align: center;
}

.screen-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.screen-brand:focus-visible,
.screen-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.screen-brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--screen-primary, #348157);
  font-size: 1.25rem;
}

.screen-brand-mark.app-logo-mark {
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 220% 220%;
}

.screen-brand-mark .footprint-icon {
  width: 1rem;
  height: 1.5rem;
}

.screen-brand-name {
  max-width: 14rem;
  overflow: hidden;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-art {
  position: relative;
  display: grid;
  width: 9.5rem;
  height: 9.5rem;
  margin: 2.2rem auto 1.7rem;
  place-items: center;
}

.screen-art-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 0.8rem rgba(255, 255, 255, 0.035),
    0 0 0 1.6rem rgba(255, 255, 255, 0.025);
}

.screen-art-icon {
  display: grid;
  width: 6.25rem;
  height: 6.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1rem 2.5rem rgba(17, 63, 39, 0.2);
  color: var(--screen-primary, #348157);
  font-size: 2.6rem;
  transform: rotate(-5deg);
}

.screen-art-icon .footprint-icon {
  width: 2.4rem;
  height: 3.6rem;
}

.screen-art-spark {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.screen-art-spark-one {
  top: 0.85rem;
  right: 0.55rem;
}

.screen-art-spark-two {
  bottom: 0.65rem;
  left: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
}

.screen-copy {
  margin-bottom: 1.8rem;
}

.screen-eyebrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.screen-copy h1 {
  margin: 0.65rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.screen-copy p {
  max-width: 20rem;
  margin: 0.8rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.screen-button {
  display: flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.65rem 0.55rem 1.35rem;
  border: 1px solid var(--screen-button-color, #348157);
  border-radius: 999px;
  background: var(--screen-button-color, #348157);
  box-shadow: 0 0.8rem 1.8rem rgba(13, 55, 33, 0.2);
  color: var(--screen-button-font, #fff);
  font-size: 0.95rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.screen-button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.screen-button > i {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
}

.screen-button:hover {
  box-shadow: 0 1rem 2rem rgba(13, 55, 33, 0.26);
  color: var(--screen-button-font, #fff);
  transform: translateY(-2px);
}

.screen-tagline {
  max-width: 22rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-height: 680px) {
  .screen-layout {
    gap: 0.75rem;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .screen-card {
    padding: 1.25rem clamp(1.25rem, 6vw, 2rem);
  }

  .screen-art {
    width: 7rem;
    height: 7rem;
    margin: 1.35rem auto 1rem;
  }

  .screen-art-icon {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.5rem;
    font-size: 2rem;
  }

  .screen-copy {
    margin-bottom: 1.2rem;
  }
}

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