/* Self-hosted fonts (OFL), from @fontsource */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/unbounded-cyrillic-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/unbounded-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/unbounded-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/unbounded-latin-500-normal.woff2) format('woff2');
  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: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/unbounded-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/unbounded-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/unbounded-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/unbounded-latin-600-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/manrope-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/manrope-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/manrope-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/manrope-latin-400-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/manrope-cyrillic-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/manrope-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/manrope-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/manrope-latin-500-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/manrope-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/manrope-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/manrope-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/manrope-latin-600-normal.woff2) format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/manrope-cyrillic-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/manrope-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/manrope-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/manrope-latin-700-normal.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/jetbrains-mono-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/jetbrains-mono-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/jetbrains-mono-cyrillic-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/jetbrains-mono-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2');
  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: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

/* VEXLAR DIGITAL — design tokens
   Palette: Samarkand tilework — turquoise, cobalt and lapis on porcelain; gold for the numbers that matter.
   Type: Unbounded (display, headings only), Manrope (text), JetBrains Mono (figures, labels).
   Light palette on :root; dark palette via prefers-color-scheme and [data-theme="dark"]. */
:root {
  --bg: #F4F6FA;
  --bg-elev: #FFFFFF;
  --bg-tint: #EBEFF6;
  --ink: #0A1020;
  --ink-2: #44506A;
  --ink-3: #6B7791;
  --line: rgba(10, 16, 32, .09);
  --line-2: rgba(10, 16, 32, .16);
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .92);
  --a1: #0A9FAF;
  --a2: #1683C4;
  --a3: #2A55D6;
  --a4: #23399C;
  --a5: #A8741C;
  --ok: #0C8F64;
  --warn: #A86A12;
  --bad: #C2364F;
  --on-grad: #FFFFFF;
  --btn-bg: #0A1020;
  --btn-ink: #F6F8FB;
  --focus: #2A55D6;
  --sel: rgba(42, 85, 214, .16);
  --inv-bg: #0A1024;
  --inv-ink: #EEF2F9;
  --inv-ink-2: #A2ADC4;
  --inv-line: rgba(238, 242, 249, .13);
  --shadow-1: 0 1px 2px rgba(10, 16, 32, .05), 0 10px 30px -14px rgba(10, 16, 32, .2);
  --shadow-2: 0 30px 80px -34px rgba(10, 16, 32, .38);
  --aur-o: .26;
  --aur-blend: normal;
  --star-o: 0;
  --sun-d: none;
  --moon-d: block;
  --globe-body: rgba(10, 16, 32, .035);
  --grad: linear-gradient(100deg, var(--a1), var(--a2) 40%, var(--a3) 75%, var(--a4));
  --grad-inv: linear-gradient(100deg, #45DDE8, #47B6F0 40%, #7C97FF 80%);
  --gold: var(--a5);

  --f-sans: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-h1: clamp(2.05rem, 1.15rem + 3.1vw, 3.75rem);
  --fs-h2: clamp(1.65rem, 1.1rem + 1.85vw, 2.65rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1.0625rem;
  --hdr-h: 68px;
  color-scheme: light;
  interpolate-size: allow-keywords;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060914;
    --bg-elev: #0C1222;
    --bg-tint: #080D1A;
    --ink: #E9EEF8;
    --ink-2: #A6B1C7;
    --ink-3: #6D7894;
    --line: rgba(233, 238, 248, .08);
    --line-2: rgba(233, 238, 248, .15);
    --glass: rgba(12, 18, 34, .55);
    --glass-2: rgba(12, 18, 34, .88);
    --a1: #45DDE8;
    --a2: #47B6F0;
    --a3: #7C97FF;
    --a4: #9AA9FF;
    --a5: #F2C063;
    --ok: #4FE0B0;
    --warn: #F5B544;
    --bad: #FF7A93;
    --on-grad: #060914;
    --btn-bg: #EEF2F8;
    --btn-ink: #060914;
    --focus: #7C97FF;
    --sel: rgba(124, 151, 255, .3);
    --inv-bg: #0A1024;
    --inv-ink: #E9EEF8;
    --inv-ink-2: #A6B1C7;
    --inv-line: rgba(233, 238, 248, .12);
    --shadow-1: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -22px rgba(0, 0, 0, .8);
    --shadow-2: 0 40px 100px -34px rgba(0, 0, 0, .9);
    --aur-o: .7;
    --aur-blend: screen;
    --star-o: .7;
    --sun-d: block;
    --moon-d: none;
    --globe-body: rgba(124, 151, 255, .04);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060914;
  --bg-elev: #0C1222;
  --bg-tint: #080D1A;
  --ink: #E9EEF8;
  --ink-2: #A6B1C7;
  --ink-3: #6D7894;
  --line: rgba(233, 238, 248, .08);
  --line-2: rgba(233, 238, 248, .15);
  --glass: rgba(12, 18, 34, .55);
  --glass-2: rgba(12, 18, 34, .88);
  --a1: #45DDE8;
  --a2: #47B6F0;
  --a3: #7C97FF;
  --a4: #9AA9FF;
  --a5: #F2C063;
  --ok: #4FE0B0;
  --warn: #F5B544;
  --bad: #FF7A93;
  --on-grad: #060914;
  --btn-bg: #EEF2F8;
  --btn-ink: #060914;
  --focus: #7C97FF;
  --sel: rgba(124, 151, 255, .3);
  --inv-bg: #0A1024;
  --inv-ink: #E9EEF8;
  --inv-ink-2: #A6B1C7;
  --inv-line: rgba(233, 238, 248, .12);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -22px rgba(0, 0, 0, .8);
  --shadow-2: 0 40px 100px -34px rgba(0, 0, 0, .9);
  --aur-o: .7;
  --aur-blend: screen;
  --star-o: .7;
  --sun-d: block;
  --moon-d: none;
  --globe-body: rgba(124, 151, 255, .04);
  color-scheme: dark;
}

/* Script-specific type */
:lang(ar) { --f-sans: "IBM Plex Sans Arabic", "Manrope", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-display: var(--f-sans); }
:lang(zh) { --f-sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; --f-display: var(--f-sans); }
:lang(ja) { --f-sans: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif; --f-display: var(--f-sans); }
:lang(ko) { --f-sans: "Manrope", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif; --f-display: var(--f-sans); }

/* Base */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
button { font: inherit; }
::selection { background: var(--sel); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--hdr-h) + 12px); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.skip {
  position: absolute; top: -100px; inset-inline-start: 16px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-g { stroke: url(#ig); }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* Type */
.h1 {
  font-family: var(--f-display); font-size: var(--fs-h1); font-weight: 500; line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 26px; text-wrap: balance; overflow-wrap: break-word;
}
.h2 {
  font-family: var(--f-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1.12; letter-spacing: -.025em;
  text-wrap: balance; overflow-wrap: break-word;
}
.h1 em, .h2 em {
  font-style: normal; font-weight: 500;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .02em .1em;
}
:lang(zh) .h1, :lang(ja) .h1, :lang(ko) .h1 { font-size: calc(var(--fs-h1) * .8); line-height: 1.2; letter-spacing: -.01em; }
:lang(zh) .h2, :lang(ja) .h2, :lang(ko) .h2 { font-size: calc(var(--fs-h2) * .86); line-height: 1.26; letter-spacing: -.005em; }
:lang(ru) .h1, :lang(ky) .h1, :lang(uz) .h1, :lang(de) .h1, :lang(fr) .h1, :lang(es) .h1, :lang(pt) .h1, :lang(it) .h1, :lang(tr) .h1 { font-size: calc(var(--fs-h1) * .9); }
:lang(ru) .h2, :lang(uz) .h2, :lang(de) .h2, :lang(tr) .h2 { font-size: calc(var(--fs-h2) * .94); }
:lang(ar) .h1 { font-size: calc(var(--fs-h1) * .86); line-height: 1.3; }
:lang(ru) .hero .h1, :lang(ky) .hero .h1, :lang(fr) .hero .h1 { font-size: calc(var(--fs-h1) * .8); }
:lang(ar) .h2 { font-size: calc(var(--fs-h2) * .9); line-height: 1.32; }
:lang(zh) em, :lang(ja) em, :lang(ko) em, :lang(ar) em { font-weight: 700; }
:lang(ar) * { letter-spacing: 0 !important; }
:lang(de) .h1, :lang(de) .h2, :lang(ru) .h1, :lang(ru) .h2, :lang(uz) .h1, :lang(uz) .h2, :lang(tr) .h2 { hyphens: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--grad); flex: none; }
.eyebrow-live::before { display: none; }
:lang(zh) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow { letter-spacing: .06em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 35em; margin-bottom: 34px; }
.sub { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; margin-top: 18px; }

/* Buttons */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1.2 var(--f-sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary::after {
  content: ""; position: absolute; inset: 8px 10px; border-radius: inherit; z-index: -1;
  background: var(--grad); filter: blur(18px); opacity: 0; transition: opacity .35s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:hover::after { opacity: .6; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--line); }
.link {
  background: none; border: 0; padding: 0; color: var(--a3); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.iconbtn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; flex: none;
  border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.iconbtn:hover { background: var(--line); color: var(--ink); }
.iconbtn .ic { width: 20px; height: 20px; }
.ic-sun { display: var(--sun-d); }
.ic-moon { display: var(--moon-d); }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; margin-bottom: calc(-1 * var(--hdr-h)); }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s ease;
}
.hdr.scrolled::before, .hdr.open::before { opacity: 1; }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand .mark { width: 26px; height: 26px; }
.brand .word { font-family: "Unbounded", var(--f-sans); font-weight: 600; font-size: 1.12rem; letter-spacing: .02em; }
.brand .labs {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--line-2); padding: 3px 5px 2px 7px; border-radius: 6px;
}
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .96rem; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--line); }
.hdr-actions { display: flex; align-items: center; gap: 4px; }
.hdr-cta { margin-inline-start: 8px; white-space: nowrap; }
.burger { display: none; }
.lang { position: relative; }
.lang-btn { width: auto; padding-inline: 10px 12px; gap: 7px; display: inline-flex; }
.lang-code { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 5; width: 280px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 6px;
  background: var(--glass-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-2);
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-size: .93rem;
}
.lang-menu a:hover { background: var(--line); color: var(--ink); }
.lang-menu a[aria-current="true"] { background: var(--line); color: var(--ink); }
.lang-menu small { font-family: var(--f-mono); font-size: .66rem; color: var(--ink-3); text-transform: uppercase; }
.mnav {
  position: absolute; top: var(--hdr-h); inset-inline: 0;
  background: var(--glass-2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow-2);
}
.mnav-in { display: grid; padding-block: 8px 20px; }
.mnav-in a:not(.btn) { padding: 13px 2px; color: var(--ink); text-decoration: none; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
.mnav-in .btn { margin-top: 16px; }
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .hdr-actions { margin-inline-start: auto; }
}
@media (max-width: 720px) { .hdr-cta { display: none; } }
@media (max-width: 560px) {
  .hdr-cta { display: none; }
  .brand .labs { display: none; }
}

