:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfb;
  --text: rgba(0, 0, 0, 0.9);
  --muted: rgba(0, 0, 0, 0.56);
  --brand: #2aae67;
  --brand-dark: #1f9d5b;
  --line: #e5e5e5;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: #66799f;
  text-decoration: none;
}

img {
  display: block;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 32px;
  background: var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  gap: 10px;
  margin-right: 34px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
  min-width: 0;
}

.site-nav .nav-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 54px;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

.site-nav .nav-links .nav-download {
  height: 32px;
  padding: 0 15px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  line-height: 30px;
}

.site-nav .nav-links .nav-download:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.82);
}

.brand:focus-visible,
.site-nav .nav-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
  border-radius: 6px;
}

.portal {
  padding-top: 54px;
}

.hero {
  min-height: min(700px, calc(100vh - 96px));
  display: grid;
  place-items: center;
  padding: 58px 24px 44px;
  text-align: center;
}

.hero-mark {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
}

.hero-content {
  width: 100%;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
  line-height: 1.75;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
}

.hero-trust span,
.hero-trust a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(42, 174, 103, 0.18);
  border-radius: 999px;
  background: #fff;
  color: rgba(0, 0, 0, 0.62);
}

.hero-trust span::before,
.hero-trust a::before {
  content: "✓";
  margin-right: 5px;
  color: var(--brand);
  font-weight: 600;
}

.platform-actions [data-platform],
.platform-downloads [data-platform] {
  order: 0;
}

.platform-actions .is-recommended-platform,
.platform-downloads .is-recommended-platform {
  order: -1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 500;
}

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

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: rgba(0, 0, 0, 0.72);
}

.button.secondary:hover {
  border-color: rgba(42, 174, 103, 0.48);
  color: var(--brand);
}

.release-note {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line);
  text-align: left;
}

.release-note div {
  padding: 18px 20px;
  background: #fff;
  font-size: 16px;
}

.release-note span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
}

.download-panel,
.content-section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 52px 0;
  scroll-margin-top: 78px;
}

.download-panel {
  border-top: 1px solid var(--line);
}

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

.download-box {
  max-width: 520px;
  margin: 0 auto;
}

.platform-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.download-precheck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 18px;
}

.download-precheck div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  text-align: left;
}

.download-precheck strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
}

.download-precheck span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.page-downloads {
  margin-top: 24px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 15px 18px;
  background: #fff;
  color: var(--text);
  transition: background 0.2s ease;
}

.download-item:hover {
  background: #f3fbf6;
}

.download-item.primary-download {
  border-radius: 4px;
  color: #fff;
  background: var(--brand);
}

.download-item.primary-download:hover {
  background: var(--brand-dark);
}

.platform-card {
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
}

.platform-card.primary-download {
  border-color: transparent;
}

.download-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(42, 174, 103, 0.12);
  color: var(--brand);
  font-size: 17px;
  font-weight: 500;
}

.primary-download .download-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.platform-logo svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.download-item strong,
.download-item em {
  display: block;
  font-style: normal;
}

.download-item strong {
  margin-bottom: 2px;
  font-size: 17px;
  font-weight: 500;
}

.download-item em {
  color: var(--muted);
  font-size: 13px;
}

.primary-download em {
  color: rgba(255, 255, 255, 0.82);
}

.trust-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(42, 174, 103, 0.18);
  border-radius: 4px;
  background: #f3fbf6;
  text-align: left;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 174, 103, 0.12);
  color: var(--brand);
  font-size: 17px;
  font-weight: 600;
}

.trust-note strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(0, 0, 0, 0.82);
  font-size: 16px;
  font-weight: 500;
}

.trust-note p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.platform-trust {
  max-width: 760px;
  margin: 14px auto 0;
}

.steps,
.faq-list {
  display: grid;
  gap: 16px;
}

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

.platform-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.install-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.install-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.install-card > h3 {
  margin-bottom: 16px;
}

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

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

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

.step-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 24px;
}

.step-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--brand);
  font-size: 18px;
  font-weight: 500;
}

.faq-item {
  padding: 26px 28px;
}

.step-copy h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
}

.step-copy p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.contact-copy {
  text-align: left;
}

.contact-copy h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  text-align: center;
}

.contact-card img {
  width: 168px;
  height: auto;
  border-radius: 4px;
}

.contact-card strong {
  color: rgba(0, 0, 0, 0.72);
  font-size: 14px;
  font-weight: 500;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 60px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 28px 0;
}

.nav strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav .nav-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
}

.nav .nav-links a {
  color: #66799f;
  font-size: 15px;
  white-space: nowrap;
}

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

.card,
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}

.grid-3,
.note-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line);
}

.grid-3 .card,
.note-row .note-card {
  border: 0;
}

.install-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.install-flow {
  display: grid;
  grid-template-columns: 1fr 78px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 260px;
}

.flow-card {
  min-height: 188px;
  padding: 24px 20px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
}

.flow-arrow {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--brand);
  font-size: 36px;
  font-weight: 400;
}

.flow-app-icon,
.flow-apps-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 600;
}

.flow-app-icon {
  background: var(--brand);
  color: #fff;
}

.flow-apps-icon {
  background: #f1f1f1;
  color: rgba(0, 0, 0, 0.72);
}

.checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.site-footer,
.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 36px auto 0;
  padding: 40px 24px 32px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
}

.site-footer a,
.footer a {
  color: rgba(0, 0, 0, 0.5);
}

.mobile-download-bar {
  display: none;
}

@media (max-width: 900px) {
  .site-nav {
    justify-content: space-between;
    padding: 0 22px;
  }

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

  .brand {
    margin-right: 22px;
  }

  .site-nav .nav-links {
    gap: 18px;
  }

  .site-nav .nav-links a {
    font-size: 15px;
  }

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

  .release-note,
  .platform-steps,
  .install-quick,
  .steps,
  .faq-list,
  .download-precheck,
  .grid-3,
  .note-row,
  .install-hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .install-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 680px) {
  .platform-downloads {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
    padding-bottom: 88px;
  }

  .site-nav {
    padding: 0 12px;
  }

  .brand {
    gap: 7px;
    margin-right: 12px;
    font-size: 15px;
  }

  .brand span {
    max-width: calc(100vw - 150px);
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .site-nav .nav-links {
    gap: 10px;
  }

  .site-nav .nav-links a[href="#install"],
  .site-nav .nav-links a[href="#faq"],
  .site-nav .nav-links a[href="#contact"] {
    display: none;
  }

  .site-nav .nav-links a {
    font-size: 14px;
  }

  .site-nav .nav-links .nav-download {
    height: 30px;
    padding: 0 11px;
    margin-left: 0;
    line-height: 28px;
  }

  .hero {
    padding: 48px 18px 42px;
  }

  .hero-mark {
    width: 118px;
    height: 118px;
    border-radius: 26px;
  }

  .hero-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1 span {
    display: block;
  }

  .hero-copy {
    max-width: 320px;
    font-size: 18px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .actions {
    display: grid;
  }

  .button,
  .download-item {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 320px;
    font-size: 13px;
  }

  .hero-trust span,
  .hero-trust a {
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 5px 8px;
  }

  .download-precheck div {
    min-height: 0;
    padding: 16px;
  }

  .download-panel,
  .content-section {
    width: calc(100% - 28px);
    padding: 42px 0;
  }

  .step-card,
  .faq-item,
  .download-item,
  .contact-section {
    padding: 20px;
  }

  .contact-card img {
    width: min(220px, 100%);
  }

  .mobile-download-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(110%);
    transition: transform 0.2s ease;
  }

  .mobile-download-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-download-bar .button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
  }
}
