/* ==========================================================================
   HK ZANVIX CO., LIMITED — Global Stylesheet
   [复用-A] The single stylesheet for the whole site.
   Design language: bold, kinetic, modern industrial — high-contrast
   midnight ink surfaces, electric azure actions, amber signal accents,
   chamfered geometry and speed-line motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* ---- Brand ramp (electric azure) ---- */
  --brand-50:  #eef3ff;
  --brand-100: #dbe6ff;
  --brand-200: #b8ccff;
  --brand-300: #8aa9ff;
  --brand-400: #5b85ff;
  --brand-500: #2f63f5;
  --brand-600: #1b4ad9;
  --brand-700: #163aad;
  --brand-800: #132c85;
  --brand-900: #0e2060;
  --brand-950: #08143a;

  /* ---- Ink ramp (cool neutrals) ---- */
  --ink-900: #070d18;
  --ink-850: #0b1322;
  --ink-800: #101a2c;
  --ink-700: #1b2739;
  --ink-600: #2a3a51;
  --ink-500: #4a5b73;
  --ink-400: #6b7c93;
  --ink-300: #94a3b8;
  --ink-200: #c6d0dc;
  --ink-100: #e3e8ef;
  --ink-50:  #f1f4f8;

  /* ---- Signal accent (amber) ---- */
  --accent-300: #ffd27a;
  --accent-400: #ffc24d;
  --accent-500: #f9a826;
  --accent-600: #dd8a0a;
  --accent-700: #a86607;

  /* ---- Support accent (cyan, used sparingly for the app line) ---- */
  --cyan-400: #35d0e8;
  --cyan-500: #17b6d4;
  --cyan-600: #0d8fa8;

  /* ---- Semantic surfaces ---- */
  --paper:       #ffffff;
  --mist:        #f4f6fa;
  --surface-dark:  var(--ink-900);
  --surface-dark-2: var(--ink-850);
  --surface-deep:  var(--brand-950);

  /* ---- Semantic text ---- */
  --text-strong:       var(--ink-900);
  --text-body:         var(--ink-700);
  --text-muted:        var(--ink-500);
  --text-on-dark:      #f2f5fa;
  --text-on-dark-muted:#a8b6cc;
  --text-on-brand:     #ffffff;

  /* ---- Borders ---- */
  --line:         #e2e7ef;
  --line-strong:  #cdd6e3;
  --line-dark:    rgba(255, 255, 255, .12);
  --line-dark-strong: rgba(255, 255, 255, .22);

  /* ---- Radii ---- */
  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-2xl:  36px;
  --r-pill: 999px;

  /* ---- Spacing scale ---- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-7: 32px;  --s-8: 40px;
  --s-9: 48px;  --s-10: 56px; --s-11: 64px; --s-12: 80px;
  --s-13: 96px; --s-14: 112px;--s-15: 128px;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 4.2vw, 40px);
  --section-y: clamp(64px, 8.5vw, 124px);
  --header-h: 76px;

  /* ---- Elevation ---- */
  --shadow-xs: 0 1px 2px rgba(8, 20, 58, .06);
  --shadow-sm: 0 2px 4px rgba(8, 20, 58, .05), 0 8px 20px rgba(8, 20, 58, .06);
  --shadow-md: 0 8px 24px rgba(8, 20, 58, .10);
  --shadow-lg: 0 24px 56px rgba(8, 20, 58, .16);
  --shadow-xl: 0 40px 90px rgba(8, 20, 58, .22);
  --shadow-brand: 0 14px 34px rgba(27, 74, 217, .28);
  --shadow-glow: 0 0 0 1px rgba(47, 99, 245, .22), 0 12px 34px rgba(47, 99, 245, .24);

  /* ---- Motion ---- */
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 420ms;
  --dur-4: 700ms;
  --dur-5: 1100ms;
  --ease-out:    cubic-bezier(.22, .61, .36, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Horizontal reveal offset. It must never exceed the container gutter:
     a wider shift pushes the content past the viewport, which widens the
     initial containing block and drags the fixed header off-screen. */
  --slide-x: clamp(12px, 3.8vw, 38px);

  /* ---- Layers ---- */
  --z-base: 1;
  --z-deco: 2;
  --z-mask: 40;
  --z-header: 60;
  --z-drawer: 70;
  --z-top: 80;
  --z-toast: 90;

  /* ---- Type scale ---- */
  --fs-display: clamp(2.6rem, 6.2vw, 4.6rem);
  --fs-h1:     clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2:     clamp(1.75rem, 3.4vw, 2.65rem);
  --fs-h3:     clamp(1.25rem, 2vw, 1.6rem);
  --fs-h4:     clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-body:   1rem;
  --fs-sm:     .925rem;
  --fs-xs:     .8rem;

  /* ---- Fonts ---- */
  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
                  "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SF Mono", monospace;
}

