:root {
  --ink: #17231c;
  --muted: #647064;
  --paper: #f7f3ea;
  --surface: #fffdf7;
  --line: #ded5c4;
  --tea: #2f5d46;
  --tea-deep: #173b2b;
  --gold: #b88745;
  --clay: #8a4f32;
  --shadow: 0 18px 48px rgba(23, 35, 28, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 135, 69, 0.62);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fffdf7;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 28px rgba(23, 35, 28, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--surface);
  background: var(--tea);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-weight: 700;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 6px 16px rgba(23, 35, 28, 0.12);
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.site-nav a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: var(--radius);
}

.site-nav a:hover {
  background: rgba(255, 253, 247, 0.14);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(47, 93, 70, 0.08);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffdf7;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 28, 20, 0.86), rgba(14, 28, 20, 0.5) 48%, rgba(14, 28, 20, 0.18)),
    linear-gradient(0deg, rgba(14, 28, 20, 0.65), rgba(14, 28, 20, 0.04) 52%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 118px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 253, 247, 0.88);
  font-size: clamp(18px, 2.4vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 253, 247, 0.56);
  border-radius: var(--radius);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.button-ghost {
  color: var(--surface);
  background: rgba(255, 253, 247, 0.08);
}

.quote-band {
  display: grid;
  gap: 8px;
  padding: 28px clamp(18px, 6vw, 72px);
  color: var(--surface);
  background: var(--tea-deep);
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-size: clamp(20px, 3vw, 32px);
}

.quote-band span {
  color: rgba(255, 253, 247, 0.7);
  font-family: "Microsoft YaHei", sans-serif;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
}

.section-heading h2,
.image-story h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.76fr);
  gap: clamp(28px, 6vw, 72px);
}

.intro-copy {
  color: #334139;
  font-size: 18px;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.facts div {
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts dt {
  color: var(--tea);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.facts dd {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

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

.offering {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offering-index {
  color: var(--gold);
  font-size: 24px;
  font-weight: 700;
}

.offering h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

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

.image-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  min-height: 560px;
  color: var(--surface);
  background: var(--tea-deep);
}

.story-panel {
  display: grid;
  align-content: center;
  padding: clamp(36px, 7vw, 86px);
}

.story-panel p:last-child {
  max-width: 520px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 18px;
}

.image-story img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.product {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e9e2d4;
}

.product span {
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.product h3 {
  margin: 8px 0 10px;
  font-size: 30px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  color: var(--tea);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 380px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-style: normal;
}

address span,
address a {
  color: #334139;
}

address a {
  min-height: 32px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--tea-deep);
  border-radius: var(--radius);
  color: var(--surface);
}

.contact-panel h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.contact-panel a {
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 253, 247, 0.2);
  border-radius: var(--radius);
  font-family: "Microsoft YaHei", sans-serif;
}

.contact-panel a:hover {
  background: rgba(255, 253, 247, 0.1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 253, 247, 0.72);
  background: #111a15;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.app-page {
  background: #f6f0e4;
}

.app-page .site-header {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 10px 28px rgba(23, 35, 28, 0.1);
  backdrop-filter: blur(14px);
}

.app-page .site-nav a:hover {
  background: rgba(47, 93, 70, 0.08);
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 88dvh;
  margin: 0 auto;
  padding: 128px 0 72px;
}

.app-hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 1;
}

.app-logo-hero {
  width: clamp(86px, 13vw, 132px);
  height: clamp(86px, 13vw, 132px);
  margin-bottom: 24px;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(23, 35, 28, 0.18);
  object-fit: cover;
}

.app-hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: #334139;
  font-size: clamp(18px, 2.2vw, 23px);
}

.button-primary.dark {
  color: var(--surface);
  background: var(--tea-deep);
  border-color: var(--tea-deep);
}

.button-outline {
  color: var(--tea-deep);
  background: transparent;
  border-color: rgba(23, 59, 43, 0.32);
}

.app-device {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 18px;
  align-items: end;
  justify-items: center;
}

.app-device img {
  width: min(100%, 250px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #e9e2d4;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.app-device img:nth-child(2) {
  margin-top: 80px;
}

.app-summary {
  padding-top: 56px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.info-list div,
.feature-grid article,
.compliance-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-list div {
  padding: 22px;
}

.info-list dt {
  color: var(--gold);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.info-list dd {
  margin: 8px 0 0;
  color: #334139;
}

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

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

.feature-grid article {
  padding: 24px;
}

.feature-grid h3,
.compliance-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.feature-grid p,
.compliance-panel p {
  margin: 0;
  color: var(--muted);
}

.compliance {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
}

.compliance h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.15;
}

.compliance-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.app-contact {
  padding-top: 56px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero {
    min-height: 88dvh;
  }

  .hero-content {
    width: min(720px, calc(100% - 32px));
    padding-bottom: 54px;
  }

  .section-heading,
  .intro-grid,
  .image-story,
  .contact,
  .app-hero,
  .compliance {
    grid-template-columns: 1fr;
  }

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

  .product-grid,
  .info-list,
  .feature-grid,
  .feature-grid-wide {
    grid-template-columns: 1fr;
  }

  .app-hero {
    min-height: auto;
    padding-top: 112px;
  }

  .app-device img:nth-child(2) {
    margin-top: 40px;
  }
}

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

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

  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(14, 28, 20, 0.82), rgba(14, 28, 20, 0.38)),
      linear-gradient(90deg, rgba(14, 28, 20, 0.65), rgba(14, 28, 20, 0.2));
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .offering {
    grid-template-columns: 1fr;
    padding: 22px;
  }

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

  .product img {
    max-width: 220px;
  }

  .app-device {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .app-device img {
    border-radius: 18px;
  }

  .site-footer {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