/* Hero */
.hero { position: relative; padding-top: calc(var(--hdr-h) + clamp(48px, 8vw, 116px)); padding-bottom: clamp(36px, 5vw, 64px); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
.console { animation: rise 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--a1); flex: none; animation: pulse 2.4s ease-out infinite; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-2); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--a1); }
@media (max-width: 980px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(64px); opacity: var(--aur-o); mix-blend-mode: var(--aur-blend); will-change: transform; }
.aurora .c1 { width: 68vw; height: 30vw; min-height: 260px; inset-inline-start: -14vw; top: -6vw; transform: rotate(-9deg);
  background: radial-gradient(closest-side, var(--a1), transparent 72%); animation: drift1 24s ease-in-out infinite alternate; }
.aurora .c2 { width: 58vw; height: 32vw; min-height: 260px; inset-inline-end: -16vw; top: -9vw; transform: rotate(12deg);
  background: radial-gradient(closest-side, var(--a4), transparent 72%); animation: drift2 30s ease-in-out infinite alternate; }
.aurora .c3 { width: 46vw; height: 18vw; min-height: 180px; left: 26vw; top: 7vw; transform: rotate(-4deg);
  background: radial-gradient(closest-side, var(--a2), transparent 72%); animation: drift3 36s ease-in-out infinite alternate; }
