/* Shanghai Unionsources Co., Ltd. — site stylesheet v5
   Brand colours from the logo guide:
   deep green  rgb(0,104,55)  #006837   (shadow green, used for text/accents)
   logo green  rgb(0,130,0)   #008200
   light green rgb(0,237,0)   #00ED00   (highlight, used very sparingly)
   logo grey   rgb(102,102,102) #666666 */
:root {
  --paper: #F6F6F2;
  --white: #FFFFFF;
  --ink: #1A1D1B;
  --ink-2: #3F4541;
  --muted: #666666;
  --rule: #E1E1DA;
  --rule-strong: #C9CAC1;
  --brand: #006837;
  --brand-2: #008200;
  --brand-hi: #00ED00;
  --brand-tint: #EDF5EF;
  --brand-line: #B9D6C3;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.en body, html[lang="en"] body { line-height: 1.7; }

/* top strip */
.top-strip { background: var(--ink); color: #C9CDC9; font-size: 12.5px; letter-spacing: .04em; }
.top-strip .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.top-strip .hubs { color: #9AA19C; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { height: 42px; width: auto; }
html[lang="en"] .brand img { height: 30px; }
.nav-wrap { display: flex; align-items: center; gap: 36px; }
.nav { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--brand); }
.nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.lang { display: flex; border: 1px solid var(--rule-strong); font-size: 13px; font-weight: 600; }
.lang a { padding: 5px 12px; color: var(--muted); }
.lang a.current { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule-strong); width: 40px; height: 36px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #00532C; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.text-link { color: var(--brand); font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--brand-line); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--brand); }

/* eyebrow / section header */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.section { padding: 96px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.sec-head h2 { font-size: 34px; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 560px; }
.sec-head.single { grid-template-columns: 1fr; max-width: 760px; }
.sec-head.single p { margin-top: 18px; }

/* hero */
.hero { padding: 88px 0 80px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); border-bottom: 1px solid var(--rule); }
.hero .hero-main { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.22; margin-bottom: 26px; }
html[lang="en"] .hero h1 { font-size: 48px; line-height: 1.15; }
.hero .lead { font-size: 17.5px; color: var(--ink-2); max-width: 600px; margin-bottom: 36px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* element tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--rule-strong); border-top: 3px solid var(--brand); padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tile .n { position: absolute; top: 6px; left: 9px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile .s { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; color: var(--brand); }
.tile .nm { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.2; text-align: center; }
.tile.big { grid-column: span 2; grid-row: span 2; background: var(--brand); border-color: var(--brand); }
.tile.big .s { font-size: 72px; color: #fff; }
.tile.big .n, .tile.big .nm { color: rgba(255,255,255,.78); }
.tile.big .n { font-size: 14px; top: 12px; left: 16px; }
.tile.big .nm { font-size: 14px; margin-top: 12px; }
.tile.wide .s { font-size: 22px; letter-spacing: -0.02em; }
.tile.soft { background: var(--brand-tint); border-color: var(--brand-line); }
.tiles-caption { font-size: 12.5px; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }

/* mini tiles (cards) */
.minitiles { display: flex; gap: 6px; margin-bottom: 22px; }
.mt { width: 50px; height: 50px; padding-top: 8px; border: 1px solid var(--brand-line); background: var(--brand-tint); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--brand); position: relative; }
.mt small { position: absolute; top: 3px; left: 5px; font-family: var(--sans); font-size: 9px; line-height: 1; font-weight: 500; color: var(--muted); }
.mt.dark { background: var(--brand); border-color: var(--brand); color: #fff; }
.mt.dark small { color: rgba(255,255,255,.75); }
.mt.wide { width: auto; padding-left: 9px; padding-right: 9px; font-size: 17px; }
.mt.icon { font-family: var(--sans); font-size: 22px; padding-top: 0; }

/* facts band */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); margin-top: 72px; }
.fact { padding: 26px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--rule); }
.fact .v { font-family: var(--serif); font-size: 30px; white-space: nowrap; font-weight: 600; color: var(--brand); line-height: 1.1; }
.fact .v small { font-size: 16px; margin-left: 2px; }
.fact .k { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

/* product cards (home) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.card { padding: 32px 26px 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; transition: background .2s; display: flex; flex-direction: column; }
.card:hover { background: var(--brand-tint); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; margin: 0; }
.card .idx { font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.section.alt .card { background: #fff; }
.after-cards { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }

/* chain */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 30px 0 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--rule); }
.step .no { font-family: var(--serif); font-size: 15px; color: var(--brand); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step .no::after { content: ""; flex: 1; height: 1px; background: var(--brand-line); }
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.75; }

/* presence */
.presence { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); border: 1px solid var(--rule-strong); background: #fff; }
.hub { padding: 30px 24px 28px; }
.hub + .hub { border-left: 1px solid var(--rule); }
.hub .role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hub .city { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.hub .country { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.hub p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.hub.hq { background: var(--brand); color: #fff; }
.hub.hq .role, .hub.hq .country { color: rgba(255,255,255,.72); }
.hub.hq p { color: rgba(255,255,255,.92); }
.hub .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); margin-right: 8px; vertical-align: 2px; }
.hub.hq .dot { background: var(--brand-hi); }

/* milestones */
.timeline { border-top: 1px solid var(--rule-strong); }
.ms { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.ms .yr { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--brand); line-height: 1.3; }
.ms h3 { font-size: 19px; margin-bottom: 6px; }
.ms p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); }
.hl { padding: 26px 26px 0 0; }
.hl + .hl { padding-left: 26px; border-left: 1px solid var(--rule); }
.hl .yr { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.hl p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.7; }

