:root {
  --lg-bg:
    radial-gradient(circle at top right, rgba(217, 107, 79, 0.14), transparent 32%),
    linear-gradient(180deg, #f8efe8 0%, #fffdfa 58%, #f6f1eb 100%);
  --lg-panel: rgba(255, 251, 247, 0.9);
  --lg-panel-strong: rgba(255, 252, 249, 0.96);
  --lg-card: rgba(255, 249, 244, 0.92);
  --lg-card-soft: rgba(247, 239, 231, 0.72);
  --lg-border: rgba(176, 98, 67, 0.14);
  --lg-border-strong: rgba(176, 98, 67, 0.22);
  --lg-shadow: 0 32px 72px rgba(93, 57, 36, 0.14), 0 10px 24px rgba(214, 185, 164, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --lg-shadow-soft: 0 20px 46px rgba(93, 57, 36, 0.1);
  --lg-text: #5a4036;
  --lg-text-muted: #81695f;
  --lg-text-soft: #81695f;
  --lg-text-accent: #8f6046;
  --lg-accent: #8f6046;
  --lg-accent-strong: #8f6046;
  --lg-accent-bg: linear-gradient(135deg, #cd8160 0%, #b06243 100%);
  --lg-button-bg: #f2e5db;
  --lg-button-text: #8f6046;
  --lg-radius-xl: 32px;
  --lg-radius-lg: 26px;
  --lg-radius-md: 20px;
  --lg-radius-pill: 999px;
  --lg-content-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--lg-bg);
  color: var(--lg-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-page {
  width: 100%;
  max-width: calc(var(--lg-content-width) + 48px);
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px rgba(93, 57, 36, 0.08);
}

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

.site-brand__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(245, 233, 224, 0.96));
  border: 1px solid rgba(176, 98, 67, 0.16);
  box-shadow: 0 12px 24px rgba(93, 57, 36, 0.1);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-mark {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lg-accent-strong);
}

.site-brand__logo.is-image-ready .brand-mark {
  opacity: 0;
}

.site-brand__text {
  font-size: 24px;
  font-weight: 800;
  color: var(--lg-text);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 4px;
}

.site-nav__item--stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 82px;
}

.site-nav > .site-nav__link:last-child {
  margin-right: 28px;
}

.site-nav__link,
.site-mobile-menu__link {
  color: var(--lg-accent-strong);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav__link:hover,
.site-mobile-menu__link:hover {
  color: var(--lg-accent-strong);
  transform: translateY(-1px);
}

.site-nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.site-nav__button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-nav__hint {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  color: var(--lg-text-muted);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.site-nav__link:hover::after {
  background: rgba(176, 98, 67, 0.3);
}

.menu-toggle,
.mobile-menu-backdrop,
.site-mobile-menu,
.about-sheet {
  display: none;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: rgba(245, 234, 225, 0.9);
  box-shadow: 0 10px 20px rgba(93, 57, 36, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #6d4f42;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy,
.hero-preview,
.content-section,
.site-footer__inner {
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--lg-shadow);
  backdrop-filter: blur(10px);
}

.hero-copy,
.hero-preview,
.content-section,
.site-footer__inner {
  background: var(--lg-panel-strong);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 40px;
  border-radius: var(--lg-radius-xl);
}

.site-page--home .hero-copy {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero-copy__eyebrow-wrap,
.hero-copy__headline-wrap,
.hero-copy__footnote {
  width: 100%;
}

.hero-copy__eyebrow-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 36px;
}

.hero-copy__headline-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
	margin-top: -36px;
}

.hero-eyebrow,
.section-kicker,
.hero-preview__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--lg-radius-pill);
  background: rgba(176, 98, 67, 0.08);
  color: var(--lg-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-page--home .hero-eyebrow {
  align-self: center;
}

.hero-title {
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--lg-text);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.hero-title__main,
.hero-title__sub {
  display: block;
}

.hero-title__main {
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: translateY(-30px);
}

.hero-title__sub {
  margin-top: 0.5em;
  font-size: 0.68em;
  font-weight: 500;
  letter-spacing: 0.08em;
  transform: translateY(30px);
}

.hero-lines {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}

.hero-copy__footnote {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 36px;
  margin-top: 0;
}

.site-page--home .hero-lines {
  max-width: 560px;
}

.hero-lines p,
.section-heading p,
.feature-card p,
.site-footer__item,
.about-sheet__item {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--lg-text-muted);
}

.hero-preview {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 34px;
  border-radius: calc(var(--lg-radius-xl) + 2px);
  background: var(--lg-panel-strong);
  border: 1px solid rgba(176, 98, 67, 0.18);
  box-shadow: 0 30px 62px rgba(93, 57, 36, 0.12), 0 10px 26px rgba(176, 98, 67, 0.08);
}

.hero-preview__badge-wrap,
.hero-preview__body-wrap,
.hero-preview__caption-wrap {
  width: 100%;
}

.hero-preview__badge-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 36px;
}

.hero-preview__badge {
  align-self: center;
}

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

.hero-preview__body-wrap {
  display: flex;
  flex: 1;
  align-items: center;
}

.hero-preview__qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 100%;
  padding: 20px 16px 18px;
  border-radius: 22px;
  background: rgba(255, 251, 247, 0.92);
  border: 1px solid rgba(176, 98, 67, 0.12);
  box-shadow: 0 16px 28px rgba(93, 57, 36, 0.08);
}