.aurora .stars {
  inset: 0; border-radius: 0; filter: none; mix-blend-mode: normal; opacity: var(--star-o); animation: twinkle 7s ease-in-out infinite alternate;
  background-image:
    radial-gradient(1px 1px at 8% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 17% 64%, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 24% 12%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 33% 41%, #cfe 50%, transparent 52%),
    radial-gradient(1px 1px at 41% 8%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 47% 57%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 55% 26%, #dff 50%, transparent 52%), radial-gradient(1px 1px at 62% 71%, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 69% 16%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 76% 47%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 83% 9%, #eef 50%, transparent 52%), radial-gradient(1.2px 1.2px at 89% 33%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 94% 62%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 4% 48%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 29% 79%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 88%, #fff 50%, transparent 52%);
}
.aurora-soft { -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent); }
.aurora-soft i { opacity: calc(var(--aur-o) * .55); }
.aurora-soft .c1 { top: auto; bottom: -12vw; }
.aurora-soft .c2 { top: auto; bottom: -14vw; }

/* Console */
.console {
  position: relative; overflow: hidden; text-align: left;
  background: var(--glass-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-2);
}
.console::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: var(--grad); opacity: .9; }
.con-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); }
.con-head .mark { width: 16px; height: 16px; flex: none; }
.con-pill { margin-inline-start: auto; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px; }
.con-body {
  margin: 0; padding: 20px 20px 14px; min-height: 16.2em;
  font-family: var(--f-mono); font-size: .8rem; line-height: 1.85; color: var(--ink);
  white-space: pre-wrap; word-break: break-word;
}
.c-p { color: var(--a2); }
.c-s { color: var(--a4); }
.c-d { color: var(--ink-3); }
.c-ok { color: var(--a1); }
.c-hl { color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--a3) 22%, transparent), transparent); padding: 2px 6px; margin-inline-start: -6px; border-radius: 4px; }
.caret { display: inline-block; width: .55em; height: 1.1em; background: var(--a2); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
.con-stages { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 18px; }
.con-stages span { font-family: var(--f-mono); font-size: .66rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); transition: all .4s ease; }
.con-stages span.on { color: var(--ink); border-color: transparent; background: color-mix(in srgb, var(--a2) 18%, transparent); }

/* Commitments */
.commit { list-style: none; padding: 0; margin-top: clamp(48px, 7vw, 92px); position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.commit li { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 4px 0; }
.commit li + li { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.commit b {
  width: fit-content; font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums;
}
.commit span { color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
@media (max-width: 900px) {
  .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-top: 0; }
  .commit li, .commit li + li { padding: 16px 0 14px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .commit li:last-child { grid-column: 1 / -1; }
}

/* Sections */
.sec { position: relative; padding-block: clamp(76px, 10vw, 140px); }
.sec-tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row .sub { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-head .btn { margin-top: 30px; }
.sticky { position: sticky; top: calc(var(--hdr-h) + 36px); }
@media (max-width: 900px) {
  .head-row, .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

[data-spot] { --mx: 50%; --my: 50%; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--a3) 10%, transparent), transparent 62%);
}
[data-spot]:hover::before { opacity: 1; }

/* Services */
.svc { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 26px 8px 26px 0; border-bottom: 1px solid var(--line); }
.svc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-elev); }
.svc-ic .ic { width: 22px; height: 22px; }
.svc h3 { margin: 2px 0 6px; font-size: 1.22rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.svc p { color: var(--ink-2); max-width: 40em; }
.svc-tags { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: .73rem; color: var(--ink-3); direction: ltr; text-align: start; unicode-bidi: plaintext; }

/* AI lanes */
.lanes { list-style: none; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: var(--bg-elev); }
.stage { position: relative; display: grid; grid-template-rows: auto 1fr 1fr; border-inline-start: 1px solid var(--line); transition: background-color .6s ease; counter-increment: st; }
.stage:first-child { border-inline-start: 0; }
.stage::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity .6s ease; }
.stage.on { background: color-mix(in srgb, var(--a3) 6%, transparent); }
.stage.on::after { opacity: 1; }
.st-name { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.st-name::before { content: counter(st, decimal-leading-zero); color: var(--a3); }
.stage.on .st-name { color: var(--ink); }
.st-h, .st-a { display: flex; flex-direction: column; gap: 9px; padding: 18px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.st-a { border-top: 1px dashed var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--a2) 6%, transparent), color-mix(in srgb, var(--a4) 7%, transparent)); }
.st-h b, .st-a b { width: fit-content; padding: 3px 9px; border-radius: 999px; font-family: var(--f-mono); font-weight: 500; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.st-h b { border: 1px solid var(--line-2); color: var(--ink-2); }
.st-a b { background: var(--grad); color: var(--on-grad); }
:lang(zh) .st-name, :lang(ja) .st-name, :lang(ko) .st-name { letter-spacing: .04em; }
@media (max-width: 960px) {
  .lanes { grid-template-columns: 1fr; }
  .stage { grid-template-rows: none; grid-template-columns: 1fr 1fr; border-inline-start: 0; border-top: 1px solid var(--line); }
  .stage:first-child { border-top: 0; }
  .st-name { grid-column: 1 / -1; }
  .st-a { border-top: 0; border-inline-start: 1px dashed var(--line-2); }
}
@media (max-width: 560px) {
  .stage { grid-template-columns: 1fr; }
  .st-a { border-inline-start: 0; border-top: 1px dashed var(--line-2); }
}
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: .96rem; }
.note .ic { width: 22px; height: 22px; margin-top: 2px; }
.note b { color: var(--ink); font-weight: 500; }

