:root {
  color-scheme: light;
  --ink: #172231;
  --muted: #5c6b79;
  --line: #dfe5e7;
  --surface: #fff;
  --bg: #f7f8f7;
  --blue: #173d6d;
  --green: #1a604d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif; line-height: 1.6; }
body:not([data-lang]) [lang-block], body[data-lang="zh"] [lang-block="en"], body[data-lang="en"] [lang-block="zh"], body[data-lang="zh"] .en-only, body[data-lang="en"] .zh-only { display: none !important; }
a { color: inherit; }
button { font: inherit; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.nav { width: min(1160px, calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 17px; font-weight: 820; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg,#173d6d,#116b56); color: #fff; font-size: 24px; font-weight: 760; font-family: Georgia, serif; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-apps { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-apps:hover, .explore-link:hover, .text-link:hover { color: var(--green); }
.language-switch { display: inline-flex; gap: 2px; padding: 4px; background: #edf1f0; border-radius: 999px; }
.language-switch button { min-height: 34px; padding: 5px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: #fff; background: var(--ink); }

.intro { position: relative; isolation: isolate; min-height: 500px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.9fr); align-items: center; gap: 28px; overflow: hidden; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 86px; }
.intro::before { content: ""; position: absolute; z-index: -1; width: 610px; height: 610px; right: -110px; top: -245px; border-radius: 50%; background: radial-gradient(circle,#e6efea 0%,rgba(230,239,234,0) 70%); }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #70af87; box-shadow: 0 0 0 5px #e6f1e9; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(52px,8vw,102px); line-height: 1.04; letter-spacing: -.07em; }
.heading-accent { color: var(--green); }
.lead { margin-bottom: 12px; font-size: clamp(22px,2.7vw,31px); font-weight: 650; letter-spacing: -.035em; }
.intro-detail { max-width: 530px; margin-bottom: 30px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.explore-link { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; font-size: 14px; font-weight: 800; }
.explore-link span:last-child { font-size: 22px; line-height: 1; }
.intro-art { position: relative; height: 360px; }
.art-orbit { position: absolute; border: 1px solid rgba(35,96,77,.14); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 420px; height: 230px; top: 65px; left: 0; }
.orbit-two { width: 340px; height: 180px; top: 86px; left: 40px; }
.floating-icon { position: absolute; width: 142px; height: 142px; object-fit: cover; border-radius: 31px; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 28px 55px rgba(34,56,65,.18); }
.icon-bamboo { top: 28px; left: 58px; transform: rotate(-12deg); }
.icon-photo { right: 65px; bottom: 18px; transform: rotate(11deg); }

.apps-section { padding: 72px max(24px,calc((100% - 1160px)/2)) 110px; background: #fff; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.section-kicker { margin-bottom: 9px; }
h2 { margin-bottom: 0; font-size: clamp(32px,4vw,48px); letter-spacing: -.055em; line-height: 1.15; }
.app-count { color: #91a0a6; font-size: 13px; font-weight: 800; letter-spacing: .2em; white-space: nowrap; }
.app-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.app-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 16px 40px rgba(18,40,44,.045); }
.card-art { position: relative; height: 270px; overflow: hidden; }
.card-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bamboo-art > img { object-position: 50% 47%; }
.photo-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%,#e6f7f4,#e1ebf6 65%,#cdddec); }
.photo-art > img { width: 76%; height: 86%; object-fit: contain; }
.card-number { position: absolute; left: 22px; top: 19px; padding: 7px 12px; border-radius: 99px; color: #fff; background: rgba(22,32,39,.5); backdrop-filter: blur(8px); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.card-content { padding: 28px 32px 30px; }
.card-identity { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.card-identity img { width: 42px; height: 42px; border-radius: 11px; }
.card-type { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .03em; }
h3 { margin-bottom: 8px; font-size: clamp(28px,3vw,38px); line-height: 1.2; letter-spacing: -.04em; }
.card-description { min-height: 56px; margin-bottom: 25px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.card-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.primary-link { display: inline-flex; align-items: center; gap: 20px; padding: 11px 16px; border-radius: 12px; color: #fff; background: var(--green); text-decoration: none; font-size: 13px; font-weight: 800; }
.photo-card .primary-link { background: var(--blue); }
.primary-link:hover { filter: brightness(1.15); }
.text-link { color: var(--muted); font-size: 12px; font-weight: 750; text-decoration: none; }
.footer { display: flex; justify-content: space-between; gap: 20px; width: min(1160px,calc(100% - 48px)); margin: auto; padding: 28px 0 42px; color: var(--muted); font-size: 12px; }

@media (max-width: 780px) {
  .intro { grid-template-columns: 1fr; padding: 66px 0 58px; }
  .intro-art { height: 190px; max-width: 410px; width: 100%; margin: 0 auto; }
  .orbit-one { width: 330px; height: 160px; top: 15px; left: 30px; }
  .orbit-two { width: 260px; height: 125px; top: 32px; left: 65px; }
  .floating-icon { width: 100px; height: 100px; border-radius: 23px; }
  .icon-bamboo { top: 0; left: 54px; }
  .icon-photo { right: 64px; bottom: 0; }
  .apps-section { padding-top: 55px; padding-bottom: 75px; }
  .app-grid { grid-template-columns: 1fr; }
  .card-description { min-height: 0; }
}

@media (max-width: 440px) {
  .nav { width: calc(100% - 32px); min-height: 70px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; font-size: 21px; }
  .nav-actions { gap: 8px; }
  .nav-apps { display: none; }
  .language-switch button { padding: 4px 9px; }
  .intro { width: calc(100% - 36px); }
  .apps-section { padding-left: 18px; padding-right: 18px; }
  .card-art { height: 205px; }
  .card-content { padding: 23px; }
  .card-links { gap: 10px 14px; }
  .footer { width: calc(100% - 36px); }
}

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