:root {
  font-family: Montserrat, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #ecefed;
  background: #101110;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --night: #101110;
  --panel: #181a19;
  --panel-high: #202321;
  --ink: #ecefed;
  --soft: #b4bbb6;
  --muted: #788079;
  --line: #343a35;
  --green: #86d86d;
  --blue: #74b9d1;
  --amber: #d4a875;
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100dvh; margin: 0; overflow-x: hidden; background: radial-gradient(ellipse at 22% 16%, #222522 0, transparent 38%), linear-gradient(120deg, #101110, #121412 52%, #0d0e0d); color: var(--ink); }
body::before { position: fixed; inset: 0; z-index: -1; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); content: ""; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.landing-header { width: min(100%, 1320px); min-height: 78px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9rem; letter-spacing: -.035em; text-decoration: none; }
.landing-brand-mark { width: 23px; height: 23px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-8deg); }
.landing-brand-mark i { border-radius: 9px 3px 3px 9px; background: linear-gradient(90deg, #e1e5e2, #999f9b); }
.landing-brand-mark i:last-child { border-radius: 3px 9px 9px 3px; background: linear-gradient(90deg, var(--blue), #4c8ba5); }
.header-action { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); background: linear-gradient(#222522, #181a19); font-size: .7rem; font-weight: 700; text-decoration: none; }

.landing-hero { width: min(100%, 1320px); margin: 0 auto; padding: clamp(70px, 10vw, 140px) clamp(22px, 5vw, 64px) clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); align-items: center; gap: clamp(56px, 8vw, 120px); }
.hero-copy-block { max-width: 760px; }
.landing-label { margin: 0 0 22px; color: var(--green); font-size: .68rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3.1rem, 6.4vw, 6.7rem); font-weight: 610; letter-spacing: -.07em; line-height: .94; text-wrap: balance; }
html[lang="zh-CN"] h1 { max-width: 10ch; font-size: clamp(3rem, 5.8vw, 6rem); line-height: 1.12; }
.landing-lede { max-width: 62ch; margin: 30px 0 0; color: var(--soft); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; }
.landing-cta { width: fit-content; min-height: 52px; margin-top: 34px; padding: 0 20px; display: inline-flex; align-items: center; gap: 22px; border: 1px solid #a9ed95; border-radius: 13px; background: linear-gradient(#93df7a, #69b654); box-shadow: inset 0 1px 0 #d8ffcc, 0 12px 28px #05070580; color: #13220f; font-size: .8rem; font-weight: 760; text-decoration: none; transition: transform 180ms ease, filter 180ms ease; }
.landing-cta:hover { filter: brightness(1.08); }
.landing-cta:active { transform: translateY(2px); }
.landing-cta span { font-size: 1.2rem; }
.landing-signal { margin: 19px 0 0; color: var(--muted); font-size: .66rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; }

.route-console { position: relative; padding: 22px; overflow: hidden; border: 1px solid #3e4540; border-radius: 32px; background: radial-gradient(circle at 30% 0, #35393680, transparent 36%), linear-gradient(150deg, #292c2a, #171918 60%, #101110); box-shadow: inset 0 1px 0 #ffffff1d, 0 40px 80px #05060599; }
.route-console::after { position: absolute; inset: 8px; border: 1px solid #ffffff0e; border-radius: 25px; pointer-events: none; content: ""; }
.console-head, .console-foot { display: flex; align-items: center; justify-content: space-between; color: #7e8880; font: 700 .58rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.console-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px #86d86daa; }
.route-node { margin-top: 28px; padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; border: 1px solid #5c4936; border-radius: 12px; background: #100c08; color: var(--amber); box-shadow: inset 0 0 24px #a1682922; }
.route-node > span { grid-row: 1 / 3; align-self: center; color: #715b43; font: 700 .7rem ui-monospace, monospace; }
.route-node strong, .route-node small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.route-node strong { font-size: .8rem; letter-spacing: .08em; }
.route-node small { color: #806548; font-size: .58rem; }
.route-node.is-receiver { margin-top: 0; }
.route-line { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: #738078; font: 650 .55rem ui-monospace, monospace; letter-spacing: .08em; }
.route-line i { height: 1px; background: linear-gradient(90deg, transparent, #4f5a52); }
.route-line i:last-child { background: linear-gradient(90deg, #4f5a52, transparent); }
.console-foot { margin-top: 24px; justify-content: center; color: #728b6c; }

.landing-section { width: min(calc(100% - 44px), 1192px); margin: 0 auto; padding: clamp(74px, 9vw, 118px) 0; border-top: 1px solid var(--line); }
.landing-section h2 { max-width: 17ch; margin: 0; font-size: clamp(2.1rem, 4.2vw, 4.4rem); font-weight: 580; letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
html[lang="zh-CN"] .landing-section h2 { max-width: 14ch; line-height: 1.18; }
.mechanism-section > h2 { margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(var(--step-count), 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.landing-step { min-height: 250px; padding: 28px; background: linear-gradient(145deg, #1d201e, #151716); }
.landing-step > span { color: var(--green); font: 700 .64rem ui-monospace, monospace; }
.landing-step h3, .boundary-grid h3 { margin: 54px 0 12px; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
.landing-step p, .boundary-grid p, .section-copy p, .faq-list p { margin: 0; color: var(--soft); font-size: .87rem; line-height: 1.75; }
.split-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 118px); }
.section-copy { display: grid; gap: 20px; }
.section-copy ul { margin: 8px 0 0; padding: 0; display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.section-copy li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .78rem; font-weight: 650; }
.section-copy li::before { margin-right: 12px; color: var(--green); content: "＋"; }
.boundary-section > h2, .faq-section > h2, .related-section > h2 { margin-bottom: 46px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.boundary-grid article { padding-top: 20px; border-top: 2px solid #4c554e; }
.boundary-grid h3 { margin: 0 0 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 44px 24px 0; position: relative; cursor: pointer; color: var(--ink); font-size: .94rem; font-weight: 650; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 22px; right: 4px; color: var(--green); font-size: 1.2rem; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 72ch; padding: 0 44px 24px 0; }
.related-section nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-section nav a { min-height: 96px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 14px; background: #181a19; color: var(--soft); font-size: .8rem; font-weight: 680; text-decoration: none; }
.related-section nav a:hover { border-color: #59625b; color: var(--ink); }
.related-section nav span { color: var(--green); font-size: 1rem; }
.final-cta { width: min(calc(100% - 44px), 1192px); margin: 0 auto 80px; padding: clamp(40px, 7vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid #434a45; border-radius: 28px; background: radial-gradient(circle at 10% 20%, #35403488, transparent 36%), linear-gradient(130deg, #222722, #151715); }
.final-cta p { max-width: 24ch; margin: 0; font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 580; letter-spacing: -.045em; line-height: 1.12; }
.final-cta .landing-cta { flex: 0 0 auto; margin: 0; }
.landing-footer { width: min(100%, 1320px); min-height: 86px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #242724; color: var(--muted); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.landing-footer a { color: var(--soft); font-weight: 760; text-decoration: none; }

@media (max-width: 900px) {
  .hero-grid, .split-section { grid-template-columns: 1fr; }
  .route-console { width: min(100%, 580px); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .boundary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .landing-header { min-height: 66px; }
  .header-action { display: none; }
  .landing-hero { padding-top: 64px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  html[lang="zh-CN"] h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-grid { gap: 46px; }
  .route-console { padding: 16px; border-radius: 24px; }
  .route-node { padding: 18px 14px; }
  .steps-grid, .related-section nav { grid-template-columns: 1fr; }
  .landing-step { min-height: 210px; }
  .landing-step h3 { margin-top: 38px; }
  .final-cta { align-items: flex-start; flex-direction: column; border-radius: 22px; }
  .landing-footer { padding-top: 26px; padding-bottom: 26px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