/* World */
.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.globe-box { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; }
#globe { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#globe.dragging { cursor: grabbing; }
.globe-hint { position: absolute; bottom: 1%; inset-inline: 0; text-align: center; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
.ticks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--a1); margin-top: 4px; }
.clocks-label { display: flex; align-items: center; gap: 8px; margin: 36px 0 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.clocks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.clocks li { display: grid; gap: 1px; padding: 13px 16px; background: var(--bg); }
.clocks span { font-size: .86rem; color: var(--ink-2); }
.clocks b { font-family: var(--f-mono); font-weight: 500; font-size: 1.28rem; color: var(--ink); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.clocks i { font-style: normal; font-family: var(--f-mono); font-size: .68rem; color: var(--ink-3); direction: ltr; text-align: start; unicode-bidi: plaintext; }
@media (max-width: 900px) {
  .world { grid-template-columns: 1fr; }
  .globe-box { order: -1; max-width: 480px; }
}
@media (max-width: 520px) { .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tech marquee */
.tech { padding-block: clamp(44px, 6vw, 76px); border-top: 1px solid var(--line); overflow: hidden; }
.tech-title { display: flex; margin-bottom: 26px; }
.marquee { display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.mq-row { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 12px; width: max-content; animation: mq 64s linear infinite; }
.mq-rev { animation-direction: reverse; animation-duration: 78s; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-elev); font-family: var(--f-mono); font-size: .86rem; white-space: nowrap; }
.mq-row i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.d1 { background: var(--a1); } .d2 { background: var(--a2); } .d3 { background: var(--a3); }
.d4 { background: var(--a4); } .d5 { background: var(--a5); } .d6 { background: var(--ink-3); }

/* R&D */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-elev); transition: transform .3s ease, border-color .3s ease; }
.case:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a3) 45%, var(--line-2)); }
.case-art { position: relative; height: 156px; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 100% at 15% 0%, color-mix(in srgb, var(--a2) 14%, transparent), transparent 62%), var(--bg-tint); }
.case-art svg { display: block; width: 100%; height: 100%; overflow: hidden; }
/* map grid fills the whole box at any width; the route itself keeps its proportions (meet) and never leaves the box */
.case-art.art-map {
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px),
    radial-gradient(120% 100% at 15% 0%, color-mix(in srgb, var(--a2) 14%, transparent), transparent 62%);
  background-size: 40px 39px, 40px 39px, auto;
  background-position: center, center, 0 0;
  background-color: var(--bg-tint);
}
.art-grid { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-band { fill: color-mix(in srgb, var(--a3) 16%, transparent); }
.art-line { fill: none; stroke: var(--a3); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.art-dot { fill: var(--a1); }
.art-zone { fill: color-mix(in srgb, var(--a5) 12%, transparent); stroke: var(--a5); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.art-route { fill: none; stroke: var(--a2); stroke-width: 2; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; animation: dash 18s linear infinite; }
.art-h1 { fill: var(--a1); } .art-h2 { fill: var(--a4); }
.art-rung { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-label { position: absolute; top: 12px; inset-inline-end: 14px; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--glass-2); font-family: var(--f-mono); font-size: .68rem; color: var(--ink-2); direction: ltr; }
.case-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.case-tag { font-family: var(--f-mono); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; color: var(--ink-2); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.s-dev::before { background: var(--ok); }
.s-rd::before { background: var(--warn); }
.case h3 { margin-top: 4px; font-size: 1.45rem; font-weight: 500; letter-spacing: -.015em; }
.case p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr; max-width: 640px; } }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc-ctl { display: grid; gap: 28px; padding: clamp(20px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-elev); }
.grp { border: 0; margin: 0; padding: 0; min-width: 0; }
.grp legend { padding: 0; margin-bottom: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
:lang(zh) .grp legend, :lang(ja) .grp legend, :lang(ko) .grp legend { letter-spacing: .04em; }
.grp-2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
.opts { display: grid; gap: 8px; }
.opts-type { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink-2); cursor: pointer; user-select: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .25s ease; line-height: 1.3;
}
.opt:hover { color: var(--ink); border-color: color-mix(in srgb, var(--a3) 45%, var(--line-2)); }
.opt .ic { color: var(--ink-3); }
.opt-card { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.opt-card b { font-weight: 500; font-size: 1rem; color: var(--ink); max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.opt-card small { font-size: .79rem; color: var(--ink-3); line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.sr:checked + .opt {
  color: var(--ink);
  background: linear-gradient(color-mix(in srgb, var(--a3) 7%, var(--bg-elev)), color-mix(in srgb, var(--a3) 7%, var(--bg-elev))) padding-box, var(--grad) border-box;
  border-color: transparent; box-shadow: 0 10px 26px -16px color-mix(in srgb, var(--a3) 70%, transparent);
}
.sr:checked + .opt .ic { color: var(--a3); }
.sr:focus-visible + .opt, .sr:focus-visible + .chip { outline: 2px solid var(--focus); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-size: .92rem; cursor: pointer; user-select: none; line-height: 1.25;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.chip::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1.5px solid var(--line-2); transition: all .2s ease; }
.chip:hover { color: var(--ink); }
.sr:checked + .chip { color: var(--ink); border-color: color-mix(in srgb, var(--a3) 55%, transparent); background: color-mix(in srgb, var(--a3) 9%, transparent); }
.sr:checked + .chip::before { border-color: transparent; background: var(--grad); }
.chip .inc { display: none; font-style: normal; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--a1); }
.sr:disabled + .chip { cursor: default; }
.sr:disabled + .chip .inc { display: inline; }
.calc-res {
  position: sticky; top: calc(var(--hdr-h) + 24px);
  padding: clamp(22px, 3vw, 32px); border-radius: 22px; color: var(--inv-ink); border: 1px solid var(--inv-line); box-shadow: var(--shadow-2);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(124, 151, 255, .22), transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(69, 221, 232, .14), transparent 60%),
    var(--inv-bg);
}
.res-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-ink-2); }
.res-price {
  margin: 10px 0 4px; font-family: var(--f-display); font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.12;
  font-variant-numeric: tabular-nums; background: var(--grad-inv); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content;
}
.scale { margin-bottom: 24px; }
.scale-track { position: relative; height: 8px; border-radius: 99px; background: var(--inv-line); }
.scale-fill { position: absolute; top: 0; bottom: 0; min-width: 8px; border-radius: 99px; background: var(--grad-inv); box-shadow: 0 0 18px rgba(111, 141, 255, .55); transition: inset-inline-start .45s ease, width .45s ease; }
.scale-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--f-mono); font-size: .66rem; color: var(--inv-ink-2); }
.res-list { display: grid; gap: 12px; margin-bottom: 18px; }
.res-list div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--inv-line); }
.res-list dt { color: var(--inv-ink-2); font-size: .92rem; flex: 0 1 auto; min-width: 0; }
.res-list dd { flex: 1 1 auto; min-width: 0; margin-inline-start: auto; text-align: end; font-weight: 500; overflow-wrap: anywhere; }
.res-incl { font-size: .88rem; line-height: 1.5; color: var(--inv-ink-2); margin-bottom: 18px; }
.res-over { font-size: .88rem; line-height: 1.5; color: #F5B544; margin: -6px 0 16px; }
.calc-res .btn-primary { background: var(--inv-ink); color: var(--inv-bg); }
.res-note { margin-top: 14px; font-size: .78rem; line-height: 1.45; color: var(--inv-ink-2); text-align: center; }
.res-fx { margin-top: 8px; font-size: .74rem; opacity: .9; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.res-curs { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--inv-line); background: rgba(255, 255, 255, .04); }
.res-curs label { padding: 4px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; color: var(--inv-ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.res-curs label:hover { color: var(--inv-ink); }
.res-curs input:checked + label { background: var(--inv-ink); color: var(--inv-bg); }
.res-curs input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 1040px) { .calc { grid-template-columns: 1fr; } .calc-res { position: static; } }
@media (max-width: 680px) { .grp-2 { grid-template-columns: 1fr; } .opts-3 { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); background: var(--bg); }
.steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; height: 2px; width: 0; background: var(--grad); transition: width .6s ease; }
.steps li:hover::before { width: 100%; }
.step-n { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); }
.steps h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.steps p { color: var(--ink-2); }
.step-m { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: .74rem; color: var(--a3); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

/* Guarantees */
.guar { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 52px; }
.guar li { display: grid; gap: 10px; align-content: start; }
.guar .ic { width: 30px; height: 30px; }
.guar h3 { margin-top: 6px; font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.guar p { color: var(--ink-2); }
@media (max-width: 900px) { .guar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guar { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 1.12rem; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .3s ease, color .3s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--a3); }
.faq details p { color: var(--ink-2); max-width: 44em; padding-bottom: 24px; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Contact */
.contact-sec { overflow: hidden; }
.contact { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.mailcard { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 12px 14px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mailcard > .ic { width: 24px; height: 24px; }
.mailcard div { display: grid; flex: 1; min-width: 0; }
.mail-k { font-size: .78rem; color: var(--ink-3); }
.mail-v { font-family: var(--f-mono); font-size: .98rem; overflow-wrap: anywhere; user-select: all; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.next-k { margin-top: 34px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.next { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 12px; margin-top: 14px; }
.next li { counter-increment: n; display: flex; gap: 14px; align-items: baseline; color: var(--ink-2); }
.next li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-mono); font-size: .76rem; color: var(--a3); flex: none; }
.remote { display: flex; align-items: center; gap: 9px; margin-top: 30px; color: var(--ink-3); font-size: .93rem; }
.formcard { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-elev); box-shadow: var(--shadow-2); }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: grid; gap: 7px; margin-bottom: 16px; }
.fld label { font-size: .88rem; color: var(--ink-2); }
.opt-l { font-size: .8rem; color: var(--ink-3); }
.fld input, .fld select, .fld textarea, .bot-input input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fld textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.fld select {
  padding-inline-end: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B869C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: calc(100% - 14px) center;
}
[dir="rtl"] .fld select { background-position: 14px center; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .bot-input input:focus { outline: none; border-color: var(--a3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a3) 18%, transparent); }
.fld.bad input, .fld.bad textarea, .fld.bad select { border-color: var(--bad); }
.err { color: var(--bad); font-size: .8rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: all .2s ease; }
.check input:checked + .box { background: var(--grad); border-color: transparent; }
.check input:checked + .box::after { content: ""; width: 9px; height: 5px; border-inline-start: 2px solid var(--on-grad); border-bottom: 2px solid var(--on-grad); transform: rotate(-45deg) translate(1px, -1px); }
[dir="rtl"] .check input:checked + .box::after { transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 2px; }
#f-submit { margin-top: 12px; }
.form-done { display: grid; justify-items: center; gap: 12px; padding: 20px 4px; text-align: center; }
.form-done .big { width: 44px; height: 44px; }
.form-done h3 { font-size: 1.5rem; font-weight: 500; }
.form-done p { color: var(--ink-2); max-width: 30em; }
.form-done .cta-row { justify-content: center; }
.fb-text { width: 100%; max-height: 220px; overflow: auto; margin: 6px 0; padding: 14px 16px; text-align: start; white-space: pre-wrap; word-break: break-word; font-family: var(--f-mono); font-size: .76rem; line-height: 1.6; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; user-select: all; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.ftr { position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 92px); border-top: 1px solid var(--line); background: var(--bg); }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr-brand p { max-width: 26em; margin-top: 16px; color: var(--ink-2); }
.ftr-col { display: grid; gap: 10px; align-content: start; }
.ftr-col a, .ftr-col .link { width: fit-content; color: var(--ink-2); text-decoration: none; font-size: .95rem; text-align: start; }
.ftr-col a:hover, .ftr-col .link:hover { color: var(--ink); }
.ftr-k { margin-bottom: 6px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ftr-langs { grid-template-columns: repeat(2, max-content); column-gap: 22px; }
.ftr-langs .ftr-k { grid-column: 1 / -1; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 52px; padding-block: 26px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-3); }
.ftr-bottom a { color: var(--ink-3); }
.ftr-word {
  margin-bottom: -.14em; text-align: center; white-space: nowrap; user-select: none;
  font-family: "Unbounded", var(--f-sans); font-weight: 600; font-size: clamp(56px, 17vw, 260px); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  background: linear-gradient(180deg, color-mix(in srgb, var(--a3) 12%, transparent), transparent 75%); -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 900px) { .ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }

/* Dialog */
.dlg { width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-2); }
.dlg::backdrop { background: rgba(4, 6, 13, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg-in { display: grid; gap: 12px; padding: 28px; }
.dlg h2 { font-size: 1.5rem; font-weight: 500; }
.dlg p { color: var(--ink-2); }
.dlg .btn { justify-self: start; margin-top: 8px; }

/* Assistant */
.bot { position: fixed; z-index: 60; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.bot-fab { position: relative; isolation: isolate; width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); cursor: pointer; box-shadow: var(--shadow-2); }
.bot-fab::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 50%; background: conic-gradient(var(--a1), var(--a3), var(--a4), var(--a2), var(--a1)); animation: spin 7s linear infinite; }
.bot-fab::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--btn-bg); }
.bot-fab .ic { grid-area: 1 / 1; width: 26px; height: 26px; transition: opacity .2s ease, transform .3s ease; }
.bot-fab .ic-x { opacity: 0; transform: rotate(-45deg); }
.bot-fab[aria-expanded="true"] .ic-chat { opacity: 0; transform: rotate(45deg); }
.bot-fab[aria-expanded="true"] .ic-x { opacity: 1; transform: none; }
.fab-badge { position: absolute; top: 3px; inset-inline-end: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--a5); border: 2px solid var(--btn-bg); }
.bot-panel {
  width: min(384px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 132px)); display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass-2); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-2); transform-origin: bottom right;
}
[dir="rtl"] .bot-panel { transform-origin: bottom left; }
.bot-panel:not([hidden]) { animation: pop .28s cubic-bezier(.2, .9, .3, 1.15); }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; border-bottom: 1px solid var(--line); }
.bot-av { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--inv-bg); }
.bot-av .mark { width: 22px; height: 22px; }
.bot-head > div { display: grid; flex: 1; min-width: 0; }
.bot-head b { font-weight: 600; }
.bot-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ink-3); }
.dot-on { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.bot-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg-bot { align-self: flex-start; background: var(--bg-elev); border: 1px solid var(--line); border-end-start-radius: 6px; }
.msg-me { align-self: flex-end; background: var(--btn-bg); color: var(--btn-ink); border-end-end-radius: 6px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-actions a { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .82rem; }
.msg-actions a:hover { background: var(--line); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: bounce 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.bot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.bot-quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-size: .82rem; cursor: pointer; transition: all .2s ease; }
.bot-quick button:hover { color: var(--ink); border-color: color-mix(in srgb, var(--a3) 50%, var(--line-2)); }
.bot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.bot-input input { flex: 1; min-width: 0; border-radius: 999px; padding: 10px 16px; font-size: .95rem; }
.bot-input .send { background: var(--btn-bg); color: var(--btn-ink); }
.bot-input .send:hover { background: var(--btn-bg); opacity: .88; }
@media (max-width: 520px) { .bot { inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } .bot-fab { width: 54px; height: 54px; } }

/* Motion */
@keyframes rise { from { opacity: .2; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--a1) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drift1 { to { transform: translate(8vw, 3vw) rotate(-4deg) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-7vw, 4vw) rotate(6deg) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-6vw, -2vw) rotate(3deg) scale(.92); } }
@keyframes twinkle { to { opacity: calc(var(--star-o) * .45); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -260; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mq-row { flex-wrap: wrap; width: auto; }
  .mq-row li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: 16px; }
}

/* ===================== Multi-page components ===================== */
.nav a[aria-current="page"] { color: var(--ink); background: var(--line); }
.mnav-in a[aria-current="page"] { color: var(--a3); }
.k { margin-bottom: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
:lang(zh) .k, :lang(ja) .k, :lang(ko) .k { letter-spacing: .04em; }
.h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.mono { font-family: var(--f-mono); font-size: .84rem; direction: ltr; unicode-bidi: plaintext; text-align: start; }

/* Page hero */
.phero { position: relative; overflow: hidden; padding-top: calc(var(--hdr-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(40px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.phero-in { position: relative; z-index: 1; }
.phero .lead { margin-bottom: 0; }
.h1.h1-page { font-size: calc(var(--fs-h1) * .82); max-width: 16em; }
:lang(zh) .h1.h1-page, :lang(ja) .h1.h1-page, :lang(ko) .h1.h1-page { font-size: calc(var(--fs-h1) * .68); }
.h1.h1-legal { font-size: calc(var(--fs-h1) * .62); margin-bottom: 10px; }
.aurora-mini i { opacity: calc(var(--aur-o) * .7); }
.aurora-mini .c1 { height: 22vw; top: -10vw; }
.aurora-mini .c2 { height: 22vw; top: -12vw; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-family: var(--f-mono); font-size: .74rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.sec-first { padding-top: clamp(52px, 7vw, 96px); }
.sec-foot { display: flex; margin-top: 36px; }

/* Home: services grid */
.svc-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-grid li { position: relative; border-radius: 18px; }
.svc-grid a { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-elev); color: inherit; text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
.svc-grid a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--a3) 45%, var(--line-2)); }
.svc-grid li::before { z-index: 2; }
.svc-grid .svc-ic { margin-bottom: 6px; }
.svc-grid h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.svc-grid p { color: var(--ink-2); font-size: .94rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--a3); font-size: .92rem; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-sec { padding-block: clamp(56px, 7vw, 96px); }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: center; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line-2); border-radius: 28px; background: var(--bg-elev); }
.cta-band > :not(.aurora) { position: relative; z-index: 1; }
.aurora-band { -webkit-mask-image: none; mask-image: none; }
.aurora-band i { opacity: calc(var(--aur-o) * .5); }
.aurora-band .c1 { top: auto; bottom: -18vw; }
.aurora-band .c2 { top: -14vw; }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Services page */
.svc-list { border-top: 1px solid var(--line); }
.svc-item { display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc-item-h { display: flex; flex-direction: column; gap: 12px; }
.svc-n { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.svc-item-b p { margin-top: 10px; color: var(--ink-2); max-width: 36em; }
.ticks-sm { margin-top: 0; gap: 9px; }
.ticks-sm li { font-size: .96rem; color: var(--ink); }
.scope { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.scope span { font-size: .84rem; color: var(--ink-3); }
.scope b { font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .svc-item { grid-template-columns: 1fr; } .svc-item-h { flex-direction: row; align-items: center; } }
.inds { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.inds li { padding: 24px 22px; background: var(--bg-tint); font-size: 1.05rem; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 420px) { .inds li { padding: 18px 14px; font-size: .98rem; } }
.inds li::before { content: ""; display: block; width: 22px; height: 2px; margin-bottom: 14px; background: var(--grad); }
@media (max-width: 900px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pricing */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.model { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-elev); }
.model-hi { border-color: transparent; background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-2); }
.model-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.model-h h3 { font-size: 1.25rem; font-weight: 500; }
.model-tag { padding: 4px 10px; border-radius: 999px; background: var(--grad); color: var(--on-grad); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.model-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--f-display); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.model-d { color: var(--ink-2); }
.model .ticks { margin-bottom: 8px; }
.model .btn { margin-top: auto; }
@media (max-width: 980px) { .models { grid-template-columns: 1fr; max-width: 560px; } }
.guar-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
.guar-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { .guar-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guar-2, .guar-4 { grid-template-columns: 1fr; } }
.incl { margin-top: 40px; padding: 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-elev); }
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 560px) { .ticks-2 { grid-template-columns: 1fr; } }
.doc-links { display: grid; gap: 8px; margin-top: 26px; max-width: 360px; }
.doc-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .95rem; transition: background-color .2s ease; }
.doc-links a:hover { background: var(--line); }
.doc-links .ic { color: var(--a3); }

/* R&D page */
.cases-wide { display: grid; gap: 20px; }
.case-wide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
.case-wide .case-art { height: auto; min-height: 260px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
.case-wide .case-body { padding: clamp(22px, 3vw, 36px); }
.case-dl { display: grid; gap: 14px; margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.case-dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
.case-dl dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.case-dl dd { color: var(--ink-2); }
@media (max-width: 900px) {
  .case-wide { grid-template-columns: 1fr; }
  .case-wide .case-art { min-height: 170px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .case-dl div { grid-template-columns: 1fr; gap: 4px; }
}
.note-lg { margin-top: 28px; padding: 22px 24px; }

/* About */
.prose-lg p { font-size: 1.14rem; color: var(--ink-2); margin-bottom: 18px; max-width: 38em; }
.lead-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 40px; align-items: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 26px; background: var(--bg-elev); }
.lead-ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--inv-bg); }
.lead-ic .ic { width: 40px; height: 40px; }
@media (max-width: 700px) { .lead-panel { grid-template-columns: minmax(0, 1fr); } }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); flex: none; }
.facts dd { font-weight: 500; text-align: end; }

