:root {
  color-scheme: light;
  --bg: oklch(1 0 0);
  --ink: oklch(0.16 0.01 145);
  --muted: oklch(0.42 0.018 150);
  --surface: oklch(0.965 0.012 145);
  --surface-strong: oklch(0.91 0.024 145);
  --primary: oklch(0.54 0.16 135);
  --primary-dark: oklch(0.33 0.13 138);
  --primary-soft: oklch(0.88 0.075 135);
  --accent: oklch(0.58 0.18 250);
  --accent-soft: oklch(0.92 0.045 250);
  --amber: oklch(0.72 0.16 78);
  --white: oklch(1 0 0);
  --black: oklch(0.075 0 0);
  --line: oklch(0.86 0.018 145);
  --radius: 12px;
  --radius-small: 8px;
  --header-h: 72px;
  --content-max: 1360px;
  --page-gutter: clamp(20px, 4vw, 56px);
  --content-pad: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  --z-sticky: 10;
  --z-tooltip: 20;
}

* {
  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",
    "Noto Sans CJK SC", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--content-pad);
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in oklch, var(--bg) 96%, transparent);
}

.brand,
.top-nav,
.hero-actions,
.download-summary,
.site-footer,
.trust-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  min-width: max-content;
}

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

.top-nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.top-nav a {
  padding: 10px 2px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 720;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--primary-dark);
}

.primary-button {
  padding: 0 23px;
  color: var(--white);
  background: var(--primary-dark);
}

.hero-download-button {
  min-height: 54px;
  padding: 0 28px 0 22px;
  gap: 10px;
  background: var(--primary);
  color: var(--black);
  font-size: 18px;
  box-shadow: 0 8px 0 var(--primary-dark);
}

.hero-download-button span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-dark);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.secondary-button {
  padding: 0 22px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.secondary-button.on-dark {
  color: var(--black);
  background: var(--amber);
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-download-button:hover,
.hero-download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 var(--primary-dark);
}

.hero-download-button:active {
  transform: translateY(3px);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.section-band {
  padding-inline: var(--content-pad);
}

.hero {
  min-height: calc(86vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(34px, 7vh, 72px);
  padding-bottom: clamp(56px, 8vh, 92px);
  overflow: hidden;
}

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

.source-line,
.section-heading p {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 760;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin: 14px 0 22px;
  max-width: 660px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.024em;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.hero-lede span {
  display: block;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 14px 16px;
  border-radius: var(--radius-small);
  background: var(--surface);
}

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

.hero-facts dd {
  margin: 5px 0 0;
  font-weight: 760;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.workspace-shell {
  position: absolute;
  inset: 20px 0 84px 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 0 var(--primary);
}

.workspace-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid oklch(0.22 0 0);
}

.workspace-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber);
}

.workspace-top span:nth-child(2) {
  background: var(--primary);
}

.workspace-top span:nth-child(3) {
  background: var(--accent);
}

.workspace-top strong {
  margin-left: 8px;
  font-size: 13px;
  color: oklch(0.78 0.01 145);
}

.workspace-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: calc(100% - 48px);
}

.workspace-body aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 16px;
  background: oklch(0.12 0.008 145);
}

.workspace-body aside b {
  margin-bottom: 4px;
  font-size: 13px;
  color: oklch(0.75 0.025 145);
}

.agent {
  padding: 10px 12px;
  border-radius: var(--radius-small);
  color: oklch(0.74 0.012 145);
  background: oklch(0.17 0.012 145);
}

.agent.active {
  color: var(--white);
  background: var(--primary-dark);
}

.code-pane {
  padding: clamp(24px, 4vw, 44px);
}

.code-pane p {
  margin: 0 0 22px;
  color: oklch(0.83 0.012 145);
  font-size: 18px;
}

.code-pane p span {
  display: inline-flex;
  margin-right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--black);
  background: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  color: oklch(0.77 0.035 145);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.8;
}

.progress-line {
  height: 8px;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(0.22 0.012 145);
}

