:root {
  --c-deep-green: #2C7865;
  --c-orange: #FF9800;
  --c-fresh-green: #90D26D;
  --c-mint: #D9EDBF;
  --c-ink: #102E29;
  --c-body: #4A635D;
  --c-bg: #F6F7F1;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --page-x: clamp(1.5rem, 5vw, 4rem);
  --page-max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: light;
  background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--c-ink);
  background:
    radial-gradient(circle at 82% 38%, rgba(217, 237, 191, 0.48) 0 15%, transparent 36%),
    var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--page-max);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(1.5rem, 4vw, 2.5rem));
  padding-right: calc(env(safe-area-inset-right, 0px) + var(--page-x));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(1.25rem, 3vw, 2rem));
  padding-left: calc(env(safe-area-inset-left, 0px) + var(--page-x));
}

.logo {
  width: auto;
  height: 40px;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
  padding-block: clamp(2.25rem, 6vh, 5rem);
}

.hero__copy { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(3rem, 1.65rem + 4.5vw, 5.35rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.045em;
  color: var(--c-ink);
}

.hero__title span { display: block; }

.hero__lede {
  max-width: 34rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(1.05rem, 0.96rem + 0.38vw, 1.24rem);
  line-height: 1.65;
  color: var(--c-body);
  text-wrap: pretty;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 0.68rem 1.28rem 0.68rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-ink);
  background: rgba(217, 237, 191, 0.88);
  border: 1px solid rgba(44, 120, 101, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(16, 46, 41, 0.05);
}

.status__dot {
  position: relative;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--c-orange);
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-orange);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 590px);
  min-width: 0;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 76%;
  aspect-ratio: 1;
  right: 4%;
  top: 13%;
  border-radius: 48% 52% 58% 42% / 44% 47% 53% 56%;
  background: rgba(217, 237, 191, 0.64);
  filter: blur(2px);
}

.hero__mascot {
  width: 100%;
  filter: drop-shadow(0 18px 28px rgba(16, 46, 41, 0.09));
  animation: mascot-in 1.05s var(--ease) 0.12s both;
}

.site-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(74, 99, 93, 0.14);
  font-size: 0.8125rem;
  color: var(--c-body);
}

.reveal { animation: reveal 0.9s var(--ease) both; }
.hero__title.reveal { animation-delay: 0.08s; }
.hero__lede.reveal  { animation-delay: 0.18s; }
.status.reveal      { animation-delay: 0.28s; }
.site-footer.reveal { animation-delay: 0.38s; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes mascot-in {
  from { opacity: 0; transform: translateY(12px) scale(0.965); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

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

@media (max-width: 920px) {
  .logo { height: 34px; }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(1rem, 3vh, 2rem);
    padding-block: clamp(1.5rem, 4vh, 3rem);
  }

  .hero__visual {
    order: -1;
    justify-self: center;
    width: min(80vw, 430px);
    margin-top: -0.5rem;
    margin-bottom: -1rem;
  }

  .hero__copy { text-align: left; }
  .hero__lede { max-width: 38rem; }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at 58% 28%, rgba(217, 237, 191, 0.5) 0 14%, transparent 34%),
      var(--c-bg);
  }

  .page {
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.25rem);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  }

  .hero {
    padding-block: 1.15rem 1.7rem;
    gap: 0.7rem;
  }

  .hero__visual {
    width: min(88vw, 360px);
    margin-top: -0.25rem;
    margin-bottom: -0.5rem;
  }

  .hero__title {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  .hero__lede {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .status { margin-top: 1.45rem; }
  .site-footer { font-size: 0.75rem; }
}

@media (max-width: 380px) {
  .logo { height: 31px; }
  .hero__visual { width: min(86vw, 320px); }
  .hero__title { font-size: 2.45rem; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 1.5rem;
    padding-block: 1.25rem;
  }

  .hero__visual {
    order: 0;
    justify-self: end;
    width: min(100%, 330px);
    margin: 0;
  }

  .hero__title { font-size: 2.65rem; }
  .hero__lede { font-size: 0.95rem; margin-top: 0.85rem; }
  .status { margin-top: 1rem; }
}
