:root {
  --ink: #181512;
  --muted: #6d665d;
  --paper: #fffaf0;
  --bg: #f4efe5;
  --forest: #183f35;
  --jade: #2f8267;
  --wine: #7a2f3f;
  --amber: #d8a24a;
  --line: #e2d7c4;
  --shadow: 0 24px 70px rgba(39, 31, 22, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: rgba(244, 239, 229, .82);
  border-bottom: 1px solid rgba(226, 215, 196, .72);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: #f8edd7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solid-link,
.ghost-link,
.text-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 850;
}

.solid-link {
  color: #fffaf0;
  background: var(--forest);
  box-shadow: 0 14px 30px rgba(24, 63, 53, .2);
}

.ghost-link {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, .78);
}

.large { min-height: 50px; padding: 0 22px; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
  gap: 42px;
  align-items: center;
  padding: 58px clamp(22px, 5vw, 72px) 70px;
  background:
    linear-gradient(90deg, rgba(24, 63, 53, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 63, 53, .04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.eyebrow,
.section-head span,
.split span {
  color: var(--wine);
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-board {
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.board-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #193d34;
}

.board-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.board-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 390px;
}

.board-body aside {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  color: #efe8dc;
  background: #10271f;
}

.board-body aside em {
  font-style: normal;
  color: rgba(239, 232, 220, .72);
}

.board-body section {
  padding: 28px;
}

.board-body small {
  color: var(--wine);
  font-weight: 900;
}

.board-body h2 {
  font-size: 28px;
  margin: 12px 0 18px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-grid div,
.feature-grid article,
.stack-list div {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.mini-grid strong {
  display: block;
  font-size: 24px;
}

.mini-grid span,
.script-lines {
  color: var(--muted);
}

.script-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.script-lines i {
  height: 14px;
  background: #eee4d4;
  border-radius: 20px;
}

.script-lines i:nth-child(2) { width: 78%; }
.script-lines i:nth-child(3) { width: 88%; }
.script-lines i:nth-child(4) { width: 62%; }

.section {
  padding: 72px clamp(22px, 5vw, 72px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.5vw, 46px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid b {
  color: var(--amber);
}

.feature-grid p,
.split p {
  color: var(--muted);
  line-height: 1.8;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .6fr);
  gap: 36px;
  align-items: center;
  background: #193d34;
  color: #fffaf0;
}

.split p {
  color: rgba(255, 250, 240, .72);
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list div {
  color: var(--ink);
}

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

.timeline div {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
  color: rgba(255, 250, 240, .72);
  background: #10271f;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  nav { display: none; }
}

@media (max-width: 560px) {
  .site-header,
  .header-actions,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-board { display: none; }
}
