:root {
  color-scheme: light;
  --sky-top: #8ec8ef;
  --sky-mid: #f2a08c;
  --sky-low: #ffe2bd;
  --ink: #4a2517;
  --brown: #6b3d2f;
  --cream: #fff8ea;
  --green: #53cf42;
  --green-dark: #33972a;
  --gold: #ffd34d;
  --gold-dark: #dc9434;
  --blue: #4aa3ef;
  --blue-dark: #287fd4;
  --pink: #f16e63;
  --panel: rgba(255, 248, 234, 0.88);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--sky-top);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 43%, var(--sky-low) 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.33);
  box-shadow: 0 14px 38px rgba(74, 37, 23, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  color: white;
  text-shadow: 0 3px 10px rgba(74, 37, 23, 0.28);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(74, 37, 23, 0.2);
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.nav button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 15px;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  color: white;
  cursor: pointer;
  text-shadow: 0 2px 6px rgba(74, 37, 23, 0.2);
}

.nav a {
  background: linear-gradient(180deg, #71dd58, var(--green));
  box-shadow: 0 5px 0 var(--green-dark), 0 12px 22px rgba(51, 151, 42, 0.26);
}

.nav button {
  color: rgba(74, 37, 23, 0.82);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 124px 22px 84px;
  overflow: hidden;
  isolation: isolate;
}

.sky,
.sky span {
  position: absolute;
  pointer-events: none;
}

.sky {
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.cloud {
  width: 190px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 250, 236, 0.86);
  filter: drop-shadow(0 12px 18px rgba(130, 82, 55, 0.12));
  animation: cloud-drift 20s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 20px;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 25px;
  width: 78px;
  height: 78px;
}

.cloud::after {
  right: 24px;
  width: 94px;
  height: 94px;
}

.cloud-one {
  top: 19%;
  left: 4%;
}

.cloud-two {
  top: 10%;
  right: -38px;
  transform: scale(1.24);
  animation-duration: 26s;
  animation-delay: -8s;
}

.cloud-three {
  top: 59%;
  left: 67%;
  transform: scale(0.78);
  animation-duration: 22s;
  animation-delay: -14s;
}

.platform {
  width: clamp(144px, 18vw, 240px);
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #6de45b 0%, var(--green) 65%, #42b735 66%);
  box-shadow: 0 7px 0 var(--green-dark), 0 16px 28px rgba(74, 37, 23, 0.16);
  animation: platform-float 4.6s ease-in-out infinite;
}

.platform::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 22px;
  width: 58%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.platform-one {
  top: 31%;
  left: 12%;
}

.platform-two {
  top: 49%;
  right: 12%;
  background: linear-gradient(180deg, #c9a77a 0%, #bb9568 66%, #a47d55 67%);
  box-shadow: 0 7px 0 #926d4b, 0 16px 28px rgba(74, 37, 23, 0.14);
  animation-delay: -1s;
}

.platform-three {
  left: 8%;
  bottom: 9%;
  animation-delay: -2.2s;
}

.lift {
  top: 72%;
  left: 56%;
  background: linear-gradient(180deg, #61b8fb 0%, var(--blue) 66%, #2f83d8 67%);
  box-shadow: 0 7px 0 var(--blue-dark), 0 16px 28px rgba(45, 113, 185, 0.2);
  animation: lift-ride 3.8s ease-in-out infinite;
}

.star {
  width: 44px;
  height: 44px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
  filter: drop-shadow(0 4px 0 var(--gold-dark)) drop-shadow(0 12px 18px rgba(74, 37, 23, 0.14));
  animation: twinkle 1.7s ease-in-out infinite;
}

.star-one {
  top: 24%;
  left: 46%;
}

.star-two {
  top: 43%;
  left: 18%;
  transform: scale(0.82);
  animation-delay: -0.5s;
}

.star-three {
  top: 66%;
  right: 21%;
  transform: scale(0.72);
  animation-delay: -1s;
}

.hero-inner {
  width: min(1120px, 100%);
  min-height: calc(92svh - 208px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  align-items: center;
  gap: 28px;
}

.hero-copy {
  max-width: 650px;
  color: white;
  text-shadow: 0 4px 16px rgba(74, 37, 23, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #b3542a;
  text-shadow: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.84;
  letter-spacing: 0;
  color: #fff;
}

.lead {
  width: min(590px, 100%);
  margin: 24px 0 0;
  font-size: clamp(19px, 2.3vw, 28px);
  line-height: 1.3;
  font-weight: 850;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 17px 22px;
  font: inherit;
  font-weight: 950;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.button:hover,
.button:focus-visible,
.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav a:focus-visible,
.nav button:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.primary {
  color: white;
  background: linear-gradient(180deg, #70df58, var(--green));
  box-shadow: 0 8px 0 var(--green-dark), 0 18px 32px rgba(51, 151, 42, 0.28);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 248, 234, 0.84);
  box-shadow: 0 8px 0 rgba(124, 87, 62, 0.3), 0 18px 32px rgba(74, 37, 23, 0.16);
}

.blip-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.blip {
  width: min(420px, 78vw);
  border-radius: 36px;
  filter: drop-shadow(0 24px 36px rgba(74, 37, 23, 0.22));
  animation: blip-hop 3.2s ease-in-out infinite;
}

.shadow {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 230px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(74, 37, 23, 0.18);
  filter: blur(2px);
  animation: shadow-pulse 3.2s ease-in-out infinite;
}

.intro {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: -26px auto 0;
  padding: 54px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0 50% auto auto;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.intro-copy {
  padding-top: 18px;
}

.intro h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 0.98;
}

.intro p {
  max-width: 590px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 750;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-height: 230px;
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 16px 34px rgba(74, 37, 23, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature-mark {
  display: block;
  width: 72px;
  height: 22px;
  margin-bottom: 28px;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(74, 37, 23, 0.16);
}

.feature.green .feature-mark {
  background: var(--green);
}

.feature.amber .feature-mark {
  background: var(--gold);
}

.feature.blue .feature-mark {
  background: var(--blue);
}

.feature h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1;
}

.feature p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 750;
}

@keyframes cloud-drift {
  0% {
    translate: -22px 0;
  }
  50% {
    translate: 22px 0;
  }
  100% {
    translate: -22px 0;
  }
}

@keyframes platform-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -13px;
  }
}

@keyframes lift-ride {
  0%,
  100% {
    translate: 0 -30px;
  }
  50% {
    translate: 0 38px;
  }
}

@keyframes twinkle {
  0%,
  100% {
    scale: 1;
    opacity: 0.9;
  }
  50% {
    scale: 1.14;
    opacity: 1;
  }
}

@keyframes blip-hop {
  0%,
  100% {
    translate: 0 8px;
    rotate: -1deg;
  }
  50% {
    translate: 0 -28px;
    rotate: 2deg;
  }
}

@keyframes shadow-pulse {
  0%,
  100% {
    scale: 1;
    opacity: 0.22;
  }
  50% {
    scale: 0.74;
    opacity: 0.12;
  }
}

@media (max-width: 860px) {
  .topbar {
    width: min(540px, calc(100% - 20px));
    padding: 8px;
    border-radius: 20px;
  }

  .brand span {
    display: none;
  }

  .nav a,
  .nav button {
    padding: 11px 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 96svh;
    padding: 108px 18px 78px;
  }

  .hero-inner {
    min-height: calc(96svh - 186px);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy {
    align-self: end;
  }

  h1 {
    font-size: clamp(56px, 18vw, 92px);
  }

  .lead {
    font-size: 18px;
  }

  .actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 16px;
  }

  .blip-scene {
    min-height: 286px;
  }

  .blip {
    width: min(300px, 72vw);
    border-radius: 28px;
  }

  .shadow {
    bottom: 16px;
    width: 170px;
  }

  .platform-one {
    top: 66%;
    left: -34px;
  }

  .platform-two {
    top: 59%;
    right: -74px;
  }

  .lift {
    top: 77%;
    left: 64%;
  }

  .star-one {
    top: 23%;
    left: 79%;
    width: 34px;
    height: 34px;
  }

  .star-two {
    top: 48%;
    left: 11%;
    width: 32px;
    height: 32px;
  }

  .intro {
    width: min(540px, calc(100% - 28px));
    margin-top: -20px;
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

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

  .feature {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
