:root {
  color-scheme: dark;
  --void: #05070d;
  --flight-black: #10141d;
  --graphite: #171d29;
  --suit-panel: #1b2230;
  --orbit-steel: #64718a;
  --starlight: #ffffff;
  --moon-haze: #cad2e1;
  --ion-blue: #77a7ff;
  --pale-orbit: #8db4ff;
  --solar-gold: #f4bf4f;
  --aurora-mint: #55d6a5;
  --content-width: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  color: var(--starlight);
  background:
    radial-gradient(circle at 78% 17%, rgb(49 107 255 / 16%), transparent 26rem),
    radial-gradient(circle at 7% 53%, rgb(244 191 79 / 7%), transparent 24rem),
    var(--void);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle at 11% 18%, rgb(255 255 255 / 70%) 0 1px, transparent 1.5px),
    radial-gradient(circle at 89% 43%, rgb(119 167 255 / 80%) 0 1px, transparent 1.5px),
    radial-gradient(circle at 66% 79%, rgb(255 255 255 / 55%) 0 1px, transparent 1.5px),
    radial-gradient(circle at 24% 86%, rgb(244 191 79 / 65%) 0 1px, transparent 1.5px);
  background-size: 23rem 31rem, 29rem 37rem, 41rem 33rem, 37rem 43rem;
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--void);
  background: var(--starlight);
  border-radius: 0.75rem;
  font-weight: 750;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.care-story,
footer {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6rem;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.wordmark:focus-visible {
  outline: 3px solid var(--ion-blue);
  outline-offset: 0.45rem;
  border-radius: 0.35rem;
}

.wordmark-mark {
  position: relative;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgb(119 167 255 / 55%);
  border-radius: 50%;
  background: var(--flight-black);
  box-shadow: 0 0 1.25rem rgb(119 167 255 / 16%);
}

.wordmark-moon {
  width: 1rem;
  height: 1rem;
  border: 0.22rem solid var(--solar-gold);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.wordmark-star {
  position: absolute;
  top: 0.42rem;
  right: 0.38rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--ion-blue);
  box-shadow: 0 0 0.5rem var(--ion-blue);
}

.launch-note,
.welcome,
.section-kicker {
  margin: 0;
  color: var(--moon-haze);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.launch-note {
  padding: 0.5rem 0.8rem;
  border: 1px solid rgb(100 113 138 / 72%);
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero {
  display: grid;
  min-height: calc(100svh - 6rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3rem, 6vw, 6rem) 7rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.welcome,
.section-kicker {
  color: var(--pale-orbit);
  font-size: 0.96rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 10ch;
  margin: 1rem 0 1.5rem;
  font-size: clamp(3.75rem, 8vw, 7.4rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-summary {
  max-width: 37rem;
  margin: 0;
  color: var(--moon-haze);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 2rem 0 0;
  color: var(--starlight);
  font-size: 0.96rem;
  font-weight: 680;
}

.hero-note::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: var(--aurora-mint);
  border-radius: 50%;
  box-shadow: 0 0 0.8rem rgb(85 214 165 / 72%);
  content: "";
}

.wally-stage {
  position: relative;
  display: grid;
  min-height: 38rem;
  overflow: clip;
  place-items: center;
  isolation: isolate;
}

.wally-stage::before {
  position: absolute;
  z-index: -2;
  width: min(31rem, 87%);
  aspect-ratio: 1;
  border: 1px solid rgb(119 167 255 / 28%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 56%, rgb(23 29 41 / 92%) 0 48%, transparent 49%),
    radial-gradient(circle, rgb(119 167 255 / 20%), transparent 69%);
  box-shadow:
    inset 0 0 4rem rgb(119 167 255 / 8%),
    0 0 7rem rgb(49 107 255 / 12%);
  content: "";
}

.wally-stage img {
  z-index: 2;
  width: min(35rem, 100%);
  height: auto;
  filter: drop-shadow(0 2.2rem 2.5rem rgb(0 0 0 / 50%));
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid transparent;
  border-top-color: rgb(119 167 255 / 70%);
  border-right-color: rgb(119 167 255 / 24%);
  border-radius: 50%;
  transform: rotate(-23deg);
}

.orbit-wide {
  width: 116%;
  aspect-ratio: 1.45;
}

.orbit-close {
  width: 78%;
  aspect-ratio: 1;
  border-top-color: transparent;
  border-right-color: rgb(244 191 79 / 68%);
  transform: rotate(31deg);
}

.moon-glow {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 17%;
  width: 4.8rem;
  height: 4.8rem;
  border: 0.8rem solid rgb(244 191 79 / 85%);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 1.3rem rgb(244 191 79 / 25%));
  transform: rotate(-20deg);
}

.star {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--starlight);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 0 0.55rem rgb(255 255 255 / 66%));
}

.star-one {
  top: 19%;
  left: 7%;
}

.star-two {
  top: 28%;
  right: 2%;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--solar-gold);
}

.wally-label {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 9%;
  display: grid;
  min-width: 8.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--moon-haze);
  border: 1px solid rgb(100 113 138 / 70%);
  border-radius: 1rem;
  background: rgb(16 20 29 / 92%);
  box-shadow: 0 1rem 2.8rem rgb(0 0 0 / 35%);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.78rem;
  line-height: 1.3;
}

