:root {
  --ink: #315b40;
  --green: #83a95b;
  --lime: #bad46b;
  --cream: #f7f1df;
  --coral: #e9836f;
  --sun: #f4c967;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(42px, 8vh, 64px) clamp(20px, 5vw, 48px) 50px;
  text-align: center;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(.2px);
}

.hero::before {
  width: min(82vw, 760px);
  aspect-ratio: 1;
  background: #e8ebbb;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
}

.hero::after {
  width: 310px; height: 160px;
  border-radius: 50% 50% 0 0;
  background: #dce8b1;
  bottom: -55px; right: -60px;
}

.content {
  width: min(100%, 500px);
  max-width: 500px;
}

.avocado {
  position: relative;
  width: 134px;
  height: 160px;
  margin: 0 auto 23px;
  animation: float 3.5s ease-in-out infinite;
}

.fruit, .pit, .eye, .cheek, .smile, .leaf { position: absolute; display: block; }
.fruit--outer {
  inset: 14px 5px 0;
  background: var(--green);
  border-radius: 49% 51% 45% 47% / 39% 39% 60% 60%;
  transform: rotate(-7deg);
}
.fruit--inner {
  inset: 22px 14px 8px;
  background: var(--lime);
  border-radius: 49% 51% 45% 47% / 39% 39% 60% 60%;
  transform: rotate(-7deg);
}
.pit {
  width: 48px; height: 48px;
  bottom: 17px; left: 43px;
  border-radius: 50%;
  background: #c9804e;
  box-shadow: inset -5px -6px 0 #af6b42;
}
.eye { width: 6px; height: 9px; background: var(--ink); border-radius: 50%; top: 73px; }
.eye--left { left: 47px; } .eye--right { right: 42px; }
.cheek { width: 13px; height: 6px; background: #ed9d88; opacity: .65; border-radius: 50%; top: 88px; }
.cheek--left { left: 31px; } .cheek--right { right: 27px; }
.smile { width: 15px; height: 8px; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 15px 15px; top: 89px; left: 59px; }
.leaf { background: #5e8a49; width: 24px; height: 42px; border-radius: 100% 0 100% 0; top: 1px; }
.leaf--left { left: 45px; transform: rotate(-37deg); } .leaf--right { left: 63px; transform: scaleX(-1) rotate(-37deg); }

.eyebrow {
  margin: 0 0 9px;
  color: #66865a;
  font-size: clamp(.68rem, 1.8vw, .78rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font: 600 clamp(3.5rem, 12vw, 5.5rem)/.9 "Fredoka", sans-serif;
  letter-spacing: -.07em;
}
h1 em { color: var(--coral); font-style: normal; }
.intro {
  max-width: 385px;
  margin: clamp(18px, 3vw, 24px) auto clamp(22px, 4vw, 28px);
  font-size: clamp(.94rem, 2.5vw, 1.1rem);
  line-height: 1.55;
}

.coming-soon {
  width: fit-content;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 6px 0 rgba(49, 91, 64, .13);
  color: #fffdf5;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.heart { color: var(--sun); animation: pulse 1.4s ease-in-out infinite; }

footer { position: absolute; bottom: 24px; color: #72906b; font-size: .72rem; letter-spacing: .04em; }
.dot { position: absolute; z-index: -1; border-radius: 50%; opacity: .9; animation: drift 5s ease-in-out infinite alternate; }
.dot--coral { width: 52px; height: 52px; background: var(--coral); top: 17%; left: 12%; }
.dot--yellow { width: 30px; height: 30px; background: var(--sun); bottom: 19%; left: 16%; animation-delay: -2s; }
.sparkle { position: absolute; color: var(--coral); font-size: 26px; animation: twinkle 2s ease-in-out infinite; }
.sparkle--one { top: 21%; right: 15%; } .sparkle--two { right: 24%; bottom: 18%; color: var(--sun); animation-delay: -1s; }

@keyframes float { 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes pulse { 50% { transform: scale(1.3); } }
@keyframes drift { to { transform: translate(10px, -12px); } }
@keyframes twinkle { 50% { transform: scale(.55) rotate(25deg); opacity: .45; } }

@media (max-width: 480px) {
  .hero { padding: 38px 20px 58px; }
  .hero::before { width: 112vw; transform: translate(-50%, -51%); }
  .hero::after { width: 220px; height: 110px; bottom: -35px; right: -75px; }
  .avocado { transform: scale(.88); margin-bottom: 9px; }
  .dot--coral { left: 5%; top: 14%; width: 34px; height: 34px; }
  .dot--yellow { left: 7%; bottom: 14%; width: 22px; height: 22px; }
  .sparkle--one { right: 7%; }
  .sparkle--two { right: 10%; bottom: 14%; }
  .intro { max-width: 310px; }
  .coming-soon { padding: 11px 15px; gap: 8px; font-size: .75rem; }
  footer { bottom: 18px; padding-inline: 20px; font-size: .64rem; }
}

@media (max-height: 680px) and (min-width: 481px) {
  .hero { padding-top: 30px; padding-bottom: 40px; }
  .avocado { transform: scale(.82); margin-bottom: 2px; }
  .intro { margin-block: 14px 18px; }
  footer { bottom: 14px; }
}

@media (min-width: 768px) {
  .hero::before { width: min(68vw, 760px); }
  .dot--coral { left: 18%; }
  .dot--yellow { left: 22%; }
  .sparkle--one { right: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