.hero-preview__qr-title,
.hero-preview__qr-status {
  display: block;
  text-align: center;
}

.hero-preview__qr-note {
  display: block;
  min-height: 34px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: var(--lg-text-muted);
}

.hero-preview__qr-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--lg-text);
}

.hero-preview__qr-box {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 196px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(176, 98, 67, 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.94), rgba(246, 236, 228, 0.74));
}

.hero-preview__qr-frame {
  width: 128px;
  height: 128px;
  border-radius: 22px;
  border: 2px solid rgba(176, 98, 67, 0.18);
  background:
    linear-gradient(90deg, rgba(176, 98, 67, 0.06) 0 12%, transparent 12% 24%, rgba(176, 98, 67, 0.06) 24% 36%, transparent 36% 48%, rgba(176, 98, 67, 0.06) 48% 60%, transparent 60% 72%, rgba(176, 98, 67, 0.06) 72% 84%, transparent 84% 100%),
    linear-gradient(0deg, rgba(176, 98, 67, 0.06) 0 12%, transparent 12% 24%, rgba(176, 98, 67, 0.06) 24% 36%, transparent 36% 48%, rgba(176, 98, 67, 0.06) 48% 60%, transparent 60% 72%, rgba(176, 98, 67, 0.06) 72% 84%, transparent 84% 100%);
}

.hero-preview__qr-status {
  font-size: 14px;
  font-weight: 700;
  color: var(--lg-text-muted);
}

.hero-preview__caption-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 36px;
}

.hero-preview__caption {
  margin: 0 auto;
  max-width: 420px;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--lg-text-muted);
}

.content-section,
.site-footer__inner {
  margin-top: 18px;
  padding: 30px 32px;
  border-radius: 30px;
}

.section-heading {
  max-width: 760px;
}

.site-page--home .section-heading {
  max-width: none;
  text-align: center;
}

.site-page--home .section-kicker {
  align-self: center;
}

.site-page--home .hero-title {
  margin-top: 28px;
  line-height: 1.14;
}

.section-heading h2,
.about-sheet__header h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  color: var(--lg-text);
}

.section-heading p {
  margin-top: 12px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

.site-page--home .feature-grid {
  grid-template-columns: repeat(2, minmax(360px, 430px));
  justify-content: center;
}

.feature-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: var(--lg-card);
  border: 1px solid var(--lg-border);
  box-shadow: var(--lg-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 42px rgba(93, 57, 36, 0.12);
}

.feature-card h3 {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.3;
  color: var(--lg-text);
}

.feature-card p {
  margin-top: 12px;
}

.site-page--home .feature-card {
  text-align: center;
}

.content-section--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 0;
}

.contact-title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  color: var(--lg-text);
}

.contact-copy {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--lg-text-muted);
}

.section-kicker--center {
  align-self: center;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 18px;
  padding: 0 20px;
  border-radius: var(--lg-radius-pill);
  border: 1px solid rgba(176, 98, 67, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--lg-accent-strong);
  font-size: 16px;
  font-weight: 700;
}

.site-footer__legal {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.public-security {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.public-security img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.site-footer__item a,
.about-sheet__item a,
.legal-links a {
  color: var(--lg-accent-strong);
  border-bottom: 1px solid rgba(176, 98, 67, 0.2);
}

.about-sheet[hidden] {
  display: none !important;
}

.about-sheet.is-open {
  display: block;
}

.about-sheet__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(54, 33, 25, 0.36);
  backdrop-filter: blur(6px);
  z-index: 39;
}

.about-sheet__panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100%, 720px);
  max-height: 86vh;
  padding: 24px 22px 26px;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 252, 249, 0.98);
  border: 1px solid rgba(176, 98, 67, 0.16);
  box-shadow: 0 -20px 44px rgba(54, 33, 25, 0.18);
  transform: translateX(-50%);
  overflow: auto;
}

.about-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.about-sheet__close,
.site-mobile-menu__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 234, 225, 0.94);
  color: var(--lg-accent-strong);
  font-size: 24px;
  line-height: 1;
}

