/* Compact product collection. Other company and product pages keep site.css. */
.home-page { font-family: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.home-page .wrap { width: min(1368px, calc(100% - 112px)); }
.home-page .site-header { min-height: 72px; gap: 32px; }
.home-page .brand { font-size: 27px; gap: 10px; }
.home-page .brand-mark { width: 28px; height: 35px; }
.home-page .site-header nav { gap: 30px; }
.home-page .site-header nav > a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.language-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: #e9eee3; border-radius: 24px; }
.home-page .site-header .language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; min-width: 40px; padding: 3px 10px; color: #5e6f60; border-radius: 20px; font-size: 12px; }
.home-page .language-switch a[aria-current="page"] { background: #203e34; color: #fff; }
.skip-link { position: absolute; z-index: 10; left: 24px; top: 10px; padding: 10px 16px; border-radius: 6px; color: white; background: #203e34; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.home-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 510px; padding: 66px 8px 70px; }
.home-hero-copy { min-width: 0; position: relative; z-index: 1; }
.home-hero h1 { font-family: Instrument, Georgia, serif; font-weight: 400; font-size: clamp(58px, 6.3vw, 94px); letter-spacing: -2.4px; line-height: 1.06; margin: 0; }
.hero-line { display: block; animation: hero-reveal .85s cubic-bezier(.2,.75,.25,1) both; }
.home-hero h1 em { color: #647758; font-weight: 400; white-space: nowrap; animation-delay: .13s; }
.home-hero p { margin: 25px 0 0; color: #59665e; font-size: 17px; line-height: 1.6; animation: hero-reveal .85s .23s both; }
.hero-action { margin-top: 27px; animation: hero-reveal .85s .33s both; }
.hero-action .outbound-icon { filter: invert(1); }
.home-hero-art { width: 300px; height: 360px; flex: 0 0 300px; perspective: 900px; }
.kite-parallax { width: 100%; height: 100%; transform: translate3d(var(--kite-x, 0px),var(--kite-y, 0px),0) rotateX(var(--kite-tilt-x, 0deg)) rotateY(var(--kite-tilt-y, 0deg)); transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.kite-parallax > svg { display: block; width: 100%; height: 100%; overflow: visible; animation: kite-flight 7s ease-in-out infinite; filter: drop-shadow(0 20px 20px #617b5e1a); }
.kite-parallax > svg path:nth-of-type(1) { stroke: #75977c; stroke-width: 1.7; animation: kite-trail 9s linear infinite; }
.kite-parallax > svg path:nth-of-type(2) { animation: kite-glow 5s ease-in-out infinite; }
.kite-parallax > svg path:nth-of-type(4) { stroke-dasharray: 8 5; animation: kite-trail 4s linear infinite; }
.kite-parallax > svg circle { animation: kite-spark 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.home-hero.is-paused .kite-parallax > svg, .home-hero.is-paused .kite-parallax > svg * { animation-play-state: paused; }
@keyframes hero-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kite-flight { 0%,100% { transform: translate3d(0,3px,0) rotate(-5deg); } 35% { transform: translate3d(10px,-17px,0) rotate(3deg); } 70% { transform: translate3d(-6px,-7px,0) rotate(-2deg); } }
@keyframes kite-trail { to { stroke-dashoffset: -100; } }
@keyframes kite-glow { 0%,100% { fill: #d7e6d6; filter: drop-shadow(0 0 0 #b7d0a800); } 50% { fill: #c6dfbf; filter: drop-shadow(0 0 16px #b7d0a877); } }
@keyframes kite-spark { 0%,100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.45); } }
.product-collection { scroll-margin-top: 24px; }
.app-section { padding: 10px 0 28px; border-top: 1px solid var(--line); }
.collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0; margin: 0 0 14px; }
.collection-heading h2 { margin: 0; font-family: Instrument, Georgia, serif; font-size: 36px; font-weight: 400; letter-spacing: -.7px; line-height: 1.4; }
.collection-heading > p { color: #59665e; font-size: 14px; margin: 0; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, 208px); gap: 16px; }
.app-tile { display: flex; min-width: 0; min-height: 226px; align-items: center; flex-direction: column; justify-content: center; padding: 22px 12px 17px; text-decoration: none; border: 1px solid #d5ddd0; border-radius: 14px; background: #ffffff65; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.app-icon { display: block; width: 124px; height: 124px; object-fit: cover; border-radius: 28px; box-shadow: 0 1px 3px #203e3418; }
.app-tile h3 { font-size: 17px; font-weight: 500; line-height: 1.4; margin: 11px 0 2px; letter-spacing: -.4px; text-align: center; }
.app-tile p { font-size: 14px; color: #5b685f; margin: 0; line-height: 1.5; text-align: center; }
.software-section { padding: 10px 0 40px; border-top: 1px solid var(--line); }
.software-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.software-tile { display: flex; min-width: 0; flex-direction: column; text-decoration: none; border: 1px solid #d5ddd0; border-radius: 12px; background: #ffffff65; overflow: hidden; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.software-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eee9; }
.software-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.software-caption { padding: 10px 17px 15px; flex: 1; }
.software-caption h3 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 3px; font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -.45px; }
.software-caption p { font-size: 14px; color: #59665e; line-height: 1.5; margin: 0; }
.outbound-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.maintenance-label { position: absolute; right: 8px; top: 9px; padding: 2px 7px; font-size: 12px; font-weight: 500; line-height: 1.5; color: #203e34; background: #edf1e3; border-radius: 20px; }
.app-tile:hover, .software-tile:hover { transform: translateY(-3px); border-color: #8b9c7f; background: #fff; }
.app-tile:focus-visible, .software-tile:focus-visible { outline-offset: 4px; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 84px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.home-footer > p { font-size: 14px; line-height: 1.6; margin: 0; }
.home-footer > div { display: flex; align-items: center; gap: 22px; }
.home-footer a { font-size: 14px; text-decoration: none; white-space: nowrap; }
.home-footer a:hover { text-decoration: underline; }
.home-footer a + a { border-left: 1px solid #aab6a6; padding-left: 22px; }
.home-zh .home-hero h1 { font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.4; letter-spacing: 0; }
.home-zh .collection-heading h2 { font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif; font-size: 29px; line-height: 1.75; letter-spacing: .4px; }
.home-zh .home-hero h1 em { font-style: normal; }
.home-zh .app-tile h3, .home-zh .software-caption h3 { letter-spacing: 0; }
@media (min-width: 1500px) { .home-hero { min-height: 530px; } }
@media (max-width: 1250px) {
  .home-page .wrap { width: calc(100% - 72px); }
  .home-hero h1 { font-size: clamp(50px, 5.6vw, 70px); }
  .home-hero-art { width: 225px; height: 300px; flex-basis: 225px; }
  .software-caption { padding: 12px 15px 16px; }
}
@media (max-width: 1000px) {
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 800px) {
  .home-page .wrap { width: calc(100% - 48px); }
  .home-page .site-header { min-height: 78px; flex-wrap: wrap; gap: 8px 22px; padding-top: 12px; padding-bottom: 12px; }
  .home-page .site-header nav { gap: 18px; }
  .home-page .brand { font-size: 25px; }
  .home-hero { min-height: 430px; padding: 52px 0; gap: 16px; }
  .home-hero h1 { font-size: 54px; letter-spacing: -1px; }
  .home-hero h1 em { white-space: normal; }
  .home-hero p { font-size: 16px; }
  .home-hero-art { width: 150px; flex-basis: 150px; height: 230px; }
  .home-footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 21px 0 26px; }
}
@media (max-width: 550px) {
  .home-page .wrap { width: calc(100% - 36px); }
  .home-page .site-header { align-items: center; padding-top: 14px; padding-bottom: 12px; }
  .home-page .brand { font-size: 24px; }
  .home-page .brand-mark { width: 24px; height: 31px; }
  .home-page .site-header nav { display: flex; width: 100%; gap: 24px; justify-content: flex-start; }
  .home-page .site-header nav > a { display: inline-flex; min-height: 36px; font-size: 14px; }
  .home-page .site-header nav > a:nth-child(2) { display: none; }
  .language-switch { margin-left: auto; }
  .home-page .language-switch a { min-width: 36px; min-height: 32px; padding: 2px 8px; }
  .home-hero { min-height: 470px; padding: 42px 0 110px; position: relative; display: block; }
  .home-hero h1 { font-size: clamp(37px, 9.2vw, 49px); line-height: 1.12; }
  .home-hero h1 em { white-space: normal; display: block; }
  .home-hero p { font-size: 15px; max-width: 280px; margin-top: 15px; }
  .home-hero-art { position: absolute; right: 6px; bottom: 2px; width: 148px; height: 183px; }
  .hero-action { position: relative; z-index: 2; padding-left: 18px; padding-right: 18px; gap: 14px; font-size: 13px; }
  .collection-heading { margin-bottom: 12px; gap: 12px; }
  .collection-heading h2 { font-size: 31px; line-height: 1.5; }
  .collection-heading > p { font-size: 12px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .app-tile { min-height: 199px; padding: 20px 9px 17px; }
  .app-icon { width: 104px; height: 104px; border-radius: 24px; }
  .app-tile h3 { font-size: 16px; margin-top: 10px; }
  .app-tile p { font-size: 13px; }
  .app-section { padding-bottom: 24px; }
  .software-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .software-section { padding-bottom: 28px; }
  .software-caption { padding: 9px 10px 12px; }
  .software-caption h3 { font-size: 16px; gap: 4px; }
  .software-caption p { font-size: 14px; min-height: 42px; }
  .outbound-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .maintenance-label { top: 6px; right: 6px; font-size: 12px; }
  .home-zh .home-hero h1 { font-size: 37px; line-height: 1.4; }
  .home-zh .collection-heading h2 { font-size: 26px; }
  .home-zh .home-hero h1 em { display: block; white-space: normal; }
  .home-footer > div { flex-wrap: wrap; gap: 12px; }
  .home-footer a + a { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page { scroll-behavior: auto; }
  .home-hero *, .home-hero-art, .kite-parallax { animation: none !important; transition: none !important; }
  .hero-line, .home-hero p, .hero-action { opacity: 1; transform: none; }
  .app-tile, .software-tile { transition: none; }
  .app-tile:hover, .software-tile:hover { transform: none; }
}
