:root {
  color-scheme: light;
  --ink: #17201f;
  --ink-soft: #53605e;
  --paper: #ffffff;
  --paper-soft: #f4f6f5;
  --line: #d8dfdc;
  --brand: #0d7a68;
  --brand-dark: #0b1917;
  --brand-soft: #d9f1ec;
  --sun: #f2c95f;
  --danger: #c63e36;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 30, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.platform-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.platform-icon {
  width: 32px;
  height: 32px;
}

.page-width {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(1160px, calc(100% - 48px));
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  transform: translateX(-50%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-on-dark {
  color: #ffffff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #ffffff;
  border-radius: 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

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

.site-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.header-action {
  justify-self: end;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  height: min(740px, calc(100svh - 120px));
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-dark);
  color: #ffffff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.84) contrast(1.04);
}

.hero-overlay {
  background: rgba(8, 23, 21, 0.79);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

.hero-kicker,
.eyebrow,
.platform-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  color: #94ddd0;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 76px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--sun);
  color: #27210f;
}

.button-primary:hover {
  background: #f6d77f;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover {
  background: #2b3735;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 54px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-proof span {
  padding-right: 20px;
}

.hero-proof span + span {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-heading-wide {
  max-width: 820px;
}

.section-heading h2,
.mobile-copy h2,
.contact h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.mobile-copy > p,
.contact p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.product-intro {
  padding-top: 88px;
  background: var(--paper-soft);
}

.desktop-product-shot {
  margin: 0;
}

.desktop-product-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-idle {
  background: #9aa5a3;
}

.status-active {
  background: #2f9e70;
}

.status-warning {
  background: #d79220;
}

.status-expired {
  background: var(--danger);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 260px;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-number {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.capability-grid h3,
.workflow-list h3,
.download-card h3 {
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.35;
}

.capability-grid p,
.workflow-list p,
.download-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.mobile-showcase {
  overflow: hidden;
  background: #18201f;
  color: #ffffff;
}

.mobile-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 120px;
}

.mobile-copy {
  max-width: 580px;
}

.eyebrow-light {
  color: #94ddd0;
}

.mobile-copy > p,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.phone-product-shot {
  width: 322px;
  margin: 0 auto -220px;
}

.phone-product-shot img {
  width: 100%;
  border: 8px solid #090d0c;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.phone-product-shot figcaption {
  color: rgba(255, 255, 255, 0.56);
}

.workflow {
  background: #f5f0e3;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 32, 31, 0.24);
}

.workflow-list li {
  padding: 28px 28px 0 0;
}

.workflow-list li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(23, 32, 31, 0.24);
}

.workflow-list > li > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.workflow-list h3 {
  margin-top: 18px;
}

.download {
  background: var(--paper-soft);
}

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

.download-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-card-accent {
  border-color: #d0b04e;
  box-shadow: inset 0 4px 0 var(--sun);
}

.download-card .platform-icon {
  margin-bottom: 32px;
  color: var(--brand);
}

.download-card h3 {
  margin-top: 0;
  font-size: 27px;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.download-meta {
  min-height: 22px;
  display: block;
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.install-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact {
  background: var(--brand-dark);
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 80px;
}

.contact-layout > div:first-child {
  max-width: 700px;
}

.wechat-contact {
  min-width: 320px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.wechat-contact > span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.wechat-contact strong {
  display: block;
  margin-top: 4px;
  font-size: 34px;
  line-height: 1.3;
}

.copy-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 14px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.site-footer {
  padding: 34px 0;
  background: #ffffff;
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-layout p {
  margin: 0;
}

.noscript-notice {
  padding: 12px 24px;
  background: #fff0c8;
  color: #4a3b13;
  text-align: center;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero-lead {
    font-size: 27px;
  }

  .section-heading h2,
  .mobile-copy h2,
  .contact h2 {
    font-size: 38px;
  }

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

  .mobile-showcase-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
  }

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

  .workflow-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .workflow-list li:nth-child(n + 3) {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(23, 32, 31, 0.24);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 46px;
  }

  .wechat-contact {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .footer-layout {
    grid-template-columns: auto 1fr;
  }

  .footer-layout > span:last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .page-width,
  .site-header {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .brand-name {
    font-size: 18px;
  }

  .header-action {
    font-size: 14px;
  }

  .header-action .icon {
    display: none;
  }

  .hero {
    height: min(720px, calc(100svh - 88px));
    min-height: 570px;
  }

  .hero-media {
    object-position: 24% center;
  }

  .hero-overlay {
    background: rgba(8, 23, 21, 0.83);
  }

  .hero-content {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 24px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 36px;
  }

  .hero-proof span {
    padding-right: 12px;
  }

  .hero-proof span + span {
    padding-left: 12px;
  }

  .section {
    padding: 76px 0;
  }

  .product-intro {
    padding-top: 56px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .mobile-copy h2,
  .contact h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .mobile-copy > p,
  .contact p {
    font-size: 16px;
  }

  .desktop-product-shot {
    margin-right: -16px;
  }

  .desktop-product-shot img {
    width: 880px;
    max-width: none;
  }

  .desktop-product-shot {
    overflow-x: auto;
    padding: 0 16px 18px 0;
    -webkit-overflow-scrolling: touch;
  }

  .desktop-product-shot figcaption {
    position: sticky;
    left: 0;
  }

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

  .capability-grid article {
    min-height: 0;
    padding: 28px 24px;
  }

  .mobile-showcase-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .phone-product-shot {
    width: min(292px, 86vw);
    margin-bottom: -190px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li,
  .workflow-list li + li,
  .workflow-list li:nth-child(3),
  .workflow-list li:nth-child(n + 3) {
    margin-top: 0;
    padding: 24px 0;
    border-top: 1px solid rgba(23, 32, 31, 0.24);
    border-left: 0;
  }

  .workflow-list li:first-child {
    border-top: 0;
  }

  .workflow-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .workflow-list h3 {
    margin-top: 0;
  }

  .download-card {
    min-height: 390px;
    padding: 26px;
  }

  .wechat-contact {
    min-width: 0;
  }

  .wechat-contact strong {
    font-size: 30px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-layout > span:last-child {
    grid-column: auto;
  }
}

@media (max-width: 350px) {
  .hero-proof {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
