:root {
  color-scheme: light;
  --ink: #15151a;
  --muted: #5f6472;
  --line: #dde3ea;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --blue: #2563eb;
  --shadow: 0 18px 60px rgba(18, 27, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fafc;
  padding: 0.1em 0.35em;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 227, 234, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.topbar nav {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-download {
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 68px);
  padding-top: 54px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.lead,
.section-head p,
.split p,
.download-section p {
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.23);
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.button.wide {
  width: 100%;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 0;
}

.quick-facts div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.quick-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding-left: 18px;
}

.app-icon {
  position: absolute;
  top: 6px;
  right: 28px;
  width: 142px;
  height: 142px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.app-window {
  margin-top: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5df;
}

.window-body {
  padding: 28px;
}

.window-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.window-body h2 {
  font-size: 28px;
}

.mock-field {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.mock-field span {
  color: var(--muted);
  font-size: 13px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.mock-grid span {
  border-radius: 8px;
  background: #e8f4f2;
  color: var(--accent-strong);
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.feature-band {
  width: 100%;
  max-width: none;
  background: var(--soft);
  padding-inline: max(20px, calc((100vw - 1160px) / 2));
}

.section-head {
  max-width: 760px;
}

.features,
.key-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.features article,
.key-cards article,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.features p,
.key-cards p {
  color: var(--muted);
  margin-bottom: 0;
}

.split,
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

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

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.steps strong,
.steps span {
  grid-column: 2;
}

.steps strong {
  grid-row: 1;
}

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

.key-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.download-section {
  align-items: center;
}

.download-panel {
  box-shadow: var(--shadow);
}

.download-panel img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.download-panel p {
  font-size: 15px;
}

.checksum {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.checksum code {
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .download-section,
  .features,
  .key-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
  }

  .hero-product {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .section {
    width: min(100% - 28px, 1160px);
    padding: 56px 0;
  }

  h1 {
    font-size: 40px;
  }

  .brand span {
    font-size: 14px;
  }

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

  .app-icon {
    right: 18px;
    width: 108px;
    height: 108px;
  }

  .app-window {
    margin-top: 68px;
  }

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

  .steps li::before,
  .steps strong,
  .steps span {
    grid-column: 1;
  }
}
