:root {
  --paper: #f7fbf6;
  --paper-soft: #edf8f1;
  --ink: #234238;
  --muted: #6f8a7d;
  --leaf: #7fbd8a;
  --sky: #9bd5ee;
  --sun: #f1d98f;
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--paper);
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.home {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 251, 246, 0.9)),
    radial-gradient(circle at 20% 16%, rgba(155, 213, 238, 0.24), transparent 34%),
    radial-gradient(circle at 76% 72%, rgba(127, 189, 138, 0.24), transparent 36%),
    var(--paper);
}

.fresh-texture,
.soft-shape {
  position: absolute;
  pointer-events: none;
}

.fresh-texture {
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.soft-shape {
  z-index: -1;
  width: 38vw;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.28;
}

.soft-shape-one {
  left: -12vw;
  top: 10vh;
  background: var(--sky);
  animation: floatOne 16s ease-in-out infinite alternate;
}

.soft-shape-two {
  right: -14vw;
  bottom: 6vh;
  background: var(--leaf);
  animation: floatTwo 18s ease-in-out infinite alternate;
}

.sentence {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.14;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(82, 121, 97, 0.12);
}

.sentence::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  width: min(260px, 48vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--leaf), var(--sky), transparent);
  transform: translateX(-50%);
  opacity: 0.72;
}

.not-found {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 24px;
}

.not-found .sentence {
  font-size: 52px;
}

.home-link {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(127, 189, 138, 0.42);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(82, 121, 97, 0.1);
}

@keyframes floatOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(4vw, 2vh, 0) scale(1.08);
  }
}

@keyframes floatTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-3vw, -3vh, 0) scale(1.06);
  }
}

@media (max-width: 760px) {
  .home {
    padding: 24px;
  }

  .sentence {
    font-size: 46px;
  }

  .soft-shape {
    width: 70vw;
  }
}

@media (max-width: 420px) {
  .sentence {
    font-size: 34px;
  }

  .not-found .sentence {
    font-size: 32px;
  }
}

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

