:root {
  color-scheme: light;
  --sky: #e3eef9;
  --sky-deep: #bad6f2;
  --ink: #33445c;
  --blue: #4a7fc1;
  --muted: #6e829a;
  --peach: #fbebdd;
  --peach-ink: #a96537;
  --paper: #ffffff;
  --shadow: rgba(51, 68, 92, 0.13);
  --font-rounded: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--sky);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.72) 0 8rem, transparent 8.1rem),
    radial-gradient(circle at 92% 90%, rgba(186, 214, 242, 0.72) 0 13rem, transparent 13.1rem),
    var(--sky);
  color: var(--ink);
  font-family: var(--font-rounded);
  text-rendering: optimizeLegibility;
}

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

button,
a {
  font: inherit;
}

.coming-soon {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
}

.hero {
  width: min(100%, 46rem);
  text-align: center;
}

.mascot-wrap {
  position: relative;
  width: clamp(10.5rem, 33vw, 12rem);
  margin-inline: auto;
  animation: bob 3.2s ease-in-out infinite;
}

.mascot {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.55rem 0.55rem rgba(51, 68, 92, 0.08));
}

.speech {
  position: absolute;
  top: 0.5rem;
  right: -3.55rem;
  padding: 0.5rem 0.78rem;
  border-radius: 0.9rem 0.9rem 0.9rem 0.28rem;
  background: var(--paper);
  box-shadow: 0 0.16rem 0 var(--shadow);
  color: var(--blue);
  font: 700 0.75rem/1 var(--font-mono);
  transform: rotate(3deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0.46rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--blue);
  font: 700 0.72rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

h1 {
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-size: clamp(3.4rem, 12vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.tagline {
  max-width: 43rem;
  margin: 1.15rem auto 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2.7vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.tagline-emphasis {
  border-bottom: 0.25rem dotted var(--sky-deep);
  color: var(--blue);
}

.description {
  max-width: 36rem;
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 2.2vw, 1.04rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.status,
.external-link {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 0.18rem 0 var(--shadow);
}

.status {
  gap: 0.55rem;
  padding: 0.62rem 1rem;
  background: var(--peach);
  color: var(--peach-ink);
  font: 700 0.75rem/1.2 var(--font-mono);
  transform: rotate(-1.2deg);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.6s ease-in-out infinite;
}

.external-link {
  padding: 0.62rem 1.08rem;
  border: 0.13rem solid transparent;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transform: rotate(1deg);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.external-link:hover {
  background: var(--sky-deep);
  transform: rotate(0deg) translateY(-0.08rem);
}

.external-link:focus-visible {
  border-color: var(--blue);
  outline: 0.2rem solid rgba(74, 127, 193, 0.3);
  outline-offset: 0.18rem;
}

.not-found .hero {
  max-width: 38rem;
}

.not-found .mascot-wrap {
  width: clamp(8rem, 27vw, 10rem);
}

.not-found h1 {
  font-size: clamp(2.8rem, 10vw, 4.6rem);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.45rem); }
}

@media (max-width: 32rem) {
  .coming-soon {
    padding-inline: 1rem;
  }

  .speech {
    right: -2rem;
  }

  .actions {
    flex-direction: column;
  }

  .status,
  .external-link {
    width: min(100%, 19.5rem);
  }
}

@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;
  }
}
