:root {
  --ink: #10131a;
  --paper: #f8f4ea;
  --card: #fffdf8;
  --red: #e6412f;
  --blue: #1f46ff;
  --yellow: #f3be2f;
  --green: #147c67;
  --line: #141821;
  --muted: #505460;
  --border: 1.5px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(160deg, #f8f6f0 0%, #f1ecdf 100%);
}

h1,
h2,
h3,
.eyebrow,
.brand-en {
  font-family: "Syne", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 10px 16px rgba(16, 19, 26, 0.12));
}

.shape-circle {
  width: 18rem;
  aspect-ratio: 1;
  background: var(--red);
  border-radius: 50%;
  top: -7rem;
  right: -4rem;
  animation: drift 11s ease-in-out infinite alternate;
}

.shape-square {
  width: 10rem;
  aspect-ratio: 1;
  background: var(--yellow);
  left: -3rem;
  top: 32%;
  transform: rotate(15deg);
  animation: drift 13s ease-in-out infinite alternate;
}

.shape-line {
  width: 30rem;
  height: 0.55rem;
  background: var(--ink);
  bottom: 24%;
  left: 18%;
  transform: rotate(-12deg);
  animation: drift 12s ease-in-out infinite alternate;
}

.shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: var(--border) solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-en {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-cn {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.main-nav a {
  padding: 0.34rem 0.42rem;
  border-bottom: var(--border) solid transparent;
  transition: border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.hero {
  padding: 5.1rem 0 2.2rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0.85rem 0 0.95rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
  max-width: 12ch;
}

.intro {
  margin: 0;
  max-width: 56ch;
  line-height: 1.62;
}

.stats {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats article {
  border: var(--border) solid var(--line);
  background: var(--card);
  min-height: 8rem;
  padding: 0.95rem;
  display: grid;
  align-content: space-between;
}

.stats h2 {
  margin: 0;
  line-height: 1;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.stats p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 2.2rem 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.section-title p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08rem;
  color: var(--muted);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel {
  border: var(--border) solid var(--line);
  background: var(--card);
  padding: 0.95rem;
}

.card h3,
.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p,
.panel p {
  margin: 0;
  line-height: 1.55;
}

.panel.accent {
  background: linear-gradient(120deg, var(--yellow) 0%, #f7cf59 100%);
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.timeline article {
  border: var(--border) solid var(--line);
  background: var(--card);
  padding: 0.95rem;
}

.timeline span {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: "Syne", "Noto Sans SC", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

.timeline h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.timeline p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.cta {
  border: var(--border) solid var(--line);
  background: linear-gradient(145deg, var(--green) 0%, #0f6f5c 100%);
  color: #f3fff9;
  padding: clamp(1.2rem, 2vw, 1.9rem);
}

.cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta p {
  margin: 0;
  line-height: 1.6;
}

.cta a {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.54rem 0.86rem;
  border: var(--border) solid #f3fff9;
  font-weight: 700;
}

.cta a:hover,
.cta a:focus-visible {
  background: #f3fff9;
  color: #0f6f5c;
  outline: none;
}

.site-footer {
  padding: 1.4rem 0 1.8rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-20px) rotate(5deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .stats,
  .grid.two,
  .grid.three,
  .grid.four,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shape-circle {
    width: 14rem;
  }

  .shape-square {
    width: 8rem;
  }

  .shape-line {
    width: 18rem;
  }

  .main-nav {
    gap: 0.45rem;
  }
}
