:root {
  --bg: #f4fbf8;
  --surface: #ffffff;
  --surface-soft: #e9f7f2;
  --text: #10231f;
  --muted: #58706a;
  --line: #cfe3dc;
  --brand: #0f766e;
  --brand-dark: #0b4f4a;
  --brand-soft: #d7f3ec;
  --accent: #f59e0b;
  --ink: #10231f;
  --shadow: 0 18px 44px rgba(15, 118, 110, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, 1080px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  z-index: 20;
}

.hero {
  min-height: 650px;
  color: #f8fffd;
  background:
    linear-gradient(120deg, rgba(9, 57, 54, 0.92), rgba(15, 118, 110, 0.88)),
    url("assets/og-cover.svg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  border-radius: 9px;
  background: #fff;
  object-fit: cover;
}

.topbar__links {
  display: flex;
  gap: 1rem;
  color: #d6fff4;
  font-size: 0.95rem;
}

.topbar__links a {
  text-decoration: none;
}

.topbar__links a:hover,
.topbar__links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 0 3.2rem;
}

.hero__text {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #f8d57e;
  font-size: 0.9rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.2vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.sub {
  max-width: 620px;
  margin: 1rem 0 0;
  color: #d6fff4;
  font-size: 1.08rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: #f8d57e;
  color: #18362f;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f6c64d;
}

.btn-secondary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 560px;
  margin: 1.35rem 0 0;
}

.hero-meta div {
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(214, 255, 244, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta dt {
  color: #b9eadd;
  font-size: 0.78rem;
}

.hero-meta dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 500px;
}

.hero-phone {
  position: absolute;
  right: 32px;
  top: 0;
  width: min(58vw, 318px);
  filter: drop-shadow(0 28px 44px rgba(2, 25, 23, 0.38));
}

.hero-chart {
  position: absolute;
  left: 0;
  bottom: 58px;
  width: min(92%, 430px);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(2, 25, 23, 0.32);
}

.status-card {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 290px);
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(214, 255, 244, 0.32);
  border-radius: var(--radius);
  background: rgba(12, 75, 70, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.status-card p {
  margin: 0;
  color: #d6fff4;
  font-size: 0.88rem;
}

.status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.18);
  flex: 0 0 auto;
}

.download-section {
  padding: 1.5rem 0 0;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -4.4rem;
  position: relative;
  z-index: 3;
}

.download-card,
.feature,
.info-panel,
.faq-block details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.download-card {
  padding: 1.15rem;
}

.platform {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.download-card p,
.feature p,
.risk p,
.faq-block p {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.48rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
}

.section {
  padding: 2.4rem 0 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature {
  padding: 1rem;
}

.feature h3 {
  color: var(--brand-dark);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.2rem;
  align-items: start;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

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

.steps strong {
  line-height: 1.2;
}

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

.info-panel {
  padding: 1rem;
}

.info-list {
  margin: 0.85rem 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  font-weight: 800;
}

.faq-block {
  padding-bottom: 2.3rem;
}

.faq-block details {
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: none;
}

.faq-block summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-block p {
  margin: 0.65rem 0 0;
}

.risk {
  background: #123a35;
  color: #f4fffb;
}

.risk__inner {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.risk p {
  margin: 0;
  color: #d6fff4;
}

.footer {
  background: #0b2623;
  color: #d6fff4;
  text-align: center;
  padding: 0.9rem 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero__inner,
  .download-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero-phone {
    right: 8px;
    width: min(68vw, 285px);
  }

  .hero-chart {
    bottom: 46px;
  }

  .download-grid {
    margin-top: -2rem;
  }

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

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .topbar__links {
    gap: 0.7rem;
    font-size: 0.88rem;
  }

  .hero__inner {
    padding-top: 1.1rem;
  }

  .hero-meta,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero__cta,
  .download-card .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero-phone {
    width: min(76vw, 260px);
  }

  .status-card {
    left: 0;
    right: auto;
  }

  .risk__inner {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