/* page header */
.page-head { padding: 76px 0 64px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: 44px; margin-bottom: 18px; }
.page-head p { color: var(--ink-2); font-size: 17px; max-width: 760px; margin: 0; }

/* about prose */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; }
.split h2 { font-size: 32px; }
.prose p { font-size: 16.5px; color: var(--ink-2); line-height: 1.95; margin-bottom: 1.2em; }
html[lang="en"] .prose p { line-height: 1.8; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-strong); }
.value { padding: 30px 30px 0 0; }
.value + .value { padding-left: 30px; border-left: 1px solid var(--rule); }
.value h3 { font-size: 21px; margin-bottom: 12px; }
.value p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* product lines (products page) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--rule-strong); background: #fff; color: var(--ink-2); }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.line { display: grid; grid-template-columns: 380px 1fr; gap: 64px; padding: 56px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.line:first-child { padding-top: 8px; }
.line .idx { font-size: 12.5px; color: var(--muted); letter-spacing: .12em; margin-bottom: 14px; }
.line h2 { font-size: 30px; margin-bottom: 14px; }
.line .intro { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.line h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tags span { font-size: 14.5px; padding: 6px 14px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); }
.apps { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.notes { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
.note { padding: 26px 28px; background: var(--paper); border-left: 3px solid var(--brand); }
.note h3 { font-size: 18px; margin-bottom: 8px; }
.note p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.hq-card { border: 1px solid var(--rule-strong); background: #fff; }
.hq-card .top { background: var(--brand); color: #fff; padding: 26px 32px; }
.hq-card .top .role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 700; }
.hq-card .top h2 { font-size: 26px; margin-top: 6px; color: #fff; }
.hq-card .top .sub { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 4px; }
.row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 32px; border-top: 1px solid var(--rule); font-size: 15.5px; }
.row:first-of-type { border-top: 0; }
.row .k { color: var(--muted); font-size: 14px; }
.row a { color: var(--brand); font-weight: 600; }
.contact-side h2 { font-size: 28px; margin-bottom: 16px; }
.contact-side p { color: var(--ink-2); }
.desk-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.desk-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.desk-list strong { font-family: var(--serif); font-size: 18px; }
.desk-list span { color: var(--ink-2); }

/* CTA band */
.cta { background: var(--ink); color: #fff; padding: 72px 0; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: 32px; color: #fff; margin-bottom: 10px; }
.cta p { color: #B9BFBA; margin: 0; max-width: 620px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); padding: 56px 0 28px; font-size: 14.5px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 36px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 18px; }
html[lang="en"] .footer-grid img { height: 28px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* 404 */
.nf { padding: 140px 0; text-align: center; }
.nf h1 { font-size: 40px; margin-bottom: 16px; }

/* responsive */
@media (max-width: 1080px) {
  .hero .hero-main { grid-template-columns: 1fr; gap: 56px; }
  .hero .tiles-wrap { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .presence { grid-template-columns: repeat(2, 1fr); }
  .presence .hub.hq { grid-column: span 2; }
  .presence .hub { border-left: 0 !important; border-top: 1px solid var(--rule); }
  .presence .hub:nth-child(odd):not(.hq) { border-left: 1px solid var(--rule) !important; }
  .chain, .highlights { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step:nth-child(3), .hl:nth-child(3) { padding-left: 0; border-left: 0; }
  .line { grid-template-columns: 1fr; gap: 28px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-wrap { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 28px 24px; }
  .nav-wrap.open { display: flex; }
  .nav { flex-direction: column; gap: 6px; }
  .nav a { font-size: 16px; }
  .top-strip .hubs { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 26px; }
  .notes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; }
  .page-head { padding: 52px 0 44px; }
  .page-head h1 { font-size: 32px; }
  .sec-head h2, .split h2, .cta h2 { font-size: 27px; }
  .line h2 { font-size: 26px; }
  .cards, .presence, .chain, .highlights { grid-template-columns: 1fr; }
  .presence .hub.hq { grid-column: auto; }
  .presence .hub { border-left: 0 !important; }
  .step, .step + .step, .hl, .hl + .hl { padding-left: 0; border-left: 0; }
  .ms { grid-template-columns: 1fr; gap: 6px; }
  .row { grid-template-columns: 1fr; gap: 2px; padding: 14px 22px; }
  .hq-card .top { padding: 22px; }
  .desk-list li { grid-template-columns: 1fr; gap: 2px; }
  .brand img { height: 34px; }
  html[lang="en"] .brand img { height: 22px; }
  .tile .s { font-size: 22px; }
  .tile .n { display: none; }
  .tile.wide .s { font-size: 15px; }
  .tile.big .s { font-size: 54px; }
  .tile .nm { font-size: 10.5px; }
  .fact .v { font-size: 26px; }
}
