:root {
  --green: #67c845;
  --green-deep: #173c2a;
  --green-darker: #10291d;
  --green-soft: #ddf4d3;
  --green-mist: #eff8ea;
  --warm-white: #fafaf6;
  --mist: #f3f5f2;
  --line: #e4e9e2;
  --text: #161816;
  --muted: #737b75;
  --amber: #b9823a;
  --shadow: 0 24px 70px rgba(23, 60, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  padding-top: 18px;
  background: #fff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  color: var(--text);
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 5.7vw, 78px);
  line-height: 1.06;
  font-weight: 780;
}

h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 760;
}

h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 730;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(228, 233, 226, 0.75);
  border-radius: 999px;
  background: rgba(250, 250, 246, 0.76);
  backdrop-filter: blur(18px);
  animation: navEnter 0.55s ease both;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  transform: translateY(-2px);
  border-color: rgba(221, 244, 211, 0.95);
  box-shadow: 0 18px 54px rgba(23, 60, 42, 0.16);
  background: rgba(250, 250, 246, 0.93);
}

@keyframes navEnter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: #fff;
}

.brand-mark .mark-cut {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-deep);
}

.brand-copy em {
  font-size: 11px;
  font-style: normal;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #566057;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff !important;
}

.section,
.section-full {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.section {
  padding: 96px max(24px, calc((100vw - var(--content)) / 2));
}

.section-full {
  min-height: 100vh;
  padding: 72px max(24px, calc((100vw - var(--content)) / 2)) 72px;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 56px;
  min-height: calc(100vh - 20px);
  padding-top: 48px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 74% 8%, rgba(221, 244, 211, 0.86), transparent 32%),
    linear-gradient(180deg, #fffefa 0%, #f4f8ef 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 760;
}

.hero-lede {
  max-width: 650px;
  margin-top: 28px;
  font-size: 21px;
  color: #5d665e;
}

.highlight {
  display: inline;
  padding: 0 6px 2px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 34px rgba(103, 200, 69, 0.27);
}

.button-primary:hover {
  background: #58b83a;
}

.button-secondary {
  border: 1px solid rgba(23, 60, 42, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.trust-strip span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.08 / 1;
  height: auto;
  max-height: 560px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 42px;
  background: #f5faef;
  box-shadow: 0 26px 80px rgba(23, 60, 42, 0.13);
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 47%;
  left: 47%;
  width: 24px;
  height: 24px;
  background: var(--green);
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
  filter: drop-shadow(0 3px 8px rgba(23, 60, 42, 0.24));
  transform: translate(-50%, -50%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}

.halo {
  fill: rgba(221, 244, 211, 0.68);
}

.graph path,
.map-lines path {
  fill: none;
  stroke: #8ecf75;
  stroke-width: 2;
  opacity: 0.62;
}

.graph circle {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 4;
}

.node-card rect {
  fill: rgba(255, 255, 255, 0.82);
  stroke: #e4eadf;
}

.node-card text {
  fill: var(--green-deep);
  font-size: 16px;
  font-weight: 760;
  text-anchor: middle;
}

.back-hill {
  fill: #cfeec5;
}

.path-line {
  fill: none;
  stroke: rgba(250, 250, 246, 0.74);
  stroke-width: 32;
  stroke-linecap: round;
}

.tower {
  fill: #f9fff4;
}

.tower-shade,
.band {
  fill: #65bd45;
}

.roof,
.lighthouse rect {
  fill: var(--green);
}

.lantern {
  fill: #f8fff4 !important;
}

.lamp {
  fill: #fff;
}

.door {
  fill: var(--green-deep) !important;
}

.light-beam {
  animation: beamFloat 7s ease-in-out infinite;
  transform-origin: 404px 230px;
}

.graph-left,
.graph-right,
.node-card {
  animation: floatSoft 6s ease-in-out infinite;
}

.graph-right,
.n2 {
  animation-delay: -2s;
}

.n3 {
  animation-delay: -4s;
}

@keyframes beamFloat {
  50% {
    transform: rotate(-1.8deg) translateY(8px);
  }
}

@keyframes floatSoft {
  50% {
    transform: translateY(-10px);
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero-content {
    padding-top: 24px;
  }

  .hero-visual {
    max-height: 500px;
  }

  .hero-visual img {
    object-position: center 48%;
  }
}

@media (min-width: 1280px) {
  .hero-visual {
    aspect-ratio: 1.18 / 1;
    max-height: 540px;
  }

  .hero-visual img {
    object-position: center 48%;
  }
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  margin-top: 20px;
}

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

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.soft-card,
.case-card,
.service-card,
.layer-card,
.compare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
}

.soft-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 30px;
}

.soft-card,
.layer-card,
.case-card,
.service-card,
.timeline article {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.soft-card.is-visible,
.layer-card.is-visible,
.case-card.is-visible,
.service-card.is-visible,
.timeline article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.soft-card:hover,
.case-card:hover,
.layer-card:hover {
  border-color: rgba(103, 200, 69, 0.42);
  box-shadow: 0 18px 48px rgba(23, 60, 42, 0.08);
}

.soft-card p,
.case-card p,
.layer-card p,
.service-card li,
.compare-card li,
.timeline p {
  font-size: 16px;
  line-height: 1.65;
}

.soft-card h3,
.case-card h3,
.layer-card h3 {
  margin-bottom: 14px;
}

.soft-card h3 {
  min-height: 30px;
}

.soft-card h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: var(--green);
}

.definition {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 64px;
}

.definition-copy p {
  margin-top: 24px;
}

.compare-panel {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
}

.compare-card {
  padding: 34px;
}

.compare-card h3 {
  margin-bottom: 24px;
}

.compare-card ul,
.service-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card li,
.service-card li {
  position: relative;
  padding-left: 24px;
  color: #5f6861;
  font-weight: 650;
}

.compare-card li::before,
.service-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.compare-card.muted {
  background: var(--mist);
}

.compare-card.accent {
  background: var(--green-deep);
  box-shadow: var(--shadow);
}

.compare-card.accent h3,
.compare-card.accent li {
  color: #fff;
}

.compare-arrow {
  height: 2px;
  background: linear-gradient(90deg, #cfd8cf, var(--green));
}

.compare-arrow::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin-left: auto;
  margin-top: -5px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}

.architecture {
  background: linear-gradient(180deg, var(--warm-white), #eef7e9);
}

.runtime-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 14px;
}

.layer-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.layer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--green);
}

