*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
:root {
  --blue:#007CC2; --red:#FF5B5C;
  --dark:#0f1c2e; --dark2:#162338;
  --bg:#eef2f7; --white:#ffffff; --surf:#f7f9fc;
  --t1:#0f1c2e; --t2:#4a5568; --t3:#718096;
  --border:rgba(15,28,46,.1); --border2:rgba(15,28,46,.06);
  --sans:'Space Grotesk',system-ui,sans-serif;
  --mono:'Space Mono',monospace;
  --mw:1160px;
}
/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position:absolute; top:-100%; left:16px; z-index:9999;
  padding:10px 20px; background:#007CC2; color:#fff;
  font-size:.9rem; font-weight:600; border-radius:0 0 6px 6px;
  text-decoration:none; transition:top .15s;
}
.skip-link:focus { top:0; }
/* ── Global focus styles ─────────────────────────────────────── */
:focus-visible { outline:3px solid #007CC2; outline-offset:3px; border-radius:2px; }
body { font-family:var(--sans); background:var(--bg); color:var(--t1); line-height:1.65; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
.container { max-width:var(--mw); margin:0 auto; padding:0 40px; }

header { position:sticky; top:0; z-index:100; background:rgba(15,28,46,.97); backdrop-filter:blur(12px); border-bottom:1px solid rgba(255,255,255,.08); }
.nav { max-width:var(--mw); margin:0 auto; padding:0 40px; display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo img { height:52px; width:auto; }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-links a { font-family:var(--mono); font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.5); padding:6px 12px; border-radius:4px; transition:color .14s,background .14s; }
.nav-links a:hover { color:#fff; background:rgba(255,255,255,.08); }
.nav-cta { margin-left:6px !important; background:var(--red) !important; color:#fff !important; padding:7px 18px !important; font-weight:700 !important; transition:background .14s !important; }
.nav-cta:hover { background:#e04444 !important; }

.page-hero { background:var(--white); padding:64px 0 48px; border-bottom:1px solid var(--border); }
.page-eyebrow { font-family:var(--mono); font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:var(--blue); margin-bottom:14px; display:block; }
.page-title { font-size:clamp(2rem,4vw,3.6rem); font-weight:300; line-height:1.1; letter-spacing:-.025em; color:var(--t1); margin-bottom:10px; }
.page-meta { font-family:var(--mono); font-size:.64rem; letter-spacing:.08em; color:var(--t3); }

.page-body { padding:56px 0; }
.page-layout { display:grid; grid-template-columns:200px 1fr; gap:56px; align-items:start; }
.page-toc { position:sticky; top:84px; }
.toc-label { font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--t3); margin-bottom:12px; display:block; }
.toc-list { list-style:none; display:flex; flex-direction:column; gap:1px; }
.toc-list a { font-size:.8rem; color:var(--t2); padding:5px 10px; display:block; border-left:2px solid transparent; border-radius:0 3px 3px 0; transition:color .13s,background .13s,border-color .13s; }
.toc-list a:hover { color:var(--blue); background:rgba(0,124,194,.07); border-left-color:var(--blue); }

.section { padding:36px 0; border-bottom:1px solid var(--border2); }
.section:last-child { border-bottom:none; padding-bottom:80px; }
.section-title { font-family:var(--mono); font-size:.64rem; letter-spacing:.18em; text-transform:uppercase; color:var(--blue); margin-bottom:16px; }
h3 { font-size:1rem; font-weight:600; color:var(--t1); margin:22px 0 8px; letter-spacing:-.01em; line-height:1.3; }
h3:first-child { margin-top:0; }
p { font-size:.88rem; font-weight:300; color:var(--t2); line-height:1.78; margin-bottom:12px; }
p strong { font-weight:600; color:var(--t1); }
ul,ol { margin:0 0 14px; list-style:none; display:flex; flex-direction:column; gap:8px; }
li { font-size:.86rem; font-weight:300; color:var(--t2); line-height:1.68; padding-left:20px; position:relative; }
li::before { content:'—'; position:absolute; left:0; color:var(--blue); }
ol { counter-reset:ol; }
ol li { counter-increment:ol; }
ol li::before { content:counter(ol)'.'; font-family:var(--mono); font-size:.7rem; }
li strong { font-weight:600; color:var(--t1); }
.legal-caps { font-size:.8rem; color:var(--t2); line-height:1.7; background:var(--surf); border:1px solid var(--border); border-left:3px solid var(--blue); padding:14px 18px; border-radius:4px; margin-bottom:12px; }
.contact-card { background:var(--white); border:1px solid var(--border); border-top:2px solid var(--blue); border-radius:6px; padding:24px; margin-top:16px; }
.contact-card p { margin-bottom:6px; }
.contact-card a { color:var(--blue); }
.contact-card strong { color:var(--t1); font-weight:600; }
.plat-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:8px; }
.plat-card { background:var(--white); border:1px solid var(--border); border-top:3px solid var(--blue); border-radius:6px; padding:22px; transition:box-shadow .15s; }
.plat-card:hover { box-shadow:0 4px 20px rgba(15,28,46,.08); }
.plat-card-name { font-family:var(--mono); font-size:1.1rem; font-weight:700; color:var(--blue); margin-bottom:8px; }
.plat-card-desc { font-size:.82rem; font-weight:300; color:var(--t2); line-height:1.65; }
.plat-card-link { font-family:var(--mono); font-size:.64rem; font-weight:700; color:var(--blue); margin-top:12px; display:inline-flex; align-items:center; gap:5px; letter-spacing:.08em; transition:gap .14s; }
.plat-card-link:hover { gap:8px; }

footer { background:var(--dark2); padding:48px 0 36px; border-top:1px solid rgba(255,255,255,.07); }
.foot-top { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-bottom:24px; border-bottom:1px solid rgba(255,255,255,.07); flex-wrap:wrap; }
.foot-logo { height:60px; width:auto; }
.foot-links { display:flex; align-items:center; gap:2px; flex-wrap:wrap; }
.foot-links a { font-family:var(--mono); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.3); padding:5px 10px; border-radius:3px; transition:color .13s,background .13s; }
.foot-links a:hover { color:var(--blue); background:rgba(0,124,194,.1); }
.foot-bottom { padding-top:20px; display:flex; flex-direction:column; gap:10px; }
.foot-copy { font-family:var(--mono); font-size:.64rem; color:rgba(255,255,255,.28); }
.foot-legal { font-size:.64rem; font-weight:300; color:rgba(255,255,255,.18); line-height:1.7; }
.foot-legal a { color:rgba(0,124,194,.45); text-decoration:underline; text-underline-offset:2px; }
.foot-legal a:hover { color:var(--blue); }
footer .foot-legal, footer .foot-legal p, footer .foot-legal a { font-size:.64rem !important; line-height:1.7 !important; }

.lang-widget { position:fixed; right:20px; bottom:20px; z-index:9999; }
.lang-toggle { display:flex; align-items:center; gap:3px; padding:4px; background:rgba(15,28,46,.95); border:1px solid rgba(255,255,255,.12); border-radius:6px; backdrop-filter:blur(12px); box-shadow:0 4px 16px rgba(0,0,0,.25); }
.lang-toggle a { font-family:var(--mono); font-size:.66rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.35); padding:5px 13px; border-radius:4px; transition:.14s; }
.lang-toggle a.active { background:var(--blue); color:#fff; }
.lang-note { background:rgba(15,28,46,.92); border:1px solid rgba(255,255,255,.1); border-radius:5px; padding:7px 12px; font-family:var(--mono); color:rgba(255,255,255,.3); font-size:.64rem; margin-bottom:6px; }

.mobile-menu-toggle { display:none; width:42px; height:42px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:6px; align-items:center; justify-content:center; flex-direction:column; gap:5px; cursor:pointer; position:relative; z-index:1010; }
.mobile-menu-toggle span { display:block; width:18px; height:1.5px; background:rgba(255,255,255,.8); border-radius:1px; transition:transform .26s cubic-bezier(.77,0,.175,1),opacity .18s; transform-origin:center; }
body.lux-menu-open .mobile-menu-toggle { background:rgba(0,124,194,.3); border-color:var(--blue); }
body.lux-menu-open .mobile-menu-toggle span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
body.lux-menu-open .mobile-menu-toggle span:nth-child(2) { opacity:0; transform:scaleX(0); }
body.lux-menu-open .mobile-menu-toggle span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }
.lux-overlay { position:fixed; inset:0; z-index:1000; pointer-events:none; opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s; }
body.lux-menu-open .lux-overlay { pointer-events:all; opacity:1; visibility:visible; }
.lux-backdrop { position:absolute; inset:0; background:rgba(10,18,30,.98); opacity:0; transition:opacity .3s; }
body.lux-menu-open .lux-backdrop { opacity:1; }
.lux-orb { position:absolute; border-radius:50%; pointer-events:none; filter:blur(64px); opacity:0; transition:opacity .5s ease .06s; }
body.lux-menu-open .lux-orb { opacity:1; }
.lux-orb-1 { width:320px; height:320px; top:-80px; right:-60px; background:radial-gradient(circle,rgba(0,124,194,.18) 0%,transparent 65%); }
.lux-orb-2 { width:240px; height:240px; bottom:-40px; left:-40px; background:radial-gradient(circle,rgba(255,91,92,.08) 0%,transparent 70%); }
.lux-panel { position:absolute; bottom:0; left:0; right:0; background:rgba(15,28,46,.98); border-top:2px solid var(--blue); border-radius:16px 16px 0 0; padding:0 0 env(safe-area-inset-bottom,16px); transform:translateY(100%); transition:transform .38s cubic-bezier(.16,1,.3,1); will-change:transform; overflow:hidden; backdrop-filter:blur(20px); }
body.lux-menu-open .lux-panel { transform:translateY(0); }
.lux-handle { width:32px; height:3px; border-radius:2px; background:rgba(0,124,194,.25); margin:12px auto 0; }
.lux-panel-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px 12px; border-bottom:1px solid rgba(255,255,255,.07); }
.lux-panel-label { font-family:var(--mono); font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.28); }
.lux-panel-badge { font-family:var(--mono); font-size:.58rem; font-weight:700; letter-spacing:.08em; color:#00d4a0; background:rgba(0,212,160,.08); border:1px solid rgba(0,212,160,.2); padding:3px 9px; border-radius:3px; }
.lux-nav-links { padding:6px 12px 4px; display:flex; flex-direction:column; }
.lux-nav-item { display:flex; align-items:center; justify-content:space-between; padding:13px 10px; text-decoration:none; color:rgba(255,255,255,.6); font-family:var(--sans); font-size:1.06rem; font-weight:300; border-bottom:1px solid rgba(255,255,255,.06); transition:background .13s,color .13s,padding-left .13s; opacity:0; transform:translateY(8px); }
.lux-nav-item:last-child { border-bottom:none; }
body.lux-menu-open .lux-nav-item { opacity:1; transform:translateY(0); }
body.lux-menu-open .lux-nav-item:nth-child(1) { transition-delay:.06s; }
body.lux-menu-open .lux-nav-item:nth-child(2) { transition-delay:.10s; }
body.lux-menu-open .lux-nav-item:nth-child(3) { transition-delay:.14s; }
body.lux-menu-open .lux-nav-item:nth-child(4) { transition-delay:.18s; }
body.lux-menu-open .lux-nav-item:nth-child(5) { transition-delay:.22s; }
.lux-nav-item:hover { background:rgba(0,124,194,.1); color:#fff; padding-left:16px; }
.lux-item-left { display:flex; align-items:center; gap:10px; }
.lux-item-dot { font-family:var(--mono); font-size:.56rem; color:rgba(0,124,194,.55); }
.lux-item-arrow { width:13px; height:13px; stroke:rgba(255,255,255,.2); fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; transition:stroke .13s,transform .13s; }
.lux-nav-item:hover .lux-item-arrow { stroke:var(--blue); transform:translate(3px,-3px); }
.lux-cta-wrap { padding:8px 12px 16px; opacity:0; transform:translateY(5px); transition:opacity .22s ease .22s,transform .22s ease .22s; }
body.lux-menu-open .lux-cta-wrap { opacity:1; transform:translateY(0); }
.lux-cta { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:13px 20px; background:var(--red); color:#fff; border-radius:4px; font-family:var(--mono); font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; text-decoration:none; transition:background .14s; }
.lux-cta:hover { background:#e04444; }
.lux-cta svg { width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.lux-panel-foot { padding:0 20px 3px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; opacity:0; transition:opacity .22s ease .26s; }
body.lux-menu-open .lux-panel-foot { opacity:1; }
.lux-foot-link { font-family:var(--mono); font-size:.58rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.2); text-decoration:none; transition:color .13s; }
.lux-foot-link:hover { color:var(--blue); }

@media (max-width:760px) { .mobile-menu-toggle { display:flex; } .nav-links { display:none !important; } .nav { height:66px; padding:0 20px; } }
body.lux-menu-open { overflow:hidden; padding-right:var(--scrollbar-width,0px); }
@media (max-width:860px) { .page-layout { grid-template-columns:1fr; } .page-toc { display:none; } .plat-grid { grid-template-columns:1fr; } }
@media (max-width:768px) { .container { padding:0 24px; } .nav { padding:0 20px; } .page-title { font-size:clamp(1.8rem,7vw,3rem) !important; } .foot-top { flex-direction:column; align-items:flex-start; gap:20px; } .foot-links { display:grid; grid-template-columns:1fr 1fr; gap:4px 8px; } }


/* Footer and language-widget refinements */
footer { width: 100%; clear: both; }
footer .container { max-width: var(--mw); margin: 0 auto; padding: 0 40px; }
.page-body::after,
.page-layout::after,
.page-content::after { content: ""; display: block; clear: both; }
.foot-bottom { max-width: 100%; }
.foot-legal.zh,
.foot-legal.en {
  max-width: 1040px;
  font-size: .66rem;
  line-height: 1.82;
  letter-spacing: 0;
  color: rgba(255,255,255,.34);
  word-break: normal;
  overflow-wrap: anywhere;
}
.foot-legal.zh a,
.foot-legal.en a { color: rgba(0,124,194,.78); }
.lang-widget {
  width: auto;
  max-width: none;
  right: 20px;
  bottom: 20px;
}
.lang-widget .lang-note {
  display: block;
  width: 238px;
  max-width: calc(100vw - 24px);
  margin: 0 0 6px auto;
  padding: 7px 10px;
  text-align: center;
  white-space: normal;
  line-height: 1.45;
  font-family: var(--sans);
  font-size: .62rem;
  color: rgba(255,255,255,.52);
  background: rgba(15,28,46,.95);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.lang-widget .lang-toggle {
  width: max-content;
  margin-left: auto;
  display: flex;
  align-items: center;
  grid-template-columns: none;
  gap: 3px;
  padding: 4px;
}
.lang-widget .lang-toggle a {
  white-space: nowrap;
  padding: 5px 13px;
  min-width: 0;
  text-align: center;
}
@media (max-width: 768px) {
  footer { padding-bottom: 128px; }
  footer .container { padding: 0 24px; }
  .foot-legal.zh,
  .foot-legal.en { max-width: 100%; }
  .lang-widget {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: calc(100vw - 24px);
  }
  .lang-widget .lang-note {
    width: 238px;
    font-size: .62rem;
  }
}