/* Contact / pay */
.mailcard-first { margin-top: 0; }
.pay { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pay-note { margin-top: 14px; font-size: .84rem; color: var(--ink-3); text-align: center; }
.pay-soon { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--warn) 50%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); font-size: .92rem; }
.pay-review { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay-review .doc-links { margin-top: 0; max-width: none; }
.pay-side .k:not(:first-child) { margin-top: 34px; }
.meth, .secl { list-style: none; padding: 0; display: grid; gap: 10px; }
.meth li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-elev); }
.meth .ic { color: var(--a3); }
.pay-mnote { margin-top: 10px; font-size: .84rem; color: var(--ink-3); }
.secl li { display: flex; gap: 14px; align-items: flex-start; }
.secl .ic { width: 22px; height: 22px; margin-top: 2px; }
.secl b { font-weight: 500; }
.secl p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } }

/* Legal */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-side .sticky { top: calc(var(--hdr-h) + 28px); }
.toc { list-style: none; padding: 0; counter-reset: toc; display: grid; gap: 4px; margin-bottom: 30px; }
.toc li { counter-increment: toc; display: flex; gap: 10px; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .7rem; color: var(--ink-3); padding-top: 4px; }
.toc a, .legal-docs a { color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.45; }
.toc a:hover, .legal-docs a:hover { color: var(--ink); }
.legal-docs { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal-docs a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.legal-docs a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; border-radius: 50%; background: var(--grad); vertical-align: middle; }
.legal-meta { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.legal-prevail { margin-top: 16px; max-width: 44em; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink-2); font-size: .9rem; }
.prose { max-width: 46em; }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink); }
.prose h2 { margin: 40px 0 12px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.prose p { margin-bottom: 14px; color: var(--ink-2); line-height: 1.75; }
.prose ul { margin: 0 0 14px; padding-inline-start: 22px; color: var(--ink-2); line-height: 1.7; }
.prose li { margin-bottom: 6px; }
.prose b { color: var(--ink); font-weight: 500; }
.legal-q { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal-side .sticky { position: static; } .toc { margin-bottom: 20px; } }

/* 404 */
.phero-404 { min-height: 70vh; display: flex; align-items: center; }
.phero-404 .cta-row { margin-top: 30px; }

/* Footer additions */
.ftr-in { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
.ftr-mail { display: block; margin-top: 18px; font-family: var(--f-mono); font-size: .9rem; color: var(--ink); text-decoration: none; }
.ftr-pay { margin-top: 18px; }
.ftr-langs { grid-template-columns: repeat(2, max-content); }
@media (max-width: 1100px) { .ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr-in { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie { position: fixed; z-index: 70; inset-inline-start: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--glass-2); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); box-shadow: var(--shadow-2); animation: pop .3s ease; }
.cookie-in { display: grid; gap: 14px; }
.cookie-txt b { font-weight: 600; }
.cookie-txt p { margin-top: 4px; font-size: .9rem; color: var(--ink-2); }
.cookie-txt a { color: var(--a3); }
.cookie-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.ck-row span:first-child { display: grid; }
.ck-row b { font-weight: 500; font-size: .95rem; }
.ck-row small { font-size: .82rem; color: var(--ink-3); }
.ck-always { font-family: var(--f-mono); font-size: .7rem; color: var(--a1); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 42px; height: 24px; margin: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: background-color .2s ease; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-elev); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s ease; }
.switch:checked { background: var(--a3); }
.switch:checked::after { transform: translateX(18px); }
[dir="rtl"] .switch:checked::after { transform: translateX(-18px); }
@media (max-width: 640px) { .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } .cookie-btns .btn { flex: 1 1 auto; } }


