:root {
  --flour: #f7f3ec;
  --flour-deep: #efe6d8;
  --ink: #1f4a3a;
  --ink-soft: rgba(31, 74, 58, 0.72);
  --mint: #b7d9c8;
  --peach: #f0b894;
  --sky: #a8c8e0;
  --butter: #f0d48a;
  --leaf: #2a6b52;
  --line: rgba(31, 74, 58, 0.1);
  --font-display: "Nunito", "Avenir Next Rounded", "Segoe UI", sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--ink);
  background:
    linear-gradient(165deg, #e8f2ec 0%, var(--flour) 42%, #f6e8dc 100%);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  will-change: transform;
  transition: translate 160ms linear;
}

.blob-mint {
  width: min(48vw, 28rem);
  height: min(38vw, 22rem);
  left: -8%;
  top: -6%;
  background: radial-gradient(circle at 40% 40%, var(--mint), transparent 70%);
  opacity: 0.85;
  animation: drift-a 14s ease-in-out infinite;
}

.blob-peach {
  width: min(52vw, 32rem);
  height: min(42vw, 26rem);
  right: -12%;
  top: 8%;
  background: radial-gradient(circle at 50% 45%, var(--peach), transparent 72%);
  opacity: 0.8;
  animation: drift-b 16s ease-in-out infinite;
}

.blob-sky {
  width: min(34vw, 18rem);
  height: min(28vw, 15rem);
  left: 4%;
  bottom: 8%;
  background: radial-gradient(circle at 50% 50%, var(--sky), transparent 70%);
  opacity: 0.75;
  animation: drift-c 12s ease-in-out infinite;
}

.blob-butter {
  width: min(40vw, 22rem);
  height: min(34vw, 18rem);
  right: 6%;
  bottom: -4%;
  background: radial-gradient(circle at 45% 40%, var(--butter), transparent 70%);
  opacity: 0.55;
  animation: drift-d 15s ease-in-out infinite;
}

.scribble {
  position: absolute;
  width: 7.5rem;
  height: 3.5rem;
  border: 3px solid transparent;
  border-top-color: var(--leaf);
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
  transition: translate 160ms linear;
}

.scribble-top {
  top: 18%;
  left: 18%;
  rotate: -18deg;
  border-top-color: #3d8a68;
  animation: bob 7s ease-in-out infinite;
}

.scribble-bottom {
  bottom: 22%;
  right: 16%;
  rotate: 12deg;
  border-top-color: #d9844f;
  animation: bob 8.5s ease-in-out infinite reverse;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--flour);
  border-radius: 999px;
  text-decoration: none;
}

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

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
  padding: 4.5rem 1.5rem 5.5rem;
}

.zh-mark {
  margin: 0 0 1rem;
  font-family: var(--font-zh);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.brand {
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 18ch;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.support {
  margin: 1.1rem 0 0;
  max-width: 38ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.95rem 1.7rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px rgba(31, 74, 58, 0.18);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: var(--leaf);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(31, 74, 58, 0.22);
}

.button:active {
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: -3.5rem;
  padding: 0 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 3px;
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, 22px);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-22px, 14px);
  }
}

@keyframes drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -16px);
  }
}

@keyframes drift-d {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, -10px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -8px);
  }
}

@media (max-width: 520px) {
  .stage {
    padding-inline: 1.25rem;
  }

  .scribble-top {
    left: 6%;
    top: 14%;
  }

  .scribble-bottom {
    right: 4%;
    bottom: 18%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