/* --------------------------------------------------------------------------
   2. RESET + BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-4);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.022em;
  color: var(--text-strong);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-h4); letter-spacing: -.01em; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-out);
}
a:hover { color: var(--brand-700); }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li { margin-bottom: var(--s-2); }
li:last-child { margin-bottom: 0; }

strong { color: var(--text-strong); font-weight: 700; }
small  { font-size: var(--fs-sm); }
hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--s-8) 0;
}

::selection { background: var(--brand-500); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--ink-200) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: var(--r-pill); border: 3px solid var(--paper); }
*::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--mist { background: var(--mist); }
.section--dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark a { color: var(--brand-300); }
.section--dark a:hover { color: var(--brand-200); }
.section--deep {
  background: var(--surface-deep);
  color: var(--text-on-dark);
}
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--text-on-dark); }
.section--deep p { color: var(--text-on-dark-muted); }

.section--dark::after,
.section--deep::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}

.section__head { max-width: 760px; margin-bottom: var(--s-10); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.section--dark .section__head p,
.section--deep .section__head p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-500), var(--brand-500));
  border-radius: 2px;
}
.section--dark .eyebrow,
.section--deep .eyebrow { color: var(--accent-400); }
.section__head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: var(--s-7); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }
.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-muted);
}
.section--dark .lead,
.section--deep .lead { color: var(--text-on-dark-muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Chamfered geometry — the house shape */
.chamfer {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

/* --------------------------------------------------------------------------
   4. BUTTONS, BADGES, TAGS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-500);
  --btn-fg: #fff;
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 14px 28px;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-2) var(--ease-spring),
              box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform var(--dur-4) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); color: var(--btn-fg); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--brand-500); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--brand-600); }
.btn--dark { --btn-bg: var(--ink-900); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-800); box-shadow: var(--shadow-lg); }
.btn--accent { --btn-bg: var(--accent-500); --btn-fg: var(--ink-900); }
.btn--accent:hover { --btn-bg: var(--accent-400); box-shadow: 0 14px 34px rgba(249, 168, 38, .3); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--brand-500); --btn-fg: var(--brand-600); box-shadow: none; }
.section--dark .btn--ghost,
.section--deep .btn--ghost { --btn-fg: var(--text-on-dark); --btn-bd: var(--line-dark-strong); }
.section--dark .btn--ghost:hover,
.section--deep .btn--ghost:hover { --btn-fg: #fff; --btn-bd: var(--brand-400); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: transparent; }
.btn--light:hover { --btn-bg: var(--ink-50); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* Ghost buttons on the dark surfaces — the hero bands are not .section--dark,
   so they need their own light treatment or the label sits dark-on-dark. */
.hero .btn--ghost,
.page-hero .btn--ghost,
.cta-strip .btn--ghost,
.app-showcase .btn--ghost {
  --btn-fg: var(--text-on-dark);
  --btn-bd: var(--line-dark-strong);
}
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.cta-strip .btn--ghost:hover,
.app-showcase .btn--ghost:hover {
  --btn-fg: #fff;
  --btn-bd: var(--brand-400);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.btn-row--center { justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.badge--accent { background: #fff5e2; border-color: #ffe0ac; color: var(--accent-700); }
.badge--dark { background: rgba(255, 255, 255, .08); border-color: var(--line-dark-strong); color: var(--text-on-dark); }
.badge--dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(249, 168, 38, .18);
}

.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--r-xs);
  background: var(--ink-50);
  border: 1px solid var(--line);
  color: var(--ink-600);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   5. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-7);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  color: var(--text-body);
  transition: transform var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-100);
}
.card:hover::after { transform: scaleX(1); }
.card h3 { color: var(--text-strong); }
.card p { color: var(--text-muted); }
.card__title { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: var(--s-5);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur-3) var(--ease-spring);
}
.card__icon .icon { width: 26px; height: 26px; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__index {
  position: absolute;
  top: var(--s-5); right: var(--s-6);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink-100);
  letter-spacing: -.04em;
  user-select: none;
}
.card__list { list-style: none; padding: 0; margin: var(--s-2) 0 0; }
.card__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: var(--s-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand-500);
  transform: rotate(45deg);
}
.card__link {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand-600);
}
.card__link .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.card__link:hover .icon { transform: translateX(4px); }

