@font-face { font-family: MiSans; src: url('/fonts/MiSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: MiSans; src: url('/fonts/MiSans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: MiSans; src: url('/fonts/MiSans-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Noto Serif SC'; src: url('/fonts/NotoSerifSC-Headings.ttf') format('truetype'); font-weight: 600; font-display: swap; }
:root {
  --paper: #fbf9f3; --ink: #083f37; --muted: #69756d; --line: #cdd5c9; --sage: #edf0e5;
  --display: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  font-family: MiSans, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; scrollbar-gutter: stable; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, summary, video):focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -80px; left: 16px; background: var(--paper); padding: 12px; z-index: 20; }
.skip:focus { top: 16px; }
.opening { background: url('/media/hero-woodland.webp') center bottom / cover no-repeat; }
.header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; min-height: 102px; }
.header > a { justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { filter: brightness(0) saturate(100%) invert(18%) sepia(24%) saturate(1377%) hue-rotate(118deg) brightness(91%) contrast(96%); }
.brand-mark { width: 42px; height: 42px; }
.brand-type { display: flex; flex-direction: column; gap: 8px; }
.brand-type img { width: 138px; }
.brand-type > span { font-size: 10px; font-weight: 600; letter-spacing: 4px; line-height: 1; padding-left: 3px; }
nav { display: flex; align-items: center; gap: 50px; font-size: 14px; font-weight: 500; }
nav a { padding: 12px 4px; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero { text-align: center; padding-block: 35px 76px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(36px, 4.35vw, 62px); letter-spacing: -.045em; line-height: 1.4; }
h1 span { display: inline-block; }
.hero-subtitle { margin-top: 14px; font-family: var(--display); font-size: 20px; letter-spacing: .17em; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 47px; padding: 12px 25px; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: #fffdf6; font-size: 14px; font-weight: 500; line-height: 1.45; white-space: nowrap; transition: background .2s, transform .2s; }
.button:hover { background: #15574a; transform: translateY(-2px); }
.button-secondary { background: rgb(251 249 243 / 65%); color: var(--ink); }
.button-secondary:hover { background: var(--sage); }
.hero-actions .button { min-width: 160px; }
.products { padding-top: 12px; }
.section-caption { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 auto 29px; font: 500 14px/1.6 MiSans, sans-serif; letter-spacing: .06em; }
.section-caption::before, .section-caption::after { content: ''; width: 112px; height: 1px; background: var(--line); }
.featured-product { display: grid; grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.read-preview { display: block; position: relative; overflow: hidden; border-radius: 7px; }
.read-preview img { width: 100%; }
.preview-action { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 17px; border-radius: 30px; color: white; background: rgb(8 63 55 / 92%); opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.read-preview:hover .preview-action, .read-preview:focus-visible .preview-action { opacity: 1; transform: none; }
.featured-copy { min-width: 0; }
.featured-copy h3 { font-size: 42px; line-height: 1.3; letter-spacing: -.04em; }
.product-tagline { margin-top: 12px; font-family: 'Songti SC', 'STSong', 'SimSun', serif; font-size: 20px; line-height: 1.7; }
.product-description { margin-top: 20px; font-size: 14px; line-height: 1.95; color: var(--muted); }
.featured-copy .product-description { margin-top: 14px; font-size: 13px; }
.web-entry { width: 100%; margin-top: 23px; }
.entry-hint { font-size: 11px; line-height: 1.8; color: var(--muted); }
.web-hint { margin-top: 7px; text-align: center; }
.miniprogram-entry { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 19px; text-align: center; }
.miniprogram-code { display: block; width: 166px; margin-inline: auto; border-radius: 50%; }
.miniprogram-code img { width: 100%; border-radius: 50%; mix-blend-mode: multiply; }
.entry-title { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.75; }
.miniprogram-entry .entry-hint { margin-top: 5px; }
.save-code-hint { display: none; }
.mobile-break { display: none; }
.demo-trigger { width: 100%; margin-top: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; cursor: pointer; padding: 5px; border: 0; background: transparent; }
.demo-trigger > span { margin-left: 5px; font-size: 10px; }
.demo-trigger:hover { color: var(--ink); }
.contact-dialog.demo-dialog { width: min(760px, calc(100% - 32px)); }
.demo-panel { position: relative; padding: 24px; }
.demo-dialog .demo-panel h2 { padding-right: 40px; font-size: 18px; margin-bottom: 18px; }
.demo-dialog video { width: 100%; max-height: calc(100dvh - 190px); display: block; border-radius: 5px; background: #102b22; }
.demo-panel > p { color: var(--muted); font-size: 12px; text-align: center; margin-top: 12px; }
.product-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; padding-top: 48px; }
.product-secondary { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; min-height: 360px; gap: 10px; }
.secondary-copy { padding-block: 12px; position: relative; z-index: 1; }
.secondary-copy h3 { font-size: 37px; line-height: 1.3; letter-spacing: -.035em; }
.secondary-copy h3[lang="en"] { font-family: Georgia, 'Times New Roman', serif; font-size: 36px; font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.secondary-copy .product-tagline { font-size: 18px; margin-top: 15px; line-height: 1.7; }
.secondary-copy .button { margin-top: 27px; gap: 11px; padding-inline: 21px; }
.secondary-art { display: flex; align-items: center; justify-content: center; min-width: 0; height: 380px; }
.popup-art { margin-left: -35px; margin-right: -12px; pointer-events: auto; }
.popup-art img { width: 100%; height: 100%; object-fit: contain; }
.monkey-art { padding: 12px 5px 12px 3px; }
.app-frame { display: block; width: min(100%, 260px); overflow: hidden; border: 5px solid #234639; border-radius: 19px; box-shadow: 0 12px 16px -12px rgb(27 52 39 / 35%); transform: rotate(-3deg); transition: transform .25s; }
.app-frame img { width: 100%; }
.monkey-art:hover .app-frame { transform: rotate(0deg) translateY(-3px); }
.cooperation { position: relative; padding-top: 68px; isolation: isolate; }
.cooperation-content { position: relative; z-index: 1; text-align: center; }
.cooperation h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.035em; line-height: 1.5; }
.cooperation-intro { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 13px; }
.cooperation-options { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1030px; margin: 40px auto 0; text-align: left; }
.cooperation-options article { padding: 0 30px; }
.cooperation-options article + article { border-left: 1px solid var(--line); }
.cooperation-options h3 { font-size: 22px; line-height: 1.5; }
.cooperation-options p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.text-action { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; padding: 5px 0 7px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 500; }
.text-action:hover { border-color: var(--ink); }
.email-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 32px; padding-block: 8px; }
.email-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.landscape { height: clamp(230px, 24vw, 410px); margin-top: -28px; background: url('/media/footer-valley.webp') center bottom / cover no-repeat; position: relative; z-index: 0; }
.footer { background: #123c34; color: #e4eadd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; font-size: 10px; line-height: 1.8; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); }
.contact-dialog::backdrop { background: rgb(16 38 30 / 56%); backdrop-filter: blur(4px); }
.contact-panel { position: relative; padding: 42px; }
.contact-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; }
.contact-close:hover { background: var(--sage); }
.contact-eyebrow { font-size: 11px; letter-spacing: 1px; margin-bottom: 20px; }
.contact-dialog h2 { font-family: MiSans, sans-serif; font-size: 25px; line-height: 1.5; }
#contact-description { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.9; }
.contact-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.contact-codes img { width: 100%; background: white; border-radius: 4px; }
.contact-codes figcaption { text-align: center; margin-top: 10px; font-size: 14px; }
.contact-code-hint { font-size: 11px; color: var(--muted); text-align: center; margin-top: 16px; }
.contact-email { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 25px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12px; }
.contact-email > span { color: var(--muted); }
.contact-email a { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 821px) {
  .popup-art img { transform: scale(1.23) translateY(-4%); }
}
@media (min-width: 1450px) {
  .featured-product { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: 38px; }
  .read-copy-break { display: none; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .header { min-height: 90px; }
  .hero { padding-block: 26px 62px; }
  .hero-subtitle { font-size: 18px; }
  .featured-product { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 25px; }
  .featured-copy h3 { font-size: 34px; }
  .featured-copy .product-tagline { font-size: 17px; }
  .featured-copy .product-description { font-size: 12px; margin-top: 10px; }
  .web-entry { padding: 11px 16px; margin-top: 17px; gap: 10px; min-height: 43px; font-size: 13px; }
  .miniprogram-code { width: 136px; }
  .miniprogram-entry { margin-top: 13px; padding-top: 14px; }
  .entry-title { font-size: 12px; }
  .product-pair { gap: 25px; padding-top: 35px; }
  .product-secondary { grid-template-columns: 1fr 1fr; }
  .secondary-art { height: 340px; }
  .secondary-copy h3 { font-size: 31px; }
  .secondary-copy h3[lang="en"] { font-size: 29px; }
  .secondary-copy .product-tagline { font-size: 16px; }
  .secondary-copy .product-description { font-size: 12px; }
  .secondary-copy .button { font-size: 12px; gap: 8px; padding-inline: 16px; }
  .cooperation-options article { padding-inline: 24px; }
}
@media (max-width: 820px) {
  .featured-product { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px; }
  .featured-copy .product-description { display: none; }
  .featured-copy h3 { font-size: 29px; }
  .featured-copy .product-tagline { font-size: 16px; }
  .miniprogram-code { width: 122px; }
  .product-secondary { min-height: 320px; grid-template-columns: 1.1fr .9fr; gap: 0; }
  .secondary-copy h3 { font-size: 29px; }
  .secondary-copy h3[lang="en"] { font-size: 25px; }
  .secondary-copy .button { padding-inline: 13px; gap: 6px; }
  .secondary-art { height: 280px; }
  .app-frame { border-width: 3px; border-radius: 11px; }
  .popup-art { margin-left: -20px; }
  .cooperation-options article { padding-inline: 15px; }
  .cooperation-options p br { display: none; }
  .cooperation-options h3 { font-size: 19px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 18px; }
  .wrap { width: calc(100% - 36px); }
  .opening { background-size: 100% auto; background-position: center bottom; }
  .header { min-height: 83px; grid-template-columns: 1fr auto; gap: 15px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-type img { width: 103px; }
  .brand-type { gap: 6px; }
  .brand-type > span { font-size: 8px; letter-spacing: 2.7px; padding-left: 1px; }
  nav { gap: 24px; font-size: 12px; }
  .hero { padding-block: 28px 66px; }
  h1 { font-size: clamp(32px, 8.5vw, 46px); line-height: 1.5; letter-spacing: -.035em; }
  h1 span { display: block; }
  .hero-subtitle { font-size: 15px; letter-spacing: .12em; margin-top: 13px; }
  .hero-actions { gap: 12px; margin-top: 22px; }
  .hero-actions .button { min-width: 137px; padding-inline: 20px; }
  .button { min-height: 45px; font-size: 13px; }
  .products { padding-top: 0; }
  .section-caption { font-size: 12px; gap: 15px; margin-bottom: 22px; }
  .section-caption::before, .section-caption::after { width: 60px; }
  .featured-product { grid-template-columns: 1fr; gap: 23px; }
  .read-preview { border-radius: 5px; }
  .preview-action { display: none; }
  .featured-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: start; }
  .featured-copy h3 { grid-column: 1 / -1; font-size: 33px; }
  .featured-copy > .product-tagline { grid-column: 1 / -1; margin-top: 9px; font-size: 17px; }
  .read-copy-break { display: none; }
  .featured-copy .product-description { display: block; grid-column: 1; grid-row: 3; font-size: 12px; line-height: 1.8; margin-top: 24px; }
  .web-entry { grid-column: 1; grid-row: 4; width: fit-content; min-height: 43px; margin-top: 15px; padding-inline: 16px; }
  .web-hint { grid-column: 1; grid-row: 5; text-align: left; margin-top: 7px; font-size: 10px; }
  .miniprogram-entry { grid-column: 2; grid-row: 3 / 7; border-top: 0; border-left: 1px solid var(--line); margin-top: 21px; padding: 0 0 0 16px; }
  .miniprogram-code { width: 128px; max-width: 100%; }
  .entry-title { font-size: 12px; margin-top: 7px; line-height: 1.65; }
  .mobile-break { display: inline; }
  .miniprogram-entry .entry-hint { font-size: 10px; margin-top: 5px; }
  .demo-trigger { grid-column: 1 / -1; margin-top: 18px; justify-content: flex-start; width: fit-content; padding: 6px 0; }
  .demo-panel { padding: 20px 16px; }
  .demo-dialog .demo-panel h2 { font-size: 17px; }
  .product-pair { grid-template-columns: 1fr; gap: 28px; padding-top: 33px; }
  .product-secondary { grid-template-columns: 1fr 1.1fr; min-height: 290px; gap: 9px; padding-top: 24px; border-top: 1px solid var(--line); }
  .secondary-copy h3 { font-size: 32px; }
  .secondary-copy h3[lang="en"] { font-size: clamp(23px, 6.4vw, 28px); }
  .secondary-copy .product-tagline { font-size: 17px; margin-top: 12px; }
  .secondary-copy .product-description { font-size: 12px; margin-top: 14px; }
  .secondary-copy .button { margin-top: 22px; min-height: 43px; font-size: 12px; gap: 9px; padding-inline: 17px; }
  .secondary-art { height: 295px; }
  .popup-art { margin-left: -24px; margin-right: -8px; }
  .monkey-art { padding-inline: 8px; }
  .cooperation { padding-top: 53px; }
  .cooperation h2 { max-width: 10em; margin-inline: auto; font-size: 30px; line-height: 1.6; }
  .cooperation h2 span { display: block; }
  .cooperation-intro { font-size: 12px; max-width: 23em; margin: 12px auto 0; line-height: 1.9; }
  .cooperation-options { grid-template-columns: 1fr; margin-top: 28px; gap: 23px; text-align: left; }
  .cooperation-options article { padding: 0 4px 23px; border-bottom: 1px solid var(--line); }
  .cooperation-options article + article { border-left: 0; }
  .cooperation-options h3 { font-size: 21px; }
  .cooperation-options p { font-size: 12px; margin-top: 9px; }
  .cooperation-options p br { display: inline; }
  .text-action { margin-top: 10px; font-size: 12px; border: 0; }
  .email-link { margin-top: 22px; }
  .landscape { height: 210px; margin-top: -15px; background-size: auto 245px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 18px; font-size: 9px; }
  .footer-inner > div { gap: 16px; }
  .contact-panel { padding: 42px 22px 28px; }
  .contact-dialog h2 { font-size: 23px; }
  .contact-codes { gap: 18px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 28px); }
  nav { gap: 15px; }
  .brand-type img { width: 94px; }
  .hero-actions .button { min-width: 124px; padding-inline: 17px; }
  .featured-copy { column-gap: 12px; }
  .miniprogram-entry { padding-left: 12px; }
  .web-entry { padding-inline: 11px; font-size: 12px; }
  .secondary-copy h3[lang="en"] { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The two languages share the same composition, with room for English copy. */
.language-switch { justify-self: end; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: rgb(251 249 243 / 75%); }
.language-switch a { display: grid; place-items: center; min-width: 42px; min-height: 30px; padding: 4px 10px; border-radius: 100px; color: var(--muted); font-size: 12px; line-height: 1; transition: background .2s, color .2s; }
.language-switch a:hover { color: var(--ink); background: var(--sage); }
.language-switch a[aria-current="page"] { color: var(--paper); background: var(--ink); }
.product-language { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.7; }
html[lang="en"] { --display: Georgia, 'Times New Roman', serif; }
html[lang="en"] h1 { line-height: 1.1; letter-spacing: -.045em; }
html[lang="en"] h1 span { display: block; }
html[lang="en"] .hero-subtitle { letter-spacing: .01em; }
html[lang="en"] .featured-copy h3 { font-size: clamp(28px, 2.8vw, 39px); }
html[lang="en"] .product-tagline { font-family: Georgia, 'Times New Roman', serif; line-height: 1.5; }
html[lang="en"] .secondary-copy h3 { font-size: clamp(26px, 2.6vw, 36px); }
html[lang="en"] .cooperation-options h3 { font-size: 24px; }
html[lang="en"] .cooperation h2 { line-height: 1.25; }
html[lang="en"] .contact-dialog h2 { padding-right: 16px; }
@media (max-width: 820px) and (min-width: 641px) {
  html[lang="en"] .product-pair { grid-template-columns: 1fr; }
  html[lang="en"] .product-secondary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header { grid-template-columns: 1fr auto; padding-block: 18px 4px; gap: 12px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 32px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  html[lang="en"] .hero { padding-top: 20px; }
  html[lang="en"] h1 { font-size: clamp(36px, 10vw, 52px); }
  html[lang="en"] .hero-actions .button { min-width: 0; padding-inline: 15px; gap: 8px; }
  html[lang="en"] .featured-copy { grid-template-columns: 1fr; }
  html[lang="en"] .featured-copy > * { grid-column: 1; grid-row: auto; }
  html[lang="en"] .featured-copy .product-description { margin-top: 12px; font-size: 13px; }
  html[lang="en"] .miniprogram-entry { display: flex; align-items: center; gap: 18px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  html[lang="en"] .miniprogram-code { width: 116px; flex-shrink: 0; }
  html[lang="en"] .entry-title { margin-top: 0; }
  html[lang="en"] .secondary-copy h3 { font-size: 28px; }
  html[lang="en"] .secondary-copy h3[lang="en"] { font-size: 25px; }
  html[lang="en"] .secondary-copy .product-tagline { font-size: 16px; }
  html[lang="en"] .secondary-copy .button { padding-inline: 12px; gap: 7px; }
  html[lang="en"] .cooperation h2 { max-width: 15em; }
}
@media (max-width: 359px) {
  html[lang="en"] .secondary-copy h3[lang="en"] { font-size: 23px; }
}
html[lang="en"] .popup-art { margin-inline: 0; }
html[lang="en"] .popup-art img { transform: none; }
