@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans SC"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("fonts/noto-sans-sc-subset.woff2") format("woff2-variations"); }
@font-face { font-family: "Long Cang"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/long-cang-slogan.woff2") format("woff2"); }
/* DigitSpace theme tokens for the static site. Generated by portal/src/astryx_tokens.mjs from the Astryx theme; do not edit. */
:root {
  color-scheme: light;
  --color-accent: #4AD496;
  --color-accent-muted: #aae4c3;
  --color-on-accent: #0C1311;
  --color-neutral: #0000000F;
  --color-background-surface: #ffffff;
  --color-background-body: #F5F6F3;
  --color-overlay: #00000080;
  --color-overlay-hover: #0000000d;
  --color-overlay-pressed: #0000001a;
  --color-background-muted: #eef2f0;
  --color-text-primary: #0C1311;
  --color-text-secondary: #5E6863;
  --color-text-disabled: #8a938e;
  --color-text-accent: #0A7A4B;
  --color-on-dark: #ffffff;
  --color-on-light: #111111;
  --color-icon-accent: #0A7A4B;
  --color-icon-primary: #000000;
  --color-icon-secondary: #626d67;
  --color-icon-disabled: #8a938e;
  --color-background-card: #ffffff;
  --color-background-popover: #ffffff;
  --color-background-inverted: #0A1317;
  --color-background-error-inverted: #AA071E;
  --color-info: #2a5fa8;
  --color-info-muted: #bad7ff;
  --color-on-info: #ffffff;
  --color-success: #2e9e5b;
  --color-success-muted: #b0e3be;
  --color-on-success: #0e1210;
  --color-error: #b42318;
  --color-error-muted: #ffc4ba;
  --color-on-error: #ffffff;
  --color-warning: #c0801f;
  --color-warning-muted: #ffc988;
  --color-on-warning: #0e1210;
  --color-text-info: #1d5299;
  --color-text-success: #006431;
  --color-text-warning: #734800;
  --color-text-error: #a2110a;
  --color-icon-info: #1d5299;
  --color-icon-success: #16A06A;
  --color-icon-warning: #F7882F;
  --color-icon-error: #F0594C;
  --color-border-info: #a3c9ff;
  --color-border-success: #9bd7ac;
  --color-border-warning: #f8b968;
  --color-border-error: #ffafa2;
  --color-on-info-muted: #093a78;
  --color-on-success-muted: #004922;
  --color-on-warning-muted: #543300;
  --color-on-error-muted: #790101;
  --color-border: #E4E7E2;
  --color-border-emphasized: #d0d6d3;
  --color-skeleton: #eef2f0;
  --color-track: #CCD3DB;
  --color-shadow: #0000001A;
  --color-tint-hover: #000000;
  --color-background-blue: #EAF2FF;
  --color-border-blue: #a1caff;
  --color-icon-blue: #3B9BF0;
  --color-text-blue: #1D4ED8;
  --color-background-cyan: #E4F6FB;
  --color-border-cyan: #85d5e9;
  --color-icon-cyan: #1BA8C9;
  --color-text-cyan: #0B7895;
  --color-background-gray: #e2e2e2;
  --color-border-gray: #d4d4d4;
  --color-icon-gray: #474747;
  --color-text-gray: #1b1b1b;
  --color-background-green: #E6F7EE;
  --color-border-green: #aad4a9;
  --color-icon-green: #22B573;
  --color-text-green: #0F7A4F;
  --color-background-orange: #FFF1E5;
  --color-border-orange: #ffc7a1;
  --color-icon-orange: #F7882F;
  --color-text-orange: #B45309;
  --color-background-pink: #FFEAF3;
  --color-border-pink: #ffc0d7;
  --color-icon-pink: #EC5B9B;
  --color-text-pink: #B81D66;
  --color-background-purple: #F1EDFF;
  --color-border-purple: #f3bfff;
  --color-icon-purple: #6E6AF0;
  --color-text-purple: #5B3FD6;
  --color-background-red: #FFECEA;
  --color-border-red: #ffaea7;
  --color-icon-red: #F0644A;
  --color-text-red: #B42318;
  --color-background-teal: #E3F6F3;
  --color-border-teal: #90d7c8;
  --color-icon-teal: #14A391;
  --color-text-teal: #0D7A6C;
  --color-background-yellow: #FFF7DB;
  --color-border-yellow: #e3c36c;
  --color-icon-yellow: #F5A524;
  --color-text-yellow: #8A6100;
  --spacing-0: 0rem;
  --spacing-0-5: 0.125rem;
  --spacing-1: 0.25rem;
  --spacing-1-5: 0.375rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-7: 1.75rem;
  --spacing-8: 2rem;
  --spacing-9: 2.25rem;
  --spacing-10: 2.5rem;
  --spacing-11: 2.75rem;
  --spacing-12: 3rem;
  --size-element-sm: 28px;
  --size-element-md: 32px;
  --size-element-lg: 36px;
  --border-width: 1px;
  --focus-outline-width: 2px;
  --focus-outline-style: solid;
  --focus-outline-color: #4AD496;
  --focus-outline-offset: 3px;
  --radius-none: 0px;
  --radius-inner: 6px;
  --radius-element: 10px;
  --radius-container: 16px;
  --radius-page: 28px;
  --radius-chat: 28px;
  --radius-full: 9999px;
  --shadow-low: 0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%));
  --shadow-med: 0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%));
  --shadow-high: 0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%));
  --shadow-inset-hover: inset 0px 0px 0px 2px #0074e24D;
  --shadow-inset-selected: inset 0px 0px 0px 2px #0074e280;
  --shadow-inset-success: inset 0px 0px 0px 2px #2f7d334D;
  --shadow-inset-warning: inset 0px 0px 0px 2px #f8d36a4D;
  --shadow-inset-error: inset 0px 0px 0px 2px #de47454D;
  --duration-fast-min: 95ms;
  --duration-fast: 125ms;
  --duration-fast-max: 165ms;
  --duration-medium-min: 225ms;
  --duration-medium: 300ms;
  --duration-medium-max: 400ms;
  --duration-slow-min: 525ms;
  --duration-slow: 700ms;
  --duration-slow-max: 935ms;
  --duration-exit: 125ms;
  --ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
  --ease-entrance: cubic-bezier(0.24, 1, 0.4, 1);
  --ease-move: cubic-bezier(0.24, 1, 0.4, 1);
  --ease-exit: cubic-bezier(0.3, 0, 0.6, 0.6);
  --font-family-body: Geist, Inter, Noto Sans SC, PingFang SC, HarmonyOS Sans SC, MiSans, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, system-ui, sans-serif;
  --font-family-code: "Geist Mono", ui-monospace, monospace;
  --font-family-heading: Geist, Inter, Noto Sans SC, PingFang SC, HarmonyOS Sans SC, MiSans, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, system-ui, sans-serif;
  --font-size-4xs: 0.375rem;
  --font-size-3xs: 0.4375rem;
  --font-size-2xs: 0.5rem;
  --font-size-xs: 0.625rem;
  --font-size-sm: 0.75rem;
  --font-size-base: 0.875rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.8125rem;
  --font-size-4xl: 2.1875rem;
  --font-size-5xl: 2.625rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --text-heading-1-size: 1.5rem;
  --text-heading-1-weight: 600;
  --text-heading-1-leading: 1.3333;
  --text-heading-2-size: 1.25rem;
  --text-heading-2-weight: 600;
  --text-heading-2-leading: 1.4;
  --text-heading-3-size: 1.0625rem;
  --text-heading-3-weight: 600;
  --text-heading-3-leading: 1.4118;
  --text-heading-4-size: 0.875rem;
  --text-heading-4-weight: 600;
  --text-heading-4-leading: 1.4286;
  --text-heading-5-size: 0.75rem;
  --text-heading-5-weight: 600;
  --text-heading-5-leading: 1.6667;
  --text-heading-6-size: 0.625rem;
  --text-heading-6-weight: 600;
  --text-heading-6-leading: 1.6;
  --text-body-size: 0.875rem;
  --text-body-weight: 400;
  --text-body-leading: 1.4286;
  --text-large-size: 1.0625rem;
  --text-large-weight: 600;
  --text-large-leading: 1.4118;
  --text-label-size: 0.875rem;
  --text-label-weight: 500;
  --text-label-leading: 1.4286;
  --text-code-size: 0.875rem;
  --text-code-weight: 400;
  --text-code-leading: 1.4286;
  --text-supporting-size: 0.75rem;
  --text-supporting-weight: 400;
  --text-supporting-leading: 1.6667;
  --text-display-1-size: 2.625rem;
  --text-display-1-weight: 600;
  --text-display-1-leading: 1.2381;
  --text-display-2-size: 2.1875rem;
  --text-display-2-weight: 600;
  --text-display-2-leading: 1.2571;
  --text-display-3-size: 1.8125rem;
  --text-display-3-weight: 600;
  --text-display-3-leading: 1.3793;
  --color-syntax-keyword: #6b187c;
  --color-syntax-string: #0b5615;
  --color-syntax-comment: #525252;
  --color-syntax-number: #733100;
  --color-syntax-function: #00458c;
  --color-syntax-type: #6b187c;
  --color-syntax-variable: #111111;
  --color-syntax-operator: #525252;
  --color-syntax-constant: #733100;
  --color-syntax-tag: #8a0011;
  --color-syntax-attribute: #584400;
  --color-syntax-property: #005348;
  --color-syntax-punctuation: #525252;
  --color-syntax-background: #ffffff;
  --color-syntax-added: rgba(176, 227, 190, 0.25);
  --color-syntax-removed: rgba(255, 196, 186, 0.25);
  --color-syntax-diff-header: transparent;
  --color-syntax-added-marker: #525252;
  --color-syntax-removed-marker: #525252;
  --color-data-categorical-blue: #0171E3;
  --color-data-categorical-orange: #EB6E00;
  --color-data-categorical-purple: #6B1EFD;
  --color-data-categorical-green: #0B991F;
  --color-data-categorical-pink: #F351C0;
  --color-data-categorical-cyan: #0171A4;
  --color-data-categorical-red: #F5394F;
  --color-data-categorical-teal: #08A3A3;
  --color-data-categorical-brown: #965E03;
  --color-data-categorical-indigo: #6F8AFF;
  --color-data-neutral: #8494A3;
  --color-data-blue-5: #02165E;
  --color-data-blue-4: #004CBC;
  --color-data-blue-3: #2694FE;
  --color-data-blue-2: #78BEFF;
  --color-data-blue-1: #DBECFF;
  --color-data-shamrock-5: #0B603D;
  --color-data-shamrock-4: #138546;
  --color-data-shamrock-3: #24BB5E;
  --color-data-shamrock-2: #8EF7AA;
  --color-data-shamrock-1: #D6FEE4;
  --color-data-orange-5: #A13F04;
  --color-data-orange-4: #D66100;
  --color-data-orange-3: #FD9537;
  --color-data-orange-2: #FDB876;
  --color-data-orange-1: #FFE6CF;
  --color-data-pink-5: #8E1073;
  --color-data-pink-4: #D123A1;
  --color-data-pink-3: #F989D3;
  --color-data-pink-2: #FEADE3;
  --color-data-pink-1: #FCE3F4;
  --color-data-purple-5: #3E0697;
  --color-data-purple-4: #6B1EFD;
  --color-data-purple-3: #9081FF;
  --color-data-purple-2: #B3B0FE;
  --color-data-purple-1: #E8E8FB;
  --color-data-red-5: #9D0519;
  --color-data-red-4: #D31130;
  --color-data-red-3: #FB7D87;
  --color-data-red-2: #FFB2B8;
  --color-data-red-1: #FEE4E6;
  --color-data-teal-5: #08767D;
  --color-data-teal-4: #0C9293;
  --color-data-teal-3: #0DB7AF;
  --color-data-teal-2: #6CE6D8;
  --color-data-teal-1: #D7FCF8;
  --color-data-yellow-5: #8A5001;
  --color-data-yellow-4: #D69804;
  --color-data-yellow-3: #FBCE03;
  --color-data-yellow-2: #FCEC85;
  --color-data-yellow-1: #FDF6BA;
  --color-data-gray-5: #25363F;
  --color-data-gray-4: #5D6C7B;
  --color-data-gray-3: #AFB9C4;
  --color-data-gray-2: #CCD3DB;
  --color-data-gray-1: #F1F4F7;
  --_astryx-pre-tempo-duration-fast-min: 95ms;
  --_astryx-pre-tempo-duration-fast: 125ms;
  --_astryx-pre-tempo-duration-fast-max: 165ms;
  --_astryx-pre-tempo-duration-medium-min: 225ms;
  --_astryx-pre-tempo-duration-medium: 300ms;
  --_astryx-pre-tempo-duration-medium-max: 400ms;
  --_astryx-pre-tempo-duration-slow-min: 525ms;
  --_astryx-pre-tempo-duration-slow: 700ms;
  --_astryx-pre-tempo-duration-slow-max: 935ms;
  --_astryx-motion-tempo: 1;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-accent-muted: #005534;
  --color-neutral: #ffffff1A;
  --color-background-surface: #1a2420;
  --color-background-body: #111916;
  --color-overlay: #000000CC;
  --color-overlay-hover: #ffffff0d;
  --color-overlay-pressed: #ffffff1a;
  --color-background-muted: #191d1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #99a09c;
  --color-text-disabled: #4b5550;
  --color-text-accent: #9ad6b4;
  --color-icon-accent: #9ad6b4;
  --color-icon-primary: #ffffff;
  --color-icon-secondary: #99a09c;
  --color-icon-disabled: #4b5550;
  --color-background-card: #1a2420;
  --color-background-popover: #191d1a;
  --color-background-inverted: #FFFFFF;
  --color-background-error-inverted: #E3193B;
  --color-info: #76adfa;
  --color-info-muted: #8bbbff3d;
  --color-on-info: #0f1210;
  --color-success-muted: #8dca9e3d;
  --color-on-success: #0f1210;
  --color-error: #f78676;
  --color-error-muted: #ff99893d;
  --color-on-error: #0f1210;
  --color-warning-muted: #e6ab623d;
  --color-on-warning: #0f1210;
  --color-text-info: #a3c9ff;
  --color-text-success: #a2d5b0;
  --color-text-warning: #f2bb78;
  --color-text-error: #ffafa2;
  --color-icon-info: #a3c9ff;
  --color-icon-success: #a2d5b0;
  --color-icon-warning: #f2bb78;
  --color-icon-error: #ffafa2;
  --color-border-info: #679fef;
  --color-border-success: #5cb67a;
  --color-border-warning: #cc8e36;
  --color-border-error: #eb7766;
  --color-on-info-muted: #a3c9ff;
  --color-on-success-muted: #a2d5b0;
  --color-on-warning-muted: #f2bb78;
  --color-on-error-muted: #ffafa2;
  --color-border: #ffffff1a;
  --color-border-emphasized: #4b5550;
  --color-skeleton: #4b5550;
  --color-track: #5A5E66;
  --color-shadow: #0000004D;
  --color-tint-hover: #ffffff;
  --color-background-blue: #253c5a;
  --color-border-blue: #5aa0f8;
  --color-icon-blue: #88bcff;
  --color-text-blue: #a1caff;
  --color-background-cyan: #274046;
  --color-border-cyan: #49adc4;
  --color-icon-cyan: #71c7dd;
  --color-text-cyan: #85d5e9;
  --color-background-gray: #303030;
  --color-border-gray: #262626;
  --color-icon-gray: #9e9e9e;
  --color-text-gray: #d4d4d4;
  --color-background-green: #2b422b;
  --color-border-green: #6ab26b;
  --color-icon-green: #90ca90;
  --color-text-green: #90ca90;
  --color-background-orange: #503424;
  --color-border-orange: #df843f;
  --color-icon-orange: #ff9e55;
  --color-text-orange: #ffb37e;
  --color-background-pink: #572b3d;
  --color-border-pink: #fc78b1;
  --color-icon-pink: #fd92bd;
  --color-text-pink: #ffa9ca;
  --color-background-purple: #4a2f51;
  --color-border-purple: #d885eb;
  --color-icon-purple: #e496f6;
  --color-text-purple: #eaacf8;
  --color-background-red: #5b2b28;
  --color-border-red: #fa6762;
  --color-icon-red: #ff9890;
  --color-text-red: #ffaea7;
  --color-background-teal: #28413c;
  --color-border-teal: #4fb1a0;
  --color-icon-teal: #81c9bb;
  --color-text-teal: #90d7c8;
  --color-background-yellow: #453a1c;
  --color-border-yellow: #c29900;
  --color-icon-yellow: #e2b623;
  --color-text-yellow: #eec448;
  --color-syntax-keyword: #efa8ff;
  --color-syntax-string: #a4d6a3;
  --color-syntax-comment: #b9b9b9;
  --color-syntax-number: #ffb37e;
  --color-syntax-function: #a1caff;
  --color-syntax-type: #efa8ff;
  --color-syntax-variable: #e2e2e2;
  --color-syntax-operator: #b9b9b9;
  --color-syntax-constant: #ffb37e;
  --color-syntax-tag: #ffaea7;
  --color-syntax-attribute: #eec448;
  --color-syntax-property: #90d7c8;
  --color-syntax-punctuation: #b9b9b9;
  --color-syntax-background: #111111;
  --color-syntax-added: rgba(141, 202, 158, 0.0598);
  --color-syntax-removed: rgba(255, 153, 137, 0.0598);
  --color-syntax-added-marker: #b9b9b9;
  --color-syntax-removed-marker: #b9b9b9;
  --color-data-neutral: #8C939B;
  --color-data-gray-5: #333338;
  --color-data-gray-4: #666A72;
  --color-data-gray-3: #B2B8BE;
  --color-data-gray-2: #D0D3D6;
  --color-data-gray-1: #F2F4F6;
}
/* Super Model site. Light lab pages in the factory console palette.
   One theme (light), one accent (emerald); cyan only inside data, motion and the mark.
   Radius rule: chips and toggles are pills; buttons, panels and media take the theme's radii.
   Colours, type and corners come from the DigitSpace Astryx theme (design-system/astryx-tokens.css). */
