:root {
  color-scheme: light dark;
  --canvas: #f7f8f3;
  --ink: #1d2922;
  --muted: #607066;
  --forest: #21422e;
  --lime: #b5e47b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(30px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1.3px;
  line-height: 1;
  animation: arrive 800ms both;
}
.brand img { display: block; width: 31px; height: auto; }
/* Discourage saving artwork through image menus without changing its semantics. */
.brand, .illustration {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.brand img, .mello {
  pointer-events: none;
  -webkit-user-drag: none;
}
main {
  flex: 1;
  width: 100%;
  padding-block: 42px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.illustration {
  width: min(280px, 75vw);
  height: 260px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  animation: arrive 1000ms 100ms both;
}
.halo {
  position: absolute;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #e7efda 0%, #eef1e7 49%, transparent 72%);
  z-index: -1;
}
.mello {
  display: block;
  width: auto;
  height: 240px;
  max-width: 100%;
  object-fit: contain;
  transform-origin: 50% 85%;
  animation: hello 2400ms 900ms 2 ease-in-out;
}
.ground {
  position: absolute;
  bottom: 0;
  left: 32%;
  right: 32%;
  height: 9px;
  background: #21422e16;
  border-radius: 50%;
  filter: blur(5px);
  z-index: -1;
}
.intro { animation: arrive 1000ms 200ms both; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--forest);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -.055em;
}
h1 span { color: var(--forest); }
.subtitle {
  max-width: 370px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.25px;
  text-wrap: pretty;
}
.subtitle span { white-space: nowrap; }
footer { flex-shrink: 0; color: var(--muted); text-align: center; animation: arrive 1000ms 300ms both; }
footer small { font-size: 12px; line-height: 1.7; letter-spacing: .1px; }
::selection { color: #21422e; background: #b5e47b; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hello {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-1.5deg); }
}
@media (min-width: 600px) {
  body { padding-top: 40px; padding-bottom: 26px; }
  main { padding-block: 40px 54px; }
  .illustration { height: 285px; width: 320px; margin-bottom: 30px; }
  .mello { height: 265px; }
  .halo { width: 320px; }
  .subtitle { max-width: 430px; font-size: 18px; }
}
@media (max-height: 740px) and (min-width: 600px) {
  main { padding-block: 24px; }
  .illustration { height: 205px; margin-bottom: 20px; }
  .mello { height: 190px; }
  .halo { width: 240px; }
  h1 { font-size: 60px; }
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #121713; --ink: #eff5ec; --muted: #a9b9ab; --forest: #c6f38d; }
  .halo { background: radial-gradient(circle, #eef1e72b 0%, #273228 50%, #27322800 72%); }
  .ground { background: #0005; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
