:root {
  --bg: #f5efe3;
  --bg-soft: #fbf8f0;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffaf2;
  --text: #1b1a17;
  --muted: #5b5549;
  --line: rgba(74, 63, 46, 0.14);
  --brand: #d35f2a;
  --brand-deep: #7c2d12;
  --accent: #0c7f79;
  --accent-soft: #dff6f0;
  --shadow: 0 24px 60px rgba(58, 39, 16, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(211, 95, 42, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(12, 127, 121, 0.16), transparent 26%),
    linear-gradient(180deg, #fff9ef 0%, #f5efe3 56%, #efe4d2 100%);
  min-height: 100vh;
}

html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}

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

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 18px;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(89, 68, 38, 0.08);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.header-links,
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-menu {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(74, 63, 46, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines span {
  top: 6px;
}

.nav-toggle-lines::after {
  top: 12px;
}

.site-header.menu-open .nav-toggle-lines::before {
  top: 6px;
  transform: rotate(45deg);
}

.site-header.menu-open .nav-toggle-lines span {
  opacity: 0;
}

.site-header.menu-open .nav-toggle-lines::after {
  top: 6px;
  transform: rotate(-45deg);
}

.header-links a,
.lang-switch a,
.text-link {
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-links a:hover,
.lang-switch a:hover,
.text-link:hover {
  color: var(--text);
}

.lang-switch a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch .active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero,
.content-card,
.feature-card,
.trust-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 38px;
  margin-top: 26px;
  border-radius: var(--radius-xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(211, 95, 42, 0.12);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1,
.page-title h1 {
  margin: 18px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-lead,
.page-title p,
.section-heading p,
.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.app-store-badge {
  width: 180px;
}

.inline-note {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.pill {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(74, 63, 46, 0.08);
}

.pill strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-art::before {
  width: 210px;
  height: 210px;
  background: rgba(12, 127, 121, 0.17);
  top: 12%;
  right: 6%;
}

.hero-art::after {
  width: 180px;
  height: 180px;
  background: rgba(211, 95, 42, 0.18);
  bottom: 6%;
  left: 8%;
}

.device-card {
  position: relative;
  width: min(100%, 360px);
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(250, 242, 229, 0.92));
  border: 1px solid rgba(74, 63, 46, 0.12);
  box-shadow: 0 28px 58px rgba(93, 61, 25, 0.18);
}

.device-app-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin: 0 auto 18px;
  box-shadow: 0 16px 34px rgba(61, 47, 20, 0.18);
}

.device-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  text-align: center;
}

.device-card p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.device-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.device-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 63, 46, 0.08);
  text-align: center;
}

.device-stat strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
}

.section {
  margin-top: 28px;
}

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

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.trust-card,
.content-card {
  border-radius: var(--radius-lg);
}

.feature-card,
.trust-card {
  padding: 24px;
}

.feature-card h3,
.trust-card h3,
.content-card h2,
.content-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-kicker,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.content-card {
  padding: 34px;
  margin-top: 24px;
}

.content-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.content-card li + li {
  margin-top: 10px;
}

.page-title {
  padding: 34px 36px 10px;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(211, 95, 42, 0.08);
  border: 1px solid rgba(211, 95, 42, 0.14);
}

.legal-page .content-card {
  margin-top: 24px;
  padding: 30px 42px 38px;
  background: rgba(255, 251, 245, 0.94);
}

.legal-page .page-title {
  padding: 0 0 22px;
  margin-bottom: 8px;
}

.legal-page .page-title h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-page .page-title p {
  max-width: 42em;
}

.legal-page .content-card h2 {
  margin: 30px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 63, 46, 0.08);
  font-size: 1.18rem;
  line-height: 1.4;
}

.legal-page .content-card h2:first-of-type {
  margin-top: 0;
}

.legal-page .content-card p,
.legal-page .content-card li {
  font-size: 0.98rem;
  line-height: 1.88;
}

.legal-page .content-card p {
  max-width: 44em;
}

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

.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.9);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-card + .contact-card,
.contact-card p + p {
  margin-top: 12px;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(12, 127, 121, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-page .content-card ul {
  margin: 10px 0 0;
  padding-left: 1.25em;
}

.legal-page .content-card li {
  padding-left: 0.1em;
}

.legal-page .content-card li + li {
  margin-top: 8px;
}

.legal-page .page-meta {
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.92rem;
}

.legal-page .callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.78;
}

html[lang="zh-CN"] .legal-page .page-title h1,
html[lang="zh-CN"] .legal-page .content-card h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 700;
  letter-spacing: 0;
}

html[lang="zh-CN"] .legal-page .content-card p,
html[lang="zh-CN"] .legal-page .content-card li,
html[lang="zh-CN"] .legal-page .page-title p,
html[lang="zh-CN"] .legal-page .page-meta,
html[lang="zh-CN"] .legal-page .callout {
  letter-spacing: 0.01em;
}

.site-footer {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.8);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-note {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

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

@media (max-width: 960px) {
  .site-header,
  .section-heading,
  .footer-top {
    align-items: flex-start;
  }

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

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 18px;
  }

  .site-header {
    border-radius: 28px;
  }

  .brand {
    width: 100%;
  }

  .site-header {
    padding: 18px;
  }

  .footer-links {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero,
  .content-card,
  .site-footer {
    padding: 20px;
  }

  .site-header {
    position: static;
    padding: 18px 16px;
    border-radius: 24px;
    gap: 14px;
    align-items: center;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(2.1rem, 13vw, 3.3rem);
  }

  .hero-highlights,
  .device-stats {
    grid-template-columns: 1fr;
  }

  .header-menu {
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .site-header.menu-open .header-menu {
    display: flex;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .header-links,
  .lang-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .header-links a,
  .lang-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.94rem;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(74, 63, 46, 0.1);
    background: rgba(255, 255, 255, 0.68);
  }

  .hero-actions {
    align-items: flex-start;
  }

  .inline-note {
    display: block;
    max-width: 28em;
    line-height: 1.7;
  }

  .page-meta {
    display: grid;
    gap: 6px;
  }

  .footer-top {
    gap: 16px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .footer-links a {
    padding: 8px 0;
  }

  .contact-card {
    padding: 20px;
  }

  .legal-page .content-card {
    padding: 22px 18px 26px;
  }

  .legal-page .page-title h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
    line-height: 1.14;
  }

  .legal-page .content-card h2 {
    margin: 24px 0 8px;
    padding-top: 14px;
    font-size: 1.08rem;
  }

  .legal-page .content-card p,
  .legal-page .content-card li {
    font-size: 0.96rem;
    line-height: 1.82;
  }

  .legal-page .content-card ul {
    padding-left: 1.1em;
  }
}

@media (max-width: 420px) {
  .header-links,
  .lang-switch {
    grid-template-columns: 1fr;
  }

  .hero,
  .content-card,
  .site-footer {
    padding: 18px 16px;
  }

  .app-store-badge {
    width: 168px;
  }
}