:root {
  color-scheme: light;
  --page: var(--color-background-body);
  --surface: var(--color-background-card);
  --ink: var(--color-text-primary);
  --mute: var(--color-text-secondary);
  --faint: var(--color-text-disabled);
  --line: var(--color-border);
  --brand: var(--color-accent);
  --brand-hi: color-mix(in srgb, var(--color-accent) 88%, white);
  --brand-text: var(--color-text-accent);
  --brand-soft: var(--color-accent-muted);
  --brand-soft-2: color-mix(in srgb, var(--color-accent-muted) 70%, var(--color-accent));
  --cyan: var(--color-data-categorical-cyan);
  --night: var(--color-background-inverted);
  --amber-soft: var(--color-warning-muted);
  --amber-text: var(--color-text-warning);
  --f-sans: var(--font-family-body);
  --f-mono: var(--font-family-code);
  --r-panel: var(--radius-container);
  --r-media: var(--radius-element);
  --r-btn: var(--radius-element);
  --shadow: 0 18px 44px -22px rgb(11 18 16 / 0.32);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
:root:not([data-lang="en"]) .en, :root[data-lang="en"] .zh { display: none !important; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h1 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.04em; }
h1 em, h2 em { font-style: normal; color: var(--brand-text); }
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.16; font-weight: 600; max-width: 22ch; }
:root[data-lang="en"] h2 { max-width: 26ch; }
h3 { font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.sub { color: var(--mute); font-size: 17px; max-width: 58ch; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.kicker { font-size: 14px; font-weight: 500; color: var(--brand-text); }
.tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--amber-text); background: var(--amber-soft); border-radius: 999px; padding: 2px 10px; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; gap: 8px; text-decoration: none; font: 600 15px var(--f-sans); padding: 12px 20px; border-radius: var(--r-btn); border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #ffffff; box-shadow: 0 8px 22px -10px rgb(0 168 108 / .7); }
.btn-primary:hover { background: var(--brand-hi); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(238 241 236 / .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand svg { width: 34px; height: auto; }
.brand b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.brand small { color: var(--mute); font-size: 12px; }
.menu { margin-left: auto; display: flex; gap: 4px; font-size: 14px; }
.menu a { text-decoration: none; color: var(--mute); padding: 6px 12px; border-radius: 999px; transition: color .2s, background-color .2s; white-space: nowrap; }
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--brand-text); background: var(--brand-soft); font-weight: 500; }
.lang { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.lang button { border: 0; background: none; color: var(--mute); font: 500 12px var(--f-sans); padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-text); }
.nav .btn { padding: 9px 16px; font-size: 14px; flex: none; }
.burger { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 500 13px var(--f-sans); cursor: pointer; }
@media (max-width: 1180px) { .brand small { display: none; } }
@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 16px; background: var(--page); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .lang { margin-left: 0; }
}
@media (max-width: 560px) { .nav .btn { display: none; } }

