:root {
  color-scheme: light dark;
  --bg: #f3f7f8;
  --surface: #fbfdfd;
  --surface-2: #eaf1f3;
  --surface-3: #dde8eb;
  --ink: #172f3f;
  --muted: #58707e;
  --faint: #7d919b;
  --line: rgba(30, 69, 89, 0.15);
  --line-strong: rgba(30, 69, 89, 0.27);
  --accent: #df2f3d;
  --accent-strong: #c71f2d;
  --accent-action: #c9202f;
  --accent-action-strong: #b51625;
  --accent-soft: #fbe9eb;
  --on-accent: #fff9f9;
  --shadow: rgba(41, 78, 96, 0.16);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 5%, rgba(180, 210, 218, 0.34), transparent 27%),
    linear-gradient(180deg, #f7fafb 0, var(--bg) 760px);
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 69, 89, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 69, 89, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 74%);
}

img {
  max-width: 100%;
}

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

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 4px;
}

.site-shell {
  min-width: 0;
  overflow: clip;
}

.page-width,
.topbar {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img,
.footer-brand img,
.download-product img {
  display: block;
  border-radius: 11px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-right: auto;
  color: var(--muted);
  font-size: 14px;
}

.topnav a,
.footer-meta a {
  transition: color 180ms ease;
}

.topnav a:hover,
.footer-meta a:hover {
  color: var(--accent);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-cta:active,
.button:active {
  transform: translateY(1px) scale(0.985);
}

.hero {
  min-height: min(720px, calc(100dvh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(42px, 5vw, 74px);
  padding-block: 54px 62px;
}

.hero-copy {
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.hero h1,
.section-heading h2,
.workflow-intro h2,
.product-copy h2,
.trust-copy h2,
.download-copy h2 {
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em,
.trust-copy h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lede {
  max-width: 460px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 740;
  line-height: 1;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--accent-action);
  color: var(--on-accent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-action) 22%, transparent);
}

.button-primary:hover,
.button-download:hover {
  background: var(--accent-action-strong);
  box-shadow: 0 15px 32px color-mix(in srgb, var(--accent-action) 27%, transparent);
}

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

.button-secondary:hover {
  border-color: var(--ink);
}

.product-preview,
.scenario-photo,
.workspace-shot {
  margin: 0;
}

.product-preview {
  min-width: 0;
}

.product-window {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 30px 72px var(--shadow);
  transform: rotate(1.2deg);
  transform-origin: center;
}

.window-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 5px;
  color: var(--faint);
  font-size: 10px;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.window-controls i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: var(--faint);
  opacity: 0.58;
}

.product-window > img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.product-preview figcaption {
  display: grid;
  gap: 3px;
  padding: 20px 10px 0;
}

.product-preview figcaption strong {
  font-size: 14px;
}

.product-preview figcaption span,
.workspace-shot figcaption,
.scenario-photo figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-strip article {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 28px;
}

.value-strip article + article {
  border-left: 1px solid var(--line);
}

.value-strip strong {
  font-size: 14px;
}

.value-strip span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: clamp(88px, 9vw, 124px);
}

.section-heading,
.workflow-intro,
.product-copy > p,
.trust-copy > p,
.download-copy > p {
  max-width: 660px;
}

.section-heading h2,
.workflow-intro h2,
.product-copy h2,
.trust-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.section-heading > p,
.workflow-intro > p:last-child,
.product-copy > p,
.trust-copy > p,
.download-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: minmax(238px, auto) minmax(220px, auto);
  gap: 16px;
  margin-top: 58px;
}

.scenario-photo,
.scenario {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.scenario-photo {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--surface);
}

.scenario-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
}

.scenario-photo figcaption {
  display: grid;
  gap: 4px;
  padding: 21px 24px 23px;
}

.scenario-photo figcaption strong {
  font-size: 16px;
}

.scenario {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.scenario-report {
  grid-column: 7 / 11;
  background: var(--accent-soft);
}

.scenario-track {
  grid-column: 7 / 9;
  background: var(--surface);
}

.scenario-review {
  grid-column: 9 / 11;
  background: var(--surface-2);
}

.scenario-kicker {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 740;
}

.scenario h3 {
  margin: 34px 0 8px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
}

.scenario p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(56px, 8vw, 118px);
  border-top: 1px solid var(--line);
}

.workflow-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  border-top: 1px solid var(--line-strong);
}

