
/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --raw-color-white: #0b0d12;
  --raw-color-black: #f6f7fa;
  --raw-color-neutral-300: #7c8798;
  --raw-color-neutral-200: #5a6478;
  --raw-color-neutral-400: #5b6472;
  --raw-color-neutral-500: #8b929c;
  --raw-color-neutral-850: #ffffff;
  --raw-color-neutral-875: #eef1f7;
  --raw-color-ink-950: #0a0b09;
  --raw-color-lime-400: #2f6bff;
  --raw-color-lime-300: #2f6bff;
  --raw-color-lime-100: #dbe6ff;
  --raw-color-lime-900: #b9cdff;
  --raw-color-sky-400: #0aa5d8;
  --raw-color-ink-glass: rgba(255, 255, 255, 0.16);
  --raw-blur-slab: 0.375rem;
  --raw-color-ink-card-glass: rgba(255, 255, 255, 0.56);
  --raw-blur-card: 1rem;
  --raw-color-white-a04: rgba(10, 11, 13, 0.04);
  --raw-color-white-a10: rgba(10, 11, 13, 0.1);
  --raw-color-white-a16: rgba(10, 11, 13, 0.16);
  --raw-color-white-a22: rgba(10, 11, 13, 0.22);
  --raw-color-black-a50: rgba(16, 24, 40, 0.10);
  --raw-color-black-a55: rgba(255, 255, 255, 0.88);
  --raw-color-white-a05: rgba(10, 11, 13, 0.05);
  --raw-color-white-a06: rgba(10, 11, 13, 0.06);
  --raw-color-lime-400-a35: rgba(47, 107, 255, 0.32);
  --raw-color-white-a70: rgba(10, 11, 13, 0.55);
  --raw-color-black-a70: rgba(255, 255, 255, 0.86);
  --raw-blur-nav: 0.75rem;
  --raw-radius-nav-menu: 1.5rem;
  --raw-radius-nav-menu-row: 0.875rem;
  --raw-radius-nav-menu-tile: 0.6875rem;
  --raw-blur-2: 0.125rem;
  --raw-font-size-14: 0.875rem; --raw-font-size-16: 1rem; --raw-font-size-18: 1.125rem;
  --raw-font-size-20: 1.25rem; --raw-font-size-24: 1.5rem; --raw-font-size-26: 1.625rem;
  --raw-font-size-30: 1.875rem; --raw-font-size-32: 2rem; --raw-font-size-36: 2.25rem;
  --raw-font-size-40: 2.5rem; --raw-font-size-44: 2.75rem; --raw-font-size-50: 3.125rem;
  --raw-line-height-20: 1.25rem; --raw-line-height-24: 1.5rem; --raw-line-height-28: 1.75rem;
  --raw-line-height-32: 2rem; --raw-line-height-42: 2.625rem; --raw-line-height-50: 3.125rem;
  --raw-line-height-62: 3.875rem;
  --raw-letter-spacing-minus-2: -0.125rem; --raw-letter-spacing-minus-1: -0.0625rem;
  --raw-letter-spacing-0-4: 0.025rem;
  --raw-size-page: 90rem; --raw-size-page-inset: 5rem;
  --raw-size-page-1024: 64rem; --raw-size-page-inset-1024: 3rem;
  --raw-size-page-768: 48rem; --raw-size-page-inset-768: 2.5rem;
  --raw-size-page-390: 24.375rem; --raw-size-page-inset-390: 1.25rem;
  --raw-size-section-gap: 4.5rem; --raw-size-section-gap-1024: 4rem;
  --raw-size-section-gap-768: 3.5rem; --raw-size-section-gap-390: 3rem;
  --raw-shadow-float: 0 0.5rem 1.375rem -0.25rem rgba(16, 24, 40, 0.12);
  --raw-drop-shadow-cta: 0 0.5rem 0.6875rem rgba(47, 107, 255, 0.28);
  --raw-duration-fast: 150ms; --raw-duration-normal: 250ms;

  --background: var(--raw-color-black);
  --foreground: var(--raw-color-white);
  --foreground-muted: var(--raw-color-neutral-400);
  --foreground-dim: var(--raw-color-neutral-500);
  --title-gradient-from: var(--raw-color-white);
  --title-gradient-to: var(--raw-color-neutral-300);
  --title-accent: var(--raw-color-neutral-200);
  --surface-raised: var(--raw-color-neutral-850);
  --surface-badge: var(--raw-color-neutral-875);
  --surface-glass: var(--raw-color-white-a04);
  --surface-status: var(--raw-color-black-a55);
  --border-subtle: var(--raw-color-white-a10);
  --border-glass: var(--raw-color-white-a22);
  --glass-from: var(--raw-color-white-a16);
  --glass-to: var(--raw-color-white-a04);
  --accent: var(--raw-color-lime-400);
  --accent-soft: var(--raw-color-lime-100);
  --accent-marker: var(--raw-color-lime-300);
  --on-accent: var(--raw-color-ink-950);
  --backdrop-light: var(--raw-color-white-a05);
  --backdrop-base-light: var(--raw-color-white-a06);
  --backdrop-base-light-peak: var(--raw-color-white-a05);
  --backdrop-base-line: var(--raw-color-lime-400-a35);
  --section-gap: var(--raw-size-section-gap);
  --stream-main: #2f6bff;
  --stream-alt: #12cde0;
  --stream-core: #a2efff;
  --stream-deep: #5669dc;
  --stream-spark: #c9b5ff;
  --glass-slab: var(--raw-color-ink-glass);
  --glass-slab-edge: var(--raw-color-white-a06);
  --glass-slab-frost: var(--raw-blur-slab);
  --card-glass: var(--raw-color-ink-card-glass);
  --card-frost: var(--raw-blur-card);
  /* Body copy runs at the same 14px as the nav links so the header and the
     page text share one size. Fixed px, not rem: the nav never scales with the
     poster grid, so a rem-based body would drift above it on wide viewports. */
  --type-label: var(--raw-font-size-14); --type-body: 14px;
  --type-lead: var(--raw-font-size-18); --type-wordmark: var(--raw-font-size-20);
  --type-section-title: var(--raw-font-size-44); --type-section-title-accent: var(--raw-font-size-50);
  --line-label: var(--raw-line-height-20); --line-body: 22px;
  --line-lead: var(--raw-line-height-28); --line-section-title: var(--raw-line-height-62);
  --letter-spacing-title: var(--raw-letter-spacing-minus-2);
  --letter-spacing-wordmark: var(--raw-letter-spacing-minus-1);
  --letter-spacing-badge: var(--raw-letter-spacing-0-4);
  --page-width: var(--raw-size-page); --page-inset: var(--raw-size-page-inset);
  --elevation-float: var(--raw-shadow-float); --elevation-cta: var(--raw-drop-shadow-cta);
  --duration-fast: var(--raw-duration-fast); --duration-normal: var(--raw-duration-normal);
  --glass-stroke-active: var(--raw-color-white-a70);
  --nav-surface-scrolled: var(--raw-color-black-a70);
  --nav-blur: var(--raw-blur-nav);
  --nav-menu-corner: var(--raw-radius-nav-menu);
  --nav-menu-corner-row: var(--raw-radius-nav-menu-row);
  --nav-menu-corner-tile: var(--raw-radius-nav-menu-tile);
  --glass-blur: var(--raw-blur-2);
  --font-inter: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-instrument-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-fragment-mono: "Fragment Mono", "SFMono-Regular", Menlo, Consolas, "Microsoft YaHei", monospace;
  --ease-entrance: cubic-bezier(0.2, 0, 0, 1);

  /* 1 design px of the current frame */
  --u: 0.0625rem;
  --hero-frame: calc(var(--u) * 712);
  --hero-extra: 0px;
}
@media (width <= 1200px) { :root { --page-width: 64rem; --page-inset: 3rem; --section-gap: 4rem; --type-section-title: 2.25rem; --type-section-title-accent: 2.5rem; --line-section-title: 3.125rem; } }
@media (width <= 900px)  { :root { --page-width: 48rem; --page-inset: 2.5rem; --section-gap: 3.5rem; --type-section-title: 1.875rem; --type-section-title-accent: 2rem; --line-section-title: 2.625rem; } }
@media (width <= 580px)  { :root { --page-width: 24.375rem; --page-inset: 1.25rem; --section-gap: 3rem; --type-section-title: 1.5rem; --type-section-title-accent: 1.625rem; --line-section-title: 2rem; } }

/* ============================================================
   REM GRID
   ============================================================ */
html { font-size: min(1.111111vw, 21.333333px); }
@media (width <= 1200px) { html { font-size: min(1.5625vw, 16px); } }
@media (width <= 900px)  { html { font-size: min(2.083333vw, 16px); } }
@media (width <= 580px)  { html { font-size: min(4.102564vw, 16px); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--background); }
body { background: var(--background); color: var(--foreground); font-family: var(--font-inter), sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, h1, h2, h3, p, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* preloader gate */
html[data-preload] { overflow: hidden; }
html[data-preload] main { transform: translateY(200vh); }
html[data-preload] [data-preloader] { display: block; }
[data-preloader] { display: none; position: fixed; inset: 0; z-index: 60; pointer-events: none; }

/* page column */
.page-clip { overflow-x: clip; position: relative; }
main { position: relative; margin: 0 auto; width: var(--page-width); overflow-y: clip; }
.gap { height: var(--section-gap); }
.nav-slot { height: calc(var(--u) * 72); }
@media (width <= 900px) { .nav-slot { height: calc(var(--u) * 64); } }
@media (width <= 580px) { .nav-slot { height: calc(var(--u) * 56); } }

.mono { font-family: var(--font-fragment-mono), monospace; }

/* reveal primitives --------------------------------------------------- */
html.js [data-anim] { opacity: 0; }
html.js [data-anim="focus"] { --reveal: 0%; }
html.js [data-anim="draw"] { transform: scaleX(0); transform-origin: left center; }
html.js [data-anim="type"] { --typed: 0; }
html.reduced [data-anim] { opacity: 1 !important; }
html.reduced [data-anim="draw"] { transform: none !important; }
html.reduced [data-anim="focus"] { --reveal: 140% !important; filter: none !important; }
html.reduced [data-anim="type"] { --typed: 200 !important; }

/* Arriving from another page on this site: the landing intro already played
   this session, so the hero paints complete instead of replaying. */
html.revisit #hero [data-anim] { opacity: 1 !important; }
html.revisit #hero [data-anim="draw"] { transform: none !important; }
html.revisit #hero [data-anim="focus"] { --reveal: 140% !important; filter: none !important; }
html.revisit #hero [data-type] { --typed: 200 !important; }

[data-anim="focus"] {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--reveal, 140%) - 40%), transparent var(--reveal, 140%));
  mask-image: linear-gradient(90deg, #000 calc(var(--reveal, 140%) - 40%), transparent var(--reveal, 140%));
}
[data-type] {
  -webkit-clip-path: inset(0 calc(100% - round(down, calc(var(--typed, 200) * var(--typech, 1ch)), var(--typech, 1ch)) - 0.1ch) 0 0);
  clip-path: inset(0 calc(100% - round(down, calc(var(--typed, 200) * var(--typech, 1ch)), var(--typech, 1ch)) - 0.1ch) 0 0);
}

/* display titles ------------------------------------------------------ */
.display-title {
  font-family: var(--font-inter), sans-serif;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-title);
  background-image: linear-gradient(to bottom, var(--title-gradient-from), var(--title-gradient-to));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.display-title em {
  font-family: var(--font-instrument-serif), serif;
  font-style: italic; font-weight: 400;
  line-height: 1;
  color: var(--title-accent); -webkit-text-fill-color: var(--title-accent);
  display: inline-block;
}

/* badges, pills ------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  height: auto; padding: 0.3125rem 0.8125rem 0.3125rem 0.6875rem;
  border: 1px solid var(--border-subtle); border-radius: 9999px;
  background: var(--surface-badge);
  box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(0, 0, 0, 0.5);
  font-size: var(--type-label); line-height: var(--line-label); font-weight: 500;
  letter-spacing: var(--letter-spacing-badge); color: var(--foreground-muted);
  white-space: nowrap; width: fit-content;
}
@media (width <= 1200px) { .badge { padding: 0.4375rem 0.9375rem 0.4375rem 0.6875rem; } }
.badge .dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-marker); flex: none; }
.badge .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent-marker); opacity: 0; transform: scale(1);
}

.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: calc(var(--u) * 40); padding: 0 1.5rem; border-radius: 9999px;
  font-family: var(--font-inter), sans-serif; font-weight: 500; font-size: var(--type-label); line-height: var(--line-label);
  white-space: nowrap; gap: 0.5rem;
}
.pill.lg { height: calc(var(--u) * 48); font-size: var(--raw-font-size-16); line-height: var(--line-body); }

.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); filter: drop-shadow(var(--elevation-cta)); will-change: transform; }
.cta .cta-fill { position: absolute; inset: 0; background: var(--accent); border-radius: inherit; }
.cta .cta-ink { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2f6bff 0%, #7c3aed 100%); border-radius: inherit; clip-path: inset(0 100% 0 0 round 999px); }
.cta .cta-label { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.cta .cta-ink-label { position: static; display: inline-flex; align-items: center; justify-content: center; color: #ffffff; }
.cta .chev { position: absolute; left: calc(100% + 0.32em); top: 50%; margin-top: -0.4em; width: 0.8em; height: 0.8em; opacity: 0; transform: translateX(-4px); color: #ffffff; flex: none; }
.cta .chev path { stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.cta .cta-ring {
  position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from 0deg, var(--accent) var(--fill, 0%), transparent var(--fill, 0%));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.glass-btn {
  border: 1px solid var(--border-glass);
  background-image: linear-gradient(to bottom, var(--glass-from), var(--glass-to));
  background-color: transparent;
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  color: var(--foreground);
  box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(0, 0, 0, 0.5);
  will-change: transform;
}
.glass-btn .g-ring {
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from 0deg, var(--glass-stroke-active) var(--fill, 0%), transparent var(--fill, 0%));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.pre-stage { position: absolute; inset: 0; background: #000; }
.pre-ring { position: absolute; inset: 0; overflow: visible; }
.pre-ring rect { fill: none; stroke: var(--accent); stroke-linecap: round; }
.pre-flood { position: absolute; inset: 0; opacity: 0; }
.pre-plate { position: absolute; inset: 0; background: #3f7dff; display: none; }
.pre-tile {
  position: absolute; top: calc(50% - 2.375rem); left: calc(50% - 2.375rem);
  width: 4.75rem; height: 4.75rem; border-radius: 31.58%; overflow: hidden;
  display: grid; place-items: center;
  transform: translateZ(0); isolation: isolate;
  opacity: 0;                       /* faded in by JS once the blue floods */
}

/* Full lockup (mark + wordmark) while the ring draws, then it hands over to the
   app-icon tile as the flood sweeps. The PNG is the same file the nav already
   loads, so this costs no extra bytes. */
.pre-brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(calc(var(--u) * 380), 62vw);
  will-change: opacity;
}
.pre-brand img { display: block; width: 100%; height: auto; }
/* Clip once at the parent; inner layers must not re-clip or they fringe. */
.pre-tile .logo-mark { border-radius: 0 !important; }
.pre-tile .mark-tile { position: absolute; inset: 0; border-radius: 0; border: 0; }

