:root {
  color: #17212b;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  background: #f7f9f3;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

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

.page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  padding: clamp(18px, 2.6vw, 40px) clamp(20px, 5vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    #f7f9f3;
  background-size: 44px 44px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1680px);
  margin: 0 auto;
}

.brand,
.download-card,
.download-panel {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #1947e5;
}

.hero {
  display: grid;
  grid-template-columns: minmax(560px, 0.88fr) minmax(600px, 1fr);
  gap: clamp(48px, 5vw, 104px);
  align-items: center;
  width: min(100%, 1680px);
  height: 100%;
  margin: 0 auto;
  padding-bottom: 1vh;
  transform: translateY(-5vh);
}

.hero-copy {
  min-width: 0;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: clamp(14px, 1.7vw, 22px);
  font-size: clamp(58px, 5.2vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

.feature-slot {
  width: min(100%, 780px);
  height: 46px;
  margin-bottom: clamp(14px, 1.8vw, 22px);
  font-size: clamp(24px, 1.8vw, 34px);
  font-weight: 900;
}

.slot-window {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slot-track {
  display: flex;
  width: 900%;
  height: 100%;
  animation: slot-slide 18s infinite;
}

.slot-track b {
  display: flex;
  flex: 0 0 11.1111%;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  color: #1947e5;
  white-space: nowrap;
}

@keyframes slot-slide {
  0%,
  8% {
    transform: translateX(0);
  }

  12.5%,
  20.5% {
    transform: translateX(-11.1111%);
  }

  25%,
  33% {
    transform: translateX(-22.2222%);
  }

  37.5%,
  45.5% {
    transform: translateX(-33.3333%);
  }

  50%,
  58% {
    transform: translateX(-44.4444%);
  }

  62.5%,
  70.5% {
    transform: translateX(-55.5555%);
  }

  75%,
  83% {
    transform: translateX(-66.6666%);
  }

  87.5%,
  95.5% {
    transform: translateX(-77.7777%);
  }

  100% {
    transform: translateX(-88.8889%);
  }
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: #4c5964;
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.65;
}

.download-panel {
  gap: clamp(16px, 1.5vw, 28px);
  margin-top: clamp(22px, 3vw, 36px);
}

.download-card {
  width: auto;
  min-height: 46px;
  gap: 10px;
  padding: 0;
}

.download-card:hover {
  color: #1947e5;
}

.download-card[aria-disabled="true"] {
  color: #7a8490;
  pointer-events: none;
}

.download-action {
  display: inline-grid;
  min-width: 68px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  background: #1947e5;
}

.download-card[aria-disabled="true"] .download-action {
  background: #9aa5af;
}

.download-card strong {
  display: block;
  min-width: 0;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 750;
  white-space: nowrap;
}

.product-shot {
  min-width: 0;
  border: 1px solid #17212b;
  border-radius: 18px;
  box-shadow: clamp(12px, 1vw, 18px) clamp(12px, 1vw, 18px) 0 #d7f24b;
  overflow: hidden;
  background: #ffffff;
}

.window-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid #17212b;
  padding: 11px;
  background: #eef2e7;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border: 1px solid #17212b;
  border-radius: 999px;
}

.screen {
  display: grid;
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  min-height: clamp(360px, 38vh, 500px);
}

.screen aside {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid #dde4d6;
  padding: clamp(16px, 1.4vw, 22px);
  background: #f6f8fa;
}

.screen aside span,
.mini-flow span,
.path-card small {
  color: #5d6975;
  font-size: 13px;
}

.screen aside .active {
  border-radius: 6px;
  padding: 8px;
  color: #1947e5;
  font-weight: 850;
  background: #eaf0ff;
}

.screen section {
  display: grid;
  gap: clamp(12px, 1vw, 16px);
  align-content: start;
  padding: clamp(18px, 1.6vw, 28px);
}

.status-line,
.path-card,
.mini-flow div {
  border: 1px solid #d6ded0;
  border-radius: 8px;
  background: #ffffff;
}

.status-line {
  display: flex;
  justify-content: space-between;
  padding: clamp(13px, 1.1vw, 18px);
}

.status-line strong {
  color: #1a7f37;
}

.path-card {
  display: grid;
  gap: 8px;
  padding: clamp(14px, 1.2vw, 20px);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.mini-flow {
  display: grid;
  gap: 9px;
}

.mini-flow div {
  display: grid;
  gap: 4px;
  padding: clamp(13px, 1.15vw, 18px);
}

@media (max-width: 900px) {
  .page {
    padding: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: center;
    transform: none;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(40px, 13vw, 68px);
  }

  .feature-slot {
    width: min(100%, 520px);
    height: 34px;
    font-size: 20px;
  }

  .slot-window {
    height: 34px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .download-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .download-card {
    width: fit-content;
    min-height: 36px;
  }

  .download-action {
    min-width: 52px;
    height: 32px;
    font-size: 13px;
  }

  .download-card strong {
    font-size: 13px;
    white-space: normal;
  }

  .product-shot {
    box-shadow: 9px 9px 0 #d7f24b;
  }

  .screen {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .screen aside {
    display: none;
  }

  .screen section {
    gap: 8px;
    padding: 12px;
  }

  .mini-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-flow div {
    padding: 10px;
  }

  .mini-flow b,
  .mini-flow span {
    font-size: 12px;
  }
}

@media (min-width: 1500px) and (min-height: 900px) {
  .page {
    padding-top: clamp(28px, 3vh, 46px);
    padding-bottom: clamp(28px, 3vh, 46px);
  }

  .hero {
    transform: translateY(-7vh);
  }
}
