:root {
  --ink: #17231f;
  --muted: #60716b;
  --line: #dce5df;
  --paper: #fbfcfa;
  --soft: #eef4ef;
  --green: #1e5b49;
  --green-dark: #143d33;
  --gold: #b98a3a;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(20, 61, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(251, 252, 250, 0.9);
  border-bottom: 1px solid rgba(220, 229, 223, 0.7);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  color: #31423c;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--green);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, 92vh);
  padding: 128px clamp(20px, 7vw, 104px) 92px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.96) 0%, rgba(251, 252, 250, 0.84) 42%, rgba(251, 252, 250, 0.28) 100%),
    linear-gradient(180deg, rgba(251, 252, 250, 0.34), rgba(251, 252, 250, 0.92));
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: #33443e;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.primary-action {
  color: var(--white);
  background: var(--green);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 17px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

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

.feature-card,
.product-item,
.boundary-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 236px;
  padding: 26px;
}

.feature-index {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 800;
}

.feature-card h3,
.product-item h3,
.boundary-panel h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-card p,
.product-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.products-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  min-height: 210px;
  padding: 30px;
}

.product-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.product-item code {
  align-self: flex-start;
  padding: 8px 10px;
  color: var(--green-dark);
  background: #edf4ef;
  border: 1px solid #d5e3db;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.boundary-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.boundary-panel {
  padding: 30px;
}

.boundary-muted {
  background: #faf6ed;
  border-color: #eadcc2;
}

.boundary-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding: 28px 20px;
  color: #6d7c77;
  background: #111d19;
  font-size: 14px;
}

.icp-link {
  color: #a9b7b2;
}

.icp-link:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding-top: 76px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 252, 250, 0.95) 0%, rgba(251, 252, 250, 0.88) 54%, rgba(251, 252, 250, 0.42) 100%),
      linear-gradient(90deg, rgba(251, 252, 250, 0.82), rgba(251, 252, 250, 0.18));
  }

  .intro-section,
  .feature-grid,
  .product-list,
  .boundary-layout {
    grid-template-columns: 1fr;
  }

  .intro-section {
    display: grid;
    gap: 28px;
  }

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

@media (max-width: 620px) {
  .brand small {
    white-space: normal;
  }

  .hero {
    min-height: 700px;
    padding-bottom: 70px;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 58px 0;
  }

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

  .product-item {
    display: grid;
    gap: 22px;
  }

  .product-item code {
    white-space: normal;
    word-break: break-word;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