.mark-tile {
  border-radius: 31.58%;
  border: 1px solid rgba(10, 11, 9, 0.25);
  background: linear-gradient(135deg, #252721, #0a0b09 71.429%);
  display: block; position: relative; overflow: clip;
}
.mark-tile svg { position: absolute; top: 24.3%; left: 28.25%; width: 44.1%; height: 48.76%; }

.logo-mark {
  width: calc(var(--u) * 28); height: calc(var(--u) * 28); border-radius: calc(var(--u) * 9);
  background: linear-gradient(140deg, #9fc6ff 0%, #4c8dff 42%, #2a5cc4 100%);
  position: relative; overflow: hidden; flex: none;
  box-shadow: inset 0 1px 0 rgba(10, 11, 13, 0.55);
}
.logo-mark::after {
  content: ""; position: absolute; inset: -30% -60% auto auto; width: 120%; height: 90%;
  background: radial-gradient(closest-side, rgba(10, 11, 13, 0.55), transparent);
  transform: rotate(-24deg);
}
.logo-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   BACKDROP
   ============================================================ */
.backdrop { pointer-events: none; position: absolute; inset: 0; z-index: 0; }
.bd-top { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--u) * 1154); }
.bd-light {
  position: absolute; top: 0; right: calc(50% - 50vw); left: calc(50% - 50vw);
  height: calc(var(--u) * 560);
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.05), transparent);
}
@media (width <= 900px) { .bd-light { height: calc(var(--u) * 559); } }
.dots {
  position: absolute; top: 0; left: 0;
  background-image: none;
  background-size: calc(var(--u) * 24) calc(var(--u) * 21.03);
  background-position: 0 0;
}
.bd-dots-1440 { height: calc(var(--u) * 1060); width: var(--page-width); transform: translateY(calc(var(--hero-extra) / 2)); }
@media (width <= 1200px) { .bd-dots-1440 { width: 90rem; } }
@media (width <= 900px) { .bd-dots-1440 { display: none; } }
.bd-dots-768 { display: none; height: calc(var(--u) * 1154); width: calc(var(--u) * 768); transform: translateY(calc(var(--hero-extra) / 2)); }
@media (width <= 900px) {
  .bd-dots-768 { display: block; background-size: calc(var(--u) * 25.6) calc(var(--u) * 44.3); }
  .bd-dots-768::after { content: ""; position: absolute; inset: 0; }
}
.bd-specks { display: none; position: absolute; top: 0; left: 0; height: calc(var(--u) * 1180); width: var(--page-width); transform: translateY(calc(var(--hero-extra) / 2)); }
@media (width <= 1200px) { .bd-specks { width: 90rem; } }
@media (width <= 900px) { .bd-specks { height: calc(var(--u) * 1089.2); } }
.bd-field {
  position: absolute; top: calc(var(--u) * 3781); left: 0; height: calc(var(--u) * 2400); width: var(--page-width);
  transform: translateY(var(--hero-extra)); opacity: 0.35;
  background-image: none;
  background-size: calc(var(--u) * 48) calc(var(--u) * 48);
}

/* ============================================================
   THE STREAM CANVAS
   ============================================================ */
#stream {
  position: fixed; top: 0; left: 0; width: 100%; height: 100lvh;
  pointer-events: none; mix-blend-mode: screen; z-index: 1;
  display: block;
}

/* ============================================================
   SLAB + TRANSITIONS
   ============================================================ */
.slab-wrap { position: relative; }
.slab-wrap::before {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--glass-slab);
  border-top: 1px solid var(--glass-slab-edge);
  border-bottom: 1px solid var(--glass-slab-edge);
  -webkit-backdrop-filter: blur(var(--glass-slab-frost)); backdrop-filter: blur(var(--glass-slab-frost));
  pointer-events: none;
}
.slab-wrap > section, .slab-wrap > .sb { position: relative; z-index: 3; }
main > section, main > footer, main > .sb, main > .lo-wrap { position: relative; z-index: 3; }
.sb { position: relative; }
.sb-in { will-change: transform, opacity; }

/* logo open */
.lo-wrap { position: relative; height: calc(var(--u) * 792); z-index: 2; }
@media (width <= 1200px) { .lo-wrap { height: calc(var(--u) * 768); } }
@media (width <= 580px) { .lo-wrap { height: calc(var(--u) * 611); } }
.logo-open {
  position: sticky; top: calc(50lvh - 16.875rem);
  --pop: 0; --grow: 0; --flying: 0; --shift: 0px; --mx: 0px; --my: 0px; --msize: 0px;
  clip-path: inset(50%);
  will-change: clip-path;
}
.logo-open-mark {
  position: absolute;
  left: calc(var(--mx) - var(--msize) / 2);
  top: calc(var(--my) - var(--msize) / 2);
  width: var(--msize); height: var(--msize);
  opacity: calc(min(var(--pop), clamp(0, calc(1 - (var(--grow) - 0.06) / 0.12), 1)) * (1 - var(--flying)));
  transform: translateY(var(--shift)) scale(calc(0.6 + var(--pop) * 0.4));
  pointer-events: none;
}
.flight {
  position: fixed; top: 0; left: 0; z-index: 30; pointer-events: none;
  border-radius: 31.58%; overflow: clip;
}
.flight .mark-tile { position: absolute; inset: 0; border-radius: 0; }
.flight .cover { position: absolute; inset: 0; opacity: 0; background: none; }
.flight .cover::after { display: none; }

/* ============================================================
   02 HERO
   ============================================================ */
#hero { position: relative; height: calc(var(--hero-frame) + var(--hero-extra)); }
.hero-box { position: absolute; inset-inline: 0; top: calc(var(--hero-extra) / 2); height: var(--hero-frame); }
.hero-box > * { position: absolute; }

.chip {
  display: flex; align-items: center; gap: calc(var(--u) * 12); height: calc(var(--u) * 36);
  padding: calc(var(--u) * 7) calc(var(--u) * 13) calc(var(--u) * 7) calc(var(--u) * 11);
  border-radius: calc(var(--u) * 8); border: 1px solid rgba(76, 141, 255, 0.45);
  background: rgba(10, 11, 13, 0.04);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  overflow: clip; white-space: nowrap;
}
.chip i { width: 6px; height: 6px; background: var(--accent); flex: none; }
.chip span { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: #0b0d12; }

#hero h1 {
  font-family: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: calc(var(--u) * 70); line-height: calc(var(--u) * 82);
  font-weight: 650; letter-spacing: -0.035em;
}
#hero h1 em {
  font-family: var(--font-instrument-serif), "Songti SC", "SimSun", serif;
  font-size: calc(var(--u) * 74); font-style: normal; font-weight: 600;
  letter-spacing: -0.02em;
}
/* English copy is longer: smaller size and a serif italic accent keep two lines. */
html[lang="en"] #hero h1 {
  font-size: calc(var(--u) * 56); line-height: calc(var(--u) * 66);
  letter-spacing: -0.02em;
}
html[lang="en"] #hero h1 em { font-size: calc(var(--u) * 60); font-style: italic; font-weight: 400; }
/* The language-specific selector above outranks generic media rules. */
@media (width <= 1200px) {
  html[lang="en"] #hero h1 { font-size: calc(var(--u) * 36); line-height: calc(var(--u) * 48); }
  html[lang="en"] #hero h1 em { font-size: calc(var(--u) * 38); }
}
@media (width <= 900px) {
  html[lang="en"] #hero h1 { font-size: calc(var(--u) * 32); line-height: calc(var(--u) * 46); }
  html[lang="en"] #hero h1 em { font-size: calc(var(--u) * 34); }
  html[lang="en"] .hw-sub { top: calc(var(--u) * 200) !important; }
  html[lang="en"] .hw-actions { top: calc(var(--u) * 280) !important; }
  html[lang="en"] .hw-note { top: calc(var(--u) * 344) !important; }
}
@media (width <= 580px) {
  html[lang="en"] #hero h1 { font-size: calc(var(--u) * 24); line-height: calc(var(--u) * 36); }
  html[lang="en"] #hero h1 em { font-size: calc(var(--u) * 26); }
  html[lang="en"] .hw-chip { left: calc(var(--u) * 36) !important; }
  html[lang="en"] .hw-sub { top: calc(var(--u) * 172) !important; }
  /* The English lede wraps to three 24px lines on phones. */
  html[lang="en"] .hw-actions { top: calc(var(--u) * 172 + 88px) !important; }
  html[lang="en"] .hw-note { top: calc(var(--u) * 352) !important; }
}
html[lang="en"] .win-title { font-size: 13px; }
html[lang="en"] .win-steps { left: calc(var(--u) * 243); font-size: 12px; }
@media (width <= 1200px) {
  html[lang="en"] .win-steps { left: calc(var(--u) * 218); }
}
.hero-sub { font-size: var(--type-body); line-height: var(--line-body); color: var(--foreground-muted); }
/* 14px leaves one-word last lines in the narrow copy columns; let the browser
   rebalance instead of hand-tuning every max-width. The hair of tracking is
   what makes CJK at this size stop looking like a packed block. */
.hero-sub, .sec-aside, .copy p, .faq-list p, .gstep p { text-wrap: pretty; letter-spacing: 0.01em; }
.hero-actions { display: flex; gap: 12px; }
.hero-note { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-muted); white-space: nowrap; }
.hero-ticks { display: flex; gap: 8px; align-items: flex-start; }
.hero-ticks i { display: block; width: 1px; height: calc(var(--u) * 8); background: rgba(10, 11, 13, 0.14); }

.tilt { position: absolute; inset: 0; pointer-events: none; transform-origin: 76.3889% 50%; }
.tilt > * { position: absolute; }

.bloom {
  left: calc(var(--u) * 440); top: calc(var(--u) * -160); width: calc(var(--u) * 1400); height: calc(var(--u) * 1020);
  background: radial-gradient(closest-side, rgba(76, 141, 255, 0.20), rgba(76, 141, 255, 0.06) 55%, transparent 72%);
  filter: blur(calc(var(--u) * 10));
  pointer-events: none;
}
.win {
  left: calc(var(--u) * 760); top: calc(var(--u) * 44); width: calc(var(--u) * 680); height: calc(var(--u) * 624);
  border-radius: calc(var(--u) * 28) 0 0 calc(var(--u) * 28);
  overflow: clip; border: 1px solid transparent;
  background: rgba(12, 13, 14, 0.5);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.win::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(to bottom right, rgba(47, 107, 255, 0.55) 0%, rgba(47, 107, 255, 0.44) 12%, rgba(47, 107, 255, 0.3) 26%, rgba(47, 107, 255, 0.18) 40%, rgba(10, 11, 13, 0.1) 62%, rgba(10, 11, 13, 0.07) 100%);
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.win-grid {
  position: absolute; left: calc(var(--u) * -1); top: calc(var(--u) * -1);
  width: calc(var(--u) * 680); height: calc(var(--u) * 624);
  background-image: radial-gradient(circle at center, rgba(166, 166, 166, 0.14) 1px, transparent 1.15px);
  background-size: calc(var(--u) * 24) calc(var(--u) * 21.03);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 0);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 0);
}
.cdot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(10, 11, 13, 0.2); }
.win-title { position: absolute; left: calc(var(--u) * 39); top: calc(var(--u) * 39); font-size: 16px; line-height: 24px; color: var(--foreground-muted); }
.win-div { position: absolute; left: calc(var(--u) * 203); top: calc(var(--u) * 44); width: 1px; height: calc(var(--u) * 14); background: rgba(10, 11, 13, 0.16); }
.win-steps { position: absolute; left: calc(var(--u) * 223); top: calc(var(--u) * 41); font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: #0b0d12; }
.win-running { position: absolute; left: calc(var(--u) * 479); top: calc(var(--u) * 41); width: calc(var(--u) * 160); text-align: right; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--accent); opacity: 0; }
.win-rule { position: absolute; left: calc(var(--u) * -1); top: calc(var(--u) * 87); width: calc(var(--u) * 680); height: 1px; background: rgba(10, 11, 13, 0.07); }
.tools { position: absolute; left: calc(var(--u) * 39); top: calc(var(--u) * 111); display: flex; flex-direction: column; gap: 8px; }
.tool {
  width: calc(var(--u) * 36); height: calc(var(--u) * 36); border-radius: calc(var(--u) * 10);
  border: 1px solid rgba(10, 11, 13, 0.1); background: rgba(10, 11, 13, 0.05);
  display: grid; place-items: center;
}
.tool.on { border-color: rgba(10, 11, 13, 0.18); background: rgba(10, 11, 13, 0.1); }
.tool svg { width: calc(var(--u) * 20); height: calc(var(--u) * 20); }
.zoom {
  position: absolute; left: calc(var(--u) * 581); top: calc(var(--u) * 111);
  font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-muted);
  border-radius: calc(var(--u) * 8); padding: calc(var(--u) * 5) calc(var(--u) * 11);
  border: 1px solid rgba(10, 11, 13, 0.12); background: rgba(10, 11, 13, 0.06);
}
.flow { position: absolute; inset: 0; }
.flow > * { position: absolute; }
.node {
  height: calc(var(--u) * 76); border-radius: calc(var(--u) * 16);
  border: 1px solid rgba(10, 11, 13, 0.1); background: rgba(22, 23, 26, 0.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: calc(var(--u) * 13) calc(var(--u) * 19);
  display: flex; flex-direction: column; gap: calc(var(--u) * 4); white-space: nowrap;
  box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(0, 0, 0, 0.5);
  opacity: 0;
}
.node.hot { box-shadow: 0 0 calc(var(--u) * 16) 0 rgba(122, 169, 255, 0.18), 0 calc(var(--u) * 10) calc(var(--u) * 22) calc(var(--u) * -4) rgba(0, 0, 0, 0.55); }
.node .t { font-size: 16px; line-height: 24px; font-weight: 500; }
.node .s { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); }
/* Longer workflow labels: keep every node on one line at all breakpoints. */
.node .t { font-size: 13px; line-height: 19px; }
.node .s { font-family: var(--font-fragment-mono), monospace; font-size: 12px; line-height: 18px; color: var(--foreground-dim); }
html[lang="en"] .node .s { font-size: 11.5px; line-height: 17px; letter-spacing: -0.02em; }
html[lang="en"] .node .s { font-size: 11.5px; line-height: 17px; letter-spacing: -0.02em; }
.flow .node { padding-inline: calc(var(--u) * 14); }
.waitchip, .branchlbl {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: calc(var(--u) * 6); border: 1px solid rgba(10, 11, 13, 0.12);
  background: rgba(22, 23, 26, 0.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-muted);
  white-space: nowrap; opacity: 0;
}
.waitchip { padding: calc(var(--u) * 3) calc(var(--u) * 11); }
.waitchip i { width: 6px; height: 6px; border-radius: 50%; background: var(--foreground-dim); }
.branchlbl { padding: calc(var(--u) * 3) calc(var(--u) * 7); }
.port { display: none !important; }
.port svg { width: 100%; height: 100%; display: block; }
.flash { position: absolute; width: calc(var(--u) * 8); height: calc(var(--u) * 8); border-radius: 50%; background: var(--accent); opacity: 0; pointer-events: none; }
.conn { position: absolute; overflow: visible; }
.conn path { fill: none; stroke-width: 2; stroke-linecap: round; }

