:root {
  color-scheme: light;
  --text: #17201b;
  --muted: #5f6f67;
  --line: #d7ded8;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --accent: #1f6b55;
  --accent-dark: #154c3d;
  --warm: #c97b45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 248, 244, 0.94), rgba(247, 248, 244, 0.74) 42%, rgba(247, 248, 244, 0.12)),
    linear-gradient(0deg, rgba(247, 248, 244, 0.9), rgba(247, 248, 244, 0) 28%);
}

.hero__content {
  width: min(720px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  padding: 88px 0 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--accent-dark);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 78px 20px;
  background: var(--paper);
}

.section--quiet {
  background: #edf1ed;
}

.section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section__inner > p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.14;
}

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

.item {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.item h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: #59655f;
  font-size: 0.92rem;
  text-align: center;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .hero {
    min-height: 82vh;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(247, 248, 244, 0.96), rgba(247, 248, 244, 0.76) 58%, rgba(247, 248, 244, 0.2)),
      linear-gradient(90deg, rgba(247, 248, 244, 0.82), rgba(247, 248, 244, 0.38));
  }

  .hero__content {
    width: min(100% - 32px, 640px);
    margin: 0 auto;
    padding: 84px 0 96px;
  }

  .actions {
    width: 100%;
  }

  .button {
    flex: 1 1 150px;
  }

  .section {
    padding: 58px 16px;
  }

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