/* page hero */
.hero { position: relative; overflow: hidden; }
.hero .field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 88px; }
.hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero .sub { margin-top: 22px; font-size: 18px; }
.hero.home h1 { font-size: clamp(40px, 5.4vw, 68px); }
.hero .ctas { margin-top: 32px; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; } }
.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

/* panels and stages */
.stage { position: relative; aspect-ratio: 1 / 0.9; max-width: 100%; border-radius: 24px; background: radial-gradient(70% 60% at 55% 42%, #ffffff 0%, var(--brand-soft) 55%, #dfe9e0 100%); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); min-width: 0; }
.replay { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgb(255 255 255 / .85); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font: 500 12px var(--f-sans); color: var(--mute); cursor: pointer; }
.replay:hover { color: var(--ink); border-color: var(--brand); }
.readout { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-wrap: wrap; align-items: end; gap: 6px 28px; color: var(--mute); font-size: 13px; }
.readout b { display: block; font: 500 30px/1.1 var(--f-mono); color: var(--ink); letter-spacing: -0.02em; }
.readout .cap { margin-left: auto; max-width: 30ch; text-align: right; }
@media (max-width: 980px) { .readout .cap { margin-left: 0; text-align: left; } }

/* sections */
section.band { padding-block: 104px; position: relative; }
section.band + section.band { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 16px; margin-bottom: 48px; }
@media (max-width: 560px) { section.band { padding-block: 72px; } }

/* home: positioning statement */
.statement { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; }
:root[data-lang="en"] .statement { max-width: 34ch; }
.statement a { color: var(--brand-text); text-decoration: none; background-image: linear-gradient(var(--brand-soft-2), var(--brand-soft-2)); background-size: 100% 0.32em; background-position: 0 88%; background-repeat: no-repeat; transition: background-size .3s var(--ease); }
.statement a:hover { background-size: 100% 0.9em; }
.chapters { display: grid; border-top: 1px solid var(--line); }
.chapters a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), background-color .3s; }
.chapters a:hover { padding-inline: 16px; background: rgb(255 255 255 / .6); }
.chapters h3 { font-size: clamp(22px, 2.4vw, 30px); }
.chapters p { color: var(--mute); }
.chapters .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 18px; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.chapters a:hover .go { background: var(--brand); border-color: var(--brand); color: #ffffff; transform: rotate(-45deg); }
@media (max-width: 760px) { .chapters a { grid-template-columns: 1fr auto; } .chapters p { grid-column: 1 / -1; grid-row: 2; } }

/* result band */
.result { padding: 36px 36px 22px; display: grid; gap: 22px; }
.result .top { display: flex; flex-wrap: wrap; gap: 18px 48px; align-items: end; }
.big { font: 500 clamp(44px, 6vw, 76px)/1 var(--f-mono); letter-spacing: -0.04em; }
.big .from { color: #9aa49d; }
.big .to { color: var(--brand-text); }
.result .top p { color: var(--mute); max-width: 44ch; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--mute); margin-left: auto; }
.legend span::before { content: ""; display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: 3px; background: var(--c); }
.chart svg { width: 100%; height: auto; display: block; }
.chart svg text { fill: var(--mute); font: 12px var(--f-mono); }
.draw path.line { stroke-dasharray: var(--len, 2000); stroke-dashoffset: 0; }
.draw.in path.line { animation: drawline 1.8s var(--ease) both; }
@keyframes drawline { from { stroke-dashoffset: var(--len, 2000); } to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .result { padding: 24px 18px 14px; } }

/* why: side-by-side writing */
.duel { padding: 22px; display: grid; gap: 16px; }
.duel .prompt { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--mute); padding: 12px 14px; border-radius: 12px; background: var(--page); }
.duel .prompt b { color: var(--ink); font-weight: 600; }
.duel .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duel .out { border-radius: 14px; padding: 16px; border: 1px solid var(--line); min-height: 200px; display: grid; align-content: start; gap: 10px; }
.duel .out.ours { background: var(--brand-soft); border-color: var(--brand-soft-2); }
.duel .who { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--mute); }
.duel .who b { color: var(--ink); font-weight: 600; }
.duel .text { font-size: 15px; line-height: 1.75; }
.duel .text::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--brand-text); animation: blink 1s steps(2) infinite; }
.duel .done .text::after { display: none; }
.duel .meta { display: flex; gap: 14px; font: 12px var(--f-mono); color: var(--mute); margin-top: auto; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 640px) { .duel .pair { grid-template-columns: 1fr; } }
.reasons { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.reasons > div:nth-child(3) { order: 4; } .reasons > div:nth-child(4) { order: 3; }
.reasons > div { padding: 32px; border-radius: var(--r-panel); display: grid; gap: 12px; align-content: start; }
.reasons > div:nth-child(1) { background: var(--surface); border: 1px solid var(--line); }
.reasons > div:nth-child(2) { background: var(--brand-soft); }
.reasons > div:nth-child(3) { background: linear-gradient(150deg, #ffffff, #f1f6f0); border: 1px solid var(--line); }
.reasons > div:nth-child(4) { background: var(--night); color: #eef1ec; }
.reasons > div:nth-child(4) p { color: #bcc5bb; }
.reasons p { color: var(--mute); max-width: 54ch; }
.reasons .figure { font: 500 clamp(36px, 4vw, 56px)/1 var(--f-mono); letter-spacing: -0.04em; color: var(--brand-text); }
.reasons > div:nth-child(4) .figure { color: #9fe3c0; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } .reasons > div:nth-child(1) { grid-row: auto; } }
.fit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }
.fit .checks { display: grid; gap: 10px; }
.fit label { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.fit label:has(input:checked) { border-color: var(--brand); background: #f8faf6; }
.fit input { width: 20px; height: 20px; accent-color: var(--brand-text); flex: none; }
.fit .verdict { padding: 28px; display: grid; gap: 12px; position: sticky; top: 96px; }
.meter { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--brand-soft-2), var(--brand), var(--cyan)); clip-path: inset(0 calc(100% - var(--v, 0%)) 0 0 round 5px); transition: clip-path .6s var(--ease); }
.fit .verdict b { font-size: 22px; }

/* benefits */
.dials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px; }
.dial { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--page); }
.dial svg { width: 92px; height: 92px; }
.dial circle.track { stroke: var(--line); }
.dial circle.val { stroke: var(--brand); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 264; }
.in .dial circle.val { animation: dial 1.6s var(--ease) both; }
@keyframes dial { from { stroke-dashoffset: 264; } }
.dial text { font: 600 17px var(--f-mono); fill: var(--ink); }
.dial b { display: block; font-size: 15px; }
.dial span { font-size: 13px; color: var(--mute); }
@media (max-width: 560px) { .dials { grid-template-columns: 1fr; } }
.race { padding: 30px; display: grid; gap: 18px; }
.race .row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 84px; gap: 16px; align-items: center; font-size: 14px; }
.race .bar { height: 18px; border-radius: 9px; background: #dfe5dd; transform-origin: left; width: var(--w); }
.race .row.ours .bar { background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.race .row.ours { font-weight: 600; }
.in .race .bar, .race.in .bar { animation: grow 1.4s var(--ease) both; }
.race .row:nth-child(2) .bar { animation-delay: .1s; } .race .row:nth-child(3) .bar { animation-delay: .2s; } .race .row:nth-child(4) .bar { animation-delay: .3s; }
@keyframes grow { from { transform: scaleX(0); } }
.race .val { font-family: var(--f-mono); text-align: right; }
@media (max-width: 560px) { .race .row { grid-template-columns: 1fr 70px; } .race .bar { grid-column: 1 / -1; grid-row: 2; } }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc .panel { padding: 30px; display: grid; gap: 18px; }
.calc label { font-size: 14px; color: var(--mute); display: grid; gap: 10px; }
.calc input[type="range"] { width: 100%; accent-color: var(--brand-text); }
.calc .saving { font: 500 clamp(40px, 5vw, 64px)/1 var(--f-mono); letter-spacing: -0.04em; color: var(--brand-text); }
.calc .small { font-size: 13px; color: var(--faint); }
.speed { padding: 26px; display: grid; gap: 16px; }
.speed .lane { display: grid; gap: 8px; }
.speed .lane .who { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); }
.speed .lane .who b { color: var(--ink); }
.speed .stream { height: 54px; border-radius: 12px; background: var(--page); overflow: hidden; position: relative; font: 13px/54px var(--f-mono); padding-inline: 14px; white-space: nowrap; color: var(--ink); }
.speed .stream.ours { background: var(--brand-soft); }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .split2 { grid-template-columns: 1fr; gap: 32px; } }

/* how: scroll stepper */
.flow { position: relative; height: 120px; }
.flow svg { width: 100%; height: 100%; }
.stepper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.stepper .steps { display: grid; gap: 0; }
.stepper .step { padding: 28px 0 28px 28px; border-left: 2px solid var(--line); display: grid; gap: 8px; transition: border-color .3s, opacity .3s; opacity: .55; min-height: 34vh; align-content: center; }
.stepper .step.active { border-left-color: var(--brand); opacity: 1; }
.stepper .step p { color: var(--mute); }
.stepper .step .out { font-size: 14px; color: var(--brand-text); font-weight: 500; }
.stepper .viz { position: sticky; top: 110px; aspect-ratio: 1 / 0.82; padding: 24px; overflow: hidden; }
.stepper .scene { position: absolute; inset: 24px; display: grid; align-content: center; gap: 12px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.stepper .scene.on { opacity: 1; transform: none; }
.stepper .scene h4 { margin: 0; font-size: 13px; font-weight: 500; color: var(--mute); }
@media (max-width: 960px) { .stepper { grid-template-columns: 1fr; } .stepper .viz { position: relative; top: 0; order: -1; } .stepper .step { min-height: 0; opacity: 1; } }
.rowsim { display: grid; gap: 6px; font: 13px var(--f-mono); }
.rowsim div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--page); }
.on .rowsim .dup { animation: strike 2.4s var(--ease) .8s both; }
@keyframes strike { to { opacity: .25; text-decoration: line-through; background: #e3f8ec; } }
.on .rowsim .pii { animation: mask 2.4s var(--ease) 1.4s both; }
@keyframes mask { 0%, 60% { color: var(--ink); } 100% { color: var(--brand-text); } }
.cands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cands span { height: 64px; border-radius: 12px; background: var(--page); border: 1px solid var(--line); display: grid; place-items: center; font: 12px var(--f-mono); color: var(--mute); }
.on .cands span { animation: cand .6s var(--ease) both; }
.on .cands span:nth-child(n) { animation-delay: calc(var(--i) * 90ms); }
.on .cands span.no { animation: cand .6s var(--ease) both, reject .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms), calc(1.4s + var(--i) * 60ms); }
.on .cands span.yes { animation: cand .6s var(--ease) both, accept .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms), calc(1.4s + var(--i) * 60ms); }
@keyframes cand { from { transform: scale(.6); opacity: 0; } }
@keyframes reject { to { opacity: .22; } }
@keyframes accept { to { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-text); } }
.stamp { justify-self: start; font: 700 22px var(--f-sans); color: var(--brand-text); border: 3px solid var(--brand); border-radius: 12px; padding: 6px 16px; transform: rotate(-6deg); }
.on .stamp { animation: stamp .6s cubic-bezier(.2, 1.6, .4, 1) 1.1s both; }
@keyframes stamp { from { transform: rotate(-6deg) scale(2.2); opacity: 0; } }
.mini-table { display: grid; gap: 6px; font-size: 13px; }
.mini-table div { display: grid; grid-template-columns: 1fr 64px 64px; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--page); }
.mini-table div.ours { background: var(--brand-soft); font-weight: 600; }
.mini-table span:not(:first-child) { text-align: right; font-family: var(--f-mono); }
.split-bar { display: flex; height: 40px; border-radius: 12px; overflow: hidden; font: 600 13px/40px var(--f-mono); }
.split-bar .a { background: var(--brand); color: #ffffff; padding-inline: 12px; width: 10%; transition: width 1s var(--ease); white-space: nowrap; }
.split-bar .b { background: #e6eae3; color: var(--mute); padding-inline: 12px; flex: 1; text-align: right; white-space: nowrap; }
.principles3 { display: grid; border-top: 1px solid var(--line); }
.principles3 > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.principles3 p { color: var(--mute); }
@media (max-width: 760px) { .principles3 > div { grid-template-columns: 1fr; gap: 6px; } }

/* platform */
.browser { border-radius: var(--r-media); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgb(11 18 16 / .45); }
.browser img { width: 100%; height: auto; }
.tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg); transition: transform .8s var(--ease); }
.tilt:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--mute); font: 500 14px var(--f-sans); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr; } }
.gallery .shot { position: relative; aspect-ratio: 1440 / 875; }
.gallery .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); transform: scale(1.015); }
.gallery .shot img.on { opacity: 1; transform: none; }
.gallery .caption { display: grid; gap: 12px; }
.gallery .caption p { color: var(--mute); }
.diagram { padding: 18px; overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 540px; height: auto; font-family: var(--f-sans); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.doors div { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.doors b { font-size: 15px; }
.doors span { font-size: 13px; color: var(--mute); }
pre.code { margin: 0; background: var(--night); color: #e3e8e1; border-radius: var(--r-panel); padding: 24px 26px; overflow-x: auto; font: 13.5px/1.85 var(--f-mono); }
pre.code .c { color: #8c968f; }
pre.code .ok { color: #9fe3c0; }
pre.code .k { color: #9fe3c0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee div { display: flex; gap: 12px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { white-space: nowrap; font-size: 16px; font-weight: 500; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.marquee span small { color: var(--mute); font-weight: 400; margin-left: 8px; font-size: 13px; }
@keyframes slide { to { transform: translateX(-50%); } }
.gov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.gov > div { padding: 28px; display: grid; gap: 8px; align-content: start; }
.gov > div + div { border-left: 1px solid var(--line); }
.gov p { color: var(--mute); font-size: 15px; }
@media (max-width: 860px) { .gov { grid-template-columns: 1fr; } .gov > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* iterate */
.wheel { aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.wheel svg { width: 100%; height: 100%; overflow: visible; font-family: var(--f-sans); }
.versions { padding: 32px 32px 22px; display: grid; gap: 18px; }
.triggers { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.triggers > div { padding: 30px; border-radius: var(--r-panel); display: grid; gap: 14px; align-content: start; }
.triggers > div:first-child { background: var(--surface); border: 1px solid var(--line); }
.triggers > div:last-child { background: var(--brand-soft); }
.triggers ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.triggers li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; font-size: 15px; }
.triggers li b { font-weight: 600; }
.triggers li span { color: var(--mute); }
@media (max-width: 860px) { .triggers { grid-template-columns: 1fr; } .triggers li { grid-template-columns: 1fr; gap: 2px; } }

/* page end */
.next { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 40px; border-top: 1px solid var(--line); }
.next a { text-decoration: none; display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 240px; transition: border-color .2s, transform .3s var(--ease); }
.next a:hover { border-color: var(--brand); transform: translateY(-2px); }
.next a span { font-size: 13px; color: var(--mute); }
.next a b { font-size: 18px; }
.next a.fwd { margin-left: auto; text-align: right; }
.close { text-align: center; padding-block: 112px; position: relative; overflow: hidden; }
.close .wrap { display: grid; justify-items: center; gap: 22px; position: relative; }
.close .field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.close svg.mk { width: 76px; height: auto; }
.close h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(32px, 4.4vw, 54px); }
.close .sub { margin-inline: auto; }
footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--mute); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { margin-right: auto; }
footer .brand svg { width: 26px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tilt { transform: none; }
}
.scene .trace { stroke-dasharray: 1; stroke-dashoffset: 0; }
.scene.on .trace { animation: trace 2.2s var(--ease) .3s both; }
@keyframes trace { from { stroke-dashoffset: 1; } }
.in .split-bar.loop .a { animation: canary 7s var(--ease) infinite; }
@keyframes canary { 0%, 12% { width: 10%; } 45%, 62% { width: 50%; } 90%, 100% { width: 100%; } }

/* ---- v4: depth without noise ----------------------------------------------------------------
   Dots only behind the home banner. Elsewhere, texture comes from the mark itself: a quiet tile of
   facet outlines and a large single watermark. One deep emerald band per page carries the showcase. */
:root { --deep: #0b1210; --deep-2: #16201c; --deep-ink: #eef3ee; --deep-mute: #bcc5bb; --deep-line: rgb(201 248 224 / .12); }
section.band.texture::before { content: ""; position: absolute; inset: 0; background: url("facets.svg") 0 0 / 320px 300px repeat; opacity: .05; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
section.band.white { background: var(--surface); }
section.band > .wrap { position: relative; }
.hero .wm, .band .wm { position: absolute; width: min(620px, 70vw); aspect-ratio: 305 / 265; background: url("watermark.svg") center / contain no-repeat; opacity: .09; pointer-events: none; }
.hero .wm { right: -6%; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.hero .glow { position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 168 108 / .16), transparent); pointer-events: none; }
.hero.home { background: radial-gradient(90% 70% at 75% 30%, #ffffff 0%, rgb(255 255 255 / 0) 60%), linear-gradient(180deg, #eef1ec, var(--page)); }
.hero.home h1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -0.045em; }
.hero.home .stage { box-shadow: 0 40px 90px -40px rgb(11 18 16 / .5), inset 0 1px 0 #fff; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--brand-text); background: rgb(255 255 255 / .7); border: 1px solid var(--brand-soft-2); border-radius: 999px; padding: 5px 12px 5px 6px; }
.eyebrow-pill i { font-style: normal; background: var(--brand); color: #ffffff; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; }

/* spotlight cards: the border lights up where the pointer is */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(0 168 108 / .75), rgb(34 185 201 / .35) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: 1; }
.spot:hover::before { opacity: 1; }

/* capability strip on the home page */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.pillars > div { padding: 30px 26px; display: grid; gap: 10px; align-content: start; position: relative; }
.pillars > div + div { border-left: 1px solid var(--line); }
.pillars .k { font: 500 13px var(--f-mono); color: var(--brand-text); }
.pillars h3 { font-size: 22px; }
.pillars p { color: var(--mute); font-size: 15px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars > div:nth-child(3) { border-left: 0; } .pillars > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillars > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* chapter teasers on the home page */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.teaser.flip > :first-child { order: 2; }
@media (max-width: 960px) { .teaser { grid-template-columns: 1fr; gap: 32px; } .teaser.flip > :first-child { order: 0; } }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: var(--brand-text); text-decoration: none; }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.mini-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-metrics > div { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.mini-metrics b { font: 500 clamp(30px, 3.4vw, 44px)/1.05 var(--f-mono); letter-spacing: -0.04em; color: var(--ink); }
.mini-metrics > div:first-child b { color: var(--brand-text); }
.mini-metrics span { font-size: 14px; color: var(--mute); }

/* the deep showcase band */
section.band.deep { background: radial-gradient(70% 55% at 80% 0%, rgb(0 168 108 / .22), transparent 62%), radial-gradient(50% 50% at 0% 100%, rgb(34 185 201 / .12), transparent 60%), var(--deep); color: var(--deep-ink); border-top: 0; }
section.band.deep + section.band { border-top: 0; }
section.band.deep::before { content: ""; position: absolute; inset: 0; background: url("facets.svg") 0 0 / 320px 300px repeat; opacity: .06; filter: invert(1) hue-rotate(180deg); pointer-events: none; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.deep h2 { color: #ffffff; }
.deep h2 em { color: #9fe3c0; }
.deep .sub, .deep p { color: var(--deep-mute); }
.deep .kicker { color: #9fe3c0; }
.deep .tabs button { background: rgb(255 255 255 / .06); border-color: var(--deep-line); color: var(--deep-mute); }
.deep .tabs button[aria-selected="true"] { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.deep .browser { border-color: var(--deep-line); box-shadow: 0 0 0 1px rgb(159 227 192 / .18), 0 50px 100px -40px rgb(0 0 0 / .8), 0 0 80px -20px rgb(0 168 108 / .35); }
.deep .gallery .caption h3 { color: #ffffff; }
.steps-inline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--deep-line); }
.steps-inline > div { padding: 22px 18px 0 0; display: grid; gap: 6px; position: relative; }
.steps-inline > div::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #9fe3c0; box-shadow: 0 0 0 4px rgb(159 227 192 / .18); }
.steps-inline b { color: #ffffff; font-size: 16px; }
.steps-inline span { font-size: 14px; color: var(--deep-mute); }
@media (max-width: 860px) { .steps-inline { grid-template-columns: 1fr 1fr; row-gap: 22px; } }
.deep .btn-ghost { background: transparent; border-color: var(--deep-line); color: #ffffff; }
.deep .btn-ghost:hover { border-color: #9fe3c0; }

/* closing band: watermark, no dots */
.close { background: radial-gradient(60% 80% at 50% 100%, rgb(0 168 108 / .14), transparent 70%); }
.close .wm { left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(760px, 90vw); opacity: .07; }
.deep .gallery .caption p { color: var(--deep-mute); }

/* Super Model, ML lab theme (2026-11-11). Light grey-green paper, hairline grid frames with corner ticks,
   the factory green as the only brand colour (fills carry ink text, never white), cyan only inside data.
   Radius rule: buttons and tabs 6px, panels 10px, media 6px, chips are pills.
   Colours, type and corners come from the DigitSpace Astryx theme (design-system/astryx-tokens.css). */
:root {
  --page: var(--color-background-body);
  --surface: var(--color-background-card);
  --paper-2: var(--color-background-muted);
  --ink: var(--color-text-primary);
  --mute: var(--color-text-secondary);
  --faint: var(--color-text-disabled);
  --line: var(--color-border);
  --line-2: var(--color-border-emphasized);
  --brand: var(--color-accent);
  --brand-hi: color-mix(in srgb, var(--color-accent) 88%, white);
  --brand-deep: var(--color-accent);
  --brand-text: var(--color-text-accent);
  --brand-soft: var(--color-accent-muted);
  --brand-soft-2: color-mix(in srgb, var(--color-accent-muted) 70%, var(--color-accent));
  --cyan: var(--color-data-categorical-cyan);
  --amber-soft: var(--color-warning-muted);
  --amber-text: var(--color-text-warning);
  --r-panel: var(--radius-element);
  --r-media: var(--radius-inner);
  --r-btn: var(--radius-inner);
  --shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 18px 40px -30px rgb(11 18 16 / .28);
}
body { background: var(--page); }
h1, h2 { font-weight: 500; }
h1 { letter-spacing: -0.045em; }
h2 { letter-spacing: -0.035em; }
h1 em, h2 em, .deep h2 em { color: inherit; }
.kicker { color: var(--brand-text); font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.tag { color: var(--amber-text); background: var(--amber-soft); }
:focus-visible { outline-color: var(--brand-deep); }

/* buttons: ink outline and green fill, square-ish */
.btn { border-radius: var(--r-btn); font-weight: 500; padding: 11px 20px; }
.btn-primary { background: var(--brand); color: var(--ink); border-color: #2fbd7d; box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset; }
.btn-primary:hover { background: var(--brand-hi); transform: none; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* nav */
.nav { background: rgb(238 241 236 / .86); border-bottom-color: var(--line); }
.menu a { border-radius: var(--r-btn); }
.menu a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; }
.lang { border-radius: var(--r-btn); }
.lang button { border-radius: 4px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--page); }

/* grid frames: every band is a framed column; corner ticks mark the frame */
section.band { padding-block: 0; background: var(--page); border-top: 1px solid var(--line); }
section.band + section.band { border-top: 1px solid var(--line); }
section.band.white { background: var(--surface); }
section.band > .wrap { padding-block: 96px; border-inline: 1px solid var(--line); }
section.band > .wrap::before, section.band > .wrap::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; pointer-events: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
section.band > .wrap::before { left: -5px; }
section.band > .wrap::after { right: -5px; }
@media (max-width: 560px) { section.band > .wrap { padding-block: 64px; } }
@media (max-width: 1250px) { section.band > .wrap { border-inline: 0; } section.band > .wrap::before, section.band > .wrap::after { display: none; } }
/* graph paper instead of dots outside the home banner */
section.band.texture::before { background: linear-gradient(rgb(11 18 16 / .045) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgb(11 18 16 / .045) 1px, transparent 1px) 0 0 / 32px 32px; opacity: 1;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000, transparent); }
.hero .wm, .band .wm { opacity: .07; }

/* panels */
.panel { border-radius: var(--r-panel); border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.spot::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(0 168 108 / .7), rgb(34 185 201 / .25) 45%, transparent 70%); }
.eyebrow-pill { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.eyebrow-pill i { background: var(--brand); color: var(--ink); }
.replay { border-radius: var(--r-btn); }

/* home hero: cropped outline wordmark, centred statement, training orb */
.hero.home { background: radial-gradient(70% 55% at 50% 72%, rgb(201 248 224 / .55), transparent 70%), var(--page); border-bottom: 1px solid var(--line); }
.hero.home .field { opacity: .55; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.wordmark { position: absolute; left: 50%; top: 0; transform: translate(-50%, -38%); white-space: nowrap; font: 600 clamp(110px, 17vw, 260px)/1 var(--f-sans); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgb(11 18 16 / .16); pointer-events: none; user-select: none; }
.hero.home .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
.hero .wrap.hero-center { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 0; padding-block: clamp(96px, 11vw, 150px) 36px; }
.hero.home h1 { margin-top: 20px; font-weight: 500; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; max-width: 15ch; }
:root[data-lang="en"] .hero.home h1 { max-width: 17ch; }
.hero-center .sub { margin-inline: auto; max-width: 46ch; }
.hero-center .ctas { justify-content: center; }
.orb-stage { position: relative; isolation: isolate; overflow: hidden; margin: 8px 0 0; display: grid; grid-template-columns: 1fr minmax(260px, 460px) 1fr; align-items: center; gap: 24px; padding: 28px 28px 20px;
  border: 1px solid #0b1210; color: #a7b0a9; background: radial-gradient(55% 75% at 50% 48%, #12322a 0%, #0b1210 58%, #070b0a 100%); }
.orb-stage .space { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.orb-stage::before, .orb-stage::after { content: ""; position: absolute; top: 0; width: 9px; height: 9px; background: linear-gradient(#4ad496, #4ad496) center / 1px 100% no-repeat, linear-gradient(#4ad496, #4ad496) center / 100% 1px no-repeat; opacity: .8; }
.orb-stage::before { left: 0; }
.orb-stage::after { right: 0; }
.orb { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orb .glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgb(74 212 150 / .32), rgb(74 212 150 / .08) 60%, transparent); filter: blur(6px); }
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.telemetry { display: grid; gap: 22px; font-size: 13px; color: #8c968f; }
.telemetry.right { justify-items: end; text-align: right; }
.telemetry b { display: block; margin-top: 2px; font: 500 34px/1.1 var(--f-mono); color: #f8faf6; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.telemetry b.sm { font-size: 18px; letter-spacing: -0.01em; color: #e6eae3; }
.orb-stage figcaption { position: relative; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); font: 12px var(--f-mono); color: #8c968f; }
.orb-stage figcaption::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--p, 0) * 100%); background: #4ad496; box-shadow: 0 0 8px rgb(74 212 150 / .8); }
.orb-stage .replay { position: static; background: transparent; color: #e6eae3; border: 1px solid rgb(255 255 255 / .22); }
.orb-stage .replay:hover { border-color: #4ad496; }
@media (max-width: 760px) {
  .orb-stage { grid-template-columns: 1fr 1fr; padding: 18px 16px; }
  .orb { grid-column: 1 / -1; grid-row: 1; width: min(100%, 360px); justify-self: center; }
  .telemetry b { font-size: 26px; }
}

/* pillars */
.pillars { border-radius: 0; border-color: var(--line); background: transparent; }
.pillars .k { color: var(--brand-text); }

/* platform section: light, with the layer stack and the console */
section.band.deep { background: var(--surface); color: var(--ink); }
section.band.deep::before { display: none; }
section.band.deep + section.band { border-top: 1px solid var(--line); }
.deep h2, .deep .gallery .caption h3 { color: var(--ink); }
.deep .sub, .deep p, .deep .gallery .caption p { color: var(--mute); }
.deep .kicker { color: var(--brand-text); }
.deep .btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.deep .btn-ghost:hover { border-color: var(--ink); }
.browser, .deep .browser { border-radius: var(--r-media); border-color: var(--line-2); box-shadow: 0 40px 80px -46px rgb(11 18 16 / .4); }

/* tabs: joined bordered boxes, the selected one filled green */
.tabs, .deep .tabs { gap: 0; }
.tabs button, .deep .tabs button { border-radius: 0; border: 1px solid var(--line-2); background: var(--surface); color: var(--mute); padding: 10px 18px; margin-left: -1px; }
.tabs button:first-child { border-radius: var(--r-btn) 0 0 var(--r-btn); margin-left: 0; }
.tabs button:last-child { border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.tabs button[aria-selected="true"], .deep .tabs button[aria-selected="true"] { background: var(--brand); border-color: #2fbd7d; color: var(--ink); position: relative; z-index: 1; }

.layers { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin: 48px 0 72px; }
.layer-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: step; }
.layer-steps li { border-bottom: 1px solid var(--line); counter-increment: step; }
.layer-steps button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 16px 4px; }
.layer-steps button::before { content: counter(step, decimal-leading-zero); grid-row: 1 / 3; font: 500 12px/1.9 var(--f-mono); color: var(--faint); }
.layer-steps b { font-size: 17px; font-weight: 500; color: var(--mute); transition: color .2s; }
.layer-steps button > span { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; color: var(--mute); font-size: 15px; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.layer-steps button[aria-selected="true"]::before { color: var(--brand-text); }
.layer-steps button[aria-selected="true"] b { color: var(--ink); }
.layer-steps button[aria-selected="true"] > span { max-height: 120px; opacity: 1; margin-top: 6px; }
.layer-steps button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: -2px; }
.layer-stack { margin: 0; }
.layer-stack svg { width: 100%; height: auto; overflow: visible; }
.plate { cursor: pointer; transition: transform .5s var(--ease); }
.plate .f { fill: #ffffff; stroke: var(--line-2); stroke-width: 1; transition: fill .3s, stroke .3s; }
.plate .l { fill: #dfe5dd; stroke: var(--line-2); }
.plate .r { fill: #ccd5ca; stroke: var(--line-2); }
.plate .g line { stroke: var(--line); stroke-width: 1; }
.plate .lead { stroke: var(--line-2); stroke-dasharray: 3 3; fill: none; }
.plate .node { fill: var(--surface); stroke: var(--line-2); }
.plate text { font: 500 15px var(--f-sans); fill: var(--mute); }
:root:not([data-lang="en"]) .plate tspan.en, :root[data-lang="en"] .plate tspan.zh { display: none; }
.plate.on { transform: translate(-34px, 17px); }
.plate.on .f { fill: var(--brand-soft); stroke: var(--brand-deep); stroke-width: 1.6; }
.plate.on .g line { stroke: var(--brand-soft-2); }
.plate.on .l { fill: #9fe3c0; } .plate.on .r { fill: #6fd6a6; }
.plate.on .lead { stroke: var(--brand-deep); }
.plate.on .node { fill: var(--brand); stroke: var(--brand-deep); }
.plate.on text { fill: var(--ink); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; } .layer-stack { order: -1; max-width: 520px; } }

/* sample metrics, charts, misc warm leftovers */
.mini-metrics > div { border-radius: var(--r-panel); }
.mini-metrics b { color: var(--ink); }
.mini-metrics > div:first-child b { color: var(--brand-text); }
.stage { background: radial-gradient(70% 60% at 55% 42%, #ffffff 0%, var(--brand-soft) 60%, #dfe9e0 100%); border-radius: var(--r-panel); }
.close { background: radial-gradient(60% 80% at 50% 100%, rgb(74 212 150 / .18), transparent 70%); border-top: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .plate, .layer-steps button > span { transition: none; } }
@media (min-width: 1251px) { .orb-stage { margin-inline: -24px; } }

/* home hero v3: copy left, logic demo right (data, train, prove, serve) */
.hero.home .wrap.hero-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero-copy h1 { margin-top: 20px; }
.hero.home .hero-copy h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; max-width: 12ch; }
:root[data-lang="en"] .hero.home .hero-copy h1 { max-width: 14ch; }
.hero-copy .sub { margin-top: 22px; }
.hero.home .field { opacity: .5; mask-image: radial-gradient(60% 70% at 25% 45%, #000, transparent); -webkit-mask-image: radial-gradient(60% 70% at 25% 45%, #000, transparent); }
@media (max-width: 980px) { .hero.home .wrap.hero-split { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 64px; } }

.demo { position: relative; margin: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-panel); box-shadow: 0 30px 60px -40px rgb(11 18 16 / .35); min-height: 460px; }
.demo::before, .demo::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; }
.demo::before { left: -5px; } .demo::after { right: -5px; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.demo-steps li + li { border-left: 1px solid var(--line); }
.demo-steps button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; font-size: 14px; color: var(--faint); position: relative; transition: color .3s; }
.demo-steps button i { font: 500 11px var(--f-mono); font-style: normal; }
.demo-steps button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-deep); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.demo-steps button.done { color: var(--mute); }
.demo-steps button.on { color: var(--ink); font-weight: 500; }
.demo-steps button.on i { color: var(--brand-text); }
.demo-steps button.on::after { transform: scaleX(1); }
.demo-steps button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: -2px; }
.demo-stage { position: relative; overflow: hidden; background: linear-gradient(rgb(11 18 16 / .035) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(11 18 16 / .035) 1px, transparent 1px) 0 0 / 24px 24px, var(--page); }
.scene { position: absolute; inset: 0; padding: 22px 24px; display: grid; align-content: start; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.scene.on { opacity: 1; visibility: visible; }
.scene-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.scene-head b { font-weight: 500; }
.demo figcaption { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font: 12px var(--f-mono); color: var(--faint); }
.demo figcaption::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--p, 0) * 100%); background: var(--brand-deep); }
.demo .replay { position: static; padding: 4px 10px; font-size: 12px; }

/* 01 data: rows arrive, a duplicate is removed, a phone number is masked, two rows go into the frozen test set */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rows li { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; color: var(--ink); max-height: 40px; overflow: hidden; opacity: 0; transform: translateX(-16px); }
.rows em { font: 500 11px var(--f-mono); font-style: normal; color: #b42318; opacity: 0; }
.rows s { text-decoration: none; display: inline-block; vertical-align: bottom; white-space: nowrap; overflow: hidden; max-width: 9em; }
.rows u { text-decoration: none; display: inline-block; vertical-align: bottom; white-space: nowrap; overflow: hidden; max-width: 0; opacity: 0; font: 500 12px var(--f-mono); color: var(--brand-text); background: transparent; padding: 1px 0; border-radius: 4px; }
.s-data.on .rows li { animation: row-in .5s var(--ease) forwards; }
.s-data.on .rows li:nth-child(2) { animation-delay: .1s; } .s-data.on .rows li:nth-child(3) { animation-delay: .2s; } .s-data.on .rows li:nth-child(4) { animation-delay: .3s; } .s-data.on .rows li:nth-child(5) { animation-delay: .4s; } .s-data.on .rows li:nth-child(6) { animation-delay: .5s; }
.s-data.on .rows li.dup { animation: row-in .5s .2s var(--ease) forwards, row-dup .5s 1.3s ease forwards; }
.s-data.on .rows li.dup em { animation: fade-in .2s 1.05s forwards; }
.s-data.on .rows li.pii s { animation: pii-out .3s 1.9s forwards; }
.s-data.on .rows li.pii u { animation: pii-in .3s 2.15s forwards; }
.s-data.on .rows li.held { animation: row-in .5s .4s var(--ease) forwards, row-held .6s 2.7s var(--ease) forwards; }
.s-data.on .rows li.held + li.held { animation: row-in .5s .5s var(--ease) forwards, row-held .6s 2.8s var(--ease) forwards; }
.vault { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: 13px; color: var(--mute); transition: all .4s; }
.vault b { font-weight: 500; color: var(--ink); }
.vault > span:last-child { grid-column: 2; font-size: 12px; }
.lock { grid-row: 1 / 3; width: 16px; height: 13px; border: 1.6px solid currentColor; border-radius: 3px; position: relative; margin-top: 6px; }
.lock::before { content: ""; position: absolute; left: 2px; right: 2px; top: -8px; height: 8px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.s-data.on .vault { animation: vault-on .5s 3.1s forwards; }
@keyframes row-in { to { opacity: 1; transform: none; } }
@keyframes row-dup { to { opacity: 0; max-height: 0; padding-block: 0; margin-top: -6px; border-color: transparent; } }
@keyframes row-held { to { opacity: 0; transform: translateY(70px) scale(.96); max-height: 0; padding-block: 0; margin-top: -6px; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pii-out { to { opacity: 0; max-width: 0; } }
@keyframes pii-in { to { opacity: 1; max-width: 7em; } }
@keyframes vault-on { to { border-style: solid; border-color: var(--brand-deep); background: var(--brand-soft); color: var(--brand-text); } }

/* 02 train */
.s-train { grid-template-columns: 1.1fr .9fr; align-content: center; gap: 18px; }
.train-gem { position: relative; aspect-ratio: 1; }
.train-gem::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgb(74 212 150 / .28), transparent); }
.train-gem canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.train-read { display: grid; gap: 14px; font-size: 13px; color: var(--mute); }
.train-read b { display: block; font: 500 30px/1.1 var(--f-mono); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mini-curve { width: 100%; height: auto; overflow: visible; }
.mini-curve .base { stroke: var(--line-2); stroke-width: 1; }
.mini-curve .line { fill: none; stroke: var(--brand-deep); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.train-read small { font: 11.5px/1.5 var(--f-mono); color: var(--faint); }

/* 03 prove */
.cmp { display: grid; grid-template-columns: 92px 1fr 128px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cmp .k { color: var(--mute); }
.cmp .bars { display: grid; gap: 4px; }
.cmp .bars i { display: block; height: 8px; border-radius: 2px; background: var(--line-2); width: 0; transition: width .9s var(--ease); }
.cmp .bars i.ours { background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-deep); }
.s-prove.on .cmp .bars i.ours { width: calc(var(--a) * 100%); }
.s-prove.on .cmp .bars i:not(.ours) { width: calc(var(--b) * 100%); transition-delay: .15s; }
.s-prove.on .cmp:nth-of-type(3) .bars i { transition-delay: .3s; } .s-prove.on .cmp:nth-of-type(4) .bars i { transition-delay: .5s; }
.cmp .v { font: 12.5px var(--f-mono); color: var(--faint); text-align: right; }
.cmp .v b { color: var(--ink); font-weight: 500; }
.legend2 { display: flex; gap: 16px; font-size: 12px; color: var(--mute); }
.legend2 > span::before { content: ""; display: inline-block; width: 10px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--line-2); }
.legend2 > .ours::before { background: var(--brand); }
.stamp2 { justify-self: start; margin-top: 6px; padding: 8px 14px; border: 1.5px solid var(--brand-deep); border-radius: 6px; color: var(--brand-text); font-weight: 500; font-size: 14px; opacity: 0; transform: scale(1.3) rotate(-4deg); }
.s-prove.on .stamp2 { animation: stamp .4s 1.9s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { opacity: 1; transform: scale(1) rotate(-2deg); background: var(--brand-soft); } }

/* 04 serve */
.s-serve { align-content: center; gap: 0; }
.caller { justify-self: center; display: grid; justify-items: center; gap: 4px; padding: 10px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; }
.caller code { font: 12px var(--f-mono); color: var(--brand-text); }
.pipe { justify-self: center; position: relative; width: 2px; height: 46px; background: var(--line-2); }
.pipe i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px #fff; animation: flow 1.2s linear infinite; }
.pipe i:nth-child(2) { animation-delay: .4s; } .pipe i:nth-child(3) { animation-delay: .8s; }
@keyframes flow { from { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: 42px; opacity: 0; } }
.alias { justify-self: center; display: grid; justify-items: center; gap: 2px; padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; font-size: 12px; color: var(--mute); margin-bottom: 22px; }
.alias b { font-size: 15px; font-weight: 500; color: var(--ink); }
.split { height: 14px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.split .ours { height: 100%; width: 10%; background: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-deep); transition: width .8s var(--ease); }
.split-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--mute); }
.split-labels b { font: 500 13px var(--f-mono); color: var(--brand-text); }
#d-phase { font-weight: 500; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .demo .rows li { opacity: 1; transform: none; } .demo .rows li.dup { display: none; } .demo .rows li.pii s { max-width: 0; } .demo .rows li.pii u { max-width: 7em; opacity: 1; }
  .demo .vault { border-style: solid; border-color: var(--brand-deep); } .demo .stamp2 { opacity: 1; transform: none; }
  .demo .cmp .bars i.ours { width: calc(var(--a) * 100%); } .demo .cmp .bars i:not(.ours) { width: calc(var(--b) * 100%); } .pipe i { animation: none; display: none; }
}
@media (max-width: 560px) { .demo-steps button { padding: 10px 8px; font-size: 13px; } .cmp { grid-template-columns: 76px 1fr 96px; } .s-train { grid-template-columns: 1fr; } .train-gem { max-width: 220px; justify-self: center; } }

/* signature slogan under the wordmark */
.sig { position: relative; display: grid; justify-items: start; gap: 0; }
.sig-name { font: 600 20px/1 var(--f-sans); letter-spacing: -0.02em; color: var(--ink); }
.sig-line { margin: 4px 0 0 18px; font: 400 40px/1.1 "Long Cang", "Kaiti SC", "STKaiti", cursive; color: var(--brand-text); transform: rotate(-4deg); transform-origin: left center; }
:root[data-lang="en"] .sig-line { font-size: 36px; }
.sig-stroke { width: 230px; height: 26px; margin: -6px 0 0 14px; overflow: visible; }
.sig-stroke path { fill: none; stroke: var(--brand-deep); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sig-draw 1.1s .6s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sig-stroke path { animation: none; stroke-dashoffset: 0; } }
.s-prove { align-content: center; }

/* 2026-11-11: no solid green blocks. Primary actions and selection are a green outline on paper; data bars are thin deep green. */
.btn-primary { background: var(--surface); color: var(--brand-text); border: 1.5px solid var(--brand-deep); box-shadow: none; }
.btn-primary:hover { background: #fff; border-color: var(--brand-text); }
.tabs button[aria-selected="true"], .deep .tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand-text); border-color: var(--brand-deep); box-shadow: inset 0 -2px 0 var(--brand-deep); }
.eyebrow-pill i { background: transparent; color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-deep); }
.cmp .bars i { height: 6px; }
.cmp .bars i.ours { background: var(--brand-deep); box-shadow: none; }
.legend2 > .ours::before { background: var(--brand-deep); }
.split { height: 6px; }
.split .ours { background: var(--brand-deep); box-shadow: none; }
@keyframes stamp { to { opacity: 1; transform: scale(1) rotate(-2deg); } }
@keyframes vault-on { to { border-style: solid; border-color: var(--brand-deep); color: var(--brand-text); } }
.plate.on .f { fill: #ffffff; stroke: var(--brand-deep); stroke-width: 1.8; }
.plate.on .l { fill: #dfe5dd; stroke: var(--brand-deep); } .plate.on .r { fill: #ccd5ca; stroke: var(--brand-deep); }
.plate.on .g line { stroke: var(--brand-soft-2); }
.plate.on .node { fill: #fff; stroke: var(--brand-deep); stroke-width: 2; }
.hero.home { background: var(--page); }
.mini-metrics > div:first-child b { color: var(--ink); }

/* hero: the platform name is the headline, the signed slogan sits under it */
.hero.home .hero-copy h1.brand-h1 { margin: 0; font: 600 clamp(52px, 7vw, 96px)/1 var(--f-sans); letter-spacing: -0.05em; max-width: none; }
.hero-copy .sig { margin-top: 6px; }
.hero-copy .sig-line { margin: 0 0 0 6px; font-size: clamp(34px, 3.6vw, 46px); }
.hero-copy .sig-stroke { margin: -4px 0 0 2px; }
.hero-copy .sub { margin-top: 26px; }

/* technical core: four-plane diagram and mechanism list */
.core { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; margin-top: 44px; }
.core-map { margin: 0; }
.core-map svg { width: 100%; height: auto; overflow: visible; }
.core-map .ctl { fill: none; stroke: var(--line-2); stroke-dasharray: 4 5; }
.core-map .ctl-t { font: 500 13px var(--f-sans); fill: var(--mute); }
.core-map .box { fill: #fff; stroke: var(--line-2); }
.core-map .bt { font: 600 17px var(--f-sans); fill: var(--ink); }
.core-map .bs { font: 13px var(--f-sans); fill: var(--mute); }
.core-map .lbl { font: 500 12px var(--f-mono); fill: var(--brand-text); }
.core-map .in, .core-map .link { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.core-map .loop { fill: none; stroke: var(--brand-deep); stroke-width: 1.6; stroke-dasharray: 5 5; }
.core-map .loop-ring { fill: none; stroke: none; }
.core-map .sig { fill: #fff; stroke: var(--brand-deep); stroke-width: 2.5; }
:root:not([data-lang="en"]) svg tspan.en, :root[data-lang="en"] svg tspan.zh { display: none; }
.mech { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mech li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mech code { font: 500 13px/1.7 var(--f-mono); color: var(--brand-text); }
.mech b { display: block; font-size: 16px; font-weight: 500; }
.mech div > span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--mute); }
@media (max-width: 980px) { .core { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .core-map .sig { display: none; } }
#core h2 { max-width: 32ch; }

/* home: the dedicated-model lifecycle as one planetary system (galaxy.js) */
.galaxy { margin: 0; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden;
  box-shadow: 0 1px 3px rgb(11 18 16 / .06), 0 24px 48px -30px rgb(11 18 16 / .3); }
.galaxy .g-fig { background: radial-gradient(120% 90% at 46% 50%, #0e2119 0%, #07120e 58%, #040a08 100%); padding: 12px; }
.galaxy svg { display: block; width: 100%; height: auto; }
.galaxy svg text { font-family: "Noto Sans SC", "Geist", system-ui, sans-serif; paint-order: stroke; stroke: #06100c; stroke-width: 3.5px; stroke-linejoin: round; }
.galaxy .g-text { padding: 28px 28px 24px; display: flex; flex-direction: column; }
.galaxy .g-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.galaxy .g-n { font-family: var(--f-mono); }
.galaxy ol { list-style: none; margin: 6px 0 0; padding: 0; }
.galaxy li { border-bottom: 1px solid #edf0eb; }
.galaxy li button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: 30px auto 1fr; align-items: baseline; gap: 8px; width: 100%; padding: 12px 0; }
.galaxy li button:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; border-radius: 4px; }
.galaxy li b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--faint); }
.galaxy .g-name { font-size: 16px; color: var(--mute); }
.galaxy .g-alias { font-size: 12px; color: var(--faint); }
.galaxy li i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brand-deep); }
.galaxy li[aria-current="true"] .g-name { color: var(--ink); font-weight: 600; }
.galaxy li[aria-current="true"] b, .galaxy li[aria-current="true"] .g-alias { color: var(--brand-text); }
.galaxy .g-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1); }
.galaxy li[aria-current="true"] .g-detail { grid-template-rows: 1fr; }
.galaxy .g-detail > div { overflow: hidden; padding-left: 38px; }
.galaxy .g-detail p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--mute); }
.galaxy dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 14px; font-size: 13px; }
.galaxy dt { color: var(--mute); } .galaxy dd { margin: 0; font-variant-numeric: tabular-nums; } .galaxy dd.g { color: var(--brand-text); font-weight: 500; }
.galaxy .g-note { margin: auto 0 0; padding-top: 16px; font-size: 11px; line-height: 1.6; color: var(--faint); }
@media (max-width: 960px) { .galaxy { grid-template-columns: 1fr; } .galaxy .g-fig { padding: 4px; } .galaxy .g-text { padding: 20px 16px; } }

/* layering (2026-11-12): content cards are white on the grey-green paper, lifted a step further */
.panel, .demo, .browser, .mini-metrics > div, a.fwd, .galaxy, .reasons > div, .triggers > div, .gov { background-color: #fff; }
.panel, .demo, .browser, .mini-metrics > div, a.fwd, .reasons > div, .triggers > div, .gov { box-shadow: 0 1px 3px rgb(11 18 16 / .06), 0 10px 24px -14px rgb(11 18 16 / .18); }

/* ---- home hero: the lit gem (site/gem.js; doc/design/2026-11-20-Super-Model动效创意会与分镜.md) ---- */
.gemstory { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.gs-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.gs-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--mute);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.gs-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--color-background-muted); color: var(--faint); transition: inherit; }
.gs-icon svg { width: 20px; height: 20px; }
.gs-text { display: grid; gap: 2px; min-width: 0; font-size: 12.5px; line-height: 1.35; }
.gs-text b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.gs-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); transition: inherit; }
/* the card being lit, and the ones already done, take their facet's hue */
.gs-card.on, .gs-card.done { border-color: transparent; background: var(--hue-bg); color: var(--ink); }
.gs-card.on { transform: translateX(4px); }
.gs-card.on .gs-icon, .gs-card.done .gs-icon { background: var(--surface); color: var(--hue); }
.gs-card.done .gs-check { border-color: var(--hue); background: var(--hue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.gs-side { position: relative; display: grid; justify-items: center; gap: 14px; }
.gs-gem { width: min(250px, 100%); }
.gs-gem .gem { display: block; width: 100%; height: auto; overflow: visible; }
.gem-facet { fill: var(--color-background-muted); stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.gem-facet.on { stroke: none; }
.gem-facet.ignite { animation: gem-ignite .52s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes gem-ignite { from { opacity: .25; transform: scale(.86); } 60% { opacity: 1; transform: scale(1.06); } }
.gem-brand { opacity: 0; transition: opacity .4s var(--ease); }
/* the wire from the card being lit to its facet: drawn in 500 ms, then gone */
.gs-wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.gs-wire path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.gemstory.wired .gs-wire path { animation: wire .5s var(--ease) .25s forwards, wire-off .3s ease 1.3s forwards; }
@keyframes wire { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes wire-off { from { opacity: 1; stroke-dashoffset: 0; } to { opacity: 0; stroke-dashoffset: 0; } }
/* live: the model name and the three apps calling it */
.gs-live { display: grid; justify-items: center; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gemstory.live .gs-live { opacity: 1; transform: none; }
.gs-live b { font-size: 13px; color: var(--brand-text); }
.gs-live code { font: 500 13px/1 var(--f-mono); color: var(--ink); }
.gs-apps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.gs-apps li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--color-background-green); color: var(--color-text-green); font-size: 12px; font-weight: 500; }
.gs-app-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--color-icon-green); }
.gs-app-icon svg { width: 14px; height: 14px; }
/* each app's call: a short pulse, one after another */
.gemstory.live .gs-apps li { animation: call 1.2s var(--ease) both; }
.gemstory.live .gs-apps li:nth-child(2) { animation-delay: .25s; }
.gemstory.live .gs-apps li:nth-child(3) { animation-delay: .5s; }
@keyframes call { from { opacity: 0; transform: translateY(4px); } 30% { opacity: 1; transform: none; } }
.gemstory figcaption { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 14px; }
.gemstory figcaption .tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--color-background-muted); color: var(--mute); }
.gs-pause { margin-left: auto; font: inherit; font-size: 12.5px; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.gs-pause:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 980px) { .gemstory { grid-template-columns: 1fr; } .gs-side { grid-row: 1; } .gs-gem { width: 180px; } .gs-wire { display: none; } }
@media (prefers-reduced-motion: reduce) { .gs-card, .gs-icon, .gs-check, .gem-brand, .gs-live { transition: none; } .gemstory.live .gs-apps li, .gem-facet.ignite { animation: none; } }

/* ---- spacing system (2026-11-20): one scale for the whole site ----
   section 96 / 72 / 56 px (desktop / tablet / phone) · header to content 48 / 40 / 32 · group to group 32 / 24 · text 16.
   A section's header (.stack) owns the space under it; the blocks after it add none above, so gaps never stack. */
:root { --space-section: 96px; --space-block: 48px; --space-group: 32px; --space-text: 16px; }
@media (max-width: 980px) { :root { --space-section: 72px; --space-block: 40px; --space-group: 24px; } }
@media (max-width: 560px) { :root { --space-section: 56px; --space-block: 32px; --space-group: 24px; } }
section.band > .wrap { padding-block: var(--space-section); }
.stack { gap: var(--space-text); margin-bottom: var(--space-block); }
.stack > .kicker + h2 { margin-top: -4px; }
:not(.stack) > :is(h2, h3) + .sub, :not(.stack) > .sub + .sub, .sub-plain { margin-top: var(--space-text); }
.layers { margin: 0 0 var(--space-block); align-items: start; }
.tabs { margin-bottom: var(--space-text); }
.gallery { align-items: start; }
.gallery .caption { padding-top: 12px; }
.gallery + .ctas { margin-top: var(--space-group); }
.core { margin-top: 0; align-items: start; }
.more, .doors { margin-top: 24px; }
.steps-inline { margin-top: var(--space-group); }


/* ---- DigitSpace unified style (2026-11-20) ----
   The founder's rule: Super Model follows the first unified design, Figma s7EgrZG8LW7DitiLvaAIzs node 108-2
   (digitspace.cn 企业级重设计, "构建企业专属 AI") and its product pages. Warm grey page, white panels with a soft lift
   (radius 16), ink #0C1311, mint fill #4AD496 with ink text, colourful flat icon tiles, no grid frames or corner ticks.
   Spacing comes from the Astryx spacing scale (var(--spacing-*), 4 px steps); this layer loads last and wins. */
:root {
  --page: #F5F6F3;
  --surface: #FFFFFF;
  --paper-2: #EEF0ED;
  --ink: #0C1311;
  --mute: #5E6863;
  --faint: #8A938E;
  --line: #E4E7E2;
  --line-2: #D9DED9;
  --brand: #4AD496;
  --brand-hi: #3BC987;
  --brand-deep: #22B573;
  --brand-text: #0A7A4B;
  --brand-soft: #EAF8F1;
  --brand-soft-2: #9ADBBB;
  --r-panel: 16px;
  --r-media: 12px;
  --r-btn: 10px;
  --shadow: 0 1px 2px rgb(12 19 17 / .04), 0 12px 32px -16px rgb(12 19 17 / .10);
  --color-background-body: var(--page);
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--mute);
  --color-border: var(--line);
  /* icon tile hues of the unified style; the gem keeps its stage order, only the hues align */
  --tile-blue: #3B9BF0; --tile-violet: #6E6AF0; --tile-green: #22B573; --tile-amber: #F5A524; --tile-coral: #F0644A; --tile-purple: #B07CF0;
  /* spacing from the Astryx scale: section 96 / 72 / 56 (Figma 104 rounded to the scale), header to content 40, group 24, text 14→12/16 */
  --space-section: calc(var(--spacing-12) * 2);
  --space-block: var(--spacing-10);
  --space-group: var(--spacing-6);
  --space-text: var(--spacing-4);
}
@media (max-width: 980px) { :root { --space-section: calc(var(--spacing-9) * 2); --space-block: var(--spacing-8); --space-group: var(--spacing-6); } }
@media (max-width: 560px) { :root { --space-section: calc(var(--spacing-7) * 2); --space-block: var(--spacing-8); --space-group: var(--spacing-5); } }
body { background: var(--page); color: var(--ink); }

/* layout: no framed columns, no graph paper, no watermarks */
.wrap { max-width: 1240px; padding-inline: var(--spacing-7); }
@media (max-width: 560px) { .wrap { padding-inline: var(--spacing-4); } }
section.band > .wrap { border-inline: 0; }
section.band > .wrap::before, section.band > .wrap::after, .demo::before, .demo::after, .orb-stage::before, .orb-stage::after,
section.band.texture::before, section.band.deep::before { display: none; }
.hero .wm, .band .wm, .close .wm { display: none; }
section.band, section.band.deep { background: var(--page); color: var(--ink); }
section.band.white { background: var(--surface); }
section.band + section.band { border-top: 0; }

/* type: Geist 500, tight tracking, as in the product pages */
h1 { font-size: clamp(40px, 4.6vw, 58px); line-height: 1.1; font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.22; font-weight: 500; letter-spacing: -0.02em; }
.sub, .lead { font-size: 16.5px; line-height: 1.8; color: var(--mute); }
.kicker { color: var(--faint); font: 400 13px var(--f-mono); }

/* navigation */
.nav { background: rgb(245 246 243 / .86); border-bottom: 1px solid transparent; }
.nav .wrap { height: 72px; gap: var(--spacing-10); }
.menu a { color: #3D4742; font-size: 14.5px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--brand-text); }

/* buttons: 46 px, radius 10, mint with ink text; outline button is white with a 1 px ring */
.btn { height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-btn); font: 500 15px var(--f-sans); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: inset 0 -1px 0 rgb(12 19 17 / .12); }
.btn-primary:hover { background: var(--brand-hi); color: var(--ink); transform: none; }
.btn-ghost, .deep .btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover, .deep .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; }

/* panels */
.panel, .mini-metrics > div, .pillars { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.tag { height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: 999px; font-size: 13px; background: var(--surface); border: 1px solid var(--line); color: #3D4742; }

/* hero: white glow on the warm grey page */
.hero, .hero.home { background: radial-gradient(60% 80% at 70% 55%, #FFFFFF 0%, var(--page) 70%); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: var(--spacing-10) calc(var(--spacing-9) * 2); gap: var(--spacing-12); }

/* gem story cards: icon tiles become solid colour with a white glyph once their stage is reached */
.gs-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .08); }
.gs-card.on .gs-icon, .gs-card.done .gs-icon { background: var(--hue); color: #FFFFFF; }

/* dark blocks (code, live demo strip) use the unified ink */
pre, .code { background: var(--ink); color: #E6EAE3; border-radius: var(--r-panel); }

/* closing band and footer */
.close { background: var(--page); }
.close .wrap { gap: var(--spacing-5); }
footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--spacing-10); color: var(--faint); }

/* page-load overlay: the seven facets light from the ground up, then the gem turns brand green */
.sm-preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 18px; background: var(--color-background-body); transition: opacity .7s ease, visibility .7s; }
.sm-preloader.done { opacity: 0; visibility: hidden; }
.sm-gem { width: min(132px, 32vw); }
.sm-preloader p { margin: 0; font: 600 14px/1 Geist, Inter, sans-serif; color: var(--color-text-secondary); letter-spacing: .02em; }
