:root {
  --ink: #14231c;
  --muted: #5c6b63;
  --line: #d9e4dd;
  --paper: #ffffff;
  --soft: #f4f8f5;
  --soft-2: #eef5f8;
  --brand: #0f7a52;
  --brand-dark: #0a5439;
  --navy: #16324f;
  --amber: #c97819;
  --coral: #c64f3c;
  --shadow: 0 18px 48px rgba(20, 35, 28, 0.12);
  --radius: 8px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--paper);
  letter-spacing: 0;
}

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

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

a:hover {
  color: var(--brand);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 228, 221, 0.88);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.site-nav button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav button:hover {
  color: var(--brand-dark);
  background: var(--soft);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #fff;
  background: var(--brand);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  content: "";
}

.hero {
  min-height: 680px;
  padding: 72px 0 56px;
  background:
    linear-gradient(180deg, #f4f8f5 0%, #fff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: #101a15;
  font-size: 3.25rem;
  line-height: 1.12;
  font-weight: 800;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.button:hover {
  color: var(--brand-dark);
  border-color: #b6d2c3;
  background: var(--soft);
}

.button.primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.button.primary:hover {
  color: #fff;
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.button.dark {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.button.dark:hover {
  border-color: #0e2338;
  color: #fff;
  background: #0e2338;
}

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

.metric {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.25;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.phone-frame {
  width: min(100%, 520px);
  margin-left: auto;
  border: 1px solid #cbd9d2;
  border-radius: 8px;
  background: #101a15;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #dfe8e3;
}

.visual-caption {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  width: min(100%, 430px);
  margin: 16px 0 0 auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.visual-caption img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.visual-caption strong {
  display: block;
  font-size: 0.96rem;
}

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

.section {
  padding: 76px 0;
}

.section.compact {
  padding: 56px 0;
}

.section-band {
  background: var(--soft);
}

.section-blue {
  background: var(--soft-2);
}

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

.section-head h2,
.content-block h2,
.feature-section h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.card p,
.card li {
  color: var(--muted);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.icon-box.navy {
  background: var(--navy);
}

.icon-box.amber {
  background: var(--amber);
}

.icon-box.coral {
  background: var(--coral);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--brand);
  content: "✓";
  font-weight: 800;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill-list span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.content-block h2 {
  margin-bottom: 14px;
}

.content-block p + p {
  margin-top: 14px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

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

.screenshot-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  background: #e8f0eb;
}

.page-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

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

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

.breadcrumbs span + span::before,
.breadcrumbs a + span::before,
.breadcrumbs a + a::before {
  padding-right: 8px;
  color: #8aa097;
  content: "/";
}

.feature-section + .feature-section {
  margin-top: 38px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-item {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-item p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  counter-increment: steps;
  content: counter(steps);
  font-weight: 800;
}

.timeline h3 {
  margin: 0 0 6px;
}

.timeline p {
  color: var(--muted);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.download-primary {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-primary h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.download-primary p {
  color: var(--muted);
}

.store-list {
  display: grid;
  gap: 12px;
}

.store-link {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.store-link:hover {
  border-color: #b8d8c7;
  background: var(--soft);
}

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

.store-link .arrow {
  color: var(--brand-dark);
  font-weight: 800;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 32%;
  color: var(--ink);
  background: var(--soft);
}

.info-table td {
  color: var(--muted);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

.faq-item div {
  padding: 0 20px 20px;
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band {
  padding: 46px 0;
  color: #fff;
  background: var(--navy);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #101a15;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.6fr));
  gap: 30px;
  padding: 42px 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 13, 0.62);
}

.modal-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(92vh, 820px);
  overflow: auto;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 44px 8px 0;
  font-size: 1.7rem;
}

.modal-panel > p {
  color: var(--muted);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  text-align: center;
}

.qr-card img {
  width: 210px;
  height: 210px;
  margin: 0 auto 14px;
  border: 10px solid #fff;
  border-radius: 6px;
}

.qr-card h3 {
  margin: 0 0 6px;
}

.qr-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-note {
  padding: 14px;
  border-radius: 6px;
  color: var(--muted);
  background: #fff7eb;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 52px;
  }

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

  .phone-frame,
  .visual-caption {
    margin-left: 0;
  }

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

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
    text-align: left;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section,
  .section.compact {
    padding: 54px 0;
  }

  .section-head,
  .cta-inner {
    display: block;
  }

  .section-head h2,
  .content-block h2,
  .feature-section h2,
  .download-primary h2 {
    font-size: 1.65rem;
  }

  .section-head p,
  .cta-inner p {
    margin-top: 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .feature-grid,
  .metrics,
  .screenshot-strip,
  .qr-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 94px;
  }

  .store-link {
    grid-template-columns: 42px 1fr;
  }

  .store-link .arrow {
    display: none;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }

  .modal-panel {
    padding: 22px;
  }
}