.conn .grey { stroke: rgba(135, 135, 135, 0.6); }
.lastruns { position: absolute; left: 0; top: 0; }
.lr-rule { position: absolute; left: calc(var(--u) * 39); top: calc(var(--u) * 441); width: calc(var(--u) * 600); height: 1px; background: rgba(10, 11, 13, 0.07); }
.lr-label { position: absolute; left: calc(var(--u) * 39); top: calc(var(--u) * 461); font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); white-space: nowrap; }
.lr-list { position: absolute; left: calc(var(--u) * 39); top: calc(var(--u) * 494); width: calc(var(--u) * 600); height: calc(var(--u) * 89); }
.lr-row { position: absolute; left: 0; right: 0; top: 0; height: 21px; display: flex; align-items: center; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; }
.lr-row .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-right: 14px; }
.lr-row .t { color: var(--foreground-dim); width: 90px; flex: none; }
.lr-row .n { color: var(--foreground-muted); flex: 1; }
.lr-row .s { color: var(--foreground-dim); flex: none; }
.packets { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

@media (width <= 1200px) {
  .chip { padding-right: calc(var(--u) * 15); }
  .win { left: calc(var(--u) * 508); top: calc(var(--u) * 27); width: calc(var(--u) * 516); height: calc(var(--u) * 659); }
  .win-grid { width: calc(var(--u) * 516); height: calc(var(--u) * 659); }
  .bloom { left: calc(var(--u) * 236); top: calc(var(--u) * -95); width: calc(var(--u) * 965); height: calc(var(--u) * 903); }
  .win-title { left: calc(var(--u) * 23); top: calc(var(--u) * 23); }
  .win-div { left: calc(var(--u) * 187); top: calc(var(--u) * 28); }
  .win-steps { left: calc(var(--u) * 203); top: calc(var(--u) * 25); }
  .win-running { left: calc(var(--u) * 331); top: calc(var(--u) * 25); }
  .win-rule { top: calc(var(--u) * 63); width: calc(var(--u) * 516); }
  .tools { left: calc(var(--u) * 23); top: calc(var(--u) * 76); flex-direction: row; }
  .zoom { left: calc(var(--u) * 432); top: calc(var(--u) * 76); padding: calc(var(--u) * 7) calc(var(--u) * 11); }
  .node .t { font-size: 14px; line-height: 20px; }
  .node { padding: calc(var(--u) * 11) calc(var(--u) * 15); gap: 0; }
  .lr-rule { left: calc(var(--u) * 23); top: calc(var(--u) * 505); width: calc(var(--u) * 468); }
  .lr-label { left: calc(var(--u) * 23); top: calc(var(--u) * 522); }
  .lr-list { left: calc(var(--u) * 23); top: calc(var(--u) * 558); width: calc(var(--u) * 468); height: calc(var(--u) * 76); }
  .lr-row { height: 20px; }
}
@media (width <= 900px) {
  #hero { --hero-frame: calc(var(--u) * 976); }
  .tilt { transform-origin: 50% 66.5%; }
  .win { left: calc(var(--u) * 126); top: calc(var(--u) * 354); width: calc(var(--u) * 516); height: calc(var(--u) * 590); border-radius: calc(var(--u) * 28); }
  .win-grid { width: calc(var(--u) * 516); height: calc(var(--u) * 590); top: calc(var(--u) * -36); }
  .bloom { left: calc(var(--u) * -246); top: calc(var(--u) * -205); width: calc(var(--u) * 1260); height: calc(var(--u) * 1250); }
  .lr-list { height: calc(var(--u) * 20); overflow: clip; }
  .node { padding-block: calc(var(--u) * 9); }
}
@media (width <= 580px) {
  #hero { --hero-frame: calc(var(--u) * 949); }
  .tilt { transform-origin: 50% 71.6%; }
  .win { left: calc(var(--u) * 20); top: calc(var(--u) * 422); width: calc(var(--u) * 350); height: calc(var(--u) * 515); }
  .win-grid { width: calc(var(--u) * 350); height: calc(var(--u) * 515); top: calc(var(--u) * -73); }
  .bloom { left: calc(var(--u) * -78); top: calc(var(--u) * -245); width: calc(var(--u) * 546); height: calc(var(--u) * 640); }
  .win-div, .win-steps { display: none; }
  .win-title { left: calc(var(--u) * 19); }
  .win-running { left: calc(var(--u) * 169); width: calc(var(--u) * 120); }
  .tools { left: calc(var(--u) * 19); }
  .zoom { left: calc(var(--u) * 270); }
  .lr-rule { left: calc(var(--u) * 19); top: calc(var(--u) * 435); width: calc(var(--u) * 310); }
  .lr-label { left: calc(var(--u) * 19); top: calc(var(--u) * 448); }
  .lr-list { left: calc(var(--u) * 19); top: calc(var(--u) * 480); width: calc(var(--u) * 310); }
}

/* hero — frame positions per breakpoint */
@media (width <= 1200px) {
  .hw-chip { left: calc(var(--u) * 48) !important; top: calc(var(--u) * 162) !important; }
  .hw-h1 { left: calc(var(--u) * 48) !important; top: calc(var(--u) * 226) !important; width: calc(var(--u) * 380) !important; }
  .hw-sub { left: calc(var(--u) * 48) !important; top: calc(var(--u) * 354) !important; width: calc(var(--u) * 380) !important; }
  .hw-actions { left: calc(var(--u) * 48) !important; top: calc(var(--u) * 442) !important; }
  .hw-note { left: calc(var(--u) * 48) !important; top: calc(var(--u) * 510) !important; white-space: normal; width: calc(var(--u) * 260); }
  .hw-ticks { left: calc(var(--u) * 975) !important; top: calc(var(--u) * 546) !important; }
  #hero h1 { font-size: calc(var(--u) * 44); line-height: calc(var(--u) * 52); }
  #hero h1 em { font-size: calc(var(--u) * 48); }
  .flow .node { height: auto; min-height: calc(var(--u) * 62); }
  .flow .node:nth-of-type(1) { left: calc(var(--u) * 49) !important; top: calc(var(--u) * 257) !important; width: calc(var(--u) * 188) !important; }
  .flow .node:nth-of-type(2) { left: calc(var(--u) * 277) !important; top: calc(var(--u) * 257) !important; width: calc(var(--u) * 188) !important; }
  .flow .node:nth-of-type(3) { left: calc(var(--u) * 163) !important; top: calc(var(--u) * 385) !important; width: calc(var(--u) * 188) !important; }
  .waitchip { left: calc(var(--u) * 212) !important; top: calc(var(--u) * 461) !important; }
  .branchlbl[data-branch="true"] { left: calc(var(--u) * 174) !important; top: calc(var(--u) * 208) !important; }
  .flow .branchlbl[data-branch="else"] { left: calc(var(--u) * 288) !important; top: calc(var(--u) * 208) !important; }
  .flow .port { display: none; }
  .flash[data-flash="condition"] { left: calc(var(--u) * 139) !important; top: calc(var(--u) * 253) !important; }
  .flash[data-flash="log"] { left: calc(var(--u) * 367) !important; top: calc(var(--u) * 253) !important; }
  .flash[data-flash="approval"] { left: calc(var(--u) * 253) !important; top: calc(var(--u) * 381) !important; }
  .node[data-node="trigger"] { left: calc(var(--u) * 672) !important; top: calc(var(--u) * 155) !important; width: calc(var(--u) * 188) !important; }
  .port[data-port="trigger"] { left: calc(var(--u) * 762) !important; top: calc(var(--u) * 213) !important; }
  .flash[data-flash="trigger"] { left: calc(var(--u) * 762) !important; top: calc(var(--u) * 213) !important; }
  .tilt > .port:not([data-port]) { display: none; }
}
@media (width <= 900px) {
  .hw-chip { left: calc(var(--u) * 231.5) !important; top: calc(var(--u) * 40) !important; }
  .hw-h1 { left: calc(var(--u) * 176.5) !important; top: calc(var(--u) * 100) !important; width: calc(var(--u) * 416) !important; text-align: center; }
  .hw-sub { left: calc(var(--u) * 144) !important; top: calc(var(--u) * 158) !important; width: calc(var(--u) * 481) !important; text-align: center; }
  .hw-actions { left: calc(var(--u) * 188) !important; top: calc(var(--u) * 238) !important; }
  .hw-note { left: calc(var(--u) * 181) !important; top: calc(var(--u) * 302) !important; width: calc(var(--u) * 300); }
  .hw-ticks { left: calc(var(--u) * 727) !important; top: calc(var(--u) * 546) !important; }
  #hero h1 { font-size: calc(var(--u) * 29); line-height: calc(var(--u) * 46); }
  #hero h1 em { font-size: calc(var(--u) * 32); }
  .flow .node:nth-of-type(1) { left: calc(var(--u) * 67) !important; top: calc(var(--u) * 254) !important; width: calc(var(--u) * 172) !important; }
  .flow .node:nth-of-type(2) { left: calc(var(--u) * 275) !important; top: calc(var(--u) * 254) !important; width: calc(var(--u) * 172) !important; }
  .flow .node:nth-of-type(3) { left: calc(var(--u) * 171) !important; top: calc(var(--u) * 378) !important; width: calc(var(--u) * 172) !important; }
  .waitchip { left: calc(var(--u) * 212) !important; top: calc(var(--u) * 454) !important; }
  .flow .branchlbl[data-branch="true"] { left: calc(var(--u) * 170) !important; top: calc(var(--u) * 207) !important; }
  .flow .branchlbl[data-branch="else"] { left: calc(var(--u) * 291) !important; top: calc(var(--u) * 207) !important; }
  .flash[data-flash="condition"] { left: calc(var(--u) * 149) !important; top: calc(var(--u) * 250) !important; }
  .flash[data-flash="log"] { left: calc(var(--u) * 357) !important; top: calc(var(--u) * 250) !important; }
  .flash[data-flash="approval"] { left: calc(var(--u) * 253) !important; top: calc(var(--u) * 374) !important; }
  .node[data-node="trigger"] { left: calc(var(--u) * 298) !important; top: calc(var(--u) * 485) !important; width: calc(var(--u) * 172) !important; min-height: calc(var(--u) * 60); padding-top: calc(var(--u) * 11); }
  .port[data-port="trigger"] { left: calc(var(--u) * 380) !important; top: calc(var(--u) * 541) !important; }
  .flash[data-flash="trigger"] { left: calc(var(--u) * 380) !important; top: calc(var(--u) * 541) !important; }
  /* 横向原点归零：缩放比例由 JS 按节点范围算出（见 home.js measureFlowScale），
     原点留在 67u 会把整张图往右推，右列卡片仍会探出窗口。纵向仍以 130u 为轴，
     否则整张图会往上跳 60px，压到下面的业务环节列表。 */
  .flow { transform-origin: 0 calc(var(--u) * 130); }
}
@media (width <= 580px) {
  .hw-chip { left: calc(var(--u) * 42) !important; top: calc(var(--u) * 32) !important; }
  .hw-h1 { left: calc(var(--u) * 20) !important; top: calc(var(--u) * 92) !important; width: calc(var(--u) * 350) !important; }
  .hw-sub { left: calc(var(--u) * 31) !important; top: calc(var(--u) * 142) !important; width: calc(var(--u) * 328) !important; font-size: 16px; line-height: 24px; }
  .hw-actions { left: calc(var(--u) * 20) !important; top: calc(var(--u) * 230) !important; width: calc(var(--u) * 350); flex-direction: column; }
  .hw-actions .pill { width: 100%; }
  .hw-note { left: calc(var(--u) * 86.5) !important; top: calc(var(--u) * 352) !important; width: calc(var(--u) * 217); text-align: center; font-size: 12px; line-height: 1.3; }
  .hw-ticks { left: calc(var(--u) * 369) !important; top: calc(var(--u) * 546) !important; }
  #hero h1 { font-size: calc(var(--u) * 25); line-height: calc(var(--u) * 38); }
  #hero h1 em { font-size: calc(var(--u) * 27); }
  .node[data-node="trigger"] { left: calc(var(--u) * 125) !important; top: calc(var(--u) * 553) !important; }
  .port[data-port="trigger"] { left: calc(var(--u) * 192) !important; top: calc(var(--u) * 599) !important; }
  .flash[data-flash="trigger"] { left: calc(var(--u) * 192) !important; top: calc(var(--u) * 599) !important; }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
/* Stacked, not split: the lede sits under the title instead of in a right-hand
   column. Six section heads share this; a 440px side column forced the copy into
   a narrow strip that read as a caption to the title rather than its intro. */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * 26); padding-bottom: calc(var(--u) * 56); }
.sec-head-main { display: flex; flex-direction: column; gap: 1rem; width: 760px; max-width: 100%; }
.sec-title { font-size: var(--type-section-title); line-height: var(--line-section-title); }
.sec-title em { font-size: var(--type-section-title-accent); }
.sec-aside { width: 640px; max-width: 100%; font-size: var(--type-body); line-height: var(--line-body); color: var(--foreground-muted); text-wrap: balance; }
/* 640px of 14px Chinese is ~45 characters; the same box in English runs ~88,
   well past a comfortable measure. Latin gets a tighter column. */
html[lang="en"] .sec-head .sec-aside { width: 540px; }
@media (width <= 1200px) {
  .sec-head { flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding-bottom: calc(var(--u) * 32); }
  .sec-head-main { align-items: center; }
  .sec-aside { width: 560px; max-width: 100%; margin-bottom: 0; }
}
@media (width <= 580px) {
  .sec-head { gap: 0.75rem; padding-bottom: 0; }
  .sec-aside { width: 100%; }
}

/* ============================================================
   03 INTEGRATIONS
   ============================================================ */
#integrations { position: relative; overflow: clip; height: calc(var(--u) * 152); }
/* the band now opens the product section, so it breaks out of that section's
   side padding to keep its original full-bleed rhythm */
