/* Wormy — sky blue, meadow green, logo yellow */

:root {
  --sky-top: #6ec4ef;
  --sky-mid: #9fd8f5;
  --sky-soft: #dff3ff;
  --grass: #7cfc00;
  --grass-deep: #3cb371;
  --lime: #32cd32;
  --gold: #ffd700;
  --gold-deep: #e8b923;
  --cream: #fff8e7;
  --ink: #163018;
  --ink-soft: #1a4d2e;
  --muted: #e8f7ff;
  --shadow: rgba(20, 70, 40, 0.22);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", system-ui, sans-serif;
  --shell: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: #fff;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-soft) 72%, #c8f0b0 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: var(--display);
  font-weight: 700;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.75rem;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sky__sun {
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 150, 0.7) 0%, rgba(255, 236, 150, 0) 68%);
  animation: sun-pulse 8s ease-in-out infinite;
}

.sky__cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  filter: blur(1px);
  animation: cloud-drift 28s linear infinite;
}

.sky__cloud--1 {
  width: 14rem;
  height: 4rem;
  top: 12%;
  left: -10%;
}

.sky__cloud--2 {
  width: 10rem;
  height: 3rem;
  top: 24%;
  right: -8%;
  animation-duration: 36s;
  animation-direction: reverse;
}

.sky__cloud--3 {
  width: 18rem;
  height: 4.5rem;
  top: 48%;
  left: 30%;
  animation-duration: 42s;
}

.sky__hill {
  position: absolute;
  bottom: -8%;
  width: 70%;
  height: 28%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #8be05a 0%, #4caf50 100%);
  opacity: 0.35;
}

.sky__hill--1 {
  left: -15%;
}

.sky__hill--2 {
  right: -20%;
  height: 22%;
  opacity: 0.28;
  background: linear-gradient(180deg, #9aea6a 0%, #3cb371 100%);
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top.is-solid {
  background: rgba(70, 160, 200, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px var(--shadow);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  text-shadow: 0 2px 0 #2e7d32;
}

.mark img {
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.top__nav a {
  opacity: 0.92;
}

.top__cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink) !important;
  box-shadow: 0 4px 14px rgba(232, 185, 35, 0.4);
  text-decoration: none !important;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 3.5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  animation: hero-ken 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(110, 196, 239, 0.28) 0%, rgba(110, 196, 239, 0.08) 35%, rgba(20, 70, 40, 0.55) 100%);
  pointer-events: none;
}

.hero__stage {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
}

.brand-lockup {
  margin: 0 0 0.85rem;
  font-size: clamp(3.4rem, 12vw, 5.5rem);
  color: var(--gold);
  letter-spacing: 0.02em;
  text-shadow:
    0 3px 0 #2e7d32,
    0 6px 0 #1b5e20,
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.1;
  border: 2px solid transparent;
  text-decoration: none !important;
}

.btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn--play {
  background: linear-gradient(180deg, var(--lime) 0%, var(--grass-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(60, 179, 113, 0.4);
}

.btn--quiet {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.24);
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.features {
  padding: 2rem 0 3.5rem;
}

.features__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 22px;
  background: rgba(255, 253, 245, 0.92);
  color: var(--ink-soft);
  box-shadow: 0 12px 28px var(--shadow);
}

.feature h3 {
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: #3d5c48;
  font-size: 0.98rem;
}

.path {
  padding: 1rem 0 3.5rem;
}

.path__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .path__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.path__beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.path__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.path__num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(232, 185, 35, 0.35);
}

.path__beats h3 {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.path__beats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.close {
  padding: 1rem 0 4rem;
}

.close__inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 215, 0, 0.28) 0%, transparent 60%),
    rgba(255, 253, 245, 0.94);
  color: var(--ink-soft);
  box-shadow: 0 18px 44px var(--shadow);
}

.close__icon {
  margin: 0 auto 1rem;
  border-radius: 22px;
  box-shadow: 0 10px 24px var(--shadow);
}

.close h2 {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.close p {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  color: #3d5c48;
}

.close .btn--play {
  margin-inline: auto;
}

.foot {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  background: rgba(26, 77, 46, 0.55);
  backdrop-filter: blur(8px);
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
}

.foot__brand img {
  border-radius: 8px;
}

.foot__by {
  font-family: var(--body);
  font-weight: 600;
  opacity: 0.8;
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

.foot__note {
  margin: 0;
  opacity: 0.78;
  font-size: 0.88rem;
}

.motion-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.motion-rise--2 { animation-delay: 0.12s; }
.motion-rise--3 { animation-delay: 0.22s; }
.motion-rise--4 { animation-delay: 0.32s; }

.motion-float {
  animation: float-y 5.5s ease-in-out infinite;
}

.motion-float--delay {
  animation-delay: 1.2s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(35vw); }
}

@keyframes sun-pulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

@keyframes hero-ken {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@media (max-width: 720px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
  }
}
