:root {
  --bg: #f7f6f3;
  --ink: #1a1a1a;
  --accent: #2f5d50;
  --font-display: "Instrument Serif", "Songti SC", "Noto Serif SC", serif;
  --font-body: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(47, 93, 80, 0.08), transparent 55%),
    linear-gradient(165deg, #faf9f6 0%, var(--bg) 45%, #f0efe9 100%);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 4rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  animation: rise 0.9s ease-out both;
}

.lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--accent);
  animation: rise 0.9s ease-out 0.12s both;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(47, 93, 80, 0.22);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  animation: fade 1s ease-out 0.35s both;
}

.copy {
  color: var(--ink);
  opacity: 0.85;
}

.sep {
  width: 1px;
  height: 0.85em;
  background: var(--accent);
  opacity: 0.35;
}

.beian {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.beian:hover,
.beian:focus-visible {
  border-bottom-color: var(--accent);
  outline: none;
}

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

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .site-footer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .lead,
  .site-footer {
    animation: none;
  }
}