.ig-band { margin-inline: calc(var(--u) * -80); }
.ig-tiles { position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 40); display: flex; gap: calc(var(--u) * 106); z-index: 1; }
.ig-tile { position: relative; width: calc(var(--u) * 68); height: calc(var(--u) * 68); }
.ig-tile .box {
  position: relative; width: 100%; height: 100%; border-radius: calc(var(--u) * 16); overflow: clip;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: scale(1); will-change: transform;
}
.ig-tile .idle, .ig-tile .active { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; }
.ig-tile .idle {
  border: 1px solid rgba(10, 11, 13, 0.1);
  background: linear-gradient(to bottom, #ffffff, #f7f9fd);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 22px; letter-spacing: 0; font-weight: 500; color: rgba(10, 11, 13, 0.72);
}
.ig-tile .active {
  border: 1px solid rgba(76, 141, 255, 0.55);
  background: linear-gradient(to bottom, rgba(76, 141, 255, 0.18) 0%, rgba(68.25, 125.25, 224.75, 0.2825) 12.5%, rgba(60.5, 109.5, 194.5, 0.385) 25%, rgba(52.75, 93.75, 164.25, 0.4875) 37.5%, rgba(45, 78, 134, 0.59) 50%, rgba(37.25, 62.25, 103.75, 0.6925) 62.5%, rgba(29.5, 46.5, 73.5, 0.795) 75%, rgba(21.75, 30.75, 43.25, 0.8975) 87.5%, rgb(14, 15, 13) 100%);
  font-family: var(--font-fragment-mono), monospace; font-size: 16px; line-height: 22px; letter-spacing: 1px; color: var(--accent);
  opacity: 0;
}
.ig-tile .lbl {
  position: absolute; top: calc(var(--u) * 86); left: 0; width: 100%; text-align: center;
  font-family: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
  /* Caption follows the mock, like every other bit of type inside it. The tile is
     --u-driven (68px at 1440, 91px at 1920) and so is this 86px offset, but the
     label was pinned at 13px, so on wide viewports it dropped to ~70% of its 1440
     proportion under a bigger icon. Floor stays at 13px for <=1440 and mobile. */
  font-size: clamp(13px, calc(var(--u) * 13), 18px);
  line-height: clamp(20px, calc(var(--u) * 20), 27px);
  letter-spacing: 0.01em;
  color: rgba(10, 11, 13, 0.72);
}
.ig-tile .idle svg, .ig-tile .active svg { width: 26px; height: 26px; display: block; }
.ig-tile .active svg { stroke-width: 1.8; }
.ig-rail { position: absolute; left: calc(var(--u) * 90); top: calc(var(--u) * 74); width: calc(var(--u) * 1276); height: 2px; }
.ig-rail svg { display: block; overflow: visible; }
.ig-packet { position: absolute; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; background: var(--accent); opacity: 0; }
@media (width <= 1200px) {
  #integrations { height: calc(var(--u) * 142); }
  .ig-band { margin-inline: calc(var(--u) * -48); }
  .ig-tiles { left: calc(var(--u) * 48); top: calc(var(--u) * 40); gap: calc((100vw - 576px) / 7); }
  .ig-tile { width: calc(var(--u) * 60); height: calc(var(--u) * 60); }
  .ig-tile .lbl { top: calc(var(--u) * 76); }
  .ig-rail { left: calc(var(--u) * 58); top: calc(var(--u) * 70); width: calc(var(--u) * 908); }
}
@media (width <= 900px) {
  #integrations { height: calc(var(--u) * 142); }
  .ig-band { margin-inline: calc(var(--u) * -40); }
  .ig-tiles { left: calc(var(--u) * 40); top: calc(var(--u) * 40); gap: calc(var(--u) * 65.6); }
  .ig-rail { left: calc(var(--u) * 50); top: calc(var(--u) * 70); width: calc(var(--u) * 668); }
}
@media (width <= 580px) {
  #integrations { height: calc(var(--u) * 132); }
  .ig-band { margin-inline: calc(var(--u) * -20); }
  .ig-tiles { left: calc(var(--u) * 20); top: calc(var(--u) * 40); gap: calc(var(--u) * 42); }
  .ig-tile { width: calc(var(--u) * 56); height: calc(var(--u) * 56); }
  .ig-tile .idle, .ig-tile .active { font-size: 14px; }
  .ig-tile .lbl { top: calc(var(--u) * 68); width: calc(var(--u) * 80); text-align: center; font-size: 13px; }
  .ig-rail { left: calc(var(--u) * 28); top: calc(var(--u) * 68); width: calc(var(--u) * 334); }
  .ig-hide-390 { display: none; }
}

/* ============================================================
   04 PRODUCT
   ============================================================ */
#product {
  display: flex; flex-direction: column; position: relative;
  height: calc(var(--u) * 1593);
  padding: calc(var(--u) * 96) calc(var(--u) * 80) 0;
}
.hair { width: calc(var(--u) * 1280); max-width: 100%; height: 1px; background: rgba(10, 11, 13, 0.09); transform-origin: left center; }
.feat { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--u) * 48) 0; }
.feat.rev { flex-direction: row-reverse; }
.feat.last { padding-bottom: 0; }
.copy { width: calc(var(--u) * 440); display: flex; flex-direction: column; gap: 1rem; }
.copy .idx { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; letter-spacing: 1px; color: rgba(76, 141, 255, 0.4); display: flex; }
.copy .idx .d { display: inline-block; height: 20px; overflow: hidden; width: 0.62em; }
.copy .idx .d span { display: block; }
.copy h3 { font-size: 26px; line-height: 32px; font-weight: 500; letter-spacing: -1px; color: var(--foreground); }
.copy p { font-size: var(--type-body); line-height: var(--line-body); color: var(--foreground-muted); }
.copy .body1 { max-width: calc(var(--u) * 352); }
.copy .body3 { max-width: calc(var(--u) * 351); }

.card {
  position: relative; width: calc(var(--u) * 760); height: calc(var(--u) * 328);
  border-radius: calc(var(--u) * 26); border: 1px solid rgba(10, 11, 13, 0.07);
  background: rgba(14, 15, 17, 0.42); overflow: clip;
  font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px;
}
.card .w { color: var(--foreground); }
.card .dim { color: var(--foreground-dim); }
.card .mut { color: var(--foreground-muted); }
.card .rule { position: absolute; height: 1px; background: rgba(10, 11, 13, 0.07); }
.card .srule { position: absolute; height: 1px; background: rgba(10, 11, 13, 0.05); }

/* trace card */
.trace-hd { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 33); display: flex; align-items: center; justify-content: space-between; }
.steps { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 80); }
.step {
  display: grid; align-items: center; column-gap: calc(var(--u) * 12);
  grid-template-columns: calc(var(--u) * 16) 1fr 54.6% 17.2%;
  height: calc(var(--u) * 42);
}
.step .ic { width: calc(var(--u) * 16); height: calc(var(--u) * 16); display: grid; place-items: center; }
.step .ic svg { width: 100%; height: 100%; overflow: visible; }
.step .ic path { stroke: rgba(10, 11, 13, 0.8); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.step .lb { color: var(--foreground); white-space: nowrap; }
.step.pending .lb { color: var(--foreground-dim); }
.step .track { position: relative; height: calc(var(--u) * 12); }
.step .bar { position: absolute; left: 0; top: 0; height: 100%; border-radius: calc(var(--u) * 4); transform-origin: left center; transform: scaleX(0); }
.step .val { text-align: right; color: var(--foreground-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.axis { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 263); display: grid; grid-template-columns: calc(var(--u) * 16) 1fr 54.6% 17.2%; column-gap: calc(var(--u) * 12); }
.axis .line { position: relative; height: 1px; background: rgba(10, 11, 13, 0.09); }
.axis .tick { position: absolute; top: 0; width: 1px; height: calc(var(--u) * 5); background: rgba(10, 11, 13, 0.16); }
.axis .tl { position: absolute; top: calc(var(--u) * 10); width: calc(var(--u) * 60); margin-left: calc(var(--u) * -30); text-align: center; color: var(--foreground-dim); }
.axis .unit { position: relative; top: calc(var(--u) * 10); text-align: right; color: var(--foreground-dim); white-space: nowrap; }
.trace-hd .meta { white-space: nowrap; }
.trace-hd .typed span { color: transparent; }

/* approval card */
.appr-hd { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 31); top: calc(var(--u) * 31); display: flex; align-items: center; justify-content: space-between; }
.appr-hd .ch { font-family: var(--font-inter), sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.dots3 { position: absolute; left: calc(var(--u) * 71); top: calc(var(--u) * 124); display: flex; gap: 4px; opacity: 0; }
.dots3 i { width: 6px; height: 6px; border-radius: 50%; background: var(--foreground-dim); }
.msg { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 31); top: calc(var(--u) * 76); }
/* Sender avatar is the brand mark on its own. No chip: a white tile on a white
   card just reads as a stray button, so the mark sits on the surface the same
   way the nav lockup does. The old chevron svg never painted its gradient --
   its <defs> sat outside the <svg> -- so it showed as bare arrows. */
.msg .av { position: absolute; left: 0; top: 0; width: calc(var(--u) * 28); height: calc(var(--u) * 28); }
.msg .av img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Sender name is the brand wordmark, not text. The wordmark file is cropped to
   its ink, so its height IS the cap height: 12u keeps the same optical size as
   the 14px name it replaces, and centring it on the 20px name line puts its
   cap band level with the type. */
.msg .brand { position: absolute; left: calc(var(--u) * 40); top: calc(var(--u) * 8); height: calc(var(--u) * 12); width: auto; }
.msg .tm { position: absolute; right: 0; top: calc(var(--u) * 4); color: var(--foreground-dim); }
.msg .tx { position: absolute; left: calc(var(--u) * 40); top: calc(var(--u) * 39); width: calc(var(--u) * 520); max-width: calc(100% - calc(var(--u) * 40)); font-family: var(--font-inter), sans-serif; font-size: 16px; line-height: 24px; color: var(--foreground-muted); }
.accent-bar { position: absolute; left: calc(var(--u) * 71); top: calc(var(--u) * 155); width: calc(var(--u) * 3); height: calc(var(--u) * 80); border-radius: 9999px; transform-origin: top center; transform: scaleY(0); background: linear-gradient(to bottom, var(--accent), rgba(76, 141, 255, 0.05)); }
.dl { position: absolute; left: calc(var(--u) * 88); right: calc(var(--u) * 31); top: calc(var(--u) * 152); display: grid; grid-template-columns: calc(var(--u) * 104) 1fr; column-gap: calc(var(--u) * 12); row-gap: calc(var(--u) * 7); align-items: baseline; }
.dl dt { color: var(--foreground-dim); }
.dl dd { font-family: var(--font-inter), sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.dl dd.big { font-size: 16px; line-height: 24px; }
.appr-btns { position: absolute; left: calc(var(--u) * 71); top: calc(var(--u) * 251); display: flex; gap: 8px; }
.mini {
  display: inline-flex; align-items: center; gap: 8px; border-radius: calc(var(--u) * 8);
  font-family: var(--font-inter), sans-serif; font-size: 14px; line-height: 20px; font-weight: 500;
  box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(0, 0, 0, 0.5);
  opacity: 0;
}
.mini svg { width: calc(var(--u) * 14); height: calc(var(--u) * 14); }
.mini.ok { background: var(--accent); color: var(--on-accent); padding: calc(var(--u) * 12) calc(var(--u) * 16); }
.mini.hold { background: var(--surface-raised); border: 1px solid rgba(10, 11, 13, 0.16); color: var(--foreground); padding: calc(var(--u) * 11) calc(var(--u) * 15); }
.waiting { position: absolute; right: calc(var(--u) * 31); top: calc(var(--u) * 275); width: auto; white-space: nowrap; text-align: right; color: var(--foreground-dim); font-variant-numeric: tabular-nums; opacity: 0; }

/* chart card */
.chart-cap { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 31); display: flex; justify-content: space-between; }
.chart-cap .b { position: static; }
.mc-mail { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 58); }
.mc-mail .from { font-family: var(--font-inter), sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.mc-mail .snippet { margin-top: calc(var(--u) * 4); font-family: var(--font-inter), sans-serif; font-size: 14px; line-height: 20px; color: var(--foreground-muted); }
.mc-gen { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 118); display: flex; align-items: center; gap: calc(var(--u) * 10); font-size: 12px; line-height: 16px; color: var(--foreground-dim); }
.mc-gen .ln { flex: 1; height: 1px; background: rgba(10, 11, 13, 0.09); }
.chart { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 148); height: calc(var(--u) * 154); display: flex; flex-direction: column; justify-content: space-between; }
.cube { position: relative; width: 100%; height: calc(var(--u) * 45); }
.cube .body {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  transform-origin: 50% 100%; transform: scaleY(0);
  border-radius: calc(var(--u) * 8);
  background: rgba(10, 11, 13, 0.035);
  box-shadow: inset 0 0 0 1px rgba(10, 11, 13, 0.07);
}
.cube:first-child .body { background: rgba(43, 108, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(43, 108, 255, 0.2); }
.cube .row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 16) 0 calc(var(--u) * 30); }
.cube .row .nm { color: var(--foreground); white-space: nowrap; }
.cube .row .due { color: var(--foreground-dim); white-space: nowrap; padding-left: calc(var(--u) * 12); }
.cube:first-child .row .due { color: #2f6bff; }
.cube .cap {
  position: absolute; left: calc(var(--u) * 14); top: 50%; width: calc(var(--u) * 5); height: calc(var(--u) * 5);
  margin-top: calc(var(--u) * -2.5); border-radius: 50%; background: #2f6bff; opacity: 0;
}
.cube .glow { display: none; }
.base { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 31); top: calc(var(--u) * 259); height: 1px; background: rgba(10, 11, 13, 0.08); }
.days { position: absolute; left: calc(var(--u) * 31); right: calc(var(--u) * 31); top: calc(var(--u) * 275); display: flex; justify-content: space-between; color: var(--foreground-dim); }
.days span { width: 11%; text-align: center; }
.days .sat { color: var(--accent); }

