:root {
  --bg: #10110f;
  --surface: #181a17;
  --border: #363a33;

  --text: #f1f0e8;
  --text-muted: #b8baaf;
  --text-faint: #7c8177;

  --clay: #d47b61;
  --clay-light: #e99a7e;
  --lichen: #a7b77d;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(
      ellipse 72% 55% at 50% 43%,
      rgba(212, 123, 97, 0.1),
      transparent 70%
    ),
    var(--bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  content: "";
  background-image:
    linear-gradient(rgba(241, 240, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 240, 232, 0.05) 1px, transparent 1px);
  background-position: center;
  background-size: 32px 32px;
  mask-image: radial-gradient(
    ellipse 80% 72% at 50% 44%,
    black,
    transparent 82%
  );
}

.page {
  display: grid;
  min-height: 100svh;
  padding: 28px;
  grid-template-rows: auto 1fr auto;
}

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 0 20px rgba(212, 123, 97, 0.45);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lichen);
  box-shadow: 0 0 0 4px rgba(167, 183, 125, 0.1);
  content: "";
}

.hero {
  display: grid;
  place-items: center;
  padding: 40px 0 20px;
}

.hero-inner {
  display: grid;
  justify-items: center;
  max-width: 760px;
  text-align: center;
}

.mascot-wrap {
  position: relative;
  width: min(62vw, 350px);
  aspect-ratio: 1;
  margin-bottom: 22px;
  animation: appear 900ms var(--ease-out) both;
}

.mascot-wrap::before {
  position: absolute;
  z-index: -1;
  inset: 23% 5% 2%;
  border-radius: 50%;
  background: rgba(212, 123, 97, 0.3);
  filter: blur(34px);
  transform: scale(0.76);
  content: "";
}

#pompi {
  display: block;
  overflow: visible;
  width: 100%;
  height: 100%;
}

.drop {
  fill: var(--clay);
}

.face {
  fill: var(--bg);
  stroke: var(--bg);
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cloud-float {
  transform-origin: 200px 205px;
  animation: cloud-float 6.8s ease-in-out infinite;
}

.eye {
  transform-box: fill-box;
  transform-origin: center;
}

.eye-left {
  animation: blink-left 7.4s ease-in-out infinite;
}

.eye-right {
  animation: blink-right 7.4s ease-in-out infinite;
}

.headline {
  max-width: 650px;
  margin: 0;
  font-size: clamp(43px, 7vw, 84px);
  font-weight: 570;
  letter-spacing: -0.067em;
  line-height: 0.94;
  animation: rise 850ms 100ms var(--ease-out) both;
}

.headline em {
  color: var(--clay-light);
  font-style: normal;
}

.subhead {
  max-width: 450px;
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: -0.015em;
  line-height: 1.55;
  animation: rise 850ms 180ms var(--ease-out) both;
}

.line {
  width: 1px;
  height: 46px;
  margin-top: 38px;
  background: linear-gradient(var(--lichen), transparent);
  animation: rise 850ms 260ms var(--ease-out) both;
}

.footer {
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.4;
}

.footer strong {
  color: var(--text-muted);
  font-weight: 520;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cloud-float {
  0%,
  100% {
    transform: translateY(4px) rotate(-1deg);
  }

  50% {
    transform: translateY(-11px) rotate(1deg);
  }
}

@keyframes blink-left {
  0%,
  53%,
  55%,
  100% {
    transform: scaleY(1);
  }

  54% {
    transform: scaleY(0.16);
  }
}

@keyframes blink-right {
  0%,
  53.4%,
  55.4%,
  100% {
    transform: scaleY(1);
  }

  54.4% {
    transform: scaleY(0.16);
  }
}

@media (max-width: 600px) {
  .page {
    padding: 20px;
  }

  .status {
    font-size: 11px;
  }

  .mascot-wrap {
    width: min(78vw, 310px);
    margin-bottom: 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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