:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --ink: #17211c;
  --muted: #5d6a63;
  --line: #dfe7e2;
  --green: #15a66a;
  --green-dark: #087447;
  --blue: #356dc5;
  --amber: #c98a19;
  --teal: #0f8f8a;
  --shadow: 0 24px 60px rgba(21, 44, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(223, 231, 226, 0.92);
  background: rgba(247, 248, 246, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--green-dark);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 74svh;
  padding: 72px 6vw;
  overflow: hidden;
  background:
    linear-gradient(rgba(247, 248, 246, 0.18), rgba(247, 248, 246, 0.88)),
    url("./assets/dashboard-preview.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  max-width: 760px;
  padding-top: 24px;
}

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

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

h1 {
  max-width: 9em;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #334039;
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

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

.button.secondary {
  border-color: rgba(8, 116, 71, 0.35);
  background: rgba(255, 255, 255, 0.74);
  color: var(--green-dark);
}

.section {
  padding: 76px 6vw;
  background: var(--surface);
}

.section.muted {
  background: var(--surface-soft);
}

.section.contact {
  background: #fcfbf7;
}

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(280px, 1.12fr);
  gap: 52px;
  align-items: start;
}

.intro-grid p:last-child {
  color: var(--muted);
  font-size: 18px;
}

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

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

.feature-card {
  min-height: 244px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.feature-icon.green {
  background: var(--green);
}

.feature-icon.blue {
  background: var(--blue);
}

.feature-icon.amber {
  background: var(--amber);
}

.feature-icon.teal {
  background: var(--teal);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 48px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(15, 143, 138, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #e3f5ee;
  color: var(--green-dark);
  font-weight: 800;
}

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

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.contact-band h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.mail-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 2px solid var(--green);
  color: var(--green-dark);
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  background: #17211c;
  color: #e9f0ec;
}

.site-footer p {
  margin-bottom: 0;
  color: #b9c5bf;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #e9f0ec;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 13px;
}

.site-footer.compact {
  align-items: center;
}

.legal-page {
  padding: 64px 6vw 88px;
  background: var(--surface);
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
}

.legal-document h1 {
  max-width: none;
  margin-bottom: 8px;
  font-size: clamp(38px, 5vw, 58px);
}

.legal-document h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-document p {
  color: #34443b;
}

.legal-document a {
  color: var(--green-dark);
  font-weight: 700;
}

.updated {
  color: var(--muted);
}

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

  .site-nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    min-height: 72svh;
    padding-top: 50px;
    padding-bottom: 50px;
    background-position: 58% center;
  }

  .intro-grid,
  .workflow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .contact-band,
  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    background-position: 63% center;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

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

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

  .steps li {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }

  .mail-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