@media (width <= 1200px) {
  #product { height: calc(var(--u) * 1509); padding: calc(var(--u) * 80) calc(var(--u) * 48) 0; }
  .feat { padding: calc(var(--u) * 32) 0; }
  .copy { width: calc(var(--u) * 360); }
  .copy h3 { font-size: 24px; line-height: 32px; }
  .card { width: calc(var(--u) * 528); height: calc(var(--u) * 320); border-radius: 18.063px; }
  .step { grid-template-columns: calc(var(--u) * 11) 1fr 50% 16%; }
  .step .ic { width: calc(var(--u) * 11); height: calc(var(--u) * 11); }
  .step .bar { border-radius: 2.779px; }
  .axis { grid-template-columns: calc(var(--u) * 11) 1fr 50% 16%; }
  .dl dd, .dl dt { font-size: 14px; line-height: 20px; }
  .card .rule { background: rgba(10, 11, 13, 0.07); }
  .trace-hd { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 23); }
  .appr-hd { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 23); }
  .msg { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 66); }
  .msg .tx { left: calc(var(--u) * 40); width: calc(var(--u) * 440); font-size: 15px; line-height: 22px; }
  .accent-bar { left: calc(var(--u) * 63); top: calc(var(--u) * 143); height: calc(var(--u) * 92); }
  .dl { left: calc(var(--u) * 81); top: calc(var(--u) * 143); grid-template-columns: calc(var(--u) * 92) 1fr; }
  .appr-btns { left: calc(var(--u) * 63); top: calc(var(--u) * 240); }
  .dots3 { left: calc(var(--u) * 63); top: calc(var(--u) * 114); }
  .steps { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 72); }
  .axis { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 250); }
  .chart { left: calc(var(--u) * 23); right: calc(var(--u) * 23); top: calc(var(--u) * 148); height: calc(var(--u) * 148); }
  .cube { height: calc(var(--u) * 44); }
  .chart-cap { left: calc(var(--u) * 23); right: calc(var(--u) * 23); }
  .mc-mail { left: calc(var(--u) * 23); right: calc(var(--u) * 23); }
  .mc-gen { left: calc(var(--u) * 23); right: calc(var(--u) * 23); }
}
@media (width <= 900px) {
  #product { height: calc(var(--u) * 2000); padding: calc(var(--u) * 44) calc(var(--u) * 40) 0; row-gap: 16px; }
  .feat { flex-direction: column; height: auto; gap: calc(var(--u) * 32); padding: calc(var(--u) * 32) 0; }
  .feat.rev { flex-direction: column; }
  .copy { width: calc(var(--u) * 520); max-width: 100%; text-align: center; align-items: center; }
  .copy h3 { font-size: 20px; line-height: 28px; }
  .copy .body1, .copy .body3 { max-width: calc(var(--u) * 406); }
  .card { width: calc(var(--u) * 528); height: calc(var(--u) * 321); border-radius: 24px; }
  .hair { display: none; }
}
@media (width <= 580px) {
  #product { height: calc(var(--u) * 1680); padding: calc(var(--u) * 48) calc(var(--u) * 20) 0; row-gap: 32px; }
  .feat { gap: calc(var(--u) * 24); padding: 0; }
  .copy { width: 100%; }
  .copy .idx { margin-bottom: calc(var(--u) * -8); }
  .copy h3 { font-size: 18px; line-height: 24px; }
  .card { width: calc(var(--u) * 350); height: calc(var(--u) * 249); border-radius: 24px; font-size: 12px; line-height: 18px; }
  .card.appr { height: calc(var(--u) * 289); }
  .card.chartcard { height: calc(var(--u) * 263); }
  .card.chartcard .chart-cap { left: calc(var(--u) * 20); right: calc(var(--u) * 20); top: calc(var(--u) * 20); }
  .card.chartcard .mc-mail { left: calc(var(--u) * 20); right: calc(var(--u) * 20); top: calc(var(--u) * 42); }
  .card.chartcard .mc-mail .from { font-size: 12px; line-height: 18px; }
  .card.chartcard .mc-mail .snippet { font-size: 12px; line-height: 18px; margin-top: calc(var(--u) * 2); }
  .card.chartcard .mc-gen { left: calc(var(--u) * 20); right: calc(var(--u) * 20); top: calc(var(--u) * 92); }
  .card.chartcard .chart { left: calc(var(--u) * 20); right: calc(var(--u) * 20); top: calc(var(--u) * 112); height: calc(var(--u) * 128); }
  .card.chartcard .cube { height: calc(var(--u) * 39); }
  .card.chartcard .cube .row { padding: 0 calc(var(--u) * 12) 0 calc(var(--u) * 24); }
  .card.chartcard .cube .cap { left: calc(var(--u) * 11); }
  .card.chartcard .cube .row .nm { font-size: 12px; line-height: 18px; }
  /* The trace card's rows and axis are pinned to absolute u offsets, so the
     compact card (350x249) used to clip the axis and the last two rows. Re-pin
     them here instead of relying on the 1200 block. */
  .trace-hd { left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 24); }
  .trace-hd .meta { display: none; }
  .steps { left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 70); }
  .step { grid-template-columns: calc(var(--u) * 10) 1fr 40% 13%; column-gap: calc(var(--u) * 8); height: calc(var(--u) * 31); }
  .step .ic { width: calc(var(--u) * 10); height: calc(var(--u) * 10); }
  .step .track { height: calc(var(--u) * 8); }
  .step .bar { border-radius: 2px; }
  .axis { left: calc(var(--u) * 31); right: calc(var(--u) * 33); top: calc(var(--u) * 204); grid-template-columns: calc(var(--u) * 10) 1fr 40% 13%; column-gap: calc(var(--u) * 8); }
  .axis .tl, .axis .unit { top: calc(var(--u) * 8); }
  /* 350u leaves ~33px for the unit column, so "条记录" ran into the last tick. */
  .axis .unit { display: none; }
  .msg .tx { font-size: 14px; line-height: 18px; }
  .dl dd { font-size: 13px; line-height: 18px; }
  .mini { font-size: 13px; line-height: 16px; border-radius: 4px; }
  .mini.ok { padding: 6px 12px; }
  .mini.hold { padding: 5px 11px; }
  .days span { font-size: 12px; line-height: 16px; }
}

/* ============================================================
   05 STATEMENT
   ============================================================ */
#statement {
  position: relative; overflow: clip; border-radius: calc(var(--u) * 32);
  background: #3f7dff; color: var(--on-accent);
  height: calc(var(--u) * 552);
}
@media (width <= 1200px) { #statement { height: calc(var(--u) * 528); } }
@media (width <= 580px) { #statement { height: calc(var(--u) * 371); border-radius: calc(var(--u) * 24); } }
.st-dots { display: none;
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(10, 11, 9, 0.175) 1.5px, transparent 1.6px);
  background-size: calc(var(--u) * 48) calc(var(--u) * 48);
}
.st-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.st-kicker { position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 64); width: calc(var(--u) * 1280); text-align: center; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: rgba(10, 11, 9, 0.55); }
.st-title { position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 108); width: calc(var(--u) * 1280); text-align: center; font-weight: 600; font-size: 44px; line-height: 62px; letter-spacing: -2px; color: var(--on-accent); }
.st-title .w { display: inline-block; }
.st-title em { font-family: var(--font-instrument-serif), serif; font-style: italic; font-weight: 400; font-size: 50px; line-height: 1; transform-origin: bottom left; display: inline-block; margin-right: 0.16em; }
.st-mark { position: absolute; left: calc(var(--u) * 682); top: calc(var(--u) * 292); width: calc(var(--u) * 76); height: calc(var(--u) * 76); }
.st-mark .mark-tile { width: 100%; height: 100%; border-radius: calc(var(--u) * 24); }
.st-stem { position: absolute; left: calc(var(--u) * 720); top: calc(var(--u) * 368); width: 1px; height: calc(var(--u) * 102); transform-origin: top center; background: linear-gradient(to bottom, rgba(10, 11, 9, 0.85), rgba(10, 11, 9, 0.2)); }
.st-cap { position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 448); font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: rgba(10, 11, 9, 0.5); }
.st-ruler { position: absolute; left: calc(var(--u) * 79); top: calc(var(--u) * 484); overflow: visible; color: var(--on-accent); }
.st-ruler path { stroke: currentColor; opacity: 0.35; transform-box: fill-box; transform-origin: bottom; }
.st-now { position: absolute; left: calc(var(--u) * 690); top: calc(var(--u) * 470); width: calc(var(--u) * 60); text-align: center; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--on-accent); }
.st-dot { position: absolute; left: calc(var(--u) * 715); top: calc(var(--u) * 493); width: calc(var(--u) * 10); height: calc(var(--u) * 10); }
.st-dot .core { position: absolute; inset: 0; border-radius: 50%; background: var(--on-accent); box-shadow: inset 0 0 0 2px rgba(10, 11, 9, 0.3); }
.st-dot .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(10, 11, 9, 0.55); opacity: 0; }
.st-hours { position: absolute; left: 0; top: calc(var(--u) * 508); width: 100%; height: 20px; }
.st-hours li { position: absolute; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: rgba(10, 11, 9, 0.55); white-space: nowrap; }
@media (width <= 1200px) {
  .st-kicker { left: calc(var(--u) * 48); top: calc(var(--u) * 48); width: calc(var(--u) * 928); }
  .st-title { left: calc(var(--u) * 48); top: calc(var(--u) * 84); width: calc(var(--u) * 928); font-size: 36px; line-height: 50px; }
  .st-title em { font-size: 40px; }
  .st-mark { left: calc(var(--u) * 474); top: calc(var(--u) * 232); }
  .st-stem { left: calc(var(--u) * 512); top: calc(var(--u) * 308); height: calc(var(--u) * 138); }
  .st-cap { left: calc(var(--u) * 48); top: calc(var(--u) * 406); }
  .st-ruler { left: calc(var(--u) * 47); top: calc(var(--u) * 448); }
  .st-now { left: calc(var(--u) * 482); top: calc(var(--u) * 476); }
  .st-dot { left: calc(var(--u) * 507); top: calc(var(--u) * 441); }
  .st-hours { top: calc(var(--u) * 476); }
}
@media (width <= 900px) {
  .st-kicker { left: calc(var(--u) * 40); top: calc(var(--u) * 40); width: calc(var(--u) * 688); }
  .st-title { left: calc(var(--u) * 40); top: calc(var(--u) * 76); width: calc(var(--u) * 688); font-size: 30px; line-height: 40px; }
  .st-title em { font-size: 32px; }
  .st-mark { left: calc(var(--u) * 346); top: calc(var(--u) * 204); }
  .st-stem { left: calc(var(--u) * 384); top: calc(var(--u) * 288); height: calc(var(--u) * 156); }
  .st-cap { left: calc(var(--u) * 40); top: calc(var(--u) * 398); }
  .st-ruler { left: calc(var(--u) * 39); top: calc(var(--u) * 442); }
  .st-now { left: calc(var(--u) * 371); top: calc(var(--u) * 468); width: calc(var(--u) * 26); }
  .st-dot { left: calc(var(--u) * 380); top: calc(var(--u) * 439); }
  .st-hours { top: calc(var(--u) * 468); }
}
@media (width <= 580px) {
  .st-kicker { left: calc(var(--u) * 20); top: calc(var(--u) * 20); width: calc(var(--u) * 350); font-size: 12px; line-height: 16px; }
  .st-title { left: calc(var(--u) * 20); top: calc(var(--u) * 48); width: calc(var(--u) * 350); font-size: 24px; line-height: 32px; }
  .st-title em { font-size: 26px; }
  .st-mark { left: calc(var(--u) * 157); top: calc(var(--u) * 176); }
  .st-stem { left: calc(var(--u) * 195); top: calc(var(--u) * 252); height: calc(var(--u) * 48); }
  .st-cap { left: calc(var(--u) * 20); top: calc(var(--u) * 245); width: calc(var(--u) * 79); white-space: normal; }
  .st-ruler { left: calc(var(--u) * 19); top: calc(var(--u) * 301); }
  .st-now { left: calc(var(--u) * 182); top: calc(var(--u) * 331); width: calc(var(--u) * 26); }
  .st-dot { left: calc(var(--u) * 190); top: calc(var(--u) * 298); width: calc(var(--u) * 11); height: calc(var(--u) * 11); }
  .st-hours { top: calc(var(--u) * 331); }
}

/* ============================================================
   06 SCALE — two ways to do the same job
   ============================================================ */
#scale { position: relative; padding: 0 calc(var(--u) * 80) calc(var(--u) * 96); }
.panel {
  position: relative; border-radius: calc(var(--u) * 26);
  border: 1px solid rgba(10, 11, 13, 0.07); background: rgba(14, 15, 17, 0.42);
  overflow: clip; padding: calc(var(--u) * 32);
}
.scale-grid { display: flex; gap: calc(var(--u) * 24); }
.scale-grid > .panel:first-child { flex: 1 1 auto; min-width: 0; }
.scale-grid > .panel:last-child { width: calc(var(--u) * 440); flex: none; display: flex; flex-direction: column; }
.panel-hd { display: flex; align-items: center; gap: calc(var(--u) * 20); margin-bottom: calc(var(--u) * 28); }
.panel-hd h3 { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: 0; }
#scale .panel-hd h3 span { display: inline; }
.panel-hd .k { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); }
/* The tile is the landing spot for the brand mark flying down from the
   statement section, so it has to be the same app-icon treatment as
   .mark-tile: same gradient, border, radius and inner box. Otherwise the
   flight lands a dark icon on a light one and the two read as two logos. */
.rt-tile {
  width: calc(var(--u) * 96); height: calc(var(--u) * 96); flex: none;
  border-radius: 31.58%; position: relative; overflow: clip;
  border: 1px solid rgba(10, 11, 9, 0.25);
  background: linear-gradient(135deg, #252721, #0a0b09 71.429%);
  box-shadow: 0 calc(var(--u) * 12) calc(var(--u) * 26) rgba(16, 24, 40, 0.18);
  /* Revealed once the panel is actually on screen (--tile-o is set by
     home.js); before that it would sit in the card a screen early. */
  opacity: var(--tile-o, 1);
  transform: scale(calc(0.88 + 0.12 * var(--tile-o, 1)));
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rt-tile::before {
  /* Same 80% box as .mark-glyph on the statement mark. */
  content: ""; position: absolute; inset: 10%;
  background: url(/brand/haxfer-icon.png) center / contain no-repeat;
}
.rt-tile::after { display: none; }

/* ---------- comparison table ---------- */
#scale .cmp-table {
  /* 任务列按内容撑开：中文 3–4 字时是 96px，英文标签会自动加宽 */
  position: relative; display: grid;
  grid-template-columns: minmax(calc(var(--u) * 96), max-content) 1fr 1.25fr;
}
#scale .cmp-th, #scale .cmp-td {
  position: relative; z-index: 1; display: flex; align-items: center;
  padding: 0 calc(var(--u) * 14); font-size: 14px; line-height: 20px;
}
#scale .cmp-th {
  align-items: flex-end; padding-bottom: calc(var(--u) * 14);
  font-family: var(--font-fragment-mono), monospace; font-size: 13px; line-height: 18px;
  color: var(--foreground-muted);
}
#scale .cmp-th .short { display: none; }
/* The Haxfer plate starts above the column and runs to the last row; the
   negative left margin pulls it 44px over the traditional column so the
   row hairlines visibly stop under it. */
#scale .cmp-th.hax {
  padding-top: calc(var(--u) * 18);
  margin-left: calc(var(--u) * -44); padding-left: calc(var(--u) * 58);
  background: rgba(47, 107, 255, 0.055);
  border-left: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: calc(var(--u) * 14) calc(var(--u) * 14) 0 0;
  box-shadow: calc(var(--u) * -10) 0 calc(var(--u) * 22) calc(var(--u) * -10) rgba(16, 24, 40, 0.20);
}
#scale .cmp-mark { display: block; height: 23px; width: auto; margin-left: calc(var(--u) * -1); margin-bottom: calc(var(--u) * 3); }
#scale .cmp-td { min-height: calc(var(--u) * 52); border-top: 1px solid rgba(10, 11, 13, 0.06); }
#scale .cmp-td.k { color: var(--foreground); font-weight: 500; }
#scale .cmp-td.old { color: var(--foreground-muted); padding-right: calc(var(--u) * 56); }
#scale .cmp-td.new {
  color: var(--foreground); font-weight: 500; font-size: 15px;
  min-height: calc(var(--u) * 60); padding-bottom: calc(var(--u) * 26);
  margin-left: calc(var(--u) * -44); padding-left: calc(var(--u) * 58);
  background: rgba(47, 107, 255, 0.055);
  border-left: 1px solid rgba(47, 107, 255, 0.18);
  border-top-color: transparent;
  box-shadow: calc(var(--u) * -10) 0 calc(var(--u) * 22) calc(var(--u) * -10) rgba(16, 24, 40, 0.20);
}
#scale .cmp-table > :last-child { border-radius: 0 0 calc(var(--u) * 14) calc(var(--u) * 14); }
/* 每行一条：表示这一步 AI 已经做到的部分，80–90%。
   用 .bar + [data-fill] 交给 home.js 的弹簧动画，和站点其他条形一致。 */
#scale .cmp-meter {
  position: absolute; left: calc(var(--u) * 58); right: calc(var(--u) * 14);
  bottom: calc(var(--u) * 13); display: block;
  height: 4px; border-radius: 2px; overflow: clip;
  background: rgba(10, 11, 13, 0.10);
}
#scale .cmp-meter i {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: var(--accent);
}

