:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-soft: #f8fafb;
  --surface-blue: #edf4f7;
  --ink: #142026;
  --muted: #64737b;
  --subtle: #8c9aa2;
  --border: #dce6ea;
  --border-strong: #c6d6dc;
  --teal: #0a8f7a;
  --teal-dark: #076958;
  --steel: #3d6f83;
  --amber: #c77913;
  --coral: #c84f45;
  --green-soft: #e7f6f1;
  --blue-soft: #e7f0f5;
  --amber-soft: #fff4df;
  --coral-soft: #fdeceb;
  --shadow: 0 22px 56px rgba(20, 32, 38, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(10, 143, 122, 0.24);
  outline-offset: 2px;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}

.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.loading-mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(10, 143, 122, 0.15), transparent),
    var(--surface);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.landing-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fbfdfe 0, #f4f7f8 650px),
    var(--bg);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(220, 230, 234, 0.9);
  background: rgba(251, 253, 254, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.landing-nav,
.header-actions,
.hero-actions,
.proof-strip,
.primary-button,
.secondary-button,
.ghost-button,
.map-node,
.card-icon,
.system-card strong,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 840;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.18;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.landing-nav {
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.landing-nav a {
  min-height: 32px;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.landing-nav a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.primary-button:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.secondary-button,
.ghost-button {
  background: var(--surface);
  color: var(--teal-dark);
}

.secondary-button:hover,
.ghost-button:hover {
  border-color: #b7ded3;
  background: var(--green-soft);
}

.primary-button.large,
.secondary-button.large {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 14px;
}

.hero-section,
.content-section,
.final-cta,
.landing-footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero-section {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 44px 0 48px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.proof-strip {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.proof-strip span {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.hero-map {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 143, 122, 0.08), rgba(61, 111, 131, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(198, 214, 220, 0.9);
  border-radius: 999px;
}

.hero-map::after {
  content: "";
  position: absolute;
  inset: 108px;
  border: 1px solid rgba(198, 214, 220, 0.75);
  border-radius: 999px;
}

.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 190px;
  min-height: 116px;
  border: 1px solid #b7ded3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 18px;
  background: var(--green-soft);
  color: var(--teal-dark);
  transform: translate(-50%, -50%);
}

.map-center strong,
.map-center span {
  display: block;
  text-align: center;
}

.map-center strong {
  font-size: 26px;
  line-height: 1;
}

.map-center span {
  color: #386a5f;
  font-size: 12px;
  font-weight: 760;
}

.map-node {
  position: absolute;
  z-index: 4;
  width: 154px;
  min-height: 86px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 32, 38, 0.08);
}

.map-node .icon {
  color: var(--steel);
}

.map-node strong,
.map-node small {
  display: block;
}

.map-node strong {
  font-size: 14px;
  line-height: 1.2;
}

.map-node small {
  color: var(--muted);
  font-size: 12px;
}

.map-node.featured {
  border-color: #efc3bf;
  background: var(--coral-soft);
}

.map-node.featured .icon {
  color: var(--coral);
}

.node-1 {
  left: 54px;
  top: 88px;
}

.node-2 {
  right: 62px;
  top: 94px;
}

.node-3 {
  left: 52px;
  top: 242px;
}

.node-4 {
  right: 48px;
  top: 258px;
}

.node-5 {
  left: 126px;
  bottom: 70px;
}

.node-6 {
  right: 112px;
  bottom: 62px;
}

.map-trace {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(10, 143, 122, 0.24), transparent);
}

.trace-one {
  left: 92px;
  right: 92px;
  top: 50%;
  height: 2px;
}

.trace-two {
  top: 86px;
  bottom: 86px;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(10, 143, 122, 0.24), transparent);
}

.content-section {
  padding: 74px 0;
}

.muted-band {
  width: 100%;
  margin: 0;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: #edf3f5;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
}

.section-head p {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.pain-grid,
.os-grid,
.difference-grid {
  display: grid;
  gap: 12px;
}

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

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

.pain-card,
.system-card,
.difference-grid article,
.trust-chain article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(20, 32, 38, 0.045);
}

.pain-card {
  min-height: 188px;
  padding: 16px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  justify-content: center;
  background: var(--blue-soft);
  color: var(--steel);
}

.pain-card h3,
.system-card h3,
.difference-grid h3,
.trust-chain h3 {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.25;
}

.pain-card p,
.system-card p,
.difference-grid p,
.trust-chain p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.system-card {
  min-height: 216px;
  display: block;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.system-card.featured {
  border-color: #b7ded3;
  background:
    linear-gradient(135deg, rgba(10, 143, 122, 0.08), transparent 55%),
    var(--surface);
}

.system-card.featured .card-icon {
  background: var(--green-soft);
  color: var(--teal-dark);
}

.system-card strong {
  gap: 6px;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 13px;
}

.difference-grid article {
  min-height: 214px;
  padding: 20px;
}

.difference-grid span {
  display: inline-flex;
  min-height: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  align-items: center;
  padding: 4px 9px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 800;
}

.difference-grid article.highlight {
  border-color: #b7ded3;
  background: var(--green-soft);
}

.difference-grid article.highlight span {
  color: var(--teal-dark);
  background: var(--surface);
}

.trust-section {
  padding-top: 0;
}

.trust-chain {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.trust-chain article {
  min-height: 140px;
  padding: 16px;
}

.trust-chain span {
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 860;
  line-height: 1;
}

.final-cta {
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(10, 143, 122, 0.1), rgba(61, 111, 131, 0.1)),
    var(--surface);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.final-cta p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta-actions {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-footer {
  margin-bottom: 34px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

@media (max-width: 1120px) {
  .landing-header {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .landing-nav,
  .header-actions {
    justify-content: flex-start;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-map {
    min-height: 520px;
  }

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

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

@media (max-width: 760px) {
  .landing-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .landing-nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .brand small {
    display: none;
  }

  .landing-nav,
  .header-actions,
  .hero-actions {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hero-section,
  .content-section,
  .final-cta,
  .landing-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    gap: 22px;
    padding: 24px 0 34px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .proof-strip {
    display: none;
  }

  .hero-map {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .hero-map::before,
  .hero-map::after,
  .map-trace {
    display: none;
  }

  .map-center {
    position: static;
    width: 100%;
    min-height: 70px;
    grid-column: 1 / -1;
    padding: 12px;
    transform: none;
  }

  .map-center strong {
    font-size: 22px;
  }

  .map-node {
    position: static;
    width: 100%;
    min-height: 64px;
    gap: 3px;
    padding: 9px;
    transform: none;
  }

  .map-node .icon {
    width: 14px;
    height: 14px;
  }

  .map-node strong {
    font-size: 12px;
  }

  .map-node small {
    font-size: 11px;
  }

  .node-1 {
    top: auto;
  }

  .node-2 {
    top: auto;
  }

  .node-3 {
    top: auto;
  }

  .node-4 {
    top: auto;
  }

  .node-5 {
    bottom: auto;
    top: auto;
  }

  .node-6 {
    bottom: auto;
    top: auto;
  }

  .pain-grid,
  .os-grid,
  .difference-grid,
  .trust-chain,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .muted-band {
    padding-left: 12px;
    padding-right: 12px;
  }

  .content-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .final-cta {
    padding: 22px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .landing-header {
    gap: 10px;
  }

  .landing-nav a,
  .primary-button,
  .secondary-button,
  .ghost-button {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-map {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .loading-mark {
    animation: none;
  }
}