.layer-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 840;
}

.layer-card h3 {
  min-height: 62px;
}

.graph-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 56px;
  background: #fff;
}

.graph-copy p {
  margin-top: 24px;
}

.knowledge-map {
  position: relative;
  min-height: 500px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 48%, rgba(221, 244, 211, 0.74), transparent 35%),
    linear-gradient(180deg, #fbfcf9, #f0f6ec);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-deep);
  font-weight: 780;
  box-shadow: 0 12px 32px rgba(23, 60, 42, 0.08);
}

.map-node.core {
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  flex-direction: column;
  gap: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--green-deep);
  color: #fff;
}

.mini-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--green);
}

.mini-mark::before,
.mini-mark::after {
  content: "";
  position: absolute;
  display: block;
  background: #fff;
}

.mini-mark::before {
  top: 7px;
  left: 50%;
  width: 19px;
  height: 19px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
}

.mini-mark::after {
  left: 13px;
  top: 24px;
  width: 22px;
  height: 7px;
  border-radius: 999px;
}

.mini-mark i {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 18px;
  height: 18px;
  background: #fff;
  clip-path: polygon(26% 0, 74% 0, 92% 100%, 8% 100%);
  transform: translateX(-50%);
}

.mini-mark b {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.p1 { top: 14%; left: 10%; }
.p2 { top: 8%; left: 43%; }
.p3 { top: 17%; right: 9%; }
.p4 { top: 70%; right: 11%; }
.p5 { bottom: 8%; left: 45%; }
.p6 { top: 69%; left: 15%; }
.p7 { top: 43%; left: 4%; }
.p8 { top: 43%; right: 4%; }

.cases {
  background: var(--warm-white);
}

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

.case-card {
  min-height: 230px;
  padding: 24px 20px;
}

.service {
  background: #fff;
}

.service-shell {
  padding: 78px;
  border-radius: 46px;
  background: linear-gradient(135deg, #f3f8ef 0%, #fff 48%, #e8f6e1 100%);
  border: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-card {
  padding: 40px;
}

.service-card h3 {
  margin-bottom: 28px;
  font-size: 30px;
}

.service-card.dark {
  background: var(--green-deep);
}

.service-card.dark h3,
.service-card.dark li {
  color: #fff;
}

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

.timeline article {
  position: relative;
  min-height: 176px;
  padding: 34px 22px 0;
  border-top: 2px solid var(--green);
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 22px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--warm-white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.timeline h3 {
  margin: 0 0 12px;
}

.boundary {
  background: #fff;
}

.boundary-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 38px;
  padding: 64px;
  border-radius: 42px;
  background: var(--mist);
}

.boundary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.exclude,
.focus {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: #fff;
}

.focus {
  background: var(--green-deep);
}

.focus h3,
.focus p {
  color: #fff;
}

.exclude h3,
.focus h3 {
  margin-bottom: 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 48px;
  min-height: 84vh;
  background: var(--green-deep);
  color: #fff;
}

.final-cta h2,
.final-cta p,
.final-cta .section-kicker {
  color: #fff;
}

.final-cta .section-kicker {
  background: rgba(255, 255, 255, 0.12);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-content p {
  margin: 24px 0 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.cta-visual svg {
  width: 100%;
  overflow: visible;
}

.cta-visual .cta-halo {
  fill: rgba(221, 244, 211, 0.16);
}

.cta-visual .cta-hill {
  fill: rgba(103, 200, 69, 0.42);
}

.cta-visual .cta-beam {
  fill: rgba(103, 200, 69, 0.2);
}

.cta-tower .tower-star,
.cta-tower .tower-body,
.cta-tower .tower-cap,
.cta-tower .tower-base {
  fill: #fff;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--green-darker);
}

.footer p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.footer .brand-copy strong,
.footer .brand-copy em {
  color: #fff;
}

@media (max-width: 980px) {
  body {
    padding-top: 12px;
  }

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .brand-copy em {
    display: none;
  }

  .section-full {
    min-height: auto;
    padding: 28px 20px 48px;
  }

  .section {
    padding: 64px 20px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 26px;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 48px;
    background: linear-gradient(180deg, #fffefa 0%, #f5f9f1 100%);
  }

  .hero-visual {
    order: -1;
    width: 100%;
    min-height: 42vh;
    max-height: 46vh;
    border-radius: 34px;
  }

  .hero-visual::after {
    top: 23%;
    left: 48%;
    width: 20px;
    height: 20px;
  }

  .hero-visual img {
    width: 100%;
    min-height: 42vh;
    max-height: 46vh;
    object-fit: cover;
    object-position: center 42%;
  }

  h1 {
    font-size: clamp(36px, 9.3vw, 44px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero-lede {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.7;
    margin-top: 20px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 30px;
  }

  .trust-strip {
    justify-content: center;
  }

  .button {
    min-height: 58px;
  }

  .trust-strip span {
    font-size: 13px;
  }

  .section-heading {
    margin-bottom: 36px;
    text-align: left;
  }

  .problem-grid,
  .runtime-stack,
  .service-grid,
  .boundary-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .soft-card {
    min-height: auto;
  }

  .split,
  .graph-section,
  .boundary-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .compare-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compare-arrow {
    width: 2px;
    height: 36px;
    margin-left: 34px;
    background: linear-gradient(180deg, #cfd8cf, var(--green));
  }

  .compare-arrow::after {
    margin-left: -5px;
    margin-top: 25px;
    transform: rotate(135deg);
  }

  .graph-section {
    gap: 34px;
  }

  .knowledge-map {
    min-height: 420px;
    border-radius: 32px;
  }

  .map-node {
    min-width: 70px;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .map-node.core {
    width: 124px;
    height: 124px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card.wide {
    grid-column: auto;
  }

  .service-shell,
  .boundary-panel {
    padding: 28px;
    border-radius: 34px;
  }

  .timeline article {
    padding: 28px 0 28px 32px;
    border-top: 0;
    border-left: 2px solid var(--green);
  }

  .timeline article::before {
    top: 31px;
    left: -10px;
  }

  .final-cta {
    padding-top: 84px;
  }

  .cta-visual {
    order: 2;
  }

  .cta-content {
    order: 1;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  p {
    font-size: 16px;
  }

  .site-header {
    padding: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .nav-cta {
    padding: 11px 16px;
    font-size: 13px;
  }

  .eyebrow,
  .section-kicker {
    min-height: 32px;
    margin-bottom: 18px;
    font-size: 12px;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
  }

  .button {
    padding: 0 22px;
    font-size: 16px;
  }

  .soft-card,
  .compare-card,
  .layer-card,
  .case-card,
  .service-card,
  .exclude,
  .focus {
    border-radius: 26px;
    padding: 24px;
  }

  .knowledge-map {
    margin-inline: -4px;
  }

  .p1 { top: 12%; left: 4%; }
  .p2 { top: 6%; left: 39%; }
  .p3 { top: 16%; right: 4%; }
  .p4 { top: 72%; right: 4%; }
  .p5 { bottom: 6%; left: 39%; }
  .p6 { top: 72%; left: 5%; }
  .p7 { top: 44%; left: 2%; }
  .p8 { top: 44%; right: 2%; }

  .hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }
}