.workflow-list li {
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.workflow-list li > span {
  min-width: 58px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.product-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  margin-top: 42px;
}

.product-facts article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-facts h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.product-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.workspace-shot {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 28px 66px var(--shadow);
}

.workspace-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

.workspace-shot figcaption {
  padding: 15px 4px 2px;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
  padding-inline: clamp(28px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-soft) 52%, var(--surface));
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.trust-points article {
  padding-top: 17px;
  border-top: 2px solid var(--accent);
}

.trust-points h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.trust-points p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.risk-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 11px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
  margin-block: 96px 72px;
  padding: clamp(36px, 5.5vw, 68px);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--accent);
  border-radius: 16px;
  background: var(--surface-2);
}

.download-copy h2 {
  max-width: 720px;
}

.download-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.download-product {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.download-product strong,
.download-product span {
  display: block;
}

.download-product strong {
  font-size: 14px;
}

.download-product span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.button-download {
  width: 100%;
  background: var(--accent-action);
  color: var(--on-accent);
}

.download-panel small {
  display: block;
  margin-top: 13px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
}

.download-panel.is-pending {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
}

.footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  color: var(--ink);
  font-size: 13px;
}

.footer > p {
  margin: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d171d;
    --surface: #142129;
    --surface-2: #192831;
    --surface-3: #21333c;
    --ink: #edf3f5;
    --muted: #a9b9c1;
    --faint: #8397a1;
    --line: rgba(194, 216, 224, 0.15);
    --line-strong: rgba(194, 216, 224, 0.27);
    --accent: #ef4653;
    --accent-strong: #d82e3c;
    --accent-action: #c9202f;
    --accent-action-strong: #b51625;
    --accent-soft: #2b2026;
    --on-accent: #fffafa;
    --shadow: rgba(0, 0, 0, 0.34);
  }

  body {
    background:
      radial-gradient(circle at 82% 5%, rgba(70, 104, 118, 0.24), transparent 27%),
      linear-gradient(180deg, #101c23 0, var(--bg) 760px);
  }

  .scenario-photo img {
    filter: brightness(0.86) saturate(0.84);
  }
}

@media (max-width: 1160px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px 82px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-lede {
    max-width: 620px;
  }

  .product-preview {
    max-width: 820px;
  }

  .workflow-section,
  .product-section,
  .trust-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .workflow-intro {
    position: static;
  }

  .workspace-shot {
    max-width: 860px;
  }

  .download-panel {
    max-width: 520px;
  }

  .footer {
    flex-wrap: wrap;
  }

  .footer-meta {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 780px) {
  .page-width,
  .topbar {
    width: calc(100% - 36px);
  }

  .topbar {
    height: 66px;
    gap: 18px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .topnav {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero {
    padding-block: 54px 66px;
    gap: 46px;
  }

  .hero h1 {
    letter-spacing: -0.055em;
  }

  .hero-lede {
    margin-block: 23px 26px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 12px;
    font-size: 12px;
  }

  .product-window {
    padding: 8px;
    transform: none;
  }

  .window-bar {
    height: 25px;
  }

  .product-preview figcaption {
    padding-inline: 2px;
  }

  .value-strip {
    grid-template-columns: 1fr 1fr;
  }

  .value-strip article {
    min-height: 94px;
    padding: 16px;
  }

  .value-strip article + article {
    border-left: 0;
  }

  .value-strip article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .value-strip article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding-block: 76px;
  }

  .section-heading > p,
  .workflow-intro > p:last-child,
  .product-copy > p,
  .trust-copy > p,
  .download-copy > p {
    font-size: 14px;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 42px;
  }

  .scenario-photo,
  .scenario-report,
  .scenario-track,
  .scenario-review {
    grid-column: auto;
    grid-row: auto;
  }

  .scenario-photo img {
    min-height: 290px;
  }

  .scenario {
    min-height: 190px;
  }

  .scenario-kicker {
    margin-bottom: 18px;
  }

  .scenario h3 {
    margin-top: 0;
  }

  .workflow-section {
    gap: 44px;
  }

  .workflow-list li {
    min-height: 112px;
    gap: 18px;
  }

  .workflow-list li > span {
    min-width: 50px;
  }

  .product-section {
    gap: 48px;
  }

  .product-facts,
  .trust-points {
    grid-template-columns: 1fr;
  }

  .trust-section {
    gap: 42px;
    padding: 54px 24px;
  }

  .download-section {
    gap: 36px;
    margin-block: 70px 48px;
    padding: 42px 24px;
  }

  .download-panel {
    width: 100%;
    padding: 20px;
  }

  .footer {
    display: block;
    padding-block: 27px 38px;
  }

  .footer > p {
    margin-top: 12px;
  }

  .footer-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
    margin-top: 22px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .value-strip strong {
    font-size: 13px;
  }

  .value-strip span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .product-window {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
