:root {
  --ink: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #dbe6f1;
  --paper: #ffffff;
  --wash: #f8fafc;
  --sky: #e0f2fe;
  --sky-strong: #0ea5e9;
  --blue: #1e3a8a;
  --blue-deep: #0c2d63;
  --amber: #b45309;
  --amber-strong: #f97316;
  --green: #0f766e;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(219, 230, 241, 0.88);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--blue-deep);
  white-space: nowrap;
}

.brand-mark,
.feature-icon,
.step-index,
.download-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.link-button {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-nav a {
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: #e8f2ff;
  color: var(--blue);
  outline: none;
}

.header-download,
.primary-button,
.secondary-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
}

.header-download,
.primary-button {
  border: 1px solid var(--amber-strong);
  border-radius: 999px;
  background: var(--amber-strong);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-download {
  padding: 8px 16px;
  white-space: nowrap;
}

.primary-button,
.secondary-button {
  padding: 12px 18px;
}

.primary-button:hover,
.primary-button:focus-visible,
.header-download:hover,
.header-download:focus-visible {
  background: #ea580c;
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.secondary-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: var(--blue);
  background: #ffffff;
  color: var(--blue-deep);
  outline: none;
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background: var(--sky);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(240, 249, 255, 0.99) 0%, rgba(240, 249, 255, 0.96) 46%, rgba(240, 249, 255, 0.76) 62%, rgba(224, 242, 254, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 38%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  width: min(24vw, 240px);
  min-width: 142px;
  border: 7px solid rgba(15, 23, 42, 0.72);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(12, 45, 99, 0.18);
  opacity: 0.72;
}

.hero-shot-one {
  right: 19%;
  top: 11%;
  transform: rotate(-4deg);
}

.hero-shot-two {
  right: 4%;
  top: 17%;
  transform: rotate(3deg);
}

.hero-shot-three {
  right: 12%;
  bottom: -8%;
  transform: rotate(-1deg);
  opacity: 0.82;
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 12vh, 132px) 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber-strong);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: clamp(2.1rem, 4.2vw, 3.45rem);
  line-height: 1.08;
  font-weight: 950;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
}

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

.hero-metrics div,
.proof-item,
.feature-card,
.shot-card,
.step-card,
.info-card,
.download-panel,
.boundary-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.hero-metrics div {
  padding: 14px;
}

.hero-metrics dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--blue-deep);
  font-size: 1.35rem;
  font-weight: 950;
}

.section {
  padding: 76px clamp(18px, 4vw, 54px);
}

.section-alt {
  background: #ffffff;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.16;
  font-weight: 950;
}

.section-heading p,
.page-hero p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.proof-grid,
.feature-grid,
.shot-grid,
.info-grid,
.download-grid {
  display: grid;
  gap: 16px;
}

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

.proof-item {
  padding: 18px;
}

.proof-item strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1.45rem;
  font-weight: 950;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

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

.feature-card,
.info-card {
  padding: 22px;
}

.feature-icon,
.download-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: #e8f2ff;
  color: var(--blue);
}

.feature-card h3,
.step-card h3,
.info-card h3,
.download-panel h2,
.boundary-panel h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.feature-card p,
.step-card p,
.info-card p,
.download-panel p,
.boundary-panel p,
.small-copy {
  color: var(--muted);
}

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

.shot-card {
  overflow: hidden;
  background: #f1f5f9;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 14px;
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
}

.shot-caption {
  padding: 16px;
  background: #ffffff;
}

.shot-caption strong {
  display: block;
  color: var(--ink);
}

.shot-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-item {
  position: relative;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.flow-item span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 950;
}

.flow-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.flow-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-band {
  background: var(--blue-deep);
  color: #ffffff;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 5vw, 38px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.download-panel h2,
.download-panel p {
  color: #ffffff;
}

.download-panel p {
  opacity: 0.86;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.download-meta span,
.address-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
}

.download-meta span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.page-hero {
  padding: 80px clamp(18px, 4vw, 54px) 46px;
  background: var(--sky);
}

.page-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.breadcrumbs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--blue);
}

.steps {
  display: grid;
  gap: 18px;
}

.step-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(240px, 340px);
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.step-index {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 950;
}

.step-card img {
  width: 100%;
  max-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  object-position: top center;
  background: #f8fafc;
}

.step-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.step-list li + li {
  margin-top: 6px;
}

.address-card {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.address-card code {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-family: "Cascadia Mono", "Consolas", monospace;
}

.address-chip {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.info-grid {
  align-items: stretch;
}

.info-card ul,
.boundary-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-card li + li,
.boundary-panel li + li {
  margin-top: 8px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.section-copy {
  max-width: 640px;
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-deep);
  font-weight: 850;
}

.device-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.device-frame img {
  width: 100%;
  height: auto;
}

.device-frame-compact {
  max-width: 340px;
  justify-self: end;
}

.boundary-panel {
  padding: clamp(22px, 4vw, 30px);
  background: #fff7ed;
  border-color: #fed7aa;
}

.boundary-panel h2 {
  color: #7c2d12;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-item {
  padding: 18px;
  border-left: 3px solid var(--sky-strong);
  background: #ffffff;
}

.timeline-item strong {
  display: block;
  color: var(--blue);
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-chip {
  margin-bottom: 12px;
  background: #ccfbf1;
  color: var(--green);
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
  outline: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

@media (max-width: 920px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: rgba(224, 242, 254, 0.92);
  }

  .hero-shot {
    opacity: 0.42;
    width: 220px;
  }

  .hero-shot-one {
    right: 42%;
  }

  .hero-shot-two {
    right: 4%;
  }

  .hero-shot-three {
    right: 22%;
  }

  .proof-grid,
  .feature-grid,
  .shot-grid,
  .flow,
  .info-grid,
  .timeline,
  .split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .step-card img {
    grid-column: 1 / -1;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .header-download {
    padding: 8px 12px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 54px 0 48px;
  }

  h1 {
    font-size: 2.28rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-metrics,
  .proof-grid,
  .feature-grid,
  .shot-grid,
  .flow,
  .info-grid,
  .timeline,
  .split-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading {
    display: block;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-index {
    width: 42px;
    height: 42px;
  }

  .device-frame-compact {
    justify-self: stretch;
    max-width: none;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 14px;
    flex-wrap: wrap;
  }
}

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