:root {
  --ink: #14211f;
  --muted: #5d6d68;
  --line: #dbe5df;
  --paper: #f7faf7;
  --white: #ffffff;
  --teal: #0f8f82;
  --teal-dark: #09685f;
  --mint: #dff3ea;
  --sun: #f2b84b;
  --graphite: #263431;
  --shadow: 0 18px 50px rgba(20, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.scrolled,
.site-header.compact {
  position: sticky;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 33, 31, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(20, 33, 31, 0.12);
  overflow: hidden;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.site-header.scrolled .menu-button,
.site-header.compact .menu-button {
  border-color: var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111d1b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 18, 0.9), rgba(10, 20, 18, 0.58) 42%, rgba(10, 20, 18, 0.18)),
    linear-gradient(0deg, rgba(10, 20, 18, 0.4), rgba(10, 20, 18, 0));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

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

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.section,
.band {
  padding: 88px clamp(18px, 4vw, 56px);
}

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

.intro {
  background: var(--white);
}

.intro-grid,
.split-grid,
.app-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-grid p,
.split-grid p,
.app-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.feature-card,
.support-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(20, 33, 31, 0.05);
}

.feature-card p,
.support-grid p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.split-section {
  background: #edf5ef;
}

.scenario-list {
  display: grid;
  gap: 14px;
}

.scenario-list div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 33, 31, 0.06);
}

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

.app-section {
  background: var(--white);
}

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #f0d89d;
  border-radius: 8px;
  background: #fff8e8;
  color: #5d4719;
}

.app-panel {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(310px, 100%);
  padding: 14px;
  border-radius: 32px;
  background: #1f2c29;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 82px;
  height: 6px;
  margin: 6px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.phone-screen {
  min-height: 500px;
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 143, 130, 0.14), rgba(255, 255, 255, 0)),
    var(--white);
}

.phone-screen span,
.phone-screen strong {
  display: block;
}

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

.phone-screen strong {
  margin-bottom: 24px;
  font-size: 34px;
  line-height: 1.1;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 140px;
  padding: 18px;
  border-radius: 8px;
  background: #edf5ef;
}

.mini-chart i {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--teal), var(--sun));
}

.phone-screen ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.phone-screen li {
  padding: 12px;
  border-radius: 8px;
  background: #f6f8f6;
  color: var(--graphite);
  font-weight: 700;
  text-align: center;
}

.contact-section {
  background: #20312e;
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--sun);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.76);
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

address a {
  color: var(--sun);
  font-size: 22px;
  font-weight: 800;
}

address span {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 56px);
  background: #17211f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  width: min(1160px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page,
.support-page {
  padding: 72px clamp(18px, 4vw, 56px);
}

.legal-content,
.support-hero,
.support-grid,
.support-contact {
  width: min(940px, 100%);
  margin: 0 auto;
}

.legal-content,
.support-contact {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(20, 33, 31, 0.06);
}

.legal-content h1,
.support-hero h1 {
  color: var(--ink);
}

.legal-content h2,
.support-contact h2 {
  margin-top: 32px;
  font-size: 22px;
}

.legal-content p,
.support-hero p,
.support-contact p {
  color: var(--muted);
}

.legal-content a,
.support-contact a {
  color: var(--teal-dark);
  font-weight: 700;
}

.updated {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.support-hero {
  margin-bottom: 30px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.support-grid article {
  min-height: 0;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav:not(.always) {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav:not(.always).open {
    display: flex;
  }

  .site-nav:not(.always) a {
    padding: 12px;
  }

  .site-nav.always {
    gap: 12px;
    font-size: 13px;
  }

  .intro-grid,
  .split-grid,
  .app-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 780px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 20, 18, 0.86), rgba(10, 20, 18, 0.56));
  }

  .hero-content {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-header.compact {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 34px;
    height: 34px;
  }

  .site-nav.always {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .section,
  .band,
  .legal-page,
  .support-page {
    padding: 58px 16px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-screen {
    min-height: 440px;
  }
}
