:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5d6b66;
  --surface: #fbfaf6;
  --surface-strong: #f0efe7;
  --line: #d8d7cc;
  --forest: #245c49;
  --moss: #7b9a58;
  --clay: #b45f45;
  --sky: #3d78a8;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(24, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-size: 17px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.nav-links {
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 122px clamp(20px, 6vw, 86px) 86px;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 31, 28, 0.9), rgba(18, 31, 28, 0.58) 44%, rgba(18, 31, 28, 0.2)),
    linear-gradient(0deg, rgba(18, 31, 28, 0.42), transparent 44%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b99f;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

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

.secondary-action {
  color: var(--white);
}

.section {
  padding: 78px clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 196px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.07);
}

.feature p,
.band p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 36px;
  align-items: end;
  padding: 78px clamp(20px, 6vw, 86px);
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.link-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.link-list a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: var(--forest);
  text-decoration: underline;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 106px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(18, 31, 28, 0.92), rgba(18, 31, 28, 0.56)),
      linear-gradient(90deg, rgba(18, 31, 28, 0.72), transparent);
  }

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

  .footer-brand {
    flex-direction: column;
  }
}
