/* ============================================================
   naviai — design tokens
   ============================================================ */
:root {
  --ink: #040a1c;
  --deep: #071030;
  --surface: #0b1840;
  --panel: rgba(16, 32, 78, 0.55);
  --line: rgba(120, 160, 255, 0.14);
  --line-strong: rgba(120, 170, 255, 0.32);
  --blue: #2f6bff;
  --blue-hi: #4d86ff;
  --cyan: #3cd3ff;
  --ice: #e8f0ff;
  --text: #c9d6f5;
  --mute: #8193bf;
  --ok: #5cf2b0;
  --warn: #ffc65c;

  --f-display: "Unbounded", var(--f-local), system-ui, sans-serif;
  --f-body: "Inter", var(--f-local), system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-local: "Noto Sans SC", "PingFang SC", "Microsoft YaHei";

  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--ice); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(60, 211, 255, 0.35); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Non-Latin scripts (zh / ja / ko / th) */
html[lang="zh-Hant"] { --f-local: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei"; }
html[lang="ja"] { --f-local: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo"; }
html[lang="ko"] { --f-local: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic"; }
html[lang="th"] { --f-local: "Noto Sans Thai", "Thonburi", "Leelawadee UI"; }
html.is-local body { letter-spacing: 0.01em; }
html.is-local h1, html.is-local h2 { letter-spacing: 0.02em; }
html[lang="th"] body, html[lang="th"] h1, html[lang="th"] h2 { letter-spacing: 0; }
html[lang="th"] .hero__title, html[lang="th"] .section__head h2 { line-height: 1.35; }
html[lang="vi"] .hero__title, html[lang="id"] .hero__title { font-size: clamp(36px, 4.3vw, 60px); }
html[lang="th"] .hero__title { font-size: clamp(36px, 4.6vw, 64px); }
html[lang="ja"] .hero__title { font-size: clamp(30px, 3.6vw, 54px); word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] p, html[lang="ko"] li, html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3 { word-break: keep-all; }

/* ============================================================
   Primitives
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono);
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 18px;
}
html.is-local .eyebrow { letter-spacing: 0.08em; font-family: var(--f-body); font-size: 13px; }
.eyebrow--live { color: var(--text); padding: 7px 14px 7px 10px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(47, 107, 255, 0.08); text-transform: none; letter-spacing: 0.02em; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); position: relative; flex: none; display: inline-block; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; color: var(--cyan); animation: ping 2s var(--ease) infinite; }
.pulse--ok { background: var(--ok); }
.pulse--ok::after { color: var(--ok); }
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  background: var(--bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--primary { background: linear-gradient(135deg, var(--blue) 0%, #1f8bff 60%, var(--cyan) 140%); color: #fff; box-shadow: 0 8px 30px -8px rgba(47, 107, 255, 0.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 38px -8px rgba(60, 160, 255, 0.85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { border-color: var(--line-strong); color: var(--ice); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(60, 211, 255, 0.06); }
.btn--block { width: 100%; }

.lead { color: var(--text); font-size: 18px; line-height: 1.7; max-width: 680px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; color: var(--cyan); border: 1px solid rgba(60, 211, 255, 0.4); border-radius: 6px; padding: 4px 8px; margin-bottom: 16px; }

.ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(47, 107, 255, 0.12); border: 1px solid var(--line-strong); fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }

.ticks { display: grid; gap: 12px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) translateY(-3px); }

/* ============================================================
   Nav
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(4, 10, 28, 0.72); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__word { font: 600 19px/1 var(--f-display); color: var(--ice); letter-spacing: -0.02em; }
.nav .brand img { width: 36px; height: 36px; }

/* Logo shine: a light sweep across the mark, then a glint on "ai" */
.brand__mark { position: relative; display: block; flex: none; border-radius: 23%; overflow: hidden; box-shadow: 0 0 0 0 rgba(60, 211, 255, 0); animation: brandGlow 6s ease-in-out 1.2s infinite; }
.brand__mark::after { content: ""; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 30%, rgba(160, 230, 255, 0.18) 41%, rgba(255, 255, 255, 0.9) 50%, rgba(160, 230, 255, 0.3) 57%, transparent 68%); transform: translateX(-130%); animation: brandShine 6s cubic-bezier(.4, 0, .2, 1) 1.2s infinite; pointer-events: none; }
.brand:hover .brand__mark::after { animation: brandShineHover .9s cubic-bezier(.4, 0, .2, 1); }
.nav .brand__ai { background-image: linear-gradient(110deg, var(--cyan) 0%, var(--blue-hi) 40%, #f2fbff 50%, var(--blue-hi) 60%, var(--cyan) 100%); background-size: 300% 100%; background-position: 100% 0; animation: brandGlint 6s cubic-bezier(.4, 0, .2, 1) 1.5s infinite; }
.brand:hover .brand__ai { animation: brandGlintHover .9s cubic-bezier(.4, 0, .2, 1) .15s; }
@keyframes brandShine { 0% { transform: translateX(-130%); } 16%, 100% { transform: translateX(130%); } }
@keyframes brandShineHover { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes brandGlint { 0% { background-position: 100% 0; } 18%, 100% { background-position: 0 0; } }
@keyframes brandGlintHover { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes brandGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(60, 211, 255, 0); } 8% { box-shadow: 0 0 18px 2px rgba(60, 211, 255, 0.45); } 20% { box-shadow: 0 0 0 0 rgba(60, 211, 255, 0); } }
.nav .brand__word { font-size: 23px; }
.brand__ai { background: linear-gradient(120deg, var(--cyan), var(--blue-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14.5px; color: var(--text); white-space: nowrap; cursor: pointer; transition: color .2s, background .2s; }
.nav__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; transition: transform .25s var(--ease); }
.nav__top:hover, .nav__top.is-active, .nav__item.is-active > .nav__top, .nav__item:hover > .nav__top, .nav__item.is-open > .nav__top { color: var(--ice); background: rgba(120, 160, 255, 0.08); }
.nav__item { position: relative; }
.nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav__menu { position: absolute; top: calc(100% + 12px); left: 50%; z-index: 5; display: grid; gap: 2px; width: 320px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r); background: rgba(6, 13, 38, 0.97); backdrop-filter: blur(18px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(60, 211, 255, 0.04); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav__menu a { display: grid; gap: 3px; padding: 11px 14px; border-radius: 10px; transition: background .2s; }
.nav__menu a b { font-size: 14.5px; font-weight: 500; color: var(--ice); }
.nav__menu a span { font-size: 12.5px; line-height: 1.45; color: var(--mute); }
.nav__menu a:hover, .nav__menu a:focus-visible { background: rgba(47, 107, 255, 0.14); }
.nav__menu a:hover b { color: var(--cyan); }
@media (hover: hover) and (min-width: 1025px) {
  .nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; flex-shrink: 0; }
.lang__btn, .nav__cta { white-space: nowrap; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px 0 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,0.02); font: 500 13px/1 var(--f-body); color: var(--text); transition: border-color .2s, background .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: rgba(60, 211, 255, 0.5); background: rgba(60, 211, 255, 0.06); }
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang__btn .lang__chev { width: 14px; height: 14px; stroke: var(--mute); transition: transform .2s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 210px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(7, 16, 48, 0.96); backdrop-filter: blur(16px); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer; outline: none; }
.lang__menu li span { font-size: 11px; color: var(--mute); }
.lang__menu li:hover, .lang__menu li:focus { background: rgba(60, 211, 255, 0.08); color: var(--ice); }
.lang__menu li[aria-selected="true"] { color: #fff; background: rgba(47, 107, 255, 0.35); }
.lang__menu li[aria-selected="true"] span { color: var(--cyan); }
.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ice); transition: .3s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 0; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 38%, rgba(47, 107, 255, 0.28), transparent 60%),
    radial-gradient(600px 400px at 10% 10%, rgba(60, 211, 255, 0.10), transparent 70%),
    linear-gradient(180deg, #050d26 0%, var(--ink) 100%);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; min-height: 640px; }
.hero__title {
  font: 500 clamp(40px, 5.6vw, 76px)/1.04 var(--f-display);
  letter-spacing: -0.035em;
  margin: 6px 0 26px;
  background: linear-gradient(180deg, #fff 30%, #a9c2ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.is-local .hero__title { font-family: var(--f-local), sans-serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.15; }
.hero__title .hl { background: linear-gradient(100deg, #8fe3ff 0%, var(--cyan) 35%, var(--blue-hi) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 18px; max-width: 560px; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 34px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--line); width: fit-content; max-width: 100%; }
.hero__stats dt { max-width: 10em; }
.hero__stats div { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.hero__stats dd { order: -1; }
.hero__stats dt { font-size: 12.5px; color: var(--mute); }
.hero__stats dd { margin: 0; font: 500 26px/1.1 var(--f-display); color: var(--ice); letter-spacing: -0.02em; }
.hero__stats small { font-size: 14px; color: var(--mute); font-family: var(--f-body); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; width: 118%; max-width: 720px; justify-self: center; margin-right: -9%; }
#globe {
  width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 86%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 86%, transparent 100%);
}
.globe__label { position: absolute; font: 500 11px/1 var(--f-mono); color: var(--ice); padding: 6px 9px; border-radius: 6px; background: rgba(4, 10, 28, 0.75); border: 1px solid rgba(60, 211, 255, 0.5); display: flex; align-items: center; gap: 6px; pointer-events: none; transform: translate(14px, -50%); transition: opacity .3s; white-space: nowrap; }
.globe__label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.trace {
  position: absolute; left: -4%; bottom: 6%; width: 72%;
  border-radius: var(--r); overflow: hidden;
  background: rgba(5, 12, 34, 0.82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(60, 211, 255, 0.06) inset;
}
@media (min-width: 1025px) and (max-width: 1320px) { .trace { left: 8%; width: 68%; } }
.trace__head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--mute); }
.trace__dots { display: inline-flex; gap: 5px; }
.trace__dots i { width: 9px; height: 9px; border-radius: 50%; background: #1d2b57; }
.trace__dots i:first-child { background: #ff5f6d55; }
.trace__rps { margin-left: auto; }
.trace__rps b { color: var(--ok); font-weight: 500; }
.trace__body { height: 156px; overflow: hidden; padding: 10px 14px; font-size: 11.5px; line-height: 1.85; display: flex; flex-direction: column; justify-content: flex-end; }
.trace__body li { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; white-space: nowrap; animation: lineIn .5s var(--ease); color: var(--text); }
.trace__body li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.trace__body .t { color: #52648f; }
.trace__body .m { color: var(--cyan); }
.trace__body .ok { color: var(--ok); }
.trace__body .warn { color: var(--warn); }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.models-strip { margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7, 16, 48, 0.5); display: flex; align-items: center; }
.models-strip__label { flex: none; padding: 0 28px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); border-right: 1px solid var(--line); height: 88px; display: flex; align-items: center; }
html.is-local .models-strip__label { text-transform: none; letter-spacing: 0.05em; font-family: var(--f-body); font-size: 13px; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 52px; width: max-content; animation: marquee 48s linear infinite; padding: 0 26px; }
.marquee__track { gap: 56px; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; font: 500 18px/88px var(--f-display); color: #c3d1f2; letter-spacing: -0.01em; white-space: nowrap; }
.mlogo { width: 32px; height: 32px; flex: none; }
.mlogo--mono, .mcard__logo--mono { display: inline-grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font: 600 15px/1 var(--f-display); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 128px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--deep), #060d29); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 64px; }
.section__head h2, .gw__copy h2, .global__copy h2 { font: 500 clamp(30px, 3.6vw, 48px)/1.12 var(--f-display); letter-spacing: -0.03em; margin-bottom: 20px; max-width: 900px; }
html.is-local .section__head h2, html.is-local .gw__copy h2, html.is-local .global__copy h2, html.is-local .cta h2 { font-family: var(--f-local), sans-serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; }

/* Chapters: numbered sections with tabbed panels */
.chapter__no { display: inline-grid; place-items: center; min-width: 30px; height: 22px; margin-right: 12px; padding: 0 7px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-size: 11.5px; letter-spacing: 0.06em; }
.chapter > .wrap > .section__head { margin-bottom: 40px; }
.chapter__bar { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(4, 10, 28, 0.82); backdrop-filter: blur(16px) saturate(1.4); border-block: 1px solid var(--line); }
.section--alt .chapter__bar { background: rgba(7, 16, 48, 0.86); }
.chapter__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chapter__tabs::-webkit-scrollbar { display: none; }
.chapter__tabs button { position: relative; flex: none; padding: 17px 18px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--mute); white-space: nowrap; cursor: pointer; transition: color .2s; }
.chapter__tabs button:hover { color: var(--ice); }
.chapter__tabs button[aria-selected="true"] { color: var(--ice); }
.chapter__tabs button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-hi), var(--cyan)); transform: scaleX(0); transition: transform .3s var(--ease); }
.chapter__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.chapter__panel { padding-top: 72px; animation: panelIn .45s var(--ease); }
.chapter__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chapter__panel .section__head h2, .chapter__panel .gw__copy h2 { font-size: clamp(24px, 2.7vw, 36px); }
.chapter__panel .section__head { margin-bottom: 48px; }
.chapter__panel > .wrap + .wrap { margin-top: 64px; }

/* Why naviai */
.why .eyebrow { text-transform: none; }
.pils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pil { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.pil:hover { border-color: rgba(60, 211, 255, 0.45); transform: translateY(-4px); }
.pil--hl { border-color: rgba(60, 211, 255, 0.35); background: radial-gradient(420px 260px at 100% 0%, rgba(60, 211, 255, 0.16), transparent 70%), var(--panel); }
.pil__no { position: absolute; top: 18px; right: 24px; font-size: 44px; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(120, 170, 255, 0.28); }
.pil__k { font-size: 11px; letter-spacing: 0.14em; color: var(--cyan); margin-bottom: 18px; }
.pil h3 { font-size: 23px; line-height: 1.25; margin-bottom: 12px; color: var(--ice); }
.pil > p { font-size: 15px; color: var(--text); line-height: 1.65; margin-bottom: 22px; }
.pil ul { display: grid; gap: 2px; margin-bottom: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.pil li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--text); transition: color .2s; }
.pil li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 8px var(--blue-hi); }
.pil li a:hover { color: var(--cyan); }
.pil .go { margin-top: auto; color: var(--cyan); font-weight: 600; font-size: 14.5px; }
.pil .go:hover { text-decoration: underline; text-underline-offset: 4px; }
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(4, 10, 28, 0.4); }
.diffs li { display: grid; align-content: start; gap: 8px; padding: 28px 26px; }
.diffs li + li { border-left: 1px solid var(--line); }
.diffs .ico { margin-bottom: 8px; }
.diffs b { font-size: 16px; color: var(--ice); line-height: 1.35; }
.diffs span { font-size: 14px; color: var(--mute); line-height: 1.6; }

#global { margin-top: 112px; padding-top: 96px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Stack ---------- */
.stack { display: grid; grid-template-columns: 190px 1fr 190px; gap: 16px; }
.stack__rail { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; background: rgba(11, 24, 64, 0.35); }
.stack__rail h4 { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 16px; }
html.is-local .stack__rail h4 { font-family: var(--f-body); font-size: 13px; letter-spacing: 0.06em; }
.stack__rail li { font-size: 14px; padding: 11px 0; border-top: 1px dashed var(--line); color: var(--text); }
.stack__layers { display: grid; gap: 10px; }
.layer {
  display: grid; grid-template-columns: 44px 220px 1fr; align-items: center; gap: 16px;
  text-align: left; padding: 22px 24px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.layer:hover { border-color: var(--line-strong); transform: translateX(4px); }
.layer[aria-selected="true"] {
  border-color: rgba(60, 211, 255, 0.6);
  background: linear-gradient(110deg, rgba(47, 107, 255, 0.55), rgba(31, 139, 255, 0.25) 60%, rgba(60, 211, 255, 0.12));
  box-shadow: 0 20px 50px -20px rgba(47, 107, 255, 0.7), inset 0 1px 0 rgba(255,255,255,.12);
}
.layer__tag { font-size: 12px; color: var(--cyan); border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 0; text-align: center; }
.layer__name { font-weight: 600; color: var(--ice); font-size: 17px; }
.layer__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.layer__chips i { font-style: normal; font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: rgba(4, 10, 28, 0.45); border: 1px solid var(--line); color: var(--text); }
.stack__wrap-band { text-align: center; padding: 14px; border-radius: var(--r); border: 1px dashed rgba(60, 211, 255, 0.4); color: var(--mute); font-size: 14px; }
.stack__wrap-band b { color: var(--cyan); font-weight: 600; }

.stack__detail { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: linear-gradient(135deg, rgba(11, 24, 64, 0.6), rgba(4, 10, 28, 0.4)); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.stack__detail h3 { font-size: 22px; margin-bottom: 10px; }
.stack__detail p { color: var(--text); }
.stack__detail .go { display: inline-block; margin-top: 18px; color: var(--cyan); font-weight: 600; font-size: 14px; }
.stack__detail .go:hover { text-decoration: underline; text-underline-offset: 4px; }
.stack__detail dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin: 0; }
.stack__detail dt { color: var(--ice); font-weight: 600; font-size: 15px; }
.stack__detail dd { margin: 4px 0 0; color: var(--mute); font-size: 14px; }

/* ---------- Gateway ---------- */
.gw { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.code { border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: #050b22; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(47, 107, 255, 0.45); }
.code__tabs { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(11, 24, 64, 0.5); }
.code__tabs button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font: 500 12.5px/1 var(--f-mono); color: var(--mute); }
.code__tabs button[aria-selected="true"] { background: rgba(47, 107, 255, 0.25); color: var(--ice); }
.code__ok { margin-left: auto; font-size: 11.5px; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; }
.code__ok b { color: var(--ok); font-weight: 500; }
.code__body { margin: 0; padding: 24px; font-size: 13.5px; line-height: 1.75; color: #b9c8ee; overflow-x: auto; min-height: 250px; }
.c-mute { color: #4f6190; }
.c-str { color: #8fe3ff; }
.c-key { color: #9c8cff; }
.c-model { color: #0b1430; background: var(--cyan); padding: 1px 6px; border-radius: 4px; transition: background .3s; display: inline-block; }
.c-model.is-swap { animation: swap .5s var(--ease); }
@keyframes swap { 0% { transform: translateY(-6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.code__foot { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px; }
.code__foot b { color: var(--ice); font-weight: 500; }
.code__foot .sep { color: #2b3b6a; }

.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.features--6 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 34px 30px; background: #060e2c; transition: background .3s; }
.feature:hover { background: #0a163d; }
.feature h3 { font-size: 17.5px; margin-bottom: 10px; line-height: 1.35; }
.feature p { color: var(--mute); font-size: 14.5px; }

.reliab { margin-top: 32px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.5); }
.reliab__title { font: 500 20px/1.3 var(--f-display); letter-spacing: -0.02em; }
html.is-local .reliab__title { font-family: var(--f-body); font-weight: 700; }
.reliab__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.reliab__list li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--blue); }
.reliab__list b { color: var(--ice); font-weight: 600; font-size: 14.5px; }
.reliab__list span { color: var(--mute); font-size: 13.5px; }

/* ---------- Agent ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(100deg, #1240c8, var(--blue) 50%, #1f8bff); box-shadow: 0 30px 60px -30px rgba(47, 107, 255, 0.8); margin-bottom: 20px; }
.flow__step { padding: 22px 26px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.flow__step + .flow__step::before { content: ""; position: absolute; left: -8px; top: 50%; width: 14px; height: 14px; border-top: 1.5px solid rgba(255,255,255,.55); border-right: 1.5px solid rgba(255,255,255,.55); transform: translateY(-50%) rotate(45deg); }
.flow__step b { color: #fff; font-size: 16px; }
.flow__step span { color: rgba(232, 240, 255, 0.75); font-size: 13.5px; }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pillar { padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s var(--ease); }
.pillar:hover { border-color: rgba(60, 211, 255, 0.5); transform: translateY(-4px); }
.pillar__k { display: block; font-size: 11.5px; color: var(--cyan); margin-bottom: 26px; }
.pillar__k::before { content: "▸ "; color: var(--blue-hi); }
.pillar h3 { font-size: 16.5px; margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--mute); }

.assets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding: 16px 20px; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.assets__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); margin-right: 8px; }
html.is-local .assets__label { font-family: var(--f-body); font-size: 13px; letter-spacing: .05em; }
.assets__chip { font-size: 13.5px; padding: 6px 14px; border-radius: 99px; background: rgba(47, 107, 255, 0.12); border: 1px solid var(--line-strong); color: var(--ice); }

.ladder { margin-top: 88px; display: grid; grid-template-columns: 300px 1fr; gap: 20px 56px; }
.ladder__head h3 { font: 500 26px/1.25 var(--f-display); letter-spacing: -0.02em; margin-bottom: 14px; }
html.is-local .ladder__head h3 { font-family: var(--f-body); font-weight: 700; }
.ladder__head p { color: var(--mute); }
.ladder__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; height: 400px; }
.step { position: relative; height: var(--h); padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 32, 78, 0.8), rgba(7, 16, 48, 0.4)); display: flex; flex-direction: column; transform-origin: bottom; }
.reveal.is-in .step { animation: grow 1s var(--ease) both; }
.reveal.is-in .step:nth-child(2) { animation-delay: .1s; }
.reveal.is-in .step:nth-child(3) { animation-delay: .2s; }
.reveal.is-in .step:nth-child(4) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
.step__lv { font-size: 12px; color: var(--cyan); margin-bottom: 8px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--mute); }
.step--rec { background: linear-gradient(180deg, var(--blue), #1a4fd6); border-color: rgba(60, 211, 255, 0.6); box-shadow: 0 24px 50px -20px rgba(47, 107, 255, 0.9); }
.step--rec p { color: rgba(232, 240, 255, 0.85); }
.step--rec .step__lv { color: #fff; }
.step__badge { position: absolute; top: -12px; right: 14px; font-size: 11.5px; font-weight: 600; color: #1a1300; background: var(--warn); padding: 3px 10px; border-radius: 99px; }
.ladder__axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--mute); border-top: 1px solid var(--line-strong); padding-top: 10px; }

/* ---------- Solutions ---------- */
.sol { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.sol__tabs { display: flex; flex-direction: column; gap: 6px; }
.sol__tabs button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 18px; border-radius: var(--r); border: 1px solid transparent; background: transparent; transition: .25s; position: relative; }
.sol__tabs button span { font-size: 11.5px; color: var(--mute); }
.sol__tabs button b { font-weight: 500; color: var(--text); font-size: 15.5px; }
.sol__tabs button:hover { background: rgba(120, 160, 255, 0.06); }
.sol__tabs button[aria-selected="true"] { background: var(--panel); border-color: var(--line-strong); }
.sol__tabs button[aria-selected="true"] b { color: var(--ice); font-weight: 600; }
.sol__tabs button[aria-selected="true"] span { color: var(--cyan); }
.sol__tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px; background: var(--cyan); border-radius: 2px; box-shadow: 0 0 12px var(--cyan); }
.sol__panel { display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.5); min-height: 470px; }
.sol__info h3 { font: 500 26px/1.25 var(--f-display); letter-spacing: -0.02em; margin-bottom: 14px; }
html.is-local .sol__info h3 { font-family: var(--f-body); font-weight: 700; }
.sol__info > p { color: var(--text); }
.sol__info .ticks { margin-top: 20px; }
.sol__info .ticks li { font-size: 14.5px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.kpis div { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 32, 78, 0.4); }
.kpis b { display: block; font: 500 22px/1.1 var(--f-display); color: var(--ice); letter-spacing: -0.02em; }
.kpis span { font-size: 12px; color: var(--mute); }
.sol__note { margin-top: 10px; font-size: 11.5px; color: #5b6c98; }

.console { border-radius: var(--r); border: 1px solid var(--line-strong); background: #050b22; display: flex; flex-direction: column; overflow: hidden; min-height: 400px; }
.console__head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--mute); }
.console__body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; font-size: 14px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; line-height: 1.55; animation: lineIn .45s var(--ease); }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: rgba(16, 32, 78, 0.8); border: 1px solid var(--line); color: var(--ice); border-bottom-left-radius: 4px; }
.msg--sys { align-self: stretch; max-width: none; font: 12px/1.6 var(--f-mono); color: var(--mute); padding: 6px 10px; border-left: 2px solid var(--cyan); border-radius: 0 6px 6px 0; background: rgba(60, 211, 255, 0.05); }
.msg--sys b { color: var(--ok); font-weight: 500; }
.msg--code { align-self: stretch; max-width: none; font: 12.5px/1.65 var(--f-mono); background: #030818; border: 1px solid var(--line); color: #b9c8ee; white-space: pre; overflow-x: auto; }
.msg--chart { align-self: flex-start; width: 88%; background: rgba(16, 32, 78, 0.8); border: 1px solid var(--line); }
.bars { display: flex; align-items: end; gap: 10px; height: 110px; margin-top: 10px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--cyan), var(--blue)); border-radius: 4px 4px 0 0; animation: grow .8s var(--ease) both; transform-origin: bottom; position: relative; }
.bars i::after { content: attr(data-l); position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font: 10.5px var(--f-mono); color: var(--mute); }
.msg--chart small { display: block; margin-top: 26px; color: var(--mute); font-size: 12.5px; }
.typing { display: inline-flex; gap: 4px; padding: 14px; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-top: 6px; }
.wave i { width: 3px; background: var(--cyan); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 22px; } }

/* ---------- Finance ---------- */
.section--finance { background: radial-gradient(900px 500px at 85% 0%, rgba(47, 107, 255, 0.18), transparent 60%), var(--ink); }
.fin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fin__col { padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 32, 78, 0.55), rgba(4, 10, 28, 0.2)); }
.fin__k { font-size: 11px; letter-spacing: .16em; color: var(--cyan); }
.fin__col h3 { font-size: 19px; margin: 12px 0 18px; }
.fin__col li { font-size: 14.5px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); }
.fin__band { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.fin__band > div { padding: 28px; display: flex; flex-direction: column; gap: 6px; background: rgba(11, 24, 64, 0.5); }
.fin__band > div + div { border-left: 1px solid var(--line); }
.fin__band .big { font: 500 34px/1.1 var(--f-display); color: var(--ice); letter-spacing: -0.03em; }
.fin__band > div > span { color: var(--mute); font-size: 14px; }

/* ---------- Services ---------- */
.fde { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.fde__intro h3, .train__intro h3 { font: 500 24px/1.25 var(--f-display); letter-spacing: -0.02em; margin-bottom: 12px; }
html.is-local .fde__intro h3, html.is-local .train__intro h3 { font-family: var(--f-body); font-weight: 700; }
.fde__intro p, .train__intro p { color: var(--mute); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue) 60%, transparent); }
.timeline li { position: relative; padding: 32px 22px 0 0; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); }
.timeline li.is-key::before { background: var(--cyan); box-shadow: 0 0 0 5px rgba(60, 211, 255, 0.18); }
.timeline__wk { font-size: 12px; color: var(--cyan); margin-bottom: 8px; }
.timeline h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.35; }
.timeline p { font-size: 13.5px; color: var(--mute); flex: 1; }
.timeline__out { margin-top: 14px; font-size: 12px; color: var(--text); padding: 6px 10px; border-radius: 8px; background: rgba(4, 10, 28, 0.6); border: 1px solid var(--line); align-self: flex-start; }

.train { margin-top: 20px; display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 40px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.track { padding: 24px; border-radius: var(--r); background: rgba(11, 24, 64, 0.5); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.track h4 { font-size: 17px; }
.track p { color: var(--mute); font-size: 14px; flex: 1; }
.track .mono { font-size: 12px; color: var(--cyan); }

/* ---------- Trust ---------- */
.guard { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(110deg, #1240c8, var(--blue) 55%, #1f8bff); box-shadow: 0 30px 60px -30px rgba(47, 107, 255, 0.8); }
.guard__col { padding: 32px 30px; }
.guard__col + .guard__col { border-left: 1px solid rgba(255,255,255,.18); }
.guard__when { display: inline-block; font-size: 11.5px; color: var(--blue); background: #fff; padding: 4px 10px; border-radius: 6px; margin-bottom: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
html.is-local .guard__when { font-family: var(--f-body); letter-spacing: .04em; }
.guard__col h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.guard__col p { color: rgba(232, 240, 255, 0.82); font-size: 14.5px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.trust-grid article { padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.5); }
.trust-grid h4 { font-size: 16px; margin-bottom: 8px; }
.trust-grid p { color: var(--mute); font-size: 14px; }
.frameworks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.frameworks li { font: 500 13px/1 var(--f-mono); color: var(--ice); padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line-strong); }
.frameworks li:first-child { border: 0; padding-left: 0; color: var(--mute); }

/* ---------- Global ---------- */
.global { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.clocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.clocks li { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 24px; background: #050c27; }
.clocks__city { font-size: 14px; color: var(--text); }
.clocks b { font-size: 22px; color: var(--ice); font-weight: 400; letter-spacing: -0.02em; }
.clocks .is-hq { background: linear-gradient(110deg, rgba(47, 107, 255, 0.45), rgba(47, 107, 255, 0.1)); }
.clocks .is-hq .clocks__city { color: #fff; font-weight: 600; }
.clocks .is-off b { color: var(--mute); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; position: relative; overflow: hidden; background: radial-gradient(700px 500px at 10% 100%, rgba(60, 211, 255, 0.22), transparent 60%), linear-gradient(120deg, #0e2f9e, var(--blue) 50%, #1a78ff); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.cta h2 { font: 500 clamp(32px, 4vw, 52px)/1.1 var(--f-display); letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; }
.cta__copy > p { color: rgba(232, 240, 255, 0.88); font-size: 18px; max-width: 520px; }
.cta__meta { margin-top: 36px; display: grid; gap: 10px; }
.cta__meta li { display: flex; gap: 16px; color: #fff; }
.cta__meta address { color: #fff; line-height: 1.6; }
.cta__meta .mono { width: 56px; flex: none; font-size: 12px; color: rgba(232, 240, 255, 0.6); padding-top: 3px; }
.cta__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { padding: 30px; border-radius: var(--r-lg); background: rgba(4, 10, 28, 0.88); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ice); background: rgba(16, 32, 78, 0.5); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--deep); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(60, 211, 255, 0.18); }
.form .is-invalid { border-color: #ff6b81; }
.form__note { font-size: 13px; color: var(--ok); min-height: 1em; }
.form__note.is-err { color: #ff8b9c; }

/* ---------- Model hub ---------- */
.hub { display: grid; grid-template-columns: 272px 1fr; gap: 20px; }
.hub__tabs { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(11, 24, 64, 0.35); align-self: start; position: sticky; top: calc(var(--nav-h) + 20px); }
.hub__tabs button { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 0; border-radius: 12px; background: transparent; text-align: left; transition: background .2s; }
.hub__tabs svg { width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hub__tabs b { font-weight: 500; font-size: 15px; color: var(--text); flex: 1; }
.hub__count { font-size: 11.5px; color: var(--mute); padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); }
.hub__tabs button:hover { background: rgba(120, 160, 255, 0.07); }
.hub__tabs button[aria-selected="true"] { background: linear-gradient(110deg, rgba(47, 107, 255, 0.45), rgba(47, 107, 255, 0.12)); }
.hub__tabs button[aria-selected="true"] b { color: #fff; font-weight: 600; }
.hub__tabs button[aria-selected="true"] svg { stroke: var(--cyan); }
.hub__tabs button[aria-selected="true"] .hub__count { color: var(--cyan); border-color: rgba(60, 211, 255, 0.45); }
.hub__panel { display: grid; gap: 30px; min-height: 420px; }
.hub__gh { display: flex; align-items: center; gap: 14px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-bottom: 14px; }
html.is-local .hub__gh { font-family: var(--f-body); font-size: 14px; letter-spacing: .04em; }
.hub__gh i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mcard { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, transform .25s var(--ease), background .25s; animation: lineIn .45s var(--ease) both; }
.mcard:hover { border-color: rgba(60, 211, 255, 0.5); transform: translateY(-2px); background: rgba(20, 40, 96, 0.6); }
.mcard__logo { width: 48px; height: 48px; padding: 9px; border-radius: 10px; background: rgba(4, 10, 28, 0.7); border: 1px solid var(--line); flex: none; }
.mcard__logo--mono { font-size: 16px; padding: 0; }
.mcard h5 { font-size: 15px; color: var(--ice); font-weight: 600; line-height: 1.3; }
.mcard__v { font-size: 12px; color: var(--mute); }
.mcard p { font-size: 12.5px; color: var(--text); margin-top: 6px; }

/* ---------- Token Plan ---------- */
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__head--center .lead { margin-inline: auto; }
.seg { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(4, 10, 28, 0.5); }
.seg button { border: 0; background: transparent; padding: 9px 22px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--mute); transition: .2s; }
.seg button[aria-selected="true"] { background: var(--blue); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.55); animation: lineIn .45s var(--ease) both; }
.plan h3 { font: 500 20px/1.2 var(--f-display); letter-spacing: -0.02em; }
html.is-local .plan h3 { font-family: var(--f-body); font-weight: 700; }
.plan__desc { color: var(--mute); font-size: 14px; margin-top: 6px; min-height: 2.6em; }
.plan__priceRow { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 22px; }
.plan__price { font: 500 46px/1 var(--f-display); color: var(--ice); letter-spacing: -0.04em; }
.plan__price sup { font-size: 20px; vertical-align: top; margin-right: 2px; position: relative; top: 6px; }
.plan__per { color: var(--mute); font-size: 14px; }
.plan__credits { margin: 18px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(47, 107, 255, 0.1); border: 1px solid var(--line); font-size: 12.5px; color: var(--text); }
.plan__credits b { color: var(--cyan); font-weight: 500; font-size: 14px; }
.plan .ticks { margin-top: 20px; gap: 10px; }
.plan .ticks li { font-size: 14px; }
.plan--hot { border-color: rgba(60, 211, 255, 0.6); background: linear-gradient(180deg, rgba(47, 107, 255, 0.35), rgba(4, 10, 28, 0.6) 55%); box-shadow: 0 30px 60px -30px rgba(47, 107, 255, 0.9); }
.plan--hot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--cyan), var(--blue), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__badge { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 600; color: #04122e; background: linear-gradient(120deg, #8fe3ff, var(--cyan)); padding: 4px 10px; border-radius: 99px; }
.plans__note { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--mute); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; text-align: center; }
.perks article { display: flex; flex-direction: column; align-items: center; padding: 0 12px; }
.perks h4 { font-size: 16px; margin-bottom: 6px; }
.perks p { font-size: 14px; color: var(--mute); max-width: 320px; }
.faq { max-width: 880px; margin: 88px auto 0; }
.faq h3 { text-align: center; font: 500 28px/1.2 var(--f-display); letter-spacing: -0.02em; margin-bottom: 28px; }
html.is-local .faq h3 { font-family: var(--f-body); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 40px 20px 0; position: relative; color: var(--ice); font-weight: 500; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { font-size: 12px; color: var(--cyan); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(60, 211, 255, 0.4); flex: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 40px 22px 36px; color: var(--mute); font-size: 14.5px; }

/* ---------- Token Plan: business-only chips ---------- */
.pr__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.pr__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(47, 107, 255, 0.1); font-size: 12.5px; color: var(--ice); }
.pr__chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* ---------- Solutions: categories ---------- */
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cat-head .tag { margin: 0; }
.cat-head h3 { font-size: 20px; }
.cat-head--lq { margin-top: 80px; padding-top: 44px; border-top: 1px solid var(--line); }
.fin__prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fin__prods a { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.55); transition: border-color .3s, transform .3s var(--ease); }
.fin__prods a:hover { border-color: rgba(60, 211, 255, 0.5); transform: translateY(-4px); }
.fin__prods b { font-size: 18px; color: var(--ice); }
.fin__prods b::after { content: " →"; color: var(--cyan); }
.fin__prods span:not(.fin__k) { font-size: 14px; color: var(--mute); }
.fin__prods--5 { grid-template-columns: repeat(5, 1fr); }
.cat-head--infra .go { margin-left: auto; color: var(--cyan); font-weight: 600; font-size: 14.5px; }
.lq__intro { max-width: 820px; margin-bottom: 28px; }
.lq__intro h4 { font: 500 clamp(24px, 2.6vw, 32px)/1.2 var(--f-display); color: var(--ice); letter-spacing: -0.015em; margin-bottom: 12px; }
html.is-local .lq__intro h4 { font-family: var(--f-local), sans-serif; font-weight: 700; letter-spacing: 0.01em; }
.lq__intro p { color: var(--mute); font-size: 16px; }

/* ---------- Lingque (MA + CDP) ---------- */
.lq { border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: rgba(4, 10, 28, 0.6); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(47, 107, 255, 0.45); }
.lq__bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(11, 24, 64, 0.6); font-size: 12px; color: var(--mute); }
.lq__product { color: var(--ice); font-size: 13px; }
.lq__product b { font-weight: 700; margin-right: 4px; background: linear-gradient(100deg, #8fe3ff, var(--blue-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lq__path { opacity: .8; }
.lq__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 11px; }
.lq__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.lq__body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1px; background: var(--line); }
.lq__profile, .lq__journey { padding: 24px; background: #050c26; }
.lq__ptag { font-size: 11px; color: var(--cyan); letter-spacing: .08em; margin-bottom: 18px; }
.lq__who { display: flex; align-items: center; gap: 12px; }
.lq__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; font: 600 14px/1 var(--f-display); }
.lq__who b { display: block; color: var(--ice); font: 500 14px/1.3 var(--f-mono); }
.lq__who small { color: var(--mute); font-size: 12.5px; }
.lq__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.lq__tags li { padding: 3px 9px; border-radius: 6px; font-size: 11.5px; color: var(--text); background: rgba(60, 211, 255, 0.08); border: 1px solid rgba(60, 211, 255, 0.22); }
.lq__attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.lq__attrs div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(16, 32, 78, 0.45); }
.lq__attrs dt { font-size: 11.5px; color: var(--mute); }
.lq__attrs dd { margin: 2px 0 0; color: var(--ice); font: 500 14px/1.3 var(--f-mono); }
.lq__scores { display: grid; gap: 9px; margin-bottom: 18px; }
.lq__scores div { display: grid; grid-template-columns: minmax(84px, 9em) 1fr 26px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text); }
.lq__scores i { position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.lq__scores i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.lq__scores i.is-low::after { background: linear-gradient(90deg, #2bbf85, var(--ok)); }
.lq__scores b { font: 500 12.5px/1 var(--f-mono); color: var(--ice); text-align: right; }
.lq__events { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-strong); }
.lq__events li { position: relative; display: flex; gap: 10px; padding: 4px 0 8px 16px; font-size: 12.5px; color: var(--text); }
.lq__events li::before { content: ""; position: absolute; left: -4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.lq__events li.is-alert::before { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.lq__events li.is-alert span { color: var(--warn); }
.lq__events time { color: var(--mute); font-size: 11.5px; padding-top: 1px; }

.jn { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.jn__node { position: relative; width: min(100%, 300px); padding: 10px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(16, 32, 78, 0.7); text-align: center; }
.jn__node small { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--mute); margin-bottom: 3px; }
.jn__node b { display: block; color: var(--ice); font-size: 13px; font-weight: 500; line-height: 1.35; }
.jn__node em { display: inline-block; margin-top: 6px; padding: 1px 8px; border-radius: 999px; font: 500 11px/1.6 var(--f-mono); font-style: normal; color: var(--cyan); background: rgba(60, 211, 255, 0.1); }
.jn__node--ai::before, .jn__node--ai::after, .jn__node--goal::before { content: ""; position: absolute; left: 50%; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--cyan) 0 4px, transparent 4px 8px); background-size: 2px 16px; animation: flowDown 0.8s linear infinite; }
.jn__node--ai::before { top: -27px; height: 26px; }
.jn__node--ai::after { bottom: -14px; height: 13px; }
.jn__node--goal::before { top: -14px; height: 13px; }
.jn__node--trigger { border-color: rgba(60, 211, 255, 0.6); }
.jn__node--trigger small { color: var(--cyan); }
.jn__node--ai { border-color: rgba(77, 134, 255, 0.7); background: linear-gradient(110deg, rgba(47, 107, 255, 0.5), rgba(47, 107, 255, 0.18)); box-shadow: 0 0 26px -8px rgba(47, 107, 255, 0.9); }
.jn__node--ai small { color: #b9ccff; }
.jn__node--goal { border-color: rgba(92, 242, 176, 0.55); }
.jn__node--goal small { color: var(--ok); }
.jn__lift { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--ok); }
.jn__lift span { color: var(--mute); }
.jn__split { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.jn__split::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: -13px; height: 1px; background: rgba(60, 211, 255, 0.5); }
.jn__split::after { content: ""; position: absolute; left: 16.6%; right: 16.6%; bottom: -13px; height: 1px; background: rgba(60, 211, 255, 0.5); }
.jn__split .jn__node { width: auto; padding: 10px 8px; }
.jn__split .jn__node::before, .jn__split .jn__node::after { content: ""; position: absolute; left: 50%; width: 1px; height: 13px; background: rgba(60, 211, 255, 0.5); }
.jn__split .jn__node::before { top: -14px; }
.jn__split .jn__node::after { bottom: -14px; }

.lq__caps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.lq__caps article { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.55); }
.lq__caps h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 18px; }
.lq__caps h3 .tag { margin: 0; }
.lq__ai { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 20px; margin-top: 20px; padding: 22px 28px; border-radius: var(--r-lg); border: 1px solid rgba(77, 134, 255, 0.45); background: linear-gradient(100deg, rgba(47, 107, 255, 0.22), rgba(60, 211, 255, 0.05)); }
.lq__aiLabel { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.lq__ai ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lq__ai b { display: block; color: var(--ice); font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.lq__ai span { color: var(--mute); font-size: 13px; line-height: 1.5; }

/* ---------- Private deployment ---------- */
.pd { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: stretch; }
.pd__viz, .pd__sec, .pd__custom { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(4, 10, 28, 0.55); padding: 28px; }
.pd__viz { display: flex; flex-direction: column; gap: 22px; }
.seg--sm { margin-top: 0; align-self: flex-start; }
.seg--sm button { padding: 7px 16px; font-size: 13px; }
.topo { flex: 1; display: grid; grid-template-columns: 1fr 170px; align-items: center; align-content: center; }
.topo__zone {
  position: relative; display: grid; gap: 18px; padding: 40px 18px 18px; border-radius: 16px;
  border: 1.5px dashed rgba(60, 211, 255, 0.55);
  background: linear-gradient(rgba(60, 211, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(60, 211, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px, rgba(8, 20, 60, 0.6);
  transition: border-color .4s, box-shadow .4s;
}
.topo__zlabel { position: absolute; top: -12px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; background: var(--ink); border: 1px solid rgba(60, 211, 255, 0.55); font-size: 11.5px; color: var(--ice); }
.topo__zlabel svg { width: 13px; height: 13px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
.topo__row { position: relative; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(16, 32, 78, 0.7); padding: 11px 14px; font-size: 13px; color: var(--text); display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; }
.topo__row + .topo__row::before { content: ""; position: absolute; left: 50%; top: -19px; width: 2px; height: 19px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--cyan) 0 4px, transparent 4px 8px); background-size: 2px 16px; animation: flowDown 0.8s linear infinite; opacity: .8; }
@keyframes flowDown { to { background-position: 0 16px; } }
.topo__row b { color: var(--ice); font-weight: 600; }
.topo__row small { display: block; font-size: 11.5px; color: var(--mute); font-family: var(--f-mono); }
.topo__row--sys { justify-content: space-around; background: rgba(11, 24, 64, 0.5); }
.topo__row--app { background: linear-gradient(110deg, rgba(47, 107, 255, 0.55), rgba(47, 107, 255, 0.2)); border-color: rgba(77, 134, 255, 0.6); }
.topo__row--gw { flex-direction: column; gap: 2px; border-color: rgba(60, 211, 255, 0.7); box-shadow: 0 0 24px -6px rgba(60, 211, 255, 0.55), inset 0 0 0 1px rgba(60, 211, 255, 0.15); }
.topo__row--base { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; background: transparent; border: 0; }
.topo__row--base > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-radius: 9px; border: 1px solid var(--line-strong); background: rgba(16, 32, 78, 0.7); }
.topo__flow { display: none; }
.topo__edge { display: flex; align-items: center; height: 100%; }
.topo__link { position: relative; flex: 1; height: 2px; margin: 0 -1px; }
.topo__link::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--ok) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: flowRight 0.7s linear infinite; transition: opacity .3s; }
@keyframes flowRight { to { background-position: 24px 0; } }
.topo__link i { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); border: 1.5px solid #ff6b81; opacity: 0; transition: opacity .3s; }
.topo__link i::before, .topo__link i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: #ff6b81; transform: translate(-50%, -50%) rotate(45deg); }
.topo__link i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.topo__cloud { width: 132px; padding: 14px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(11, 24, 64, 0.7); text-align: center; transition: opacity .4s, filter .4s; }
.topo__cloud b { display: block; font-size: 13px; color: var(--ice); }
.topo__cloud small { display: block; margin-top: 6px; font: 11px/1.4 var(--f-mono); color: var(--ok); }
.topo[data-mode="airgap"] .topo__link::before { background: repeating-linear-gradient(90deg, #4b5a82 0 6px, transparent 6px 12px); animation: none; }
.topo[data-mode="airgap"] .topo__link i { opacity: 1; }
.topo[data-mode="airgap"] .topo__cloud { opacity: .5; filter: grayscale(1); }
.topo[data-mode="airgap"] .topo__cloud small { color: #ff8b9c; }
.topo[data-mode="dedicated"] .topo__zone { border-style: solid; border-color: rgba(77, 134, 255, 0.8); box-shadow: 0 0 40px -12px rgba(47, 107, 255, 0.8); }
.topo[data-mode="dedicated"] .topo__link::before { background: repeating-linear-gradient(90deg, var(--blue-hi) 0 6px, transparent 6px 12px); background-size: 24px 2px; }
.topo[data-mode="dedicated"] .topo__cloud small { color: var(--blue-hi); }
.topo__caption { color: var(--mute); font-size: 14px; min-height: 3.2em; }

.pd__sec h3, .pd__custom h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 18px; }
.pd__sec h3 .tag, .pd__custom h3 .tag { margin: 0; }
.pd__list { display: grid; gap: 4px; }
.pd__list li { display: grid; gap: 2px; padding: 12px 0 12px 16px; border-left: 2px solid var(--line-strong); transition: border-color .25s; }
.pd__list li:hover { border-left-color: var(--cyan); }
.pd__list b { color: var(--ice); font-size: 15px; font-weight: 600; }
.pd__list span { color: var(--mute); font-size: 13.5px; }
.pd__custom { margin-top: 20px; }
.pd__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pd__grid article { padding: 24px 22px; background: #060e2c; transition: background .25s; }
.pd__grid article:hover { background: #0a163d; }
.pd__grid h4 { font-size: 16px; margin-bottom: 8px; }
.pd__grid p { font-size: 14px; color: var(--mute); }
.pd__specs { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.pd__specs li { padding: 24px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, rgba(47, 107, 255, 0.16), rgba(11, 24, 64, 0.4)); }
.pd__specs li + li { border-left: 1px solid var(--line); }
.pd__specs b { font: 500 28px/1.1 var(--f-display); color: var(--ice); letter-spacing: -0.02em; }
.pd__specs span { color: var(--mute); font-size: 13.5px; }

address { font-style: normal; }
.footer__addr { margin-top: 18px; font-size: 13.5px; color: var(--mute); line-height: 1.7; }
.footer__addr .mono { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #5b6c98; margin-bottom: 4px; }
.footer__addr a { color: var(--text); }
.footer__addr a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: #030817; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { margin-top: 14px; color: var(--mute); max-width: 320px; font-size: 14px; }
.footer__cols { display: flex; gap: 72px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols h5 { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); margin-bottom: 6px; }
html.is-local .footer__cols h5 { font-family: var(--f-body); font-size: 13px; letter-spacing: .04em; }
.footer__cols a { font-size: 14px; color: var(--text); }
.footer__cols a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #5b6c98; }
.footer__status { display: inline-flex; align-items: center; gap: 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1260px) {
  .nav__links { gap: 0; }
  .nav__top { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 1180px) {
  .stack { grid-template-columns: 1fr; }
  .stack__rail { display: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .fin__prods { grid-template-columns: repeat(2, 1fr); }
  .fin__prods--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; padding: 8px 24px 24px; gap: 0; background: rgba(4, 10, 28, 0.97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__top { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__top:hover, .nav__top.is-active, .nav__item.is-active > .nav__top, .nav__item:hover > .nav__top, .nav__item.is-open > .nav__top { background: transparent; }
  .nav__item::after { display: none; }
  .nav__menu { position: static; display: none; width: auto; padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__item.is-open .nav__menu { display: grid; transform: none; }
  .nav__menu a { padding: 10px 12px; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { justify-self: center; width: 100%; max-width: 600px; margin: 0; }
  .trace { left: 0; width: 100%; bottom: 0; }
  .hub { grid-template-columns: 1fr; }
  .hub__tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .hub__tabs button { flex: none; }
  .plans, .perks { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pd { grid-template-columns: 1fr; }
  .lq__body { grid-template-columns: 1fr; }
  .lq__ai { grid-template-columns: 1fr; }
  .lq__ai ul { grid-template-columns: repeat(2, 1fr); }
  .pd__grid { grid-template-columns: repeat(2, 1fr); }
  .pd__specs { grid-template-columns: repeat(2, 1fr); }
  .pd__specs li:nth-child(3) { border-left: 0; }
  .pd__specs li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .perks { gap: 36px; }
  .gw, .global, .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .features--6 { grid-template-columns: repeat(2, 1fr); }
  .reliab { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .ladder__axis { grid-column: 1; }
  .sol { grid-template-columns: 1fr; }
  .sol__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sol__tabs button { flex: none; }
  .sol__tabs button[aria-selected="true"]::before { left: 14px; right: 14px; top: auto; bottom: -1px; width: auto; height: 2px; }
  .sol__panel { grid-template-columns: 1fr; }
  .fin { grid-template-columns: repeat(2, 1fr); }
  .fde, .train { grid-template-columns: 1fr; gap: 32px; }
  .stack__detail { grid-template-columns: 1fr; gap: 24px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pils { grid-template-columns: 1fr; max-width: 640px; }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .diffs li:nth-child(3) { border-left: 0; }
  .diffs li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }
  .nav__cta { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .trace__body { height: 130px; font-size: 10.5px; }
  .trace__body li { grid-template-columns: 80px 1fr auto; }
  .models-strip { flex-direction: column; align-items: stretch; }
  .models-strip__label { border-right: 0; border-bottom: 1px solid var(--line); height: 44px; justify-content: center; }
  .marquee__track span { font-size: 16px; line-height: 68px; }
  .mlogo { width: 26px; height: 26px; }
  .cat-head--lq { margin-top: 56px; padding-top: 32px; }
  .fin__prods { grid-template-columns: 1fr; }
  .fin__prods--5 { grid-template-columns: 1fr; }
  .cat-head--infra { flex-wrap: wrap; }
  .layer { grid-template-columns: 40px 1fr; padding: 18px; }
  .layer__chips { grid-column: 1 / -1; }
  .stack__detail dl { grid-template-columns: 1fr; }
  .features--6, .pillars, .fin, .tracks, .trust-grid, .reliab__list { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step + .flow__step::before { display: none; }
  .ladder__steps { grid-template-columns: repeat(2, 1fr); height: auto; align-items: stretch; }
  .step { height: auto; min-height: 170px; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpis b { font-size: 18px; }
  .fin__band, .guard { grid-template-columns: 1fr; }
  .topo { grid-template-columns: 1fr; }
  .lq__caps, .lq__ai ul { grid-template-columns: 1fr; }
  .lq__path { display: none; }
  .lq__profile, .lq__journey, .lq__caps article, .lq__ai { padding: 20px; }
  .jn__split .jn__node b { font-size: 12px; }
  .topo__edge { flex-direction: column; height: auto; }
  .topo__link { width: 2px; height: 36px; flex: none; margin: -1px 0; }
  .topo__link::before { background-size: 2px 24px !important; background-image: repeating-linear-gradient(180deg, var(--ok) 0 6px, transparent 6px 12px); }
  .topo__cloud { width: auto; }
  .topo__row--sys { flex-wrap: wrap; }
  .topo__row--base { grid-template-columns: 1fr; padding: 0; }
  .pd__viz, .pd__sec, .pd__custom { padding: 20px; }
  .pd__grid { grid-template-columns: 1fr; }
  .fin__band > div + div, .guard__col + .guard__col { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--blue) 60%, transparent); }
  .timeline li { padding: 0 0 0 30px; }
  .fde, .train, .sol__panel, .form { padding: 22px; }
  .clocks { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { gap: 40px; flex-wrap: wrap; }
  .diffs { grid-template-columns: 1fr; }
  .diffs li + li { border-left: 0; border-top: 1px solid var(--line); }
  .chapter__tabs button { padding: 14px 12px; font-size: 14px; }
  .chapter__tabs button::after { left: 12px; right: 12px; }
  .chapter__panel { padding-top: 48px; }
  .pil { padding: 28px 22px 24px; }
  #global { margin-top: 72px; padding-top: 64px; }
}

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