:root {
  --paper: #f3efe4;
  --paper-deep: #e7e0d2;
  --surface: #fffdf7;
  --ink: #1a241f;
  --ink-muted: #5c665f;
  --line: #cfc7b8;
  --green: #195a49;
  --green-deep: #103d32;
  --green-soft: #dce9df;
  --blue: #315e88;
  --blue-soft: #dfeaf3;
  --rust: #b54e2f;
  --rust-soft: #f2dfd6;
  --yellow: #e4b84f;
  --shadow: 0 22px 50px rgba(37, 45, 39, 0.12);
  --radius: 18px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(228, 184, 79, 0.13), transparent 24rem),
    linear-gradient(rgba(26, 36, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 36, 31, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px, 32px 32px, auto;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--green-deep);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(94, 101, 95, 0.25);
  background: rgba(243, 239, 228, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--surface);
  background: var(--green-deep);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.site-nav a {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.header-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  background: rgba(255, 253, 247, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.header-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 90, 73, 0.12);
}

.section {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 78px;
  min-height: 730px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  color: var(--surface);
  background: var(--green-deep);
  box-shadow: 7px 7px 0 rgba(49, 94, 136, 0.23);
}

.button-secondary {
  background: rgba(255, 253, 247, 0.5);
}

.privacy-line {
  display: flex;
  max-width: 630px;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  color: var(--ink-muted);
  font-size: 12px;
}

.privacy-line svg,
.demo-safety svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.router-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 61, 50, 0.8);
  color: var(--surface);
  background:
    linear-gradient(145deg, rgba(49, 94, 136, 0.15), transparent 45%),
    var(--green-deep);
  box-shadow: 18px 24px 0 rgba(49, 94, 136, 0.16), var(--shadow);
}

.router-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 100% 34px;
  content: "";
}

.router-card-head,
.demo-window-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
  font-weight: 700;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d5e8df;
}

.live-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76c6a2;
  content: "";
}

.router-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 28px 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.router-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-deep);
  background: var(--yellow);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
}

.router-input div,
.router-decision div {
  display: grid;
  gap: 2px;
}

.router-card small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.router-card strong {
  font-size: 14px;
}

.route-line {
  width: 1px;
  height: 28px;
  margin-left: 61px;
  background: rgba(255, 255, 255, 0.27);
}

.router-stages {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0 28px;
}

.stage {
  display: grid;
  grid-template-columns: 94px minmax(110px, 0.8fr) 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
}

.stage > span {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stage strong {
  color: white;
}

.stage.active {
  border-color: var(--yellow);
  color: white;
  background: rgba(228, 184, 79, 0.11);
}

.router-decision {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.13);
}

.decision-badge {
  padding: 5px 8px;
  border: 1px solid rgba(118, 198, 162, 0.45);
  color: #cbe9dc;
  font-size: 11px;
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: grid;
  gap: 4px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--green-deep);
  font-family: "STSong", "SimSun", serif;
  font-size: 30px;
  line-height: 1.1;
}

.metrics span {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 46px;
}

.section-heading h2,
.public-note h2 {
  margin: 0;
  font-family: "STSong", "SimSun", serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
}

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

.journey-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.78);
}

.journey-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(25, 90, 73, 0.06);
  border-radius: 50%;
  content: "";
}

.journey-deep::after {
  border-color: rgba(49, 94, 136, 0.08);
}

.journey-create::after {
  border-color: rgba(181, 78, 47, 0.08);
}

.journey-number {
  color: var(--line);
  font-family: "STSong", "SimSun", serif;
  font-size: 58px;
  line-height: 1;
}

.journey-code {
  margin: 18px 0 8px;
  color: var(--green);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.journey-deep .journey-code {
  color: var(--blue);
}

.journey-create .journey-code {
  color: var(--rust);
}

.journey-card h3 {
  margin: 0;
  font-size: 24px;
}

.journey-card > p:not(.journey-code) {
  min-height: 78px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.journey-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.journey-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.journey-card li::before {
  width: 5px;
  height: 5px;
  background: var(--green);
  content: "";
}

