:root {
  --ink: #1d1d1b;
  --muted: #686760;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --line: #dfddd5;
  --red: #a92920;
  --red-deep: #7d1d18;
  --gold: #b68a42;
  --green: #2f6f59;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(29, 29, 27, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid #e3dfd3;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 15px;
}

.nav-links a {
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
  border-color: var(--red);
}

.nav-entry {
  padding: 9px 17px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 4px;
  font-weight: 600;
}

.nav-entry:hover {
  color: #fff !important;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - var(--header-height)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(19, 18, 15, 0.88) 0%, rgba(19, 18, 15, 0.73) 46%, rgba(19, 18, 15, 0.25) 75%, rgba(19, 18, 15, 0.1) 100%),
    url("hero-market.jpg") center 45% / cover no-repeat;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 72%);
  padding: 84px 0 116px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ddc395;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.65;
}

.hero-copy {
  max-width: 630px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button-primary:hover {
  background: var(--red-deep);
}

.button-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.button-light:hover {
  color: var(--ink);
  background: #fff;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 15, 13, 0.67);
}

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

.strip-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-number {
  color: #ddc395;
  font-family: Georgia, serif;
  font-size: 23px;
}

.strip-item strong,
.strip-item span {
  display: block;
}

.strip-item span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
}

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: #fff;
  background: #20201e;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.2;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.67);
}

.business-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.business-item {
  min-height: 260px;
  padding: 34px;
  background: #fff;
}

.business-item:first-child {
  grid-row: span 2;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(25, 23, 19, 0.92), rgba(25, 23, 19, 0.05) 72%),
    url("screen-category.jpg") center 17% / cover no-repeat;
}

.business-index {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 15px;
}

.business-item h3 {
  margin: 48px 0 8px;
  font-size: 23px;
}

.business-item:first-child h3 {
  margin-top: 120px;
  font-size: 30px;
}

.business-item p {
  margin: 0;
  color: var(--muted);
}

.business-item:first-child p {
  color: rgba(255, 255, 255, 0.77);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 78px;
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 18.4;
  margin: 0 auto;
  padding: 12px;
  border: 2px solid #1a1a18;
  border-radius: 32px;
  background: #1a1a18;
  box-shadow: 0 26px 60px rgba(31, 28, 23, 0.2);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 76px;
  height: 17px;
  border-radius: 12px;
  background: #1a1a18;
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #f5f4ef;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.experience-copy h2 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.25;
}

.experience-copy > p {
  margin: 18px 0 30px;
  color: var(--muted);
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row b {
  color: var(--red);
  font-family: Georgia, serif;
}

.feature-row strong,
.feature-row span {
  display: block;
}

.feature-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.app-gallery {
  border-top: 1px solid var(--line);
}

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

.screenshot-item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(29, 29, 27, 0.08);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 1200 / 2670;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
  background: #f3f3f3;
}

.screenshot-item figcaption {
  min-height: 92px;
  padding: 16px 15px;
}

.screenshot-item strong,
.screenshot-item span {
  display: block;
}

.screenshot-item strong {
  font-size: 16px;
}

.screenshot-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.process-item {
  min-height: 210px;
  padding: 30px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.process-item:last-child {
  border-right: 0;
}

.process-item b {
  color: #ddc395;
  font-family: Georgia, serif;
  font-size: 28px;
}

.process-item h3 {
  margin: 38px 0 8px;
  font-size: 19px;
}

.process-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.trust-item {
  padding: 8px 24px 26px 0;
  border-bottom: 3px solid var(--ink);
}

.trust-item h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-mark {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 25px;
}

.company-band {
  padding: 58px 0;
  color: #fff;
  background: var(--red-deep);
}

.company-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

.company-layout h2 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
}

.company-layout p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.company-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
  margin: 0;
}

.company-data div {
  min-width: 0;
}

.company-data dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.company-data dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.profile-alert {
  padding: 12px 16px;
  color: #5f3f0a;
  border: 1px solid #e6c37e;
  background: #fff5d9;
  font-size: 14px;
}

.profile-alert[hidden] {
  display: none;
}

.site-footer {
  padding: 42px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #171715;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-copy {
  max-width: 570px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  font-size: 13px;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 28px;
  padding-top: 23px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.legal-hero {
  padding: 70px 0 54px;
  color: #fff;
  background: #24231f;
}

.legal-hero h1 {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(36px, 5vw, 54px);
}

.legal-hero p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.legal-wrap {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.legal-meta {
  margin-bottom: 32px;
  padding: 17px 20px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 21px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #4e4d48;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-item {
  min-height: 130px;
  padding: 24px;
  background: #fff;
}

.contact-item span,
.contact-item strong {
  display: block;
}

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

.contact-item strong {
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

@media (max-width: 900px) {
  .nav-wrap {
    min-height: 84px;
    align-items: flex-start;
    padding: 12px 0;
  }

  .nav-links {
    gap: 10px 18px;
    flex-wrap: wrap;
  }

  .nav-entry {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: 88%;
    padding-bottom: 230px;
  }

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

  .strip-item:nth-child(2) {
    border-right: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .business-grid {
    grid-template-columns: 1fr 1fr;
  }

  .business-item:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 460px;
  }

  .experience-layout,
  .company-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .screenshot-track {
    grid-template-columns: repeat(5, 240px);
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .screenshot-item {
    scroll-snap-align: start;
  }

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

  .process-item:nth-child(2) {
    border-right: 0;
  }

  .process-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 92px;
  }

  .container,
  .legal-wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    max-width: 190px;
    font-size: 13px;
  }

  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 730px;
    background-position: 61% center;
  }

  .hero-content {
    width: 100%;
    padding-top: 58px;
    padding-bottom: 235px;
  }

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

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

  .button {
    min-width: 145px;
  }

  .strip-item {
    min-height: 88px;
    gap: 10px;
    padding: 12px 10px;
  }

  .strip-number {
    font-size: 18px;
  }

  .strip-item strong {
    font-size: 13px;
  }

  .section {
    padding: 66px 0;
  }

  .screenshot-track {
    grid-template-columns: repeat(5, min(72vw, 270px));
    margin-right: -14px;
    padding-right: 14px;
  }

  .business-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .business-item:first-child {
    grid-column: auto;
    min-height: 390px;
  }

  .business-item {
    min-height: 220px;
    padding: 26px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item,
  .process-item:nth-child(2) {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .process-item h3 {
    margin-top: 18px;
  }

  .company-data {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