/* ================= VEXLAR components ================= */
.sprite .g1 { stop-color: var(--a1); }
.sprite .g3 { stop-color: var(--a3); }
.sprite .g4 { stop-color: var(--a4); }
.logo-gem { fill: var(--gold); }
.brand .labs { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .22em; padding: 3px 5px 2px 7px; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; padding: 10px 16px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); font-size: .9rem; box-shadow: var(--shadow-2); transition: opacity .3s; opacity: 0; pointer-events: none; }
.toast.on { opacity: 1; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.commit li:first-child b, .rc-sum b, .anat-v { color: var(--gold); }
.commit li:first-child b { background: none; -webkit-text-fill-color: currentColor; }

/* hero entrance — short, ends fully visible */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
}

/* model: three steps */
.model-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.model-steps li { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-elev); }
.model-steps .ic { width: 30px; height: 30px; }
.model-steps h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.3; }
.model-steps p { color: var(--ink-2); }
.ms-n { position: absolute; top: 18px; inset-inline-end: 20px; font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.model-steps li:last-child { border-color: transparent; background: linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box, var(--grad) border-box; }
@media (max-width: 900px) { .model-steps { grid-template-columns: 1fr; } }

/* anatomy of a price */
.anat { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: 20px; border: 1px solid var(--line); background: var(--bg-tint); display: grid; gap: 14px; }
.anat-cap { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.anat-row { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr) 4.5em; gap: 14px; align-items: center; }
.anat-l { font-size: .95rem; color: var(--ink-2); }
.anat-bar { display: flex; height: 34px; }
.seg { display: flex; align-items: center; min-width: 0; padding-inline: 12px; overflow: hidden; white-space: nowrap; font-size: .8rem; }
.seg b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.seg-cost { background: var(--grad); color: var(--on-grad); border-radius: 10px; }
.seg-margin { margin-inline-start: 3px; border-radius: 10px; color: var(--gold); border: 1.5px dashed var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.anat-w100 { width: calc(100% / 1.4); } .anat-w71 { width: calc(100% / 1.4); } .anat-w29 { width: calc(40% / 1.4); }
.anat-v { font-family: var(--f-mono); font-size: .95rem; text-align: end; font-variant-numeric: tabular-nums; }
.anat-row:first-of-type .anat-v { color: var(--ok); }
.anat-note { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 640px) { .anat-row { grid-template-columns: minmax(0, 1fr) 4em; } .anat-l { grid-column: 1 / -1; } .anat-bar { grid-column: 1; } }
.anat-legend { display: none; gap: 8px 18px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 18px; height: 10px; border-radius: 4px; }
.lg-cost::before { background: var(--grad); }
.lg-margin::before { border: 1.5px dashed var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
@media (max-width: 860px) {
  .anat-legend { display: flex; }
  .seg b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .anat-bar { height: 22px; }
}

/* rate card */
.ratecard { padding: clamp(22px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-elev); box-shadow: var(--shadow-1); }
.rc-top { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.rc-k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rc-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.rc-v b { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-v small { color: var(--ink-3); font-size: .95rem; }
.rc-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.rc-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.rc-list .ic { color: var(--a2); margin-top: 3px; }
.rc-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); font-weight: 600; }
.rc-sum b { font-family: var(--f-display); font-size: 1.6rem; }

/* plans */
.model-p small { font-family: var(--f-sans); font-size: .9rem; font-weight: 500; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); letter-spacing: 0; }
.model-btns { margin-top: auto; padding-top: 6px; }
.terms-strip { list-style: none; padding: 0; margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.terms-strip li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: .93rem; }
.terms-strip .ic { width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 980px) { .terms-strip { grid-template-columns: 1fr; } }

/* calculator additions */
.check-card { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--gold) 60%, var(--line-2)); background: color-mix(in srgb, var(--gold) 5%, transparent); }
.check-card > span:last-child { display: grid; gap: 2px; }
.check-card b { color: var(--ink); font-weight: 600; }
.check-card small { color: var(--ink-3); font-size: .82rem; }
.res-cur { font-size: .85rem; color: var(--inv-ink-2); margin-bottom: 14px; }
.res-break { font-size: .78rem; color: var(--inv-ink-2); margin-bottom: 10px; }
.mix { display: flex; gap: 3px; height: 8px; margin-bottom: 22px; }
.mix-cost { flex: 1 1 auto; border-radius: 99px; background: var(--grad-inv); }
.mix-margin { flex: 0 0 0; border-radius: 99px; background: #F2C063; transition: flex-basis .45s ease; }
.mix-margin.on { flex-basis: 28.6%; }

/* contact & footer */
.mailcard + .mailcard { margin-top: 10px; }
.mailcard-link { text-decoration: none; color: inherit; transition: border-color .2s; }
.mailcard-link:hover { border-color: var(--a3); }
.mail-v-sm { font-family: var(--f-sans); font-size: .93rem; user-select: text; unicode-bidi: normal; }
.ftr-contacts { display: grid; gap: 8px; margin-top: 18px; }
.ftr-contacts .ftr-mail { display: inline-flex; align-items: center; gap: 10px; margin: 0; width: fit-content; }
.ftr-req { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.req-line { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: .9rem; }
.req-line div { display: grid; gap: 2px; min-width: 0; }
.req-line dt { color: var(--ink-3); font-size: .78rem; }
.req-line dd { color: var(--ink-2); }
.req-wide { flex: 1 1 320px; }
.ftr-pays { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ftr-pays .ftr-k { margin: 0; }

/* payment-system marks: white acceptance tiles (official artwork from src/assets/pay; text until a file is added) */
.paysys { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ps {
  display: grid; place-items: center; width: 66px; height: 44px; padding: 6px; border-radius: 8px;
  background: #FFFFFF; border: 1px solid #E2E5EB; box-shadow: 0 1px 2px rgba(10, 17, 34, .06);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.ps:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(10, 17, 34, .45); }
.ps img { display: block; width: auto; height: auto; max-width: 46px; max-height: 26px; }
.ps-visa img { max-width: 44px; }
.ps-mastercard img { max-height: 25px; }
.ps-unionpay img { max-height: 28px; }
.ps-name { font-family: var(--f-sans); font-weight: 800; font-size: .66rem; letter-spacing: .01em; color: #1D2333; }
.ps-sec { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding-inline: 14px; border-radius: 8px; border: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-2); }
.ps-sec .ic { width: 15px; height: 15px; color: var(--a2); }
@media (prefers-reduced-motion: reduce) { .ps, .ps:hover { transition: none; transform: none; } }
.pay-cards { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.pay-cards .k { margin: 0; }

/* payment page */
.pay-mode, .pay-result { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px; border-radius: 14px; font-size: .92rem; color: var(--ink-2); }
.pay-mode { border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.pay-mode .ic { color: var(--warn); margin-top: 2px; }
.pay-result { border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); }
.pay-result.bad { border-color: color-mix(in srgb, var(--bad) 45%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.pay-mode b, .pay-result b { color: var(--ink); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 4px 0 16px; padding: 14px 0; border-block: 1px dashed var(--line-2); }
.pay-total span { color: var(--ink-2); }
.pay-total b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; }
.pay-soon.bad { border-color: color-mix(in srgb, var(--bad) 50%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.pay-steps { margin-bottom: 8px; }
.pay-co { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay-co p { color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.pay-co b { color: var(--ink); }
.pay-co a, .facts a { color: inherit; }
.check a { color: var(--a3); }

/* misc */
.note-cta { align-items: center; flex-wrap: wrap; }
.note-cta p { flex: 1 1 320px; }
.cases-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cases-2 { grid-template-columns: 1fr; } }
.clocks .home-tz b { color: var(--gold); }
.facts dd { overflow-wrap: anywhere; }
@media (max-width: 640px) { .facts div { flex-direction: column; gap: 4px; } .facts dd { text-align: start; } }

/* ---------- long words on narrow screens (German, Kyrgyz, Uzbek, Russian) ---------- */
h1, h2, h3, .h1, .h2, .h3, p, li, dt, dd, label, .eyebrow, .lead, .sub { overflow-wrap: break-word; }
h1, h2, h3, .h1, .h2, .h3, .eyebrow, .stage, .lead-panel, .cta-band { -webkit-hyphens: auto; hyphens: auto; }
.stage * { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  :lang(de) .h1, :lang(ky) .h1, :lang(uz) .h1, :lang(ru) .h1, :lang(tr) .h1 { font-size: calc(var(--fs-h1) * .8); }
  :lang(de) .h2, :lang(ky) .h2, :lang(uz) .h2 { font-size: calc(var(--fs-h2) * .9); }
}
