:root {
  --ink: #121923;
  --muted: #5c6470;
  --line: rgba(18, 25, 35, 0.08);
  --green: #245b43;
  --green-dark: #174732;
  --paper: #ffffff;
  --bg: #f7f8f6;
  font-family:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei", system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
}

nav {
  display: flex;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  margin-left: auto;
}

nav a {
  position: relative;
  padding: 6px 0 12px;
  color: #1f262e;
  font-size: 16px;
  font-weight: 650;
}

nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 40px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  background: #f4f5f2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 13%, rgba(255, 255, 255, 0.78) 28%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0) 100%),
    url("./hero-workspace.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 214px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #111821;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 850;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

.lead {
  margin: 34px 0 42px;
  color: #303844;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.6;
}

.hero-button {
  display: inline-flex;
  min-width: 198px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 18px 34px rgba(23, 71, 50, 0.24);
  font-size: 18px;
  font-weight: 650;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(23, 71, 50, 0.28);
}

.hero-button span {
  font-family: system-ui, sans-serif;
  font-size: 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 70px;
  background: var(--paper);
}

main {
  background: var(--paper);
}

.features article {
  text-align: center;
}

.icon {
  display: inline-grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
}

.icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mint {
  color: #1f6658;
  background: #e3f0e8;
}

.blue {
  color: #215d9e;
  background: #e2effd;
}

.amber {
  color: #8a5a12;
  background: #faecd6;
}

.violet {
  color: #5d4a91;
  background: #ece7f6;
}

.features h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 850;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.quote-panel {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 330px;
  margin: 0 auto 58px;
  overflow: hidden;
  border-radius: 14px;
  background: #e8eef1;
}

.quote-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 251, 252, 0.92) 0 28%, rgba(248, 251, 252, 0.45) 48%, rgba(248, 251, 252, 0.04) 76%),
    url("./hero-workspace.png") center 36% / cover no-repeat;
  filter: saturate(0.72) contrast(0.95);
}

.quote-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    radial-gradient(ellipse at 62% 72%, rgba(33, 72, 58, 0.22), transparent 28%),
    linear-gradient(180deg, transparent, rgba(18, 54, 66, 0.38));
  content: "";
}

.quote-copy {
  position: relative;
  z-index: 1;
  padding: 62px 84px;
}

.quote-copy h2 {
  margin: 0;
  color: #1c2430;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.55;
}

.quote-copy span {
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 22px;
  background: #5d646c;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 32px, 680px);
    padding: 22px 0;
  }

  .brand {
    opacity: 1;
    pointer-events: auto;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 14px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0 46%, rgba(255, 255, 255, 0.28) 76%, rgba(255, 255, 255, 0.08) 100%),
      url("./hero-workspace.png") 63% center / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    padding-top: 142px;
  }

  .lead {
    margin: 28px 0 34px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 32px, 680px);
    gap: 34px 22px;
    padding: 48px 0 54px;
  }

  .quote-panel {
    width: min(100% - 32px, 680px);
    min-height: 300px;
  }

  .quote-copy {
    padding: 44px 34px;
  }

  .site-footer {
    flex-direction: column;
    width: min(100% - 32px, 680px);
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 240px;
  }

  .hero {
    min-height: 680px;
  }

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

  .eyebrow {
    max-width: 260px;
    line-height: 1.5;
  }

  .hero-button {
    width: 190px;
  }

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

  .quote-panel {
    min-height: 260px;
    border-radius: 10px;
  }
}
