:root {
  --bg: #f6efe5;
  --surface: rgba(255, 250, 244, 0.78);
  --surface-strong: rgba(255, 247, 238, 0.95);
  --text: #1c1917;
  --muted: #625952;
  --line: rgba(78, 56, 36, 0.14);
  --accent: #bf5a2a;
  --accent-deep: #823515;
  --accent-soft: rgba(191, 90, 42, 0.1);
  --shadow: 0 24px 70px rgba(104, 61, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(208, 152, 88, 0.24), transparent 28%),
    radial-gradient(circle at right 15%, rgba(191, 90, 42, 0.15), transparent 24%),
    linear-gradient(180deg, #fbf6ef 0%, #f5ebde 55%, #eee2cf 100%);
}

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

code {
  font-family: Consolas, Monaco, monospace;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.section,
.footer {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 22px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  right: -80px;
  top: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(191, 90, 42, 0.2), transparent 68%);
}

.hero::after {
  left: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(159, 110, 61, 0.14), transparent 70%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 6px 30px;
}

.brand,
h1,
h2 {
  font-family: "STSong", "Songti SC", "SimSun", serif;
}

.brand {
  font-size: 1.08rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.timeline-card,
.tool-card,
.project-card,
.plan-card,
.deploy-card,
.code-card,
.hero-metrics article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
}

.hero-copy {
  padding: 34px 30px;
}

.hero-panel {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 248, 241, 0.96), rgba(249, 237, 223, 0.88));
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 1.08;
  max-width: 9.5em;
}

.lead,
.section-heading p,
.timeline-card p,
.tool-card p,
.project-card p,
.plan-card p,
.deploy-card p,
.footer p {
  color: var(--muted);
}

.lead {
  margin: 22px 0 0;
  max-width: 46rem;
  font-size: 1.06rem;
  line-height: 1.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.46);
}

.hero-panel h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.28;
  margin-bottom: 18px;
}

.hero-points {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-metrics article {
  padding: 22px;
}

.hero-metrics span,
.plan-card span,
.project-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.hero-metrics strong {
  line-height: 1.55;
  font-size: 1.08rem;
}

.section {
  margin-top: 22px;
  border-radius: 30px;
  padding: 34px 22px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(1.95rem, 3vw, 3.15rem);
}

.section-heading p {
  margin: 0;
  line-height: 1.82;
}

.timeline,
.cards,
.project-grid,
.plan-board,
.deploy-layout,
.code-blocks {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

.deploy-layout,
.code-blocks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-card,
.tool-card,
.project-card,
.plan-card,
.deploy-card,
.code-card {
  padding: 24px;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-weight: 700;
}

.timeline-card h3,
.tool-card h3,
.project-card h3,
.plan-card h3,
.deploy-card h3,
.code-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.timeline-card p,
.tool-card p,
.project-card p,
.plan-card p,
.deploy-card p {
  margin: 0;
  line-height: 1.76;
}

.timeline-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  line-height: 1.84;
}

.section-accent {
  background:
    linear-gradient(135deg, rgba(255, 248, 241, 0.97), rgba(247, 236, 221, 0.9)),
    var(--surface-strong);
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  border-radius: 24px;
  padding: 22px;
}

.footer p {
  margin: 0;
}

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

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

@media (max-width: 1024px) {
  .hero-layout,
  .cards,
  .plan-board {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero,
  .section,
  .footer {
    border-radius: 22px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 22px;
  }

  .hero-layout,
  .hero-metrics,
  .timeline,
  .cards,
  .project-grid,
  .plan-board,
  .deploy-layout,
  .code-blocks {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel {
    padding: 24px 20px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }
}
