:root {
  color-scheme: light;
  --paper: #f4f2eb;
  --white: #fffdf8;
  --ink: #202922;
  --muted: #505b52;
  --green: #315644;
  --line: #d9ddd2;
  --radius: 24px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.24; }
a:focus-visible, summary:focus-visible { outline: 2px solid #b25830; outline-offset: 5px; }
.shell { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { background: var(--paper); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: .58rem; font-size: 1.13rem; font-weight: 800; white-space: nowrap; }
.logo-image { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.header nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); font-size: .93rem; font-weight: 600; }
.header nav a { padding-block: .45rem; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.header-cta { justify-self: end; padding: .48rem .83rem; border: 1px solid #aab4a7; border-radius: 100px; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.header-cta:hover { background: #e7ebe1; }
.hero { isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(520px, 46vw, 675px); overflow: hidden; background: #182c31; color: #fffdf5; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 57% 53%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #142325ed 0%, #152628bd 34%, #19292838 69%, #17232b0e 100%), linear-gradient(0deg, #14252577, transparent 44%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 30%); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: 3.2rem 4.8rem; }
.hero-copy { width: min(100%, 650px); }
.hero-phone { justify-self: center; text-align: center; }
.hero-phone img, .phone-sample img { width: min(100%, 222px); border-radius: 22px; outline: 1px solid #ffffff68; box-shadow: 0 18px 45px #12242355; margin-inline: auto; }
.hero-phone figcaption, .phone-sample figcaption { margin-top: .6rem; font-size: .78rem; }
.overline { color: #f0dcc2; font-weight: 650; font-size: .89rem; letter-spacing: .14em; margin-bottom: 1.35rem; }
.hero h1 { font-weight: 800; font-size: clamp(4rem, 8vw, 7.75rem); letter-spacing: -.055em; line-height: .99; }
.hero h1 span { display: block; margin-top: .27em; color: #fff0db; font-size: .58em; letter-spacing: -.06em; line-height: 1.16; }
.hero-summary { margin-top: 1.55rem; max-width: 29em; font-size: clamp(.99rem, 1.55vw, 1.125rem); color: #faf7ec; line-height: 1.78; }
.actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; gap: .65rem; padding: .58rem 1rem; border: 1px solid transparent; border-radius: 100px; font-weight: 700; font-size: .91rem; }
.button-light { background: #fff4e1; color: #26362c; }
.button-light:hover { background: #fffdf8; }
.button-glass { color: white; border-color: #ffffff90; background: #18282a65; }
.button-glass:hover { background: #18282acc; }
.model-strip { position: relative; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); margin-top: -28px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 10px 36px #15261a10; }
.model-strip > div { display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.4rem; min-height: 81px; }
.model-strip > div + div { border-left: 1px solid var(--line); }
.model-strip .model-strip-intro { background: #e6ede3; }
.model-strip strong { color: #244b37; font-size: 1.25rem; line-height: 1.25; }
.model-strip span { color: var(--muted); font-size: .82rem; margin-top: .28rem; }
.showcase { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3.7rem, 8vw, 7rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.15rem); letter-spacing: -.055em; }
.showcase p, .use-section p { color: var(--muted); margin-top: 1rem; max-width: 40em; }
.section-tag, .showcase .section-tag { margin: 0 0 .9rem; color: #496556; font-size: .8rem; letter-spacing: .12em; font-weight: 750; }
.steps { padding-left: 1.3rem; margin: 1.2rem 0 .25rem; color: var(--muted); }
.steps li { padding-left: .15rem; margin-block: .5rem; }
.steps li::marker { color: #315644; font-weight: 750; }
.cloud-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(95px, 29%); gap: .75rem; align-items: center; }
.phone-sample { text-align: center; }
.phone-sample img { border-radius: 12px; }
.use-section .logo-image { width: 60px; height: 60px; border-radius: 15px; margin-bottom: 1rem; }
.feature-grid.app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app-grid .app-feature { display: grid; grid-template-rows: auto 1fr; gap: .95rem; padding: .9rem; }
.app-feature h3 span { float: right; color: var(--green); }
.feature-device { display: grid; place-items: start center; aspect-ratio: 1 / 1.2; overflow: hidden; border-radius: 12px; background: #e0e8de; }
.feature-device img { width: min(88%, 190px); margin-top: .9rem; border-radius: 17px; box-shadow: 0 9px 24px #28433830; }
.feature-secondary { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--green); font-weight: 750; margin-top: 1.25rem; border-bottom: 1px solid #839a85; padding-bottom: .18rem; }
.text-link:hover { border-color: var(--green); background: #e6ece1; }
.display { padding: clamp(.65rem, 1.6vw, 1.2rem); border-radius: var(--radius); background: #e6ebe0; }
.display img { width: 100%; border-radius: 13px; }
.display figcaption { padding: .58rem .18rem .05rem; color: var(--muted); font-size: .8rem; }
.display-ink, .display-cloud { background: #162a2d; box-shadow: 0 16px 34px #17292920; }
.display-ink figcaption, .display-cloud figcaption { color: #dae6dd; }
.cloud-band { background: #e2e9df; }
.cloud-showcase { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.features { padding-block: clamp(3.8rem, 7vw, 6.5rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1.8rem; }
.feature { display: flex; justify-content: space-between; align-items: start; gap: .7rem; min-height: 130px; padding: 1.22rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.feature:hover { background: #eef2e9; border-color: #a7bbab; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin-top: .55rem; color: var(--muted); font-size: .91rem; }
.feature > span { color: var(--green); font-size: 1.2rem; }
.use-section { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-radius: var(--radius); padding: clamp(1.5rem, 5vw, 3.25rem); margin-bottom: 4.25rem; background: #22392e; color: #fffdf5; }
.use-section p { color: #e2ebe3; }
.use-section .use-note { margin-top: .6rem; font-size: .9rem; }
.miniapp-code { width: 144px; flex-shrink: 0; padding: .4rem; background: white; border-radius: 13px; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 2.15rem 2.8rem; }
footer p { margin-top: .5rem; font-size: .87rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.15rem; max-width: 36rem; font-size: .87rem; }
footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article { max-width: 930px; min-height: 58vh; padding-block: 2.25rem 4.5rem; }
.breadcrumb { display: flex; gap: .55rem; color: var(--muted); font-size: .88rem; margin-bottom: 1.45rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.article-title { margin-bottom: 1.75rem; }
.article h1 { font-size: clamp(2.25rem, 6vw, 4.75rem); letter-spacing: -.07em; }
.article-title p { max-width: 43em; color: var(--muted); margin-top: .9rem; font-size: clamp(1rem, 2vw, 1.16rem); }
.article-image { margin-bottom: 1.65rem; }
.article-image.portrait { max-width: 280px; }
.chapters { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: .5rem clamp(1rem, 4vw, 2.25rem); }
.chapter, details { padding-block: 1.25rem; }
.chapter + .chapter, details + details { border-top: 1px solid var(--line); }
.chapter h2, .related h2 { font-size: clamp(1.22rem, 2.2vw, 1.65rem); letter-spacing: -.04em; }
.chapter p, details p { margin-top: .5rem; color: var(--muted); }
summary { width: fit-content; cursor: pointer; font-size: 1.05rem; font-weight: 750; }
.related { margin-top: 1.75rem; }
.related > div { display: flex; flex-wrap: wrap; margin-top: .7rem; gap: .65rem; }
.related a { padding: .4rem .85rem; border-radius: 100px; background: #e4eae0; font-weight: 650; font-size: .9rem; }
.related a:hover { background: #d7e5d8; }
.error { padding-block: 5rem; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-strip > div { padding-inline: .82rem; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; padding-top: .65rem; gap: .3rem 1rem; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .6rem; font-size: .83rem; }
  .header nav a { padding-block: .63rem; }
  .header-cta { font-size: .75rem; padding: .38rem .68rem; }
  .brand { font-size: 1rem; }
  .brand .logo-image { width: 31px; height: 31px; border-radius: 8px; }
  .hero { min-height: 505px; }
  .hero-image { object-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, #132628e8, #1625257d 82%), linear-gradient(0deg, #1527299c, transparent 83%); }
  .hero-inner { grid-template-columns: 1fr; padding-block: 3.5rem 4.8rem; }
  .hero-phone { display: none; }
  .feature-grid.app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -20px; }
  .model-strip .model-strip-intro { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; border-bottom: 1px solid var(--line); }
  .model-strip > div { padding: .75rem .55rem; min-height: 66px; }
  .model-strip > div:nth-child(2) { border-left: 0; }
  .model-strip strong { font-size: .96rem; }
  .model-strip span { font-size: .68rem; }
  .showcase, .cloud-showcase { grid-template-columns: minmax(0, 1fr); }
  .cloud-showcase .showcase-copy { grid-row: 1; }
  .feature-grid { gap: .65rem; }
  .feature { padding: .8rem; min-height: 116px; }
  .feature p { font-size: .83rem; }
  .use-section, .footer-inner { align-items: start; flex-direction: column; }
  .miniapp-code { width: 124px; }
}