/* ---------- AI preparation list ---------- */
#scale .ai-list { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
/* 五项是同一串流程，用一条竖轨串起来：间隙从"空"变成"经过" */
#scale .ai-list li {
  position: relative; flex: 1 1 0;
  display: flex; align-items: flex-start; gap: calc(var(--u) * 14);
  padding-top: calc(var(--u) * 6);
}
#scale .ai-list li::after {
  content: ""; position: absolute; left: 10px; width: 1px;
  top: calc(var(--u) * 32); bottom: 0;
  background: rgba(10, 11, 13, 0.12);
}
#scale .ai-list li:last-child::after { display: none; }
#scale .ai-list svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
#scale .ai-list .t { margin: 0; font-size: 14px; line-height: 20px; color: var(--foreground); }
#scale .ai-list .d { margin: calc(var(--u) * 4) 0 0; font-size: 13px; line-height: 18px; color: var(--foreground-muted); }

@media (width <= 1200px) {
  #scale, #signals, #proof, #pricing { padding-left: calc(var(--u) * 48); padding-right: calc(var(--u) * 48); }
  .scale-grid { flex-direction: column; }
  .scale-grid > .panel:first-child { flex: none; }
  .scale-grid > .panel:last-child { width: 100%; }
  /* 堆叠后卡片不再被拉高，竖轨没有意义，回到两列列表 */
  #scale .ai-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--u) * 44); flex: none; }
  #scale .ai-list li { flex: none; padding: calc(var(--u) * 16) 0; border-top: 1px solid rgba(10, 11, 13, 0.06); }
  #scale .ai-list li::after { display: none; }
  #scale .ai-list li:nth-child(1) { padding-top: 0; }
  #scale .ai-list li:nth-child(2) { border-top: 0; }
}
@media (width <= 900px) {
  #scale .cmp-table { grid-template-columns: minmax(calc(var(--u) * 82), max-content) 1fr 1.25fr; }
}
@media (width <= 580px) {
  #scale { padding-bottom: calc(var(--u) * 48); }
  .panel { padding: calc(var(--u) * 20); border-radius: calc(var(--u) * 20); }
  .panel-hd h3 { font-size: 18px; line-height: 24px; }
  /* 13 个字在 192px 里放不下，按逗号断成两行，不要断在词中间 */
  #scale .panel:first-child .panel-hd h3 span { display: block; }
  /* 三列在 350px 宽里会挤出孤字，改成每个场景一块 */
  #scale .cmp-table { grid-template-columns: 1fr; }
  #scale .cmp-th { display: none; }
  #scale .cmp-td {
    display: flex; align-items: baseline; gap: calc(var(--u) * 8);
    padding: calc(var(--u) * 2) 0; min-height: 0; border-top: 0;
  }
  #scale .cmp-td.k {
    padding: calc(var(--u) * 16) 0 calc(var(--u) * 3);
    border-top: 1px solid rgba(10, 11, 13, 0.06); font-weight: 600;
  }
  #scale .cmp-td.k:first-of-type { border-top: 0; padding-top: 0; }
  #scale .cmp-td.old::before, #scale .cmp-td.new::before {
    flex: none; width: calc(var(--u) * 46);
    font-family: var(--font-fragment-mono), monospace; font-size: 12px; line-height: 20px;
    color: var(--foreground-dim);
  }
  #scale .cmp-td.old::before { content: "传统"; }
  /* 手机上标签位放字标，不放文字 */
  #scale .cmp-td.new::before {
    content: ""; height: calc(var(--u) * 12);
    background: url(/brand/haxfer-wordmark.png) left center / contain no-repeat;
  }
  #scale .cmp-td.new {
    margin: calc(var(--u) * 1) calc(var(--u) * -10) calc(var(--u) * 3);
    padding: calc(var(--u) * 4) calc(var(--u) * 10);
    min-height: 0; border-radius: calc(var(--u) * 8);
    background: rgba(47, 107, 255, 0.06);
    color: var(--foreground); font-weight: 500; font-size: 14px;
    border-left: 0; box-shadow: none;
  }
  #scale .cmp-meter { display: none; }
  #scale .ai-list { display: flex; }
  #scale .ai-list li:nth-child(2) { border-top: 1px solid rgba(10, 11, 13, 0.06); }
}

/* ============================================================
   07 SIGNALS
   ============================================================ */
#signals { position: relative; padding: 0 calc(var(--u) * 80) calc(var(--u) * 96); }
.dash { position: relative; border-radius: calc(var(--u) * 26); border: 1px solid rgba(10, 11, 13, 0.07); background: rgba(14, 15, 17, 0.42); overflow: clip; }
.dash-hd { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--u) * 24) calc(var(--u) * 28); border-bottom: 1px solid rgba(10, 11, 13, 0.07); }
.dash-hd .l { display: flex; align-items: center; gap: 12px; font-family: var(--font-inter), sans-serif; font-size: 16px; line-height: 24px; font-weight: 500; }
.dash-hd .l i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(76, 141, 255, 0.18); }
.dash-hd .r { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); }
.dash-body { display: grid; grid-template-columns: 1fr calc(var(--u) * 300); }
.dash-chart { padding: calc(var(--u) * 26) calc(var(--u) * 28); border-right: 1px solid rgba(10, 11, 13, 0.07); }
.dash-chart .cap { display: flex; justify-content: space-between; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); margin-bottom: calc(var(--u) * 22); }
/* The bars are sized with percentage heights, so they need a resolved height
   to grow inside. .col takes the plot height, the hour labels ride outside it
   (absolute) so they no longer eat into the percentage box. The 26px bottom
   padding is the label slot: 16px line + 10px margin. */
.bars { position: relative; display: flex; align-items: flex-end; gap: calc(var(--u) * 10); height: calc(var(--u) * 190); padding-bottom: 26px; box-sizing: border-box; }
.bars .col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bars .col i {
  display: block; width: 100%; border-radius: calc(var(--u) * 3);
  background: linear-gradient(to top, rgba(76, 141, 255, 0.25), rgba(76, 141, 255, 0.65));
  transform-origin: bottom; transform: scaleY(0);
}
.bars .col.hot i { background: linear-gradient(to top, rgba(76, 141, 255, 0.5), var(--accent)); box-shadow: 0 0 calc(var(--u) * 18) rgba(76, 141, 255, 0.35); }
.bars .col span { position: absolute; top: 100%; left: 0; right: 0; font-family: var(--font-fragment-mono), monospace; font-size: 12px; line-height: 16px; color: var(--foreground-dim); text-align: center; margin-top: 10px; }