.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
  color: var(--text-on-dark-muted);
  backdrop-filter: blur(6px);
}
.card--dark h3, .card--dark .card__title { color: var(--text-on-dark); }
.card--dark p { color: var(--text-on-dark-muted); }
.card--dark .card__list li { color: var(--text-on-dark-muted); }
.card--dark .card__link { color: var(--accent-400); }
.card--dark:hover { border-color: var(--line-dark-strong); box-shadow: var(--shadow-xl); }
.card--dark::after { display: none; }

.card--flat { box-shadow: none; }
.card--pad-sm { padding: var(--s-6); }

/* --------------------------------------------------------------------------
   6. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-strong);
}
.field__label span { color: var(--accent-600); }
.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text-strong);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.field__textarea { min-height: 140px; resize: vertical; }
.field__input::placeholder, .field__textarea::placeholder { color: var(--ink-400); }
.field__input:focus, .field__textarea:focus, .field__select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(47, 99, 245, .16);
}
.field__error {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #c0392b;
  min-height: 1em;
}
.field.is-invalid .field__input,
.field.is-invalid .field__textarea { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.checkbox input {
  width: 18px; height: 18px;
  margin: 3px 0 0;
  accent-color: var(--brand-500);
  flex: none;
}
.checkbox a { text-decoration: underline; }

.form__status {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--mist);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-strong);
}
.form__status[data-state="ok"] { background: #ecfdf3; border-color: #a7e3c2; color: #166534; }
.form__status[data-state="error"] { background: #fef2f2; border-color: #f3c0c0; color: #991b1b; }

/* --------------------------------------------------------------------------
   7. TABLES
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; }
thead th {
  background: var(--mist);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  border-bottom: 2px solid var(--line-strong);
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--line); transition: background var(--dur-2) var(--ease-out); }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: var(--brand-50); }
td strong { color: var(--text-strong); }

/* --------------------------------------------------------------------------
   8. [复用-C] SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              border-color var(--dur-3) var(--ease-out),
              transform var(--dur-4) var(--ease-out);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--text-strong); }
.brand:hover { color: var(--text-strong); }
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, var(--brand-500), var(--brand-800));
  color: #fff;
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur-3) var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__mark .icon { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--text-strong);
}
.brand__sub {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-600);
  transition: color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav__link:hover { color: var(--text-strong); background: var(--brand-50); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-700); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--s-3); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-800);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-mask);
  background: rgba(7, 13, 24, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-3) var(--ease-out), visibility var(--dur-3);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   9. [复用-D] SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  padding-block: var(--s-12) var(--s-7);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500), var(--cyan-500));
}
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--s-9);
  padding-bottom: var(--s-9);
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--ink-400); }
.site-footer__about { margin-top: var(--s-5); max-width: 34ch; font-size: var(--fs-sm); }
.site-footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--s-5);
}
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: var(--s-3); }
.site-footer__list a {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  transition: color var(--dur-2) var(--ease-out), padding-left var(--dur-2) var(--ease-out);
}
.site-footer__list a:hover { color: #fff; padding-left: 6px; }
.site-footer__contact { font-size: var(--fs-sm); }
.site-footer__contact li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin-bottom: var(--s-4);
  color: var(--text-on-dark-muted);
}
.site-footer__contact .icon { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand-300); }
.site-footer__contact a { color: var(--text-on-dark); }
.site-footer__contact a:hover { color: var(--accent-400); }

.site-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-6);
  font-size: var(--fs-xs);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__legal li { margin: 0; }
.site-footer__legal a { color: var(--text-on-dark-muted); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__mascot { position: absolute; right: var(--s-6); bottom: -18px; opacity: .16; pointer-events: none; }

/* --------------------------------------------------------------------------
   10. [复用-G] ANIMATION UTILITIES
   -------------------------------------------------------------------------- */