.progress-line i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.float-shot {
  position: absolute;
  width: min(42vw, 440px);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 8px 0 oklch(0.82 0.04 145);
}

.shot-goal {
  right: 0;
  top: 0;
}

.shot-bot {
  left: 0;
  bottom: 0;
  width: min(38vw, 380px);
}

.download-section,
.install-flow,
.faq {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
}

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

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-heading span {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.download-console {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.platform-tabs {
  display: flex;
  gap: 2px;
  padding: 8px;
  background: var(--surface-strong);
  overflow-x: auto;
}

.platform-tab {
  min-width: 138px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-small);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.platform-tab img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.platform-tab.is-active {
  color: var(--white);
  background: var(--primary-dark);
}

.download-summary {
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

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

.download-summary strong {
  font-size: clamp(22px, 3vw, 30px);
}

.download-summary span {
  margin-top: 5px;
  color: var(--muted);
}

.compact {
  min-width: 150px;
  padding-inline: 18px;
}

.download-list {
  display: grid;
}

.download-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(190px, 1fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.download-row:last-child {
  border-bottom: 0;
}

.download-row:hover {
  background: color-mix(in oklch, var(--primary-soft) 34%, var(--bg));
}

.download-row b,
.download-row span {
  display: block;
}

.download-row b {
  font-size: 16px;
}

.download-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.file-name {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: var(--primary-dark);
  word-break: break-all;
}

.row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 760;
}

.feature-lead {
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(54px, 8vw, 90px);
}

.feature-story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  max-width: 1180px;
  margin-inline: auto;
}

.feature-story article {
  max-width: 520px;
}

.feature-story h3,
.capability h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.feature-story p,
.capability p,
.steps p,
.trust-band p,
.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.feature-story img {
  border-radius: var(--radius);
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: clamp(80px, 12vw, 150px);
  background: var(--line);
}

.capability {
  min-height: 260px;
  padding: clamp(24px, 3.5vw, 42px);
  background: var(--bg);
}

.capability:nth-child(2) {
  background: var(--surface);
}

.capability:nth-child(3) {
  background: var(--accent-soft);
}

.capability:nth-child(4) {
  color: var(--white);
  background: var(--primary-dark);
}

.capability:nth-child(4) p {
  color: oklch(0.9 0.03 145);
}

.steps {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-dark);
  font-weight: 800;
}

.trust-band {
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(50px, 7vw, 78px);
  padding-bottom: clamp(50px, 7vw, 78px);
  color: var(--white);
  background: var(--black);
}

.trust-band div {
  max-width: 780px;
}

.trust-band h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.trust-band p {
  color: oklch(0.84 0.018 145);
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 760;
}

details p {
  padding: 0 0 24px;
  max-width: 72ch;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--content-pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 720;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
  line-height: 1.6;
}

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

  .hero-visual {
    min-height: 500px;
  }

  .workspace-shell {
    inset: 20px 0 80px 0;
  }

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

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

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .top-nav {
    display: none;
  }

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

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero-download-button {
    min-height: 50px;
    padding-inline: 18px 22px;
    font-size: 17px;
  }

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

  h1 {
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.006em;
    max-width: calc(100vw - 48px);
    text-wrap: wrap;
    word-break: break-all;
  }

  .hero-lede {
    max-width: calc(100vw - 48px);
    font-size: 17px;
    line-height: 1.78;
    text-wrap: wrap;
    word-break: break-word;
  }

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

  .hero-visual {
    min-height: 470px;
    overflow: hidden;
  }

  .workspace-shell {
    inset: 0 0 112px 0;
  }

  .workspace-body {
    grid-template-columns: 1fr;
  }

  .workspace-body aside {
    display: none;
  }

  .float-shot {
    width: min(76vw, 320px);
  }

  .shot-goal {
    top: 28px;
    right: 8px;
  }

  .shot-bot {
    left: 8px;
    width: min(72vw, 300px);
  }

  .download-summary,
  .trust-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .download-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .row-action {
    width: 100%;
  }

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

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