.wally-label span {
  color: var(--starlight);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 730;
}

.care-story {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid rgb(100 113 138 / 35%);
}

.section-intro {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 8vw, 8rem);
}

.section-intro .section-kicker {
  grid-column: 1 / -1;
}

h2 {
  max-width: 10ch;
  margin: 0.75rem 0 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 710;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  max-width: 35rem;
  margin: 0;
  color: var(--moon-haze);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

.care-grid {
  display: grid;
  margin-top: 4.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.care-card {
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgb(100 113 138 / 48%);
  border-radius: 1.5rem;
  background:
    linear-gradient(145deg, rgb(23 29 41 / 96%), rgb(16 20 29 / 96%));
}

.care-card:nth-child(2) {
  transform: translateY(1.5rem);
}

.care-card h3 {
  margin: 3.7rem 0 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.care-card p {
  margin: 0;
  color: var(--moon-haze);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

.card-symbol {
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
}

.today-symbol {
  border: 0.24rem solid var(--ion-blue);
  border-radius: 50%;
  box-shadow: 0 0 1.2rem rgb(119 167 255 / 18%);
}

.today-symbol::before,
.today-symbol::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.16rem;
  height: 0.85rem;
  background: var(--starlight);
  border-radius: 99px;
  content: "";
  transform-origin: 50% 0;
}

.today-symbol::before {
  transform: translate(-50%, 0) rotate(180deg);
}

.today-symbol::after {
  height: 0.65rem;
  transform: translate(-50%, 0) rotate(125deg);
}

.history-symbol {
  border: 0.18rem solid var(--solar-gold);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-26deg);
}

.history-symbol::after {
  position: absolute;
  top: 0.1rem;
  left: -0.15rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--solar-gold);
  border-radius: 50%;
  box-shadow:
    1.2rem 2.05rem 0 -0.09rem var(--ion-blue),
    2.25rem 0.95rem 0 -0.15rem var(--starlight);
  content: "";
}

.home-symbol {
  border: 0.2rem solid var(--aurora-mint);
  border-radius: 50% 50% 46% 46%;
  box-shadow: inset 0 0 0 0.45rem var(--flight-black);
}

.home-symbol::before,
.home-symbol::after {
  position: absolute;
  top: 0.15rem;
  width: 0.8rem;
  height: 0.95rem;
  border: 0.18rem solid var(--aurora-mint);
  background: var(--flight-black);
  content: "";
}

.home-symbol::before {
  left: 0.05rem;
  border-radius: 80% 10% 40% 20%;
  transform: rotate(-31deg);
}

.home-symbol::after {
  right: 0.05rem;
  border-radius: 10% 80% 20% 40%;
  transform: rotate(31deg);
}

footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 3rem;
  color: var(--moon-haze);
  border-top: 1px solid rgb(100 113 138 / 35%);
  font-family:
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.9rem;
}

footer p {
  margin: 0.25rem 0 0;
}

.footer-brand {
  color: var(--starlight);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 1.05rem;
  font-weight: 760;
}

@media (max-width: 52rem) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 4rem;
  }

  .hero-copy {
    text-align: center;
  }

  h1,
  .hero-summary {
    margin-inline: auto;
  }

  .hero-note {
    justify-content: center;
  }

  .wally-stage {
    min-height: 32rem;
  }

  .wally-stage img {
    width: min(31rem, 95%);
  }

  .section-intro {
    align-items: start;
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .care-grid {
    grid-template-columns: 1fr;
  }

  .care-card {
    min-height: 0;
  }

  .care-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 34rem) {
  .site-header,
  .hero,
  .care-story,
  footer {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .launch-note {
    padding: 0;
    border: 0;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.2rem);
  }

  .wally-stage {
    min-height: 26rem;
  }

  .wally-label {
    right: 0;
    bottom: 4%;
  }

  footer {
    display: grid;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
