:root {
  color-scheme: light;
  --bg: #f7f9f4;
  --surface: #ffffff;
  --ink: #14201c;
  --muted: #60716b;
  --line: #dfe7de;
  --green: #14966f;
  --green-strong: #087a5c;
  --yellow: #f4c928;
  --blue: #256b9d;
  --shadow: 0 24px 70px rgba(18, 35, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow);
}

.brand-mark svg,
.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 64px;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 42px 0 70px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 16px;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button svg {
  flex: 0 0 22px;
}

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

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 28px rgba(20, 150, 111, 0.25);
}

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

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  justify-self: end;
  width: min(100%, 440px);
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(145deg, #202c28, #526760);
  box-shadow: var(--shadow);
}

.hero-visual img,
.workflow-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 32px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.feature-grid p {
  font-size: 16px;
}

.icon-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

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

.icon-dot.yellow {
  background: var(--yellow);
}

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

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 450px);
  align-items: center;
  gap: 70px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.workflow-shot {
  padding: 14px;
  border-radius: 28px;
  background: #111a17;
  box-shadow: var(--shadow);
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 40px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download h2 {
  margin-bottom: 12px;
}

.download-actions {
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 28px, 720px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .workflow,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 720px);
    gap: 36px;
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-copy,
  .hero-actions {
    width: min(100%, 362px);
    max-width: calc(100vw - 28px);
  }

  .hero-visual {
    justify-self: stretch;
    width: min(100%, 362px, calc(100vw - 28px));
    margin: 0;
  }

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

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

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .download {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .download-actions,
  .download-actions .button,
  .hero-actions .button {
    width: 100%;
  }

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