:root {
  --ink-0: #050706;
  --ink-1: #090c0a;
  --ink-2: #101411;
  --ink-3: #171c18;
  --silver-0: #f4f7f3;
  --silver-1: #dce2dd;
  --silver-2: #a4ada7;
  --silver-3: #747d77;
  --line: rgba(228, 238, 230, 0.14);
  --line-strong: rgba(228, 238, 230, 0.25);
  --acid: #d8ff55;
  --acid-soft: rgba(216, 255, 85, 0.13);
  --acid-glow: rgba(187, 255, 0, 0.38);
  --color-text: var(--silver-0);
  --color-muted: var(--silver-2);
  --color-accent: var(--acid);
  --accent: var(--acid);
  --ink: var(--silver-0);
  --muted: var(--silver-2);
  --panel: var(--ink-2);
  --danger: #ff7272;
  --shell: 1360px;
  --header-h: 76px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  color: var(--silver-1);
  background: var(--ink-0);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--ink-0); }
body { min-width: 320px; margin: 0; color: var(--silver-1); background: var(--ink-0); line-height: 1.65; overflow-x: clip; }
body, button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img, picture, video, canvas { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

::selection { color: var(--ink-0); background: var(--acid); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.shell { width: min(calc(100% - 72px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 1000; padding: 10px 16px; color: var(--ink-0); background: var(--acid); border-radius: 0 0 8px 8px; font-weight: 800; }
.skip-link:focus { top: 0; }

.global-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.global-header.is-scrolled { background: rgba(5, 7, 6, .82); border-color: var(--line); backdrop-filter: blur(18px) saturate(135%); }
.header-inner { min-height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--silver-0); font-size: 21px; font-weight: 900; letter-spacing: -.055em; white-space: nowrap; }
.brand-lockup img { width: 34px; height: 34px; }
.brand-lockup em { color: var(--acid); font-style: normal; }
.global-nav { justify-self: center; display: flex; align-items: center; gap: 34px; }
.global-nav a { position: relative; padding: 25px 2px 23px; color: var(--silver-2); font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: color .2s ease; }
.global-nav a::after { content: ""; position: absolute; right: 2px; bottom: 18px; left: 2px; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--silver-0); }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-wechat { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; color: var(--ink-0); background: var(--acid); border: 1px solid var(--acid); border-radius: 999px; font-size: 13px; font-weight: 850; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease; }
.header-wechat:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(190,255,0,.15); }
.header-wechat svg { width: 18px; height: 18px; fill: currentColor; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; color: var(--silver-0); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.nav-toggle svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--acid); font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.display-title { margin: 0; color: var(--silver-0); font-size: clamp(46px, 6vw, 88px); font-weight: 850; line-height: .99; letter-spacing: -.075em; }
.section-title { margin: 0; color: var(--silver-0); font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -.06em; }
.section-lead { max-width: 650px; margin: 20px 0 0; color: var(--silver-2); font-size: 16px; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 800; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink-0); background: var(--acid); border-color: var(--acid); }
.button-secondary { color: var(--silver-0); background: rgba(11,14,12,.55); backdrop-filter: blur(12px); }
.button-secondary:hover { border-color: var(--acid); }
.button-arrow { font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.button:hover .button-arrow { transform: translateX(4px); }

[data-reveal] { opacity: 1; transform: none; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

.global-footer { position: relative; padding: 38px 0; color: var(--silver-3); background: #050706; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.global-footer .brand-lockup { font-size: 18px; }
.global-footer .brand-lockup img { width: 28px; height: 28px; }
.footer-nav { justify-self: center; display: flex; gap: 28px; font-size: 12px; }
.footer-nav a:hover { color: var(--acid); }
.global-footer small { font-size: 11px; }

.wechat-widget { position: fixed; right: 18px; top: 50%; z-index: 120; display: flex; align-items: stretch; transform: translateY(-45%); filter: drop-shadow(0 24px 50px rgba(0,0,0,.42)); }
.wechat-collapse { width: 42px; min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 12px 7px; color: var(--ink-0); background: var(--acid); border: 0; border-radius: 12px 0 0 12px; cursor: pointer; }
.wechat-collapse span { writing-mode: vertical-rl; letter-spacing: .13em; font-size: 12px; font-weight: 900; }
.wechat-collapse svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.wechat-panel { width: 206px; padding: 18px 18px 16px; color: var(--silver-1); text-align: center; background: rgba(13,17,14,.97); border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 14px 14px 0; backdrop-filter: blur(16px); }
.wechat-title, .wechat-name { display: block; color: var(--silver-0); }
.wechat-title { margin-bottom: 12px; font-size: 14px; }
.wechat-qr-crop { position: relative; width: 168px; height: 168px; overflow: hidden; margin: 0 auto 10px; background: #fff; border-radius: 6px; }
.wechat-qr-crop img { position: absolute; top: -59.5%; left: -20.4%; width: 140.8%; max-width: none; height: auto; }
.wechat-name { font-size: 14px; }
.wechat-panel > span { display: block; color: var(--silver-2); font-size: 11px; }
.wechat-panel p { margin: 6px 0 0; color: var(--silver-3); font-size: 11px; }
.wechat-widget.is-collapsed .wechat-panel { display: none; }
.wechat-widget.is-collapsed .wechat-collapse { border-radius: 12px 0 0 12px; }
.wechat-widget.is-collapsed .wechat-collapse svg { transform: rotate(180deg); }
.wechat-noscript { padding: 42px 0; background: #0a0d0b; border-top: 1px solid var(--line); }
.wechat-noscript-inner { display: flex; align-items: center; justify-content: center; gap: 28px; }
.wechat-noscript-copy strong, .wechat-noscript-copy span { display: block; }
.wechat-noscript-copy strong { color: var(--silver-0); font-size: 18px; }
.wechat-noscript-copy span { color: var(--silver-2); font-size: 12px; }
.wechat-noscript img { width: 180px; height: auto; background: #fff; border-radius: 8px; }

.page-transition { position: fixed; inset: 0; z-index: 999; pointer-events: none; background: var(--ink-0); transform: translateY(-101%); }
.page-transition.is-entering { animation: pageEnter .7s var(--ease) both; }
.page-transition.is-leaving { animation: pageLeave .45s var(--ease) both; }
@keyframes pageEnter { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes pageLeave { from { transform: translateY(101%); } to { transform: translateY(0); } }

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .brand-lockup { font-size: 19px; }
  .brand-lockup img { width: 31px; height: 31px; }
  .header-wechat { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .global-nav { position: absolute; top: calc(100% + 1px); right: 18px; left: 18px; display: none; padding: 10px; background: rgba(8,11,9,.98); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .global-nav.is-open { display: grid; }
  .global-nav a { padding: 13px 14px; border-radius: 8px; }
  .global-nav a::after { display: none; }
  .global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--ink-0); background: var(--acid); }
  .display-title { font-size: clamp(42px, 13vw, 64px); }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .wechat-widget { top: auto; right: 0; bottom: 22px; transform: none; }
  .wechat-collapse { width: 38px; min-height: 126px; border-radius: 10px 0 0 10px; }
  .wechat-panel { width: 184px; padding: 14px; }
  .wechat-qr-crop { width: 154px; height: 154px; }
  html:not(.js) .global-header { position: static; height: auto; background: #070a08; border-color: var(--line); }
  html:not(.js) .header-inner { min-height: 0; grid-template-columns: 1fr; padding-block: 14px; }
  html:not(.js) .nav-toggle, html:not(.js) .header-wechat, html:not(.js) .header-actions { display: none; }
  html:not(.js) .global-nav { position: static; inset: auto; grid-column: 1 / -1; justify-self: stretch; display: grid; width: 100%; margin-top: 4px; }
  .wechat-noscript-inner { flex-direction: column; align-items: flex-start; }
  .wechat-noscript img { width: min(100%, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .page-transition { display: none; }
}