.js .reveal,
.js .stagger > * { opacity: 0; will-change: opacity, transform; }

.js .reveal {
  transform: translateY(30px);
  transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out);
}
.js .reveal.fade-up    { transform: translateY(46px); }
.js .reveal.fade-in    { transform: none; }
.js .reveal.slide-left { transform: translateX(calc(var(--slide-x) * -1)); }
.js .reveal.slide-right{ transform: translateX(var(--slide-x)); }
.js .reveal.zoom-in    { transform: scale(.92); }
.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .stagger > * {
  transform: translateY(26px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(1)  { transition-delay: 40ms; }
.js .stagger.in > *:nth-child(2)  { transition-delay: 110ms; }
.js .stagger.in > *:nth-child(3)  { transition-delay: 180ms; }
.js .stagger.in > *:nth-child(4)  { transition-delay: 250ms; }
.js .stagger.in > *:nth-child(5)  { transition-delay: 320ms; }
.js .stagger.in > *:nth-child(6)  { transition-delay: 390ms; }
.js .stagger.in > *:nth-child(7)  { transition-delay: 460ms; }
.js .stagger.in > *:nth-child(8)  { transition-delay: 530ms; }
.js .stagger.in > *:nth-child(9)  { transition-delay: 600ms; }
.js .stagger.in > *:nth-child(10) { transition-delay: 670ms; }
.js .stagger.in > *:nth-child(11) { transition-delay: 740ms; }
.js .stagger.in > *:nth-child(12) { transition-delay: 810ms; }

/* Continuous utility animations */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes floaty-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
@keyframes bobbing {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.04); }
}
@keyframes bouncey {
  0%, 100% { transform: translateY(0); }
  30%      { transform: translateY(-16px); }
  55%      { transform: translateY(0); }
  70%      { transform: translateY(-6px); }
  85%      { transform: translateY(0); }
}
@keyframes pulsey {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .86; }
}
@keyframes wigglew {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-7deg); }
  75%      { transform: rotate(7deg); }
}
@keyframes spinslow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes speedline {
  0%   { transform: translateX(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateX(320%); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes glowpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 99, 245, .34); }
  70%      { box-shadow: 0 0 0 18px rgba(47, 99, 245, 0); }
}
@keyframes gradientpan {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.float      { animation: floaty 5.5s var(--ease-in-out) infinite; }
.float-soft { animation: floaty-soft 6.5s var(--ease-in-out) infinite; }
.bounce     { animation: bouncey 2.6s var(--ease-in-out) infinite; }
.pulse      { animation: pulsey 2.4s var(--ease-in-out) infinite; }
.wiggle     { animation: wigglew 2.8s var(--ease-in-out) infinite; }
.spin-slow  { animation: spinslow 18s linear infinite; }
.glow       { animation: glowpulse 2.6s var(--ease-out) infinite; }

.float-delay-1 { animation-delay: .5s; }
.float-delay-2 { animation-delay: 1.1s; }
.float-delay-3 { animation-delay: 1.7s; }

/* --------------------------------------------------------------------------
   11. PAGE BLOCKS — HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 88px);
  background:
    radial-gradient(1100px 620px at 78% 12%, rgba(47, 99, 245, .30), transparent 62%),
    radial-gradient(760px 520px at 10% 92%, rgba(23, 182, 212, .16), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--surface-deep) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong), transparent);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.03;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: var(--s-6);
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 10%, var(--brand-300) 45%, var(--accent-400) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientpan 9s var(--ease-in-out) infinite alternate;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin-bottom: var(--s-8);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line-dark);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.hero__meta-label {
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 700;
}

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line-dark-strong);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(160deg, var(--ink-800), var(--brand-950));
}
.hero__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 58, 0) 45%, rgba(8, 20, 58, .72) 100%);
}
.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.hero__chip .icon { width: 20px; height: 20px; color: var(--brand-600); }
.hero__chip--a { left: -18px; top: 16%; }
.hero__chip--b { right: -14px; bottom: 14%; }
.hero__mascot {
  position: absolute;
  z-index: 3;
  right: -12px;
  top: -34px;
}

.marquee {
  position: relative;
  margin-top: clamp(48px, 6vw, 84px);
  padding-block: var(--s-4);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--s-8);
  animation: marquee 32s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: clamp(.82rem, 1.1vw, .95rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-300);
  white-space: nowrap;
}
.marquee__item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-500);
  transform: rotate(45deg);
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 5.5vw, 76px));
  padding-bottom: clamp(44px, 6vw, 84px);
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(47, 99, 245, .28), transparent 62%),
    linear-gradient(160deg, var(--ink-900), var(--surface-deep));
  color: var(--text-on-dark);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: var(--s-9); align-items: center; }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: var(--s-4); }
.page-hero p { color: var(--text-on-dark-muted); max-width: 60ch; margin-bottom: 0; }
.page-hero__aside { display: flex; justify-content: flex-end; }
.page-hero__mascot { opacity: .95; }

/* --------------------------------------------------------------------------
   12. PAGE BLOCKS — SERVICES
   -------------------------------------------------------------------------- */
.service-card { min-height: 100%; }
.service-card__scope {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-700);
  text-transform: uppercase;
}