.about-sheet__body {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

body.is-locked {
  overflow: hidden;
}

@media screen and (max-width: 1199px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-preview,
  .hero-copy {
    min-height: auto;
  }

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

@media screen and (max-width: 767px) {
  .site-page {
    padding: 16px 16px 28px;
  }

  .site-header {
    padding: 14px 16px;
    margin-bottom: 18px;
  }

  .site-brand__logo {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .site-brand__text {
    font-size: 20px;
  }

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

  .menu-toggle,
  .mobile-menu-backdrop,
  .site-mobile-menu {
    display: block;
  }

  .site-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 31;
    width: min(84vw, 320px);
    height: 100vh;
    padding: 18px;
    background: rgba(255, 252, 249, 0.98);
    border-left: 1px solid rgba(176, 98, 67, 0.12);
    box-shadow: -20px 0 44px rgba(54, 33, 25, 0.14);
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }

  .site-mobile-menu.is-open {
    transform: translateX(0);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(54, 33, 25, 0.28);
    backdrop-filter: blur(5px);
  }

  .mobile-menu-backdrop[hidden] {
    display: none !important;
  }

  .site-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-mobile-menu__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--lg-text);
  }

  .site-mobile-menu__nav {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .site-mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    background: rgba(247, 239, 231, 0.72);
    border: 1px solid rgba(176, 98, 67, 0.12);
    font-size: 15px;
    font-weight: 700;
  }

  .site-mobile-menu__link--button {
    border: 1px solid rgba(176, 98, 67, 0.12);
    cursor: pointer;
    text-align: left;
  }

  .hero-copy,
  .hero-preview,
  .content-section,
  .site-footer__inner {
    border-radius: 24px;
  }

  .hero-copy,
  .content-section,
  .site-footer__inner {
    padding: 24px 20px;
  }

  .hero-copy,
  .hero-preview {
    min-height: 376px;
  }

  .hero-copy__eyebrow-wrap {
    min-height: 30px;
  }

  .hero-copy__headline-wrap {
    margin-top: -10px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-title__main {
    transform: translateY(-8px);
  }

  .hero-title__sub {
    margin-top: 0.42em;
    transform: translateY(8px);
  }

  .hero-preview {
    padding: 26px 18px 24px;
  }

  .hero-preview__badge-wrap {
    min-height: 32px;
    margin-bottom: 8px;
  }

  .hero-preview__body-wrap {
    justify-content: center;
    padding: 4px 0 6px;
  }

  .hero-preview__qr-grid {
    grid-template-columns: repeat(2, 156px);
    gap: 12px;
    justify-content: center;
    justify-items: center;
  }

  .hero-preview__qr-card {
    gap: 10px;
    padding: 16px 12px 14px;
    border-radius: 18px;
    width: 156px;
  }

  .site-page--home .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview__qr-box {
    min-height: 132px;
    padding: 10px;
  }

  .hero-preview__qr-frame {
    width: 86px;
    height: 86px;
    border-radius: 16px;
  }

  .hero-preview__qr-title,
  .hero-preview__qr-status {
    font-size: 13px;
  }

  .hero-preview__caption-wrap {
    min-height: 30px;
    margin-top: 10px;
  }

  .hero-preview__caption {
    max-width: 360px;
  }

  .button,
  .contact-mail {
    width: 100%;
  }

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

  .feature-card {
    padding: 20px 18px;
  }

  .feature-card p {
    max-width: 15em;
    min-height: 3.8em;
    margin: 12px auto 0;
    text-align: center;
    line-height: 1.9;
  }
}

@media screen and (max-width: 390px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-copy,
  .hero-preview {
    min-height: 344px;
  }

  .hero-title__main {
    transform: translateY(-2px);
  }

  .hero-title__sub {
    transform: translateY(2px);
  }

  .hero-preview__qr-grid {
    grid-template-columns: repeat(2, 144px);
    gap: 10px;
    justify-content: center;
  }

  .hero-preview {
    padding: 24px 14px 22px;
  }

  .hero-preview__badge-wrap {
    margin-bottom: 6px;
  }

  .hero-preview__body-wrap {
    padding: 2px 0 4px;
  }

  .hero-preview__qr-card {
    padding: 14px 10px 12px;
    width: 144px;
  }

  .hero-preview__qr-box {
    min-height: 118px;
    padding: 8px;
  }

  .hero-preview__qr-frame {
    width: 74px;
    height: 74px;
  }

  .hero-preview__caption-wrap {
    margin-top: 8px;
  }

  .hero-lines p,
  .section-heading p,
  .feature-card p,
  .download-card p,
  .contact-panel p,
  .site-footer__item,
  .about-sheet__item {
    font-size: 15px;
  }

  .section-heading h2,
  .contact-panel h2,
  .about-sheet__header h2 {
    font-size: 30px;
  }

  .feature-card p {
    max-width: 14.5em;
    min-height: 4em;
  }
}