/* trend curve over the bars */
.spark { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.spark .spark-line { fill: none; stroke: #2563eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark .spark-flow { fill: none; stroke: #1035b8; stroke-width: 3; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.7)); }
.spark .spark-dot { fill: #1d4ed8; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .spark .spark-flow { display: none; } }
.dash-side { padding: calc(var(--u) * 26) calc(var(--u) * 28); display: flex; flex-direction: column; gap: calc(var(--u) * 18); }
.metric { border-bottom: 1px solid rgba(10, 11, 13, 0.06); padding-bottom: calc(var(--u) * 16); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric .k { font-family: var(--font-fragment-mono), monospace; font-size: 13px; line-height: 18px; color: var(--foreground-dim); }
.metric .v { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -1px; }
.metric .v small { font-size: 14px; letter-spacing: 0; color: var(--foreground-muted); font-weight: 400; margin-left: 6px; }
@media (width <= 900px) {
  #scale, #signals, #proof, #pricing { padding-left: calc(var(--u) * 40); padding-right: calc(var(--u) * 40); }
  .dash-body { grid-template-columns: 1fr; }
  .dash-chart { border-right: 0; border-bottom: 1px solid rgba(10, 11, 13, 0.07); }
  .dash-side { flex-direction: row; flex-wrap: wrap; }
  .metric { flex: 1 1 40%; }
}
@media (width <= 580px) {
  #scale, #signals, #proof, #pricing { padding-left: calc(var(--u) * 20); padding-right: calc(var(--u) * 20); }
  #signals { padding-bottom: calc(var(--u) * 48); }
  .bars { height: calc(var(--u) * 130); gap: 6px; }
  .metric .v { font-size: 22px; line-height: 28px; }
}

/* ============================================================
   08 PROOF
   ============================================================ */
#proof { position: relative; padding: 0 calc(var(--u) * 80) calc(var(--u) * 96); }
.stats { display: flex; border-top: 1px solid rgba(10, 11, 13, 0.09); border-bottom: 1px solid rgba(10, 11, 13, 0.09); }
.stat { flex: 1; padding: calc(var(--u) * 40) calc(var(--u) * 32); border-left: 1px solid rgba(10, 11, 13, 0.09); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -2px; background-image: linear-gradient(to bottom, #fff, #9fb0c4); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat .n em { font-family: var(--font-instrument-serif), serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.stat .k { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); margin-top: 8px; }
.quote { display: flex; align-items: flex-start; gap: calc(var(--u) * 32); padding-top: calc(var(--u) * 48); }
.quote blockquote { font-size: 24px; line-height: 34px; font-weight: 400; letter-spacing: -0.5px; max-width: calc(var(--u) * 760); }
.quote .who { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); padding-top: 6px; }
@media (width <= 900px) {
  .stats { flex-direction: column; }
  .stat { border-left: 0; border-top: 1px solid rgba(10, 11, 13, 0.09); padding: calc(var(--u) * 24) 0; }
  .stat:first-child { border-top: 0; }
  .stat .n { font-size: 40px; line-height: 48px; }
  .quote { flex-direction: column; gap: 12px; }
  .quote blockquote { font-size: 18px; line-height: 26px; }
}
@media (width <= 580px) {
  #proof { padding-bottom: calc(var(--u) * 48); }
}

/* ============================================================
   09 PRICING
   ============================================================ */
#pricing { position: relative; padding: 0 calc(var(--u) * 80) calc(var(--u) * 96); }
/* Section inset used to be a bare `80u`, which stops scaling once the root
   font-size hits its 16px cap (that is why #pricing was 230px wide on a 390px
   phone while #product sat at 350px). One ladder for every section now. */
:root { --sec-inset: calc(var(--u) * 80); }
@media (width <= 1200px) { :root { --sec-inset: calc(var(--u) * 48); } }
@media (width <= 900px)  { :root { --sec-inset: calc(var(--u) * 32); } }
@media (width <= 580px)  { :root { --sec-inset: calc(var(--u) * 20); } }
#scale, #signals, #proof, #pricing, #start {
  position: relative;
  padding-left: var(--sec-inset);
  padding-right: var(--sec-inset);
}

/* 留资 + 常见问题 merged into one block: form left, questions right.
   Stacks into a single column at <=900px, same as every other section head. */
/* The two heads share one grid row (subgrid) so both columns start at the
   same height regardless of how many lines each lede needs -- the English
   left column wraps to three lines and used to push the form 62px down. */
.cf-grid { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); column-gap: calc(var(--u) * 80); grid-template-rows: auto auto; align-items: start; }
.cf-col { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 2; min-width: 0; row-gap: 0; }
.cf-head { display: flex; flex-direction: column; gap: calc(var(--u) * 16); margin-bottom: calc(var(--u) * 40); }
/* Same title-to-lede gap as the stacked .sec-head (16 + 10 = 26). */
.cf-head .sec-aside { width: auto; max-width: none; margin: calc(var(--u) * 10) 0 0; }
.cf-col .lead-form { max-width: none; margin: 0; }
.cf-col .faq-list { max-width: none; margin: 0; }
/* Slightly tighter FAQ rows so the narrower column still reads as a list. */
.cf-col .faq-list details { padding: 15px 18px; border-radius: 12px; }
.cf-col .faq-list summary { font-size: 17px; line-height: 26px; }
#faq { scroll-margin-top: var(--anchor-offset); }
@media (width <= 900px) {
  /* Back to normal flow: subgrid rows only make sense in the two-column form. */
  .cf-grid { display: block; }
  .cf-col { display: block; grid-row: auto; }
  .cf-col + .cf-col { margin-top: calc(var(--u) * 64); }
  .cf-head { align-items: center; text-align: center; }
  .cf-head .sec-aside { max-width: 46ch; }
}

/* In-page anchors used to land with the heading under the fixed header
   (#start / #faq were 24px short at 1440). Offset by nav height + breathing
   room, matching the three nav breakpoints. */
:root { --anchor-offset: 88px; }
@media (width <= 900px) { :root { --anchor-offset: 80px; } }
@media (width <= 580px) { :root { --anchor-offset: 72px; } }
section[id] { scroll-margin-top: var(--anchor-offset); }
.price-card {
  position: relative; border-radius: calc(var(--u) * 32); overflow: clip;
  border: 1px solid rgba(10, 11, 13, 0.1);
  background:
    radial-gradient(120% 130% at 12% 0%, rgba(76, 141, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(20, 23, 28, 0.9), rgba(10, 11, 12, 0.92));
  padding: calc(var(--u) * 48);
}
.price-top { display: flex; align-items: flex-end; justify-content: space-between; gap: calc(var(--u) * 40); }
.price-now { display: flex; align-items: baseline; gap: 10px; }
.price-now .cur { font-size: 26px; line-height: 32px; color: var(--foreground-muted); }
.price-now .amt { font-size: 76px; line-height: 82px; font-weight: 600; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
.price-now .per { font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 20px; color: var(--foreground-dim); }
.price-meta { text-align: right; font-family: var(--font-fragment-mono), monospace; font-size: 14px; line-height: 22px; color: var(--foreground-muted); }
.price-meta b { color: var(--accent); font-weight: 400; }
.meter { margin-top: calc(var(--u) * 44); position: relative; padding-top: calc(var(--u) * 18); touch-action: none; user-select: none; }
.meter-track { position: relative; height: 3px; border-radius: 2px; background: rgba(10, 11, 13, 0.1); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: linear-gradient(to right, rgba(76, 141, 255, 0.45), var(--accent)); }
.meter-knob {
  position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--accent); border: 4px solid #0a0b0d; box-shadow: 0 0 0 1px rgba(76, 141, 255, 0.5), 0 6px 18px rgba(0, 0, 0, 0.6);
  cursor: grab;
}
.meter-knob:active { cursor: grabbing; }
.meter-scale { display: flex; justify-content: space-between; margin-top: calc(var(--u) * 16); font-family: var(--font-fragment-mono), monospace; font-size: 13px; line-height: 18px; color: var(--foreground-dim); }
.price-grid { display: flex; gap: calc(var(--u) * 24); margin-top: calc(var(--u) * 40); border-top: 1px solid rgba(10, 11, 13, 0.09); padding-top: calc(var(--u) * 32); }
.price-col { flex: 1; }
.price-col .k { font-family: var(--font-fragment-mono), monospace; font-size: 13px; line-height: 18px; color: var(--foreground-dim); }
.price-col .v { margin-top: 6px; font-size: var(--type-body); line-height: var(--line-body); color: var(--foreground); }
.price-col .v small { color: var(--foreground-muted); font-size: 14px; }
.price-cta { display: flex; align-items: center; gap: 16px; margin-top: calc(var(--u) * 40); }
.price-cta .fine { font-family: var(--font-fragment-mono), monospace; font-size: 13px; line-height: 20px; color: var(--foreground-dim); }
@media (width <= 900px) {
  .price-card { padding: calc(var(--u) * 28); border-radius: calc(var(--u) * 24); }
  .price-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .price-meta { text-align: left; }
  .price-now .amt { font-size: 54px; line-height: 60px; }
  .price-grid { flex-direction: column; gap: 18px; }
}
@media (width <= 580px) {
  #pricing { padding-bottom: calc(var(--u) * 48); }
  .price-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
.win { background: rgba(255, 255, 255, 0.46); }
.node { background: rgba(255, 255, 255, 0.62); border-color: rgba(10, 11, 13, 0.1); box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(16, 24, 40, 0.12); }
.node.hot { box-shadow: 0 0 calc(var(--u) * 16) 0 rgba(47, 107, 255, 0.18), 0 calc(var(--u) * 10) calc(var(--u) * 22) calc(var(--u) * -4) rgba(16, 24, 40, 0.14); }
.waitchip, .branchlbl { background: rgba(255, 255, 255, 0.74); border-color: rgba(10, 11, 13, 0.12); }
.tool { border-color: rgba(10, 11, 13, 0.1); background: rgba(10, 11, 13, 0.04); }
.tool.on { border-color: rgba(10, 11, 13, 0.2); background: rgba(47, 107, 255, 0.1); }
.zoom { border-color: rgba(10, 11, 13, 0.12); background: rgba(255, 255, 255, 0.6); }
.status { background: rgba(255, 255, 255, 0.9); }
.panel, .dash { background: rgba(255, 255, 255, 0.58); border-color: rgba(10, 11, 13, 0.09); }
.card { background: rgba(255, 255, 255, 0.58); border-color: rgba(10, 11, 13, 0.09); }
.card .rule { background: rgba(10, 11, 13, 0.08); }
.card .srule { background: rgba(10, 11, 13, 0.05); }
.mini.hold { background: #ffffff; }
.meter-knob { border-color: #ffffff; box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.5), 0 6px 18px rgba(16, 24, 40, 0.18); }
.price-card {
  background:
    radial-gradient(120% 130% at 12% 0%, rgba(47, 107, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff, #f2f6fe);
  border-color: rgba(10, 11, 13, 0.1);
  box-shadow: 0 1.5rem 3.5rem -2rem rgba(16, 24, 40, 0.22);
}
.pre-stage { background: #f6f7fa; }
.bd-light { background: linear-gradient(to bottom, rgba(47, 107, 255, 0.07), transparent); }
.dots { background-image: none; }
.bd-field { background-image: none; }
.rt-tile::after { background: rgba(47, 107, 255, 0.75); }
.ig-tile .active {
  border-color: rgba(47, 107, 255, 0.55);
  background: linear-gradient(to bottom, #3f7dff, #2f6bff);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.28), 0 0 0 3px rgba(47, 107, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
}
.logo-mark { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.logo-mark::after { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), transparent); }
/* 56px 的中文方块字上，纵向渐变会在笔画底部褪成灰（原来的 #6b7a8f 已经接近说明文字的颜色），
   加粗后更明显。和上面的 .sec-title 一样走实色墨。 */
.stat .n { background-image: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--foreground); -webkit-text-fill-color: currentColor; }
.flight .cover { background: none; }
.cta { filter: drop-shadow(var(--elevation-cta)); }
.glass-btn { box-shadow: 0 0.5rem 1.375rem -0.25rem rgba(16, 24, 40, 0.1); }
/* Section eyebrows kept the dark-theme shadow (50% black, 8px offset), which on a
   light page smears a gray halo the size of the pill. Rebuilt as a pressed chip:
   top-lit fill + hairline + contact shadow + inner top highlight, no halo. */
.badge {
  background-image: linear-gradient(to bottom, #ffffff, var(--surface-badge));
  border-color: rgba(16, 24, 40, 0.09);
  box-shadow:
    0 1px 1px rgba(16, 24, 40, 0.05),
    0 2px 5px -2px rgba(16, 24, 40, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(16, 24, 40, 0.035);
}
/* Same leftover shadow on the mock-window action buttons. */
.mini { box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 10px -6px rgba(16, 24, 40, 0.2); }
.mini.ok { box-shadow: 0 1px 2px rgba(31, 79, 216, 0.22), 0 6px 14px -8px rgba(47, 107, 255, 0.5); color: #ffffff; }
.nav-card { box-shadow: 0 1.5rem 3rem -1rem rgba(16, 24, 40, 0.22); }
.sec-aside, .copy p, .hero-sub { color: var(--foreground-muted); }
#stream { mix-blend-mode: multiply; opacity: 0.95; }
.slab-wrap::before { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); }

/* light theme — readability pass */
.st-kicker { color: rgba(10, 11, 13, 0.8); }
.st-cap { color: rgba(10, 11, 13, 0.72); }
.st-hours li { color: rgba(10, 11, 13, 0.8); }
.st-stem { background: linear-gradient(to bottom, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.28)); }
.st-dot .ring { border-color: rgba(10, 11, 13, 0.65); }
.cube .body { background: rgba(10, 11, 13, 0.035); box-shadow: inset 0 0 0 1px rgba(10, 11, 13, 0.07); }
.cube:first-child .body { background: rgba(43, 108, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(43, 108, 255, 0.2); }
.cube .cap { background: #2f6bff; }
.cube:not(:first-child) .cap { background: rgba(10, 11, 13, 0.22); }

.cta { color: #ffffff; filter: drop-shadow(0 0.5rem 0.9rem rgba(47, 107, 255, 0.3)); }

/* Compact reading rhythm: keep the fold, remove unused fixed-height tails. */
:root { --section-gap: 2.5rem; }
#product { height: auto; padding-top: 3.5rem; padding-bottom: 3rem; }
#product > * { flex-shrink: 0; }
.feat { padding-top: 2rem; padding-bottom: 2rem; }
.lo-wrap { height: calc(var(--u) * 712); }
@media (width <= 1200px) { :root { --section-gap: 2rem; } .lo-wrap { height: calc(var(--u) * 688); } }
@media (width <= 900px) { #product { padding-top: 2.5rem; padding-bottom: 2rem; } }
@media (width <= 580px) { :root { --section-gap: 1.5rem; } .lo-wrap { height: calc(var(--u) * 499); } }
@media (prefers-reduced-motion: reduce) { .lo-wrap { height: auto; } }

/* statement on blue — white type for contrast */
#statement { color: #ffffff; }
.st-title { color: #ffffff; }
.st-kicker, .st-cap { color: rgba(255, 255, 255, 0.84); }
.st-hours li { color: rgba(255, 255, 255, 0.84); }
.st-now { color: #ffffff; }
.st-stem { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.25)); }
.st-dot .core { background: #ffffff; box-shadow: inset 0 0 0 2px rgba(10, 11, 13, 0.25); }
.st-dot .ring { border-color: rgba(255, 255, 255, 0.75); }
.st-ruler { color: #ffffff; }
.st-dots { display: none; background-image: none; }

/* FAQ --------------------------------------------------------------- */
.faq-list { max-width: 900px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { border: 1px solid var(--border-glass); border-radius: 14px; background: var(--glass-slab); -webkit-backdrop-filter: blur(var(--nav-blur)); backdrop-filter: blur(var(--nav-blur)); padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--foreground); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--accent); font-size: 22px; line-height: 28px; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list p { margin: 14px 0 0; color: var(--foreground-muted); font-size: var(--type-body); line-height: 1.6; }
@media (width <= 768px) { .faq-list { margin-top: 28px; } .faq-list details { padding: 14px 16px; } .faq-list summary { font-size: 16px; line-height: 24px; } .faq-list p { font-size: var(--type-body); } }


/* Haxfer brand + Chinese typography -------------------------------- */
.brand-wordmark { height: calc(var(--u) * 60); width: auto; display: block; }
@media (width <= 900px) { .brand-wordmark { height: calc(var(--u) * 46); } }
@media (width <= 580px) { .brand-wordmark { height: calc(var(--u) * 40); } }
/* Footer mark stays smaller than the nav mark. */
.mark-glyph { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; object-fit: contain; }
.display-title em, .st-title em, .stat .n em { font-style: normal; }
/* Latin-tight tracking makes CJK glyphs collide; reset for Chinese type. */
:root { --letter-spacing-title: 0; }
.st-title { letter-spacing: 0; }
/* 中文的 em 不押衬线：Songti 这套栈在 Windows 落到宋体，只有 400 一档，
   和 56px 的 Inter 600 差两档，三个词被劈成两种字面。同族同重，整词一起读。 */
html[lang="zh-CN"] .stat .n em { font-family: inherit; font-weight: inherit; }
/* -2px 的拉丁字距压到 CJK 上，"找客""做报"会贴住，中文标题放开。 */
html[lang="zh-CN"] .stat .n { letter-spacing: 0; }
/* 英文的标签词保留轻读，但别掉进衬线栈（本机装了 Noto Serif SC，会和 Inter 数字打架）。 */
html[lang="en"] .stat .n em { font-family: inherit; font-weight: 400; }

/* TYPOGRAPHY_MOBILE_NODE_FIX */
@media (width <= 580px) {
  .node .s, html[lang="en"] .node .s { font-size: 11px; line-height: 17px; letter-spacing: -0.01em; }
}


/* HERO_TITLE — same type as the content pages (.p-title):
   Inter, solid ink, brand-blue accent. Replaces the earlier poster
   treatment (serif front + gradient clip + grey accent) so the landing
   hero and the inner pages read as one family. */
#hero h1 {
  font-family: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: -0.028em;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--foreground);
  -webkit-text-fill-color: currentColor;
}
#hero h1 em {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
}
html[lang="en"] #hero h1 { font-style: normal; font-weight: 800; }
html[lang="en"] #hero h1 em { font-size: inherit; font-style: normal; font-weight: inherit; }

/* Section titles (「把每一步，接得上」 etc.) drop the gradient clip and the
   serif accent for the same ink + brand-blue pairing as the hero and the
   content pages. Sizes stay on the existing --type-section-title ladder. */
.sec-title {
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--foreground);
  -webkit-text-fill-color: currentColor;
}
html[lang="en"] .sec-title { font-weight: 750; }
.sec-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
}

/* ------------------------------------------------------------
   GROWTH CHAIN  (04)
   Seven acquisition capabilities, drawn as one rail: the point is
   that they sit on the same system, before the deal half.
   ------------------------------------------------------------ */
#growth { position: relative; padding: 3.5rem var(--sec-inset) 3rem; }
@media (width <= 900px) { #growth { padding-top: 2.5rem; padding-bottom: 2rem; } }
.gchain {
  list-style: none; margin: calc(var(--u) * 8) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: calc(var(--u) * 24);
}
.gstep {
  position: relative; padding-top: calc(var(--u) * 26);
  border-top: 1px solid var(--raw-color-white-a16);
  /* scaling from the top-left corner keeps the rail start pinned, so the dot's
     travel stays a plain multiple of its translate distance */
  transform-origin: 0 0;
}
/* Node dot on the rail. ::before is the no-JS fallback; once the relay loop
   has built a real element per step (data-dots) it takes over, because a real
   node can be moved with transform/opacity alone - see home.js. */
.gstep::before, .gdot {
  content: ""; position: absolute; top: calc(var(--u) * -3.5); left: 0;
  width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%;
  background: var(--accent);
}
.gchain[data-dots] .gstep::before { display: none; }
.gdot { pointer-events: none; }
.gnum {
  display: block; margin-bottom: calc(var(--u) * 12);
  font-family: var(--font-fragment-mono);
  font-size: 12px; line-height: 1; letter-spacing: 0.08em;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
/* Reading text is pinned in px, not --u. The poster grid scales --u up to
   1.33x on wide viewports, so these two lines used to run 18.7px while the nav
   and every other paragraph stayed at 14px - the block looked like it grew
   when the window got wider. Titles may scale; text does not. */
.gstep h3 {
  margin: 0 0 calc(var(--u) * 8);
  font-family: var(--font-inter), "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px; line-height: 1.35; font-weight: 600;
  letter-spacing: -0.012em; color: var(--foreground);
}
.gstep p {
  margin: 0; font-size: var(--type-body); line-height: 1.75;
  color: var(--foreground-muted);
}

/* Each step grows in on its own as it reaches the viewport. The rule, the node
   dot and the copy live in the same box, so scaling the whole <li> keeps them
   together instead of leaving the rail behind. transform-origin is the top-left
   corner: the dot and the line start there, and growing rightwards reads as the
   step extending along the rail rather than blooming out of its centre. */
.gstep.is-pending { opacity: 0; }
.gstep.is-in {
  transform-origin: 0 0;
  animation: gstep-grow .62s var(--ease-entrance) both;
  animation-delay: var(--g-delay, 0ms);
}
@keyframes gstep-grow {
  from { opacity: 0; transform: translate3d(0, calc(var(--u) * 18), 0) scale(.93); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gstep.is-pending { opacity: 1; }
  .gstep.is-in { animation: none; }
}

@media (width <= 1400px) {
  .gchain { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--u) * 32); }
}
@media (width <= 900px) {
  .gchain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Seven steps in two columns leave a lone tile on the last row, so the
     seventh drops once the rail stops being a single row. The relay loop
     still walks all seven slots; the hidden one is last, so its turn only
     reads as a slightly longer rest at the end of the lap. */
  .gstep.g-hide-900 { display: none; }
}
@media (width <= 580px) {
  .gchain { grid-template-columns: 1fr; gap: calc(var(--u) * 24); }
  .gstep { padding-top: calc(var(--u) * 20); }
}

/* ------------------------------------------------------------
   Disabled CTA
   The lead endpoint is not connected yet. The hover sweep is also
   gated in JS (disabled buttons skip it), so this only has to
   stop it reading as clickable.
   ------------------------------------------------------------ */
.pill[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  filter: none;
}
.pill[disabled] .chev { opacity: 0.4; }

/* ============================================================
   STATEMENT — wiring panel（接线区重做）
   追加在文件末尾，同优先级下覆盖上面的旧坐标
   ============================================================ */
#statement .st-mark { left: calc(var(--u) * 670); top: calc(var(--u) * 300); width: calc(var(--u) * 100); height: calc(var(--u) * 100); z-index: 3; }
#statement .st-mark .mark-tile { border-radius: calc(var(--u) * 26); }
#statement .st-stem { left: calc(var(--u) * 720); top: calc(var(--u) * 400); height: calc(var(--u) * 93); }

.st-title { font-size: 40px; line-height: 58px; letter-spacing: -1px; }
.st-title em { font-size: 58px; }

.st-lede {
  position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 250);
  width: calc(var(--u) * 1280); margin: 0; text-align: center;
  font-size: 15px; line-height: 26px; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.66);
}

/* --- 接线区 --- */
.st-rig {
  position: absolute; left: calc(var(--u) * 80); top: calc(var(--u) * 284);
  width: calc(var(--u) * 1280); height: calc(var(--u) * 132);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
/* 上下两条渐隐细线，把这块界定成一条面板 */
.st-rig::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--u) * 4); bottom: calc(var(--u) * 4);
  width: calc(var(--u) * 760); transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}
.st-rig::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: calc(var(--u) * 720); height: calc(var(--u) * 132);
  transform: translate(-50%, -50%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.105) 1px, rgba(255, 255, 255, 0) 1px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(72% 128% at 50% 50%, #000 40%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(72% 128% at 50% 50%, #000 40%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.st-rig .ports {
  position: relative; z-index: 1;
  width: calc(var(--u) * 236); height: calc(var(--u) * 100);
  display: flex; flex-direction: column; justify-content: space-between;
}
.st-rig .rig-gap { position: relative; z-index: 1; width: calc(var(--u) * 100); flex: 0 0 auto; }
.st-rig .wport { display: flex; align-items: center; height: calc(var(--u) * 18); }

.st-rig .lbl {
  font-size: 12px; line-height: 16px; letter-spacing: 0.1em; white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border-radius: 5px; padding: 2px 9px;
  min-width: 44px; text-align: center; flex: 0 0 auto;
}
.st-rig .dot-mark {
  display: block; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.7); flex: 0 0 auto;
}
.st-rig .ports.left .dot-mark { margin: 0 10px 0 8px; }
.st-rig .ports.right .dot-mark { margin: 0 8px 0 10px; }
.st-rig .wire {
  display: block; flex: 1; height: 1px; transform: scaleX(0);
  transition: transform 0.62s cubic-bezier(0.22, 0.7, 0.24, 1);
}
.st-rig .ports.left .wire {
  background: linear-gradient(to left, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.2));
  transform-origin: right center;
}
.st-rig .ports.right .wire {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.2));
  transform-origin: left center;
}
.st-rig .terminal {
  display: block; width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
}
.st-rig .wport:nth-child(1) { --d: 0.5s; }
.st-rig .wport:nth-child(2) { --d: 0.62s; }
.st-rig .wport:nth-child(3) { --d: 0.74s; }
.st-rig .wport .lbl { opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; }
.st-rig .ports.left .lbl { transform: translateX(5px); }
.st-rig .ports.right .lbl { transform: translateX(-5px); }
.st-rig .wport .dot-mark,
.st-rig .wport .terminal { opacity: 0; transition: opacity 0.4s ease; }

/* 进入视口后依次拉线 */
.lo-wrap[data-open="true"] .st-rig .wire { transform: scaleX(1); transition-delay: var(--d, 0s); }
.lo-wrap[data-open="true"] .st-rig .terminal { opacity: 1; transition-delay: calc(var(--d, 0s) + 0.1s); }
.lo-wrap[data-open="true"] .st-rig .dot-mark { opacity: 1; transition-delay: calc(var(--d, 0s) + 0.1s); }
.lo-wrap[data-open="true"] .st-rig .lbl { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + 0.16s); }

@media (width <= 1200px) {
  .st-title { font-size: 34px; line-height: 50px; }
  .st-title em { font-size: 46px; }
  .st-lede { left: calc(var(--u) * 48); width: calc(var(--u) * 928); top: calc(var(--u) * 190); font-size: 14px; line-height: 24px; }
  .st-rig { left: calc(var(--u) * 48); top: calc(var(--u) * 222); width: calc(var(--u) * 928); height: calc(var(--u) * 136); }
  .st-rig::before { width: calc(var(--u) * 560); height: calc(var(--u) * 136); }
  .st-rig::after { width: calc(var(--u) * 600); }
  .st-rig .ports { width: calc(var(--u) * 196); height: calc(var(--u) * 84); }
  .st-rig .rig-gap { width: calc(var(--u) * 84); }
  #statement .st-mark { left: calc(var(--u) * 470); top: calc(var(--u) * 242); width: calc(var(--u) * 84); height: calc(var(--u) * 84); }
  #statement .st-stem { left: calc(var(--u) * 512); top: calc(var(--u) * 326); height: calc(var(--u) * 118); }
}
@media (width <= 900px) {
  .st-title { font-size: 28px; line-height: 42px; }
  .st-title em { font-size: 38px; }
  .st-lede { left: calc(var(--u) * 40); width: calc(var(--u) * 688); top: calc(var(--u) * 162); font-size: 13px; line-height: 22px; }
  .st-rig { left: calc(var(--u) * 40); top: calc(var(--u) * 192); width: calc(var(--u) * 688); height: calc(var(--u) * 124); }
  .st-rig::before { width: calc(var(--u) * 420); height: calc(var(--u) * 124); }
  .st-rig::after { width: calc(var(--u) * 440); }
  .st-rig .ports { width: calc(var(--u) * 150); height: calc(var(--u) * 72); }
  .st-rig .rig-gap { width: calc(var(--u) * 72); }
  .st-rig .lbl { font-size: 11px; min-width: 40px; padding: 1px 7px; }
  #statement .st-mark { left: calc(var(--u) * 348); top: calc(var(--u) * 210); width: calc(var(--u) * 72); height: calc(var(--u) * 72); }
  #statement .st-stem { left: calc(var(--u) * 384); top: calc(var(--u) * 282); height: calc(var(--u) * 162); }
}
@media (width <= 580px) {
  .st-title { font-size: 24px; line-height: 34px; }
  .st-title em { font-size: 30px; }
  .st-lede { left: calc(var(--u) * 20); width: calc(var(--u) * 350); top: calc(var(--u) * 128); font-size: 11.5px; line-height: 20px; }
  .st-rig { left: calc(var(--u) * 12); top: calc(var(--u) * 158); width: calc(var(--u) * 366); height: calc(var(--u) * 116); }
  .st-rig::before { width: calc(var(--u) * 330); height: calc(var(--u) * 116); background-size: 12px 12px; }
  .st-rig::after { width: calc(var(--u) * 300); }
  .st-rig .ports { width: calc(var(--u) * 118); height: calc(var(--u) * 64); }
  .st-rig .rig-gap { width: calc(var(--u) * 64); }
  .st-rig .wport { height: calc(var(--u) * 15); }
  .st-rig .lbl { font-size: 10px; min-width: 34px; padding: 1px 5px; letter-spacing: 0.04em; }
  .st-rig .ports.left .dot-mark { margin: 0 5px 0 4px; }
  .st-rig .ports.right .dot-mark { margin: 0 4px 0 5px; }
  .st-rig .terminal { width: 5px; height: 5px; }
  #statement .st-mark { left: calc(var(--u) * 163); top: calc(var(--u) * 172); width: calc(var(--u) * 64); height: calc(var(--u) * 64); }
  #statement .st-stem { left: calc(var(--u) * 195); top: calc(var(--u) * 236); height: calc(var(--u) * 62); }
}
/* 标题强制两行（原站 .ln 无 display 规则，一直是一行） */
.st-title .ln { display: block; }
.st-title .ln + .ln { margin-top: 2px; }
/* 「现在」并入时间标签行（原在轴上方，会被抬高的刻度穿过） */
#statement .st-now { top: calc(var(--u) * 508); left: calc(var(--u) * 690); width: calc(var(--u) * 60); font-size: 14px; }
@media (width <= 1200px) { #statement .st-now { top: calc(var(--u) * 476); left: calc(var(--u) * 482); } }
@media (width <= 900px) { #statement .st-now { top: calc(var(--u) * 468); left: calc(var(--u) * 371); } }
@media (width <= 580px) { #statement .st-now { top: calc(var(--u) * 331); left: calc(var(--u) * 182); } }
/* 时间轴刻度改用 DOM + height 驱动（原 SVG path 的 scaleY 在该元素上不生效） */
#statement .st-ruler {
  left: calc(var(--u) * 79); top: calc(var(--u) * 484);
  width: calc(var(--u) * 1282); height: 20px;
  display: flex; align-items: flex-end; justify-content: space-between;
  overflow: visible; color: #ffffff;
}
#statement .st-ruler .tick {
  display: block; flex: 0 0 1px; width: 1px; background: currentColor;
}
/* 轴左上角的「一条记录」去掉，信息由标签行承担 */
#statement .st-cap { display: none; }
/* 时间标签改用百分比定位（原来写死 --u 值，窄屏会跑到内容区外） */
#statement .st-hours { left: calc(var(--u) * 80); width: calc(var(--u) * 1280); }
#statement .st-hours li { position: absolute; transform: translateX(-50%); white-space: nowrap; }
#statement .st-hours li:nth-child(1) { left: 0; transform: none; }
#statement .st-hours li:nth-child(2) { left: 25%; }
#statement .st-hours li:nth-child(3) { left: 75%; }
#statement .st-hours li:nth-child(4) { left: 100%; transform: translateX(-100%); }
@media (width <= 1200px) { #statement .st-hours { left: calc(var(--u) * 48); width: calc(var(--u) * 928); } }
@media (width <= 900px)  { #statement .st-hours { left: calc(var(--u) * 40); width: calc(var(--u) * 688); } }
@media (width <= 580px)  { #statement .st-hours { left: calc(var(--u) * 20); width: calc(var(--u) * 350); } }
/* 刻度尺在各断点回到原来的纵向位置（新规则特异度更高，必须显式覆盖） */
@media (width <= 1200px) { #statement .st-ruler { left: calc(var(--u) * 47); top: calc(var(--u) * 448); } }
@media (width <= 900px)  { #statement .st-ruler { left: calc(var(--u) * 39); top: calc(var(--u) * 442); } }
@media (width <= 580px)  { #statement .st-ruler { left: calc(var(--u) * 19); top: calc(var(--u) * 301); }
  #statement .st-hours li:nth-child(2), #statement .st-hours li:nth-child(3) { display: none; } }
/* 英文标签更长，统一最小宽度，否则三条线的起点会错开 */
html[lang="en"] .st-rig .lbl { min-width: 84px; }
html[lang="en"] .st-title em { margin-right: 0; }
#statement .st-title em { margin-right: 0; }
/* 去掉接线区的点阵底纹 */
#statement .st-rig::before { display: none; }
/* 标题层级对齐效果图：第一行细一档并压到 82% 白，重音行 800 纯白 */
#statement .st-title { line-height: 54px; }
#statement .st-title .ln:first-child { color: rgba(255, 255, 255, 0.82); }
#statement .st-title em { line-height: 1.06; color: #ffffff; }
html[lang="en"] #statement .st-title { font-weight: 750; }
#statement .st-title em {
  font-family: inherit; font-style: normal; font-weight: 800;
}
/* 面板高度对齐效果图（原 552，底部留白偏少，内容显得挤） */
/* 纵向节奏按效果图重排（原 552 高、内容偏下，底部只余 24） */
#statement { height: calc(var(--u) * 648); }
#statement .st-kicker { top: calc(var(--u) * 80); }
#statement .st-title { top: calc(var(--u) * 96); }
#statement .st-lede { top: calc(var(--u) * 226); }
#statement .st-rig { top: calc(var(--u) * 250); height: calc(var(--u) * 212); }
#statement .st-rig::before { height: calc(var(--u) * 212); }
#statement .st-mark { top: calc(var(--u) * 306); }
#statement .st-stem { top: calc(var(--u) * 406); height: calc(var(--u) * 87); }
#statement .st-hours li { color: rgba(255, 255, 255, 0.84); }
@media (width <= 1200px) {
  #statement { height: calc(var(--u) * 600); }
  #statement .st-kicker { top: calc(var(--u) * 56); }
  #statement .st-title { top: calc(var(--u) * 72); }
  #statement .st-lede { top: calc(var(--u) * 196); }
  #statement .st-rig { top: calc(var(--u) * 220); height: calc(var(--u) * 184); }
  #statement .st-mark { top: calc(var(--u) * 268); }
  #statement .st-stem { top: calc(var(--u) * 352); height: calc(var(--u) * 84); }
}
@media (width <= 900px) {
  #statement { height: calc(var(--u) * 520); }
  #statement .st-kicker { top: calc(var(--u) * 40); }
  #statement .st-title { top: calc(var(--u) * 56); }
  #statement .st-lede { top: calc(var(--u) * 168); }
  #statement .st-rig { top: calc(var(--u) * 190); height: calc(var(--u) * 160); }
  #statement .st-mark { top: calc(var(--u) * 234); }
  #statement .st-stem { top: calc(var(--u) * 306); height: calc(var(--u) * 126); }
}
@media (width <= 580px) {
  #statement { height: calc(var(--u) * 420); }
  #statement .st-lede { top: calc(var(--u) * 132); }
  #statement .st-rig { top: calc(var(--u) * 156); height: calc(var(--u) * 130); }
  #statement .st-mark { top: calc(var(--u) * 189); }
  #statement .st-stem { top: calc(var(--u) * 253); height: calc(var(--u) * 42); }
}
/* 面板细线往里收，避免压到副标题 */
#statement .st-rig::after { top: calc(var(--u) * 16); bottom: calc(var(--u) * 16); }
/* 580 断点重排（标题两行需 90+ 高度，lede 必须落在 150 之后） */
@media (width <= 580px) {
  #statement .st-lede { top: calc(var(--u) * 150); }
  #statement .st-rig { top: calc(var(--u) * 196); height: calc(var(--u) * 104); }
  #statement .st-rig::before { height: calc(var(--u) * 104); }
  #statement .st-mark { top: calc(var(--u) * 216); width: calc(var(--u) * 64); height: calc(var(--u) * 64); }
  #statement .st-stem { top: calc(var(--u) * 280); height: calc(var(--u) * 18); }
  #statement .st-rig::after { top: calc(var(--u) * 8); bottom: calc(var(--u) * 8); }
}
@media (width <= 580px) {
  #statement .st-title { top: calc(var(--u) * 56); }
  #statement .st-lede { top: calc(var(--u) * 162); }
  #statement .st-rig { top: calc(var(--u) * 208); }
  #statement .st-mark { top: calc(var(--u) * 228); }
  #statement .st-stem { top: calc(var(--u) * 292); height: calc(var(--u) * 10); }
}
@media (width <= 580px) {
  #statement .st-lede { top: calc(var(--u) * 172); }
  #statement .st-rig { top: calc(var(--u) * 218); height: calc(var(--u) * 82); }
  #statement .st-rig::before { height: calc(var(--u) * 82); }
  #statement .st-mark { top: calc(var(--u) * 227); }
  #statement .st-stem { top: calc(var(--u) * 291); height: calc(var(--u) * 10); }
  #statement .st-rig .ports { height: calc(var(--u) * 64); }
}
/* 末尾全角标点右侧留白导致墨迹偏左，用 text-indent 补偿使视觉居中。
   text-align: center 下补偿量只生效一半，所以数值是实测偏差的两倍。
   text-indent 会被 inline-block 的 .w 继承，于是每个词块自己又缩进一次，
   中文会变成「把 分散的 工作，」这种莫名其妙的词间空格 —— 词块内部必须清零。
   英文的逗号没有全角留白，不需要补偿。 */
#statement .st-title .w { text-indent: 0; }
html[lang="zh-CN"] #statement .st-title .ln:first-child { text-indent: 0.65em; }
html[lang="zh-CN"] #statement .st-title .ln + .ln { text-indent: 0.31em; }
html[lang="zh-CN"] #statement .st-lede { text-indent: 0.77em; }
/* 基础规则里 em 有 margin-right:.16em，中文标点前会空出一截 */
#statement .st-title em { margin-right: 0; }