.band {
  position: relative;
  padding: var(--s-10) clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--ink-900), var(--brand-950));
  color: var(--text-on-dark);
  overflow: hidden;
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--s-7);
  position: relative;
  z-index: 1;
}
.band__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.band__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-400);
  line-height: 1;
  min-width: 34px;
}
.band__item h4 { color: #fff; margin-bottom: var(--s-2); }
.band__item p { color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin: 0; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: var(--s-6);
  align-items: start;
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--text-muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: var(--s-4); }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.faq__item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-5) var(--s-6);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
}
.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  transition: transform var(--dur-3) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--brand-500); color: #fff; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-4) var(--ease-out);
}
.faq__a-inner { padding: 0 var(--s-6) var(--s-6); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. PAGE BLOCKS — APP HIGHLIGHT
   -------------------------------------------------------------------------- */
.app-showcase {
  position: relative;
  background:
    radial-gradient(900px 560px at 20% 15%, rgba(23, 182, 212, .20), transparent 62%),
    linear-gradient(150deg, var(--brand-950), var(--ink-900));
  color: var(--text-on-dark);
  overflow: hidden;
}
.app-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.app-showcase__inner {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.app-showcase h2 { color: #fff; }
.app-showcase__lead { color: var(--text-on-dark-muted); margin-bottom: var(--s-7); }
.app-feature {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin-bottom: var(--s-4);
}
.app-feature__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark-strong);
  color: var(--cyan-400);
}
.app-feature__icon .icon { width: 20px; height: 20px; }
.app-feature h4 { color: #fff; margin-bottom: 2px; font-size: 1rem; }
.app-feature p { color: var(--text-on-dark-muted); font-size: var(--fs-sm); margin: 0; }

.store-badges { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 11px 20px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-out);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); color: var(--ink-900); }
.store-badge .icon { width: 26px; height: 26px; color: var(--ink-900); }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__hint { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.store-badge__name { font-family: var(--font-display); font-size: .98rem; font-weight: 800; }

.phone-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--s-8); }
.phone {
  position: relative;
  width: 268px;
  padding: 11px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2b3a52, #0d1524);
  box-shadow: var(--shadow-xl), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  flex: none;
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 20px;
  border-radius: var(--r-pill);
  background: #0a1018;
  z-index: 3;
}
.phone__screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 9 / 18.5;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--back { transform: translateY(-38px) scale(.92); z-index: -1; opacity: .82; }
.phone__caption {
  margin-top: var(--s-5);
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 700;
}
.app-mascot { position: absolute; left: -10px; bottom: -18px; z-index: 4; }

