:root {
  --ink: #10241f;
  --ink-soft: #2a433c;
  --paper: #f3efe6;
  --mist: #d7e2dc;
  --accent: #c45c26;
  --line: rgba(16, 36, 31, 0.14);
  --shadow: 0 24px 60px rgba(16, 36, 31, 0.12);
  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.7;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(196, 92, 38, 0.18), transparent 55%),
    radial-gradient(900px 480px at 88% 8%, rgba(45, 110, 90, 0.16), transparent 50%),
    linear-gradient(165deg, #efe8da 0%, #f3efe6 42%, #e7efe9 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 36, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 36, 31, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 920px;
  animation: rise 0.9s ease both;
}

.brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.tagline {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 34em;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

main {
  max-width: 920px;
  padding: 0 clamp(2rem, 6vw, 5rem) 4rem;
}

section {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  animation: rise 0.9s ease both;
  animation-delay: 0.12s;
}

section:nth-of-type(2) {
  animation-delay: 0.22s;
}

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

section p {
  margin: 0;
  max-width: 40em;
  color: var(--ink-soft);
}

.links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent);
  border-color: var(--ink);
  outline: none;
}

.site-footer {
  max-width: 920px;
  padding: 1.5rem clamp(2rem, 6vw, 5rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.beian a {
  color: var(--ink-soft);
  text-decoration: none;
}

.beian a:hover,
.beian a:focus-visible {
  color: var(--accent);
  outline: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  section {
    animation: none;
  }
}