/* --------------------------------------------------------------------------
   14. PAGE BLOCKS — STATS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.stat {
  position: relative;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent-500));
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text-strong);
  margin-bottom: var(--s-3);
}
.stat__value .suffix { color: var(--brand-600); }
.stat__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.section--dark .stat {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}
.section--dark .stat__value { color: #fff; }
.section--dark .stat__value .suffix { color: var(--accent-400); }
.section--dark .stat__label { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   15. PAGE BLOCKS — CULTURE / TIMELINE
   -------------------------------------------------------------------------- */
.value-card { text-align: left; }
.value-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--accent-500), var(--accent-600));
  color: var(--ink-900);
  margin-bottom: var(--s-5);
  box-shadow: 0 12px 28px rgba(249, 168, 38, .28);
  transition: transform var(--dur-3) var(--ease-spring);
}
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card:hover .value-card__icon { transform: rotate(8deg) scale(1.06); }

.timeline { position: relative; display: grid; gap: var(--s-8); padding-left: var(--s-9); }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--accent-500), transparent);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--s-9) + 8px);
  top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--brand-500);
  box-shadow: 0 0 0 5px rgba(47, 99, 245, .12);
}
.timeline__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--brand-600);
  margin-bottom: var(--s-2);
}
.timeline__item h3 { margin-bottom: var(--s-2); }
.timeline__item p { color: var(--text-muted); margin: 0; }

.spirit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.spirit__stage {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--brand-900), var(--brand-950));
  text-align: center;
  overflow: hidden;
}
.spirit__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
}
.spirit__row { display: flex; justify-content: center; gap: var(--s-5); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. PAGE BLOCKS — NEWS
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-9); }
.filter {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-600);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out),
              transform var(--dur-2) var(--ease-out);
}
.filter:hover { border-color: var(--brand-400); color: var(--brand-700); transform: translateY(-2px); }
.filter.is-active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mist);
}
.news-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__cat {
  position: absolute;
  left: var(--s-4); top: var(--s-4);
  padding: 5px 12px;
  border-radius: var(--r-xs);
  background: rgba(8, 20, 58, .82);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.news-card__body { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: var(--s-3);
}
.news-card__title { font-size: 1.08rem; margin-bottom: var(--s-3); }
.news-card__excerpt { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s-5); }
.news-card .card__link { margin-top: auto; }

.news-item {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: var(--s-7);
  align-items: center;
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease-out);
}
.news-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.news-item__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.news-item:hover .news-item__media img { transform: scale(1.06); }
.news-item__title { font-size: 1.12rem; margin-bottom: var(--s-2); }
.news-item__excerpt { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--s-3); }
.news-item__arrow { color: var(--brand-500); transition: transform var(--dur-2) var(--ease-out); }
.news-item:hover .news-item__arrow { transform: translateX(6px); }
.news-item__arrow .icon { width: 26px; height: 26px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: var(--s-2); margin-top: var(--s-11); }
.pagination__btn {
  min-width: 42px; height: 42px;
  padding-inline: var(--s-3);
  display: grid; place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-700);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.pagination__btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pagination__btn.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.pagination__btn .icon { width: 16px; height: 16px; }

.empty-state {
  padding: var(--s-12) var(--s-6);
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto var(--s-4); color: var(--ink-300); }

/* --------------------------------------------------------------------------
   17. PAGE BLOCKS — CONTACT
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: var(--s-4); }
.contact-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--s-4);
  padding: var(--s-6);
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-600);
}
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__label {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: var(--s-2);
}
.contact-card__value { font-weight: 700; color: var(--text-strong); word-break: break-word; }
.contact-card__value a { color: var(--text-strong); }
.contact-card__value a:hover { color: var(--brand-600); }
.contact-card__note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--s-1); }

.map-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--mist);
}
.map-frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.map-frame__pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50% 50% 50% 4px;
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: bobbing 2.8s var(--ease-in-out) infinite;
}
.map-frame__pin .icon { width: 22px; height: 22px; }
.map-frame__label {
  position: absolute;
  left: var(--s-5); bottom: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-md);
  max-width: 320px;
}
.map-frame__label strong { display: block; color: var(--text-strong); margin-bottom: 2px; }
.map-frame__label span { font-size: var(--fs-xs); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   18. CTA STRIP
   -------------------------------------------------------------------------- */
.cta-strip {
  position: relative;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 64px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(700px 400px at 88% 10%, rgba(249, 168, 38, .26), transparent 60%),
    linear-gradient(120deg, var(--brand-700), var(--brand-950));
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; margin-bottom: var(--s-4); }
.cta-strip p { color: rgba(255, 255, 255, .82); max-width: 62ch; margin-inline: auto; margin-bottom: var(--s-8); }
.cta-strip .btn-row { justify-content: center; }
.cta-strip__mascot { position: absolute; left: 6%; bottom: -14px; opacity: .9; }
.cta-strip__mascot--r { left: auto; right: 6%; }

/* --------------------------------------------------------------------------
   19. [复用-I] LEGAL DOCUMENT TYPOGRAPHY
   -------------------------------------------------------------------------- */
.legal {
  max-width: 880px;
  margin-inline: auto;
  padding-block: clamp(44px, 6vw, 80px);
  color: var(--text-body);
}
.legal h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 3px solid var(--brand-500);
}
.legal h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  padding-left: var(--s-4);
  border-left: 4px solid var(--brand-500);
  color: var(--text-strong);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal h3 {
  font-size: 1.06rem;
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
  color: var(--text-strong);
}
.legal h4 {
  font-size: .98rem;
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
  color: var(--ink-800);
}
.legal p { margin-bottom: var(--s-4); }
.legal ul, .legal ol { margin-bottom: var(--s-5); padding-left: 1.35em; }
.legal li { margin-bottom: var(--s-3); }
.legal li::marker { color: var(--brand-500); font-weight: 700; }
.legal strong { color: var(--text-strong); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal__meta {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: var(--s-7);
  border-radius: var(--r-sm);
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-600);
}
.legal__note {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent-500);
  background: #fffaf0;
  color: var(--ink-700);
  font-size: var(--fs-sm);
}
.legal__note p:last-child { margin-bottom: 0; }
.legal__anchor { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal .table-wrap { margin: var(--s-6) 0 var(--s-7); }
.legal table { font-size: var(--fs-sm); }
.legal th, .legal td { padding: 12px 16px; }
.legal td a { word-break: break-word; }
.legal blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6);
  border-left: 4px solid var(--brand-300);
  background: var(--brand-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink-700);
  font-style: italic;
}
.legal hr { margin: var(--s-9) 0; }

/* --------------------------------------------------------------------------
   20. MASCOTS
   -------------------------------------------------------------------------- */
.mascot {
  display: inline-block;
  width: 96px;
  height: 96px;
  vertical-align: middle;
  flex: none;
  transition: transform var(--dur-3) var(--ease-spring), filter var(--dur-3) var(--ease-out);
}
.mascot > svg { width: 100%; height: 100%; display: block; }
.mascot--xs { width: 34px; height: 34px; }
.mascot--sm { width: 56px; height: 56px; }
.mascot--lg { width: 140px; height: 140px; }
.mascot--xl { width: 200px; height: 200px; }
.mascot--xxl { width: 260px; height: 260px; }
.mascot--emoji {
  display: inline-grid;
  place-items: center;
  font-size: .82em;
  line-height: 1;
  background: radial-gradient(circle at 30% 25%, var(--brand-50), transparent 70%);
  border-radius: 50%;
}
.mascot:hover { transform: translateY(-6px) rotate(4deg) scale(1.06); filter: drop-shadow(0 12px 20px rgba(8, 20, 58, .22)); }
.section--dark .mascot:hover, .section--deep .mascot:hover { filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .5)); }

/* --------------------------------------------------------------------------
   21. BACK TO TOP
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: var(--z-top);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--dur-3) var(--ease-out),
              transform var(--dur-3) var(--ease-spring),
              visibility var(--dur-3),
              background var(--dur-2) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-600); transform: translateY(-4px); }
.to-top .icon { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   22. RESPONSIVE — 1024 / 768 / 480
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 620px; }
  .hero__copy { max-width: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__aside { justify-content: flex-start; }
  .page-hero__mascot { display: none; }
  .app-showcase__inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .spirit { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-item { grid-template-columns: 200px 1fr; }
  .news-item__arrow { display: none; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-2);
    padding: var(--s-8) var(--s-6);
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-xl);
    transform: translateX(105%);
    transition: transform var(--dur-4) var(--ease-out);
    overflow-y: auto;
    z-index: var(--z-drawer);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .nav__link::after { left: 16px; right: auto; width: 26px; bottom: 8px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--s-8); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 54px 1fr; gap: var(--s-4); }
  .step::before { width: 48px; height: 48px; font-size: 1.15rem; }
  .hero__chip--a { left: 8px; top: 8px; }
  .hero__chip--b { right: 8px; bottom: 8px; }
  .hero__mascot { display: none; }
  .phone-stage { gap: var(--s-5); }
  .phone { width: 216px; }
  .phone--back { transform: translateY(-26px) scale(.9); }
  .cta-strip__mascot { display: none; }
  .timeline { padding-left: var(--s-8); }
  .timeline::before { left: 11px; }
  .timeline__item::before { left: calc(-1 * var(--s-8) + 5px); }
  .legal h2 { padding-left: var(--s-3); border-left-width: 3px; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; --slide-x: 12px; }
  .brand__sub { display: none; }
  .brand__name { font-size: .95rem; }
  .hero__meta { gap: var(--s-4); }
  .hero__meta-value { font-size: 1.25rem; }
  .btn { padding: 12px 22px; }
  .btn--lg { padding: 14px 26px; }
  .btn-row .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .phone { width: 190px; }
  .phone--back { display: none; }
  .card { padding: var(--s-6); }
  .news-item { grid-template-columns: 1fr; }
  .map-frame img { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   23. REDUCED MOTION GUARD
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .stagger > * { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   24. LAYOUT UTILITIES
   Replaces what would otherwise be inline style attributes in the markup.
   -------------------------------------------------------------------------- */
.mt-5  { margin-top: var(--s-5); }
.mt-6  { margin-top: var(--s-6); }
.mt-7  { margin-top: var(--s-7); }
.mt-8  { margin-top: var(--s-8); }
.mt-9  { margin-top: var(--s-9); }
.mt-10 { margin-top: var(--s-10); }
.mt-11 { margin-top: var(--s-11); }

.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-7 { margin-bottom: var(--s-7); }
.mb-8 { margin-bottom: var(--s-8); }

.p-6 { padding: var(--s-6); }
.p-7 { padding: var(--s-7); }
.p-8 { padding: var(--s-8); }

.gap-5 { gap: var(--s-5); }
.gap-7 { gap: var(--s-7); }
.gap-8 { gap: var(--s-8); }
.gap-9 { gap: var(--s-9); }

.grid--gap-lg { gap: clamp(28px, 4vw, 60px); align-items: center; }

.section__head--tight { margin-bottom: var(--s-7); }

.text-muted, .card p.text-muted { color: var(--text-muted); }
.text-ink-600, .card p.text-ink-600 { color: var(--ink-600); }

.spirit__note {
  margin-top: var(--s-6);
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  max-width: 44ch;
  margin-inline: auto;
}

.card--feature { border-color: rgba(47, 99, 245, .28); box-shadow: var(--shadow-md); }
.card--tinted { border-color: var(--brand-100); background: var(--brand-50); }
.card--tinted p { color: var(--ink-600); }
.card--tinted .card__title { color: var(--text-strong); }
.card--tinted a { color: var(--brand-700); }

.card__icon--cyan { background: linear-gradient(140deg, var(--cyan-500), var(--brand-700)); }
.card__icon--amber { background: linear-gradient(140deg, var(--accent-500), var(--accent-600)); color: var(--ink-900); }

.card__title--sm { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   25. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .to-top, .site-footer__mascot, .cta-strip__mascot { display: none !important; }
  body { color: #000; background: #fff; }
  .legal h2 { border-left-color: #000; }
  a { text-decoration: underline; color: #000; }
}
