/* ============================================================================
   ladtelecom.com — corporate product-suite portal · v4 «Luminous Operations»
   Rich graphical visuals, adaptive dark/light SVG tokens, interactive live
   consoles, architectural scenario explorer and progressive vanilla JS.
   Zero external runtime dependencies: Vazirmatn variable font is self-hosted
   in ./fonts and all emblems/icons are inline SVG sprites.
   ========================================================================= */

/* ---------- font ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn%5Bwght%5D.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #050810;
  --bg-2: #080d18;
  --surface: #0c1322;
  --surface-2: #121c30;
  --surface-glass: rgba(12, 19, 34, .78);
  --ink: #ecf2fc;
  --ink-2: #a9b7cf;
  --muted: #7687a5;
  --line: rgba(164, 188, 232, .1);
  --line-2: rgba(164, 188, 232, .2);
  --brand: #4b86ff;
  --brand-2: #22c9b8;
  --brand-3: #9d7bff;
  --grad: linear-gradient(96deg, #4b86ff, #22c9b8);
  --grad-soft: linear-gradient(135deg, rgba(75, 134, 255, .14), rgba(34, 201, 184, .12));
  --live: #34d399;
  --dev: #fbbf24;
  --r: 18px;
  --shadow: 0 2px 4px rgb(0 0 0 / .45), 0 32px 80px -36px rgb(0 0 0 / .92);
  --font: "Vazirmatn", system-ui, "Segoe UI", Tahoma, sans-serif;
  /* theme-adaptive SVG illustration tokens */
  --svg-panel: #0a1120;
  --svg-card: #101b2f;
  --svg-card-2: #16233d;
  --svg-stroke: rgba(148, 174, 218, .28);
  --svg-ink: #edf3ff;
  --svg-muted: #90a3c2;
  --svg-grid: rgba(148, 174, 218, .09);
  --svg-halo: #080d18;
}
[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-2: #eaf0f8;
  --surface: #ffffff;
  --surface-2: #f3f6fc;
  --surface-glass: rgba(255, 255, 255, .86);
  --ink: #0b1528;
  --ink-2: #3b4b64;
  --muted: #60708a;
  --line: rgba(13, 30, 60, .1);
  --line-2: rgba(13, 30, 60, .19);
  --brand: #1f57d6;
  --brand-2: #0d9488;
  --brand-3: #6d3be4;
  --grad: linear-gradient(96deg, #1f57d6, #0d9488);
  --grad-soft: linear-gradient(135deg, rgba(31, 87, 214, .09), rgba(13, 148, 136, .08));
  --live: #0f7b47;
  --dev: #b45309;
  --shadow: 0 2px 4px rgb(13 30 60 / .06), 0 24px 56px -28px rgb(13 30 60 / .22);
  /* light-mode SVG illustration tokens */
  --svg-panel: #f7faff;
  --svg-card: #ffffff;
  --svg-card-2: #edf2fa;
  --svg-stroke: rgba(15, 35, 70, .18);
  --svg-ink: #0b1528;
  --svg-muted: #52637d;
  --svg-grid: rgba(15, 35, 70, .07);
  --svg-halo: #f7faff;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(75, 134, 255, .3); }

.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: absolute; inset-inline-start: 0; inset-block-start: -100px;
  z-index: 90; padding: .7rem 1.1rem; border-radius: 0 0 10px 0;
  background: var(--surface); border: 1px solid var(--line-2); font-weight: 700;
}
.skip:focus { inset-block-start: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.chain { direction: ltr; unicode-bidi: isolate; }

/* ---------- atmospheric background & canvas ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.bg-wash {
  position: absolute; inset-block-start: -460px; inset-inline-end: -140px;
  width: 1120px; height: 880px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 134, 255, .22), transparent 64%);
  filter: blur(36px);
}
.bg-wash-2 {
  position: absolute; inset-block-start: 160px; inset-inline-start: -240px;
  width: 900px; height: 740px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 201, 184, .14), rgba(157, 123, 255, .07) 45%, transparent 68%);
  filter: blur(42px);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 82% 58% at 50% 0%, #000 0%, transparent 78%);
  opacity: .72;
}
[data-theme="light"] .bg-wash { background: radial-gradient(circle at 50% 50%, rgba(31, 87, 214, .11), transparent 64%); }
[data-theme="light"] .bg-wash-2 { background: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, .09), transparent 66%); }
[data-theme="light"] .bg-grid { opacity: .48; }
[data-theme="light"] .net-canvas { opacity: .55; }

/* ---------- header ---------- */
.head {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  border-block-end: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.head.is-scrolled { box-shadow: 0 14px 36px -24px rgba(0, 0, 0, .75); background: color-mix(in srgb, var(--bg) 93%, transparent); }
.head-in { display: flex; align-items: center; gap: 1.25rem; min-block-size: 72px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .12rem; font-weight: 800; line-height: 1.25; flex: none; }
.brand .logo { display: block; height: 22px; width: auto; direction: ltr; }
.brand-t { font-size: .82rem; font-weight: 800; letter-spacing: -.005em; }
.brand-t small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.nav { display: flex; gap: .2rem; margin-inline-start: auto; }
.nav a {
  position: relative; padding: .45rem .68rem; border-radius: 8px;
  font-size: .87rem; font-weight: 600; color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a::after {
  content: ""; position: absolute; inset-inline: .68rem; inset-block-end: .25rem;
  block-size: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--ink); }

.head-act { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface-glass);
  color: var(--ink-2); cursor: pointer;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--brand); background: var(--surface); transform: translateY(-1px); }
.icon-btn .ico { width: 18px; height: 18px; }

/* ---------- language menu (same visual language as .icon-btn) ---------- */
.lang-wrap { position: relative; display: inline-flex; }
.lang-menu {
  position: absolute; inset-block-start: calc(100% + .45rem); inset-inline-end: 0;
  z-index: 60; min-inline-size: 168px;
  display: none; flex-direction: column; padding: .3rem;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); box-shadow: var(--shadow);
}
.lang-menu:not([hidden]) { display: flex; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .65rem; border-radius: 8px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.lang-menu a:hover { color: var(--ink); background: var(--surface-2); }
.lang-menu a[aria-current] { color: var(--ink); background: var(--surface-2); }
.lang-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .66rem; font-weight: 800; letter-spacing: .04em; color: var(--muted);
}
[data-theme="dark"] .i-moon { display: none; }
[data-theme="light"] .i-sun { display: none; }
.menu-btn { display: none; }
.menu-btn .i-shut { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-shut { display: block; }

.m-nav {
  display: none; flex-direction: column;
  padding: .4rem 1.5rem 1.1rem;
  border-block-start: 1px solid var(--line);
  background: var(--bg);
}
.m-nav:not([hidden]) { display: flex; }
.m-nav a {
  padding: .78rem .2rem; font-weight: 600; color: var(--ink-2);
  border-block-end: 1px solid var(--line);
}
.m-nav a:last-child { border-block-end: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.25rem; border-radius: 11px; border: 1px solid transparent;
  font-size: .9rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s, border-color .22s;
}
.btn .ico { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 28px -12px rgba(75, 134, 255, .85), 0 0 0 1px rgba(255, 255, 255, .14) inset;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(34, 201, 184, .7); }
.btn-ghost { background: var(--surface-glass); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); background: var(--surface); }
.btn-sm { padding: .52rem .95rem; font-size: .84rem; }
.btn-lg { padding: .9rem 1.45rem; font-size: .95rem; border-radius: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(2.8rem, 5.2vw, 4.6rem) 0; }
.hero-grid {
  display: grid; gap: clamp(2rem, 3.8vw, 3.2rem);
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .34rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800; color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand-2) 32%, transparent);
  box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--brand-2) 55%, transparent);
}
.eyebrow .ico { width: 15px; height: 15px; }
.eyebrow .ey-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 25%, transparent);
  animation: breathe 2.4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.05rem, 4.1vw, 3.15rem);
  line-height: 1.35; font-weight: 900;
  margin: 1.05rem 0 1rem;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--ink-2); font-size: 1.01rem; max-inline-size: 56ch; line-height: 1.9; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block-start: 1.7rem; }
.cta-sub {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .4rem; font-size: .86rem; font-weight: 700; color: var(--ink-2);
  transition: color .18s;
}
.cta-sub:hover { color: var(--brand-2); }
.cta-sub .ico { width: 16px; height: 16px; }

.proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem; margin-block-start: 2rem;
}
.proof > div {
  position: relative; display: grid; gap: .18rem;
  padding: .85rem .85rem .9rem; border-radius: 14px;
  background: var(--surface-glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.proof > div::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0;
  height: 2.5px; background: var(--grad); opacity: .75;
}
.proof > div:nth-child(1)::after { background: linear-gradient(90deg, #2ee6d0, #4b86ff); }
.proof > div:nth-child(2)::after { background: linear-gradient(90deg, #4b86ff, #9d7bff); }
.proof > div:nth-child(3)::after { background: linear-gradient(90deg, #4fe0f5, #22c9b8); }
.proof > div:nth-child(4)::after { background: linear-gradient(90deg, #b39bff, #4b86ff); }
.proof dt { order: 2; font-size: .73rem; color: var(--muted); line-height: 1.5; }
.proof dd {
  order: 1; margin: 0; font-size: 1.42rem; font-weight: 900; line-height: 1.25;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.proof dd .count { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- interactive hero command console ---------- */
.panel {
  position: relative;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(175deg, color-mix(in srgb, var(--surface-2) 86%, #000), var(--surface));
  box-shadow: var(--shadow), 0 0 60px -28px rgba(75, 134, 255, .36);
  transform-style: preserve-3d; will-change: transform;
}
[data-theme="light"] .panel {
  background: linear-gradient(180deg, #ffffff, #f6f9fe);
  box-shadow: var(--shadow), 0 0 40px -20px rgba(31, 87, 214, .18);
}
.panel.is-tilting { transition: transform .18s ease-out; }
.panel-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .72rem 1rem; border-block-end: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 65%, transparent);
}
.panel-dots { display: inline-flex; gap: 5px; }
.panel-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.panel-dots i:nth-child(1) { background: rgba(248, 113, 113, .65); }
.panel-dots i:nth-child(2) { background: rgba(251, 191, 36, .65); }
.panel-dots i:nth-child(3) { background: rgba(52, 211, 153, .65); }
.panel-name { font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.panel-bar .pill { margin-inline-start: auto; }

/* console view switcher */
.console-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem;
  padding: .6rem .9rem; border-block-end: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 60%, transparent);
}
.ctab {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .42rem .55rem; border-radius: 9px;
  border: 1px solid transparent; background: transparent;
  font-size: .74rem; font-weight: 700; color: var(--muted); cursor: pointer;
  transition: color .18s, background .18s, border-color .18s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ctab:hover { color: var(--ink); background: var(--surface); }
.ctab.is-on {
  color: var(--ink); background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line-2));
  box-shadow: 0 4px 12px -8px rgba(75, 134, 255, .6);
}
.ctab-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; opacity: .55; }
.ctab.is-on .ctab-dot { background: var(--brand-2); opacity: 1; }

.cview { padding-block-end: .25rem; }
.cview:not([hidden]) { animation: panelIn .28s ease-out both; }
.cview-svg-wrap {
  padding: .75rem .9rem .25rem;
}
.cview-svg {
  display: block; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--svg-panel);
}

.panel-kpi {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin: .45rem .9rem; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--line);
}
.panel-kpi div { padding: .68rem .75rem; background: var(--surface); }
.panel-kpi b { display: block; font-size: 1.04rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.35; }
.panel-kpi small { display: block; font-size: .69rem; color: var(--muted); line-height: 1.5; }

.panel-rows { list-style: none; padding: .2rem .9rem .45rem; display: flex; flex-direction: column; gap: .38rem; }
.panel-rows li {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem .5rem;
  padding: .5rem .7rem; border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 65%, transparent);
  border: 1px solid var(--line);
}
.r-k { font-size: .78rem; font-weight: 700; color: var(--ink); }
.r-b { font-size: .66rem; font-weight: 800; padding: .12rem .55rem; border-radius: 999px; white-space: nowrap; }
.r-b.ok { color: var(--live); background: color-mix(in srgb, var(--live) 14%, transparent); }
.r-b.warn { color: var(--dev); background: color-mix(in srgb, var(--dev) 14%, transparent); }
.r-m { grid-column: 1 / -1; font-size: .68rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.r-bar { height: 3px; flex: 0 0 64px; border-radius: 99px; background: var(--line); overflow: hidden; }
.r-bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.panel-foot {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .75rem 1rem; border-block-start: 1px solid var(--line);
  font-size: .74rem; color: var(--muted); line-height: 1.7;
  background: color-mix(in srgb, var(--bg-2) 45%, transparent);
}
.panel-foot .ico { width: 15px; height: 15px; color: var(--brand-2); margin-block-start: .28rem; }

/* ---------- capability matrix ---------- */
.caps { margin-block: clamp(2.8rem, 5vw, 4rem) 0; padding-block-end: clamp(2.2rem, 4vw, 3rem); }
.caps-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem;
  padding-block-end: .9rem; border-block-end: 1px solid var(--line); margin-block-end: 1.35rem;
}
.kicker { font-size: .78rem; font-weight: 800; color: var(--brand-2); }
.caps-note { font-size: .82rem; color: var(--muted); }
.caps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cap {
  padding: 1.05rem 1.1rem; border-radius: 16px;
  background: var(--surface-glass); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: border-color .2s, transform .2s;
}
.cap:hover { border-color: color-mix(in srgb, var(--brand) 36%, var(--line)); transform: translateY(-2px); }
.cap h3 { display: flex; align-items: center; gap: .55rem; font-size: .9rem; margin-block-end: .75rem; }
.cap-ico {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand-2);
}
.cap-ico .ico { width: 15px; height: 15px; }

/* ---------- section frame ---------- */
.sec { position: relative; padding-block: clamp(3.4rem, 6.2vw, 5.4rem); }
.sec-alt { background: color-mix(in srgb, var(--bg-2) 72%, transparent); border-block: 1px solid var(--line); }
.sec-in { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
.rail { position: sticky; inset-block-start: 108px; display: grid; gap: .35rem; padding-block-start: .35rem; }
.rail-n {
  font-size: .82rem; font-weight: 900; color: var(--brand-2);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.rail-l { font-size: .82rem; font-weight: 700; color: var(--ink-2); line-height: 1.6; }
.rail::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--grad); margin-block-start: .4rem; opacity: .75; }
.shead { max-inline-size: 68ch; margin-block-end: clamp(1.8rem, 3vw, 2.5rem); }
.shead h2 { font-size: clamp(1.48rem, 2.5vw, 2rem); margin-block-end: .65rem; }
.shead p { color: var(--ink-2); font-size: .97rem; line-height: 1.9; }
.sub-h {
  font-size: 1.06rem; font-weight: 800; margin-block: clamp(2rem, 3.5vw, 2.8rem) 1rem;
  padding-block-end: .6rem; border-block-end: 1px solid var(--line);
}
.sec-body { min-inline-size: 0; }

/* ---------- products bento + animated SVG stages ---------- */
.prods { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.05rem; }
.prod {
  grid-column: span 4;
  position: relative;
  display: flex; flex-direction: column; gap: .95rem;
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: var(--r);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 5%, var(--surface)), var(--surface) 46%);
  border: 1px solid var(--line);
  transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}
.prod.wide { grid-column: span 7; }
.p-bss { grid-column: span 5; }
.prod::before {
  content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 1.35rem;
  width: 52px; height: 2.5px; border-radius: 2px; background: var(--pc);
  opacity: .9; transition: width .3s ease;
}
.prod:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pc) 42%, var(--line));
  box-shadow: var(--shadow), 0 0 42px -24px var(--pc);
}
.prod:hover::before { width: 108px; }
.p-wicore { --pc: #2ee6d0; }
.p-bss { --pc: #7fb4ff; }
.p-oss { --pc: #b39bff; }
.p-acs { --pc: #ffce5a; }
.p-cgnat { --pc: #4fe0f5; }
.p-wipass { --pc: #5ae9a6; }
.p-winet { --pc: #74a6ff; }
[data-theme="light"] .p-wicore { --pc: #0c8f83; }
[data-theme="light"] .p-bss { --pc: #1e5bd8; }
[data-theme="light"] .p-oss { --pc: #6d3be4; }
[data-theme="light"] .p-acs { --pc: #c26a04; }
[data-theme="light"] .p-cgnat { --pc: #0a7d8e; }
[data-theme="light"] .p-wipass { --pc: #059669; }
[data-theme="light"] .p-winet { --pc: #2653d6; }

.prod-top { display: flex; align-items: flex-start; gap: .8rem; }
.p-ico { width: 42px; height: 42px; flex: none; }
.emblem { display: block; width: 100%; height: 100%; }
.p-id { flex: 1; min-inline-size: 0; }
.p-id h3 { font-size: 1.2rem; font-weight: 900; line-height: 1.32; }
.p-id span { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; }

/* product bespoke visual SVG stage */
.prod-art {
  display: block; width: 100%; height: auto;
  border-radius: 13px; border: 1px solid var(--line);
  background: var(--svg-panel);
  overflow: hidden;
}
.art-pulse { animation: pulseRing 2.6s ease-out infinite; transform-origin: center; }
@keyframes pulseRing {
  0% { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}
.art-flow { stroke-dasharray: 5 5; animation: dashFlow 2.6s linear infinite; }

.p-desc { font-size: .88rem; color: var(--ink-2); line-height: 1.82; }
.p-specs { display: flex; flex-direction: column; gap: 0; margin-block-start: auto; }
.p-specs > div {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .6rem;
  padding-block: .48rem; border-block-start: 1px dashed var(--line);
}
.p-specs dt { font-size: .72rem; font-weight: 800; color: var(--muted); }
.p-specs dd { font-size: .81rem; color: var(--ink-2); line-height: 1.7; }
.p-link {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-block-start: .25rem; padding: .62rem .9rem; border-radius: 11px;
  font-size: .84rem; font-weight: 800; color: var(--pc);
  border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
  background: color-mix(in srgb, var(--pc) 9%, transparent);
  transition: background .2s, border-color .2s, transform .18s;
}
.p-link .ico { width: 16px; height: 16px; transition: transform .18s; }
.p-link:hover { background: color-mix(in srgb, var(--pc) 16%, transparent); border-color: color-mix(in srgb, var(--pc) 52%, transparent); }
.p-link:hover .ico { transform: translate(-2px, -2px); }

.pill {
  display: inline-flex; align-items: center; gap: .36rem;
  padding: .2rem .65rem; border-radius: 999px;
  font-size: .7rem; font-weight: 800; white-space: nowrap; flex: none;
}
.pill .dot { width: 5.5px; height: 5.5px; border-radius: 50%; background: currentColor; }
.pill-live { color: var(--live); background: color-mix(in srgb, var(--live) 12%, transparent); border: 1px solid color-mix(in srgb, var(--live) 30%, transparent); }
.pill-dev { color: var(--dev); background: color-mix(in srgb, var(--dev) 12%, transparent); border: 1px solid color-mix(in srgb, var(--dev) 30%, transparent); }
.pill-live .dot { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 3 access service models showcase ---------- */
.access-models {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.am-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.15rem 1.2rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.am-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--pc) 42%, var(--line));
  box-shadow: var(--shadow);
}
.am-head { display: flex; align-items: center; gap: .7rem; }
.am-head .p-ico { width: 34px; height: 34px; }
.am-head h4 { font-size: .98rem; font-weight: 900; line-height: 1.3; }
.am-head small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.am-svg {
  display: block; width: 100%; height: auto;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--svg-panel);
}
.am-card p { font-size: .83rem; color: var(--ink-2); line-height: 1.8; }

/* ---------- technical console tabs ---------- */
.tabs { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
.tablist { display: flex; flex-direction: column; gap: .35rem; }
.tab {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .75rem; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  color: var(--ink-2); text-align: start;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.tab .emblem { width: 28px; height: 28px; flex: none; opacity: .72; transition: opacity .18s; }
.tab span { display: grid; font-size: .86rem; font-weight: 800; line-height: 1.45; }
.tab small { font-size: .71rem; font-weight: 500; color: var(--muted); }
.tab:hover { background: var(--surface); border-color: var(--line); color: var(--ink); }
.tab:hover .emblem, .tab.is-on .emblem { opacity: 1; }
.tab.is-on {
  background: var(--surface); border-color: color-mix(in srgb, var(--brand) 36%, var(--line-2));
  color: var(--ink); box-shadow: 0 10px 24px -18px rgba(75, 134, 255, .65);
}
.panels { min-inline-size: 0; }
.tpanel { padding: 1.25rem 1.35rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.tpanel:not([hidden]) { animation: panelIn .3s ease-out both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(7px); } }
.tp-head {
  display: flex; align-items: center; gap: .75rem;
  padding-block-end: .9rem; margin-block-end: 1rem; border-block-end: 1px solid var(--line);
}
.tp-badge { width: 34px; height: 34px; flex: none; }
.tp-head > div { flex: 1; min-inline-size: 0; }
.tp-head b { display: block; font-size: .98rem; font-weight: 800; }
.tp-head span { font-size: .77rem; color: var(--muted); }

/* visual console showcase inside each product tab */
.tp-showcase {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem;
  margin-block-end: 1.15rem; padding: .8rem;
  border-radius: 13px; border: 1px solid var(--line);
  background: var(--surface-2);
}
.tp-stat {
  padding: .62rem .75rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
}
.tp-stat b { display: block; font-size: .94rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.tp-stat small { display: block; font-size: .71rem; color: var(--muted); line-height: 1.5; margin-block-start: .12rem; }
.tp-flow {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: .38rem;
  padding-block-start: .55rem; border-block-start: 1px dashed var(--line);
  font-size: .74rem; color: var(--ink-2);
}
.tp-flow > strong { color: var(--brand-2); font-weight: 800; margin-inline-end: .3rem; }
.tp-node {
  padding: .16rem .56rem; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-weight: 700; font-size: .72rem;
}
.tp-arrow { color: var(--muted); font-size: .75rem; }

.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.7rem; }
.tp-grid h4 { font-size: .78rem; font-weight: 800; color: var(--brand-2); margin-block-end: .38rem; }
.tp-grid p, .tp-grid li { font-size: .83rem; color: var(--ink-2); line-height: 1.85; }
.tp-grid ul { margin: 0; padding-inline-start: 1.05rem; display: grid; gap: .3rem; }

/* ---------- spec table ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; max-inline-size: 100%;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  scrollbar-width: thin;
}
.spec-table { width: 100%; min-inline-size: 820px; border-collapse: collapse; font-size: .83rem; }
.spec-table th, .spec-table td {
  padding: .85rem 1rem; text-align: start; vertical-align: top;
  border-block-end: 1px solid var(--line); line-height: 1.75;
}
.spec-table thead th {
  position: sticky; inset-block-start: 0; z-index: 2;
  background: var(--surface-2); color: var(--ink);
  font-size: .76rem; font-weight: 800; white-space: nowrap;
  border-block-end: 1px solid var(--line-2);
}
.spec-table tbody th {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--ink); white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.spec-table tbody tr:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-block-end: 0; }
.spec-table td { color: var(--ink-2); }
.t-emblem { width: 19px; height: 19px; flex: none; }
.table-hint {
  display: flex; align-items: center; gap: .4rem;
  margin-block-start: .6rem; font-size: .76rem; color: var(--muted);
}
.table-hint .ico { width: 14px; height: 14px; }

/* ---------- glossary ---------- */
.gloss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.term {
  padding: .85rem 1rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.term b { display: block; font-size: .84rem; font-weight: 800; color: var(--brand-2); direction: ltr; text-align: right; margin-block-end: .2rem; }
.term p { font-size: .81rem; color: var(--ink-2); line-height: 1.78; }

/* ---------- standards ---------- */
.std-note {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-block-end: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--line);
}
.std-note div { padding: .9rem 1.05rem; background: var(--surface); }
.std-note b { display: block; font-size: .83rem; font-weight: 800; margin-block-end: .15rem; }
.std-note span { font-size: .76rem; color: var(--muted); line-height: 1.75; }
.stds { display: flex; flex-direction: column; gap: .95rem; }
.std {
  position: relative; padding: 1.2rem 1.3rem;
  border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s ease;
}
.std:hover { border-color: color-mix(in srgb, var(--pc) 38%, var(--line)); }
.std::before {
  content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 1.3rem;
  width: 44px; height: 2.5px; border-radius: 2px; background: var(--pc); opacity: .88;
}
.std-head { display: flex; align-items: center; gap: .75rem; padding-block-end: .85rem; margin-block-end: .9rem; border-block-end: 1px solid var(--line); }
.std-head .p-ico { width: 34px; height: 34px; }
.std-head .p-id h3 { font-size: 1.02rem; }
.std-head .p-id span { font-size: .76rem; }
.std-head .pill { margin-inline-start: auto; }
.std-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.4rem; }
.std-groups > div { min-inline-size: 0; }
.std-groups h4 { font-size: .74rem; font-weight: 800; color: var(--brand-2); margin-block-end: .48rem; letter-spacing: .01em; }
.std-groups .toks li { white-space: normal; overflow-wrap: anywhere; font-size: .73rem; }
[data-theme="light"] .std-groups .toks li { background: var(--bg-2); }
.std-groups .toks li[dir="ltr"] { font-size: .68rem; }

/* ---------- capability tokens ---------- */
.toks { display: flex; flex-direction: row; flex-wrap: wrap; gap: .32rem; list-style: none; padding: 0; margin-block-start: .1rem; }
.toks li {
  padding: .14rem .54rem; border-radius: 7px;
  font-size: .75rem; line-height: 1.75; color: var(--ink-2); white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line);
}
.toks li[dir="ltr"] { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .71rem; letter-spacing: -.01em; }

/* ---------- WiPass scenario ---------- */
.wp-summary {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin-block-end: 1.15rem;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--line);
}
.wp-summary div { padding: .88rem 1rem; background: var(--surface); }
.wp-summary b { display: block; font-size: .94rem; font-weight: 900; }
.wp-summary span { font-size: .75rem; color: var(--muted); }

/* interactive 7-step journey navigator */
.wp-flowbar {
  display: flex; flex-wrap: wrap; gap: .42rem;
  margin-block-end: clamp(1.3rem, 2.5vw, 1.9rem);
  padding: .55rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
}
.wp-step-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .72rem; border-radius: 9px;
  border: 1px solid transparent; background: transparent;
  font-size: .76rem; font-weight: 700; color: var(--ink-2);
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.wp-step-btn i {
  font-style: normal; display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 6px; font-size: .7rem; font-weight: 900;
  background: var(--surface-2); color: var(--brand); border: 1px solid var(--line);
}
.wp-step-btn:hover { background: var(--surface-2); color: var(--ink); }
.wp-step-btn.is-on {
  background: var(--grad-soft); color: var(--ink);
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
}
.wp-step-btn.is-on i { background: var(--grad); color: #fff; border-color: transparent; }

.stages { list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 1rem; }
.stage {
  position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem; align-items: start;
}
.stage::before {
  content: ""; position: absolute; inset-block: 42px -18px; inset-inline-start: 22px;
  width: 1px; background: linear-gradient(var(--line-2), var(--line));
}
.stage:last-child::before { display: none; }
.stg-n {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 34px; border-radius: 10px;
  font-size: .88rem; font-weight: 900; font-variant-numeric: tabular-nums;
  color: var(--brand); background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent);
  transition: background .2s, color .2s, border-color .2s;
}
.stage.is-focus .stg-n { background: var(--grad); color: #fff; border-color: transparent; }
.stage.is-focus .stg-body { border-color: color-mix(in srgb, var(--brand) 44%, var(--line)); }
.stage.is-in .stg-n { animation: badgeIn .45s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes badgeIn { from { opacity: 0; transform: scale(.82); } }
.stg-body {
  min-inline-size: 0;
  padding: 1.1rem 1.2rem 1.05rem;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .22s ease;
}
.stg-body h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-size: .99rem; margin-block-end: .45rem; }
.stg-body h3 em {
  font-style: normal; font-size: .68rem; font-weight: 800;
  padding: .1rem .52rem; border-radius: 6px; color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-2) 26%, transparent);
}
.stg-body > p { font-size: .85rem; color: var(--ink-2); line-height: 1.85; }
.stg-proof {
  display: flex; gap: .45rem; align-items: flex-start;
  margin-block-start: .82rem; padding-block-start: .72rem; border-block-start: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); line-height: 1.75;
}
.stg-proof .ico { width: 15px; height: 15px; color: var(--live); margin-block-start: .25rem; stroke-width: 2.4; }
.nat { margin-block: .95rem 0; display: grid; justify-items: center; }
.nat svg {
  display: block; width: 100%; height: auto; max-inline-size: 640px;
  border-radius: 13px; border: 1px solid var(--line); background: var(--svg-panel);
}
.nat figcaption { margin-block-start: .5rem; font-size: .76rem; color: var(--muted); line-height: 1.75; max-inline-size: 640px; }

.matrix { width: 100%; min-inline-size: 640px; border-collapse: collapse; font-size: .82rem; }
.matrix th, .matrix td { padding: .75rem .95rem; text-align: start; border-block-end: 1px solid var(--line); line-height: 1.75; }
.matrix thead th { background: var(--surface-2); font-size: .76rem; font-weight: 800; border-block-end: 1px solid var(--line-2); }
.matrix tbody th { font-weight: 800; color: var(--ink); white-space: nowrap; }
.matrix td { color: var(--ink-2); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-block-end: 0; }
.matrix tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }

.own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.own-col { padding: 1.05rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.own-col h4 { display: flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 800; color: var(--brand-2); margin-block-end: .55rem; }
.own-col h4 .ico { width: 16px; height: 16px; }
.own-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .32rem; }
.own-col li { position: relative; padding-inline-start: 1rem; font-size: .83rem; color: var(--ink-2); }
.own-col li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); opacity: .7;
}
.scroll-hint { display: none; }

/* ---------- interactive architecture explorer ---------- */
.arch-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-block-end: 1rem; }
.arch {
  margin: 0; padding: clamp(.65rem, 1.5vw, 1.1rem);
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.arch svg { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--svg-panel); }
.arch-cap { margin-block-start: .6rem; padding-inline: .3rem; font-size: .78rem; color: var(--muted); }
.arch .dashflow path { animation: dashFlow 2.8s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -22; } }

/* scenario dimming / highlighting */
.arch-node, .arch-edge { transition: opacity .28s ease, filter .28s ease; }
.arch-explorer[data-active-scenario]:not([data-active-scenario="all"]) .arch-node.is-dim,
.arch-explorer[data-active-scenario]:not([data-active-scenario="all"]) .arch-edge.is-dim {
  opacity: .2;
}
.arch-explorer[data-active-scenario]:not([data-active-scenario="all"]) .arch-node.is-lit {
  filter: drop-shadow(0 0 12px rgba(75, 134, 255, .36));
}
.flows li {
  display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 1rem;
  padding: .75rem .65rem; border-block-start: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-2); border-radius: 8px;
  transition: opacity .25s ease, background .25s ease;
}
.flows li.is-dim { opacity: .35; }
.flows li.is-lit { background: color-mix(in srgb, var(--brand) 8%, transparent); }

.steps {
  list-style: none; padding: 0; margin-block: clamp(1.6rem, 3vw, 2.2rem);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem;
}
.steps li {
  display: grid; gap: .3rem; align-content: start;
  padding: 1rem .9rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.steps li:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); }
.s-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  font-size: .78rem; font-weight: 900;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
}
.steps b { font-size: .86rem; font-weight: 800; }
.steps span:not(.s-n) { font-size: .76rem; color: var(--muted); line-height: 1.7; }

.flows { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.flows code {
  font-family: inherit; font-size: .79rem; font-weight: 800;
  color: var(--brand); direction: ltr; text-align: right;
}
.note {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-block-start: 1.6rem; padding: 1.05rem 1.15rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, transparent);
  font-size: .86rem; color: var(--ink-2); line-height: 1.85;
}
.note .ico { width: 18px; height: 18px; color: var(--brand-2); margin-block-start: .3rem; stroke-width: 2; }
.note b { color: var(--ink); }

/* ---------- guide ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-end: 1.2rem; }
.chip {
  position: relative; overflow: hidden;
  padding: .44rem 1.05rem; border-radius: 999px; cursor: pointer;
  font-size: .82rem; font-weight: 700; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line-2);
  transition: color .18s, background .18s, border-color .18s, transform .15s;
}
.chip:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-1px); }
.chip.is-on { color: #fff; background: var(--grad); border-color: transparent; }
.glist { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.grow {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 20px; align-items: center; gap: .85rem;
  padding: .88rem 1.15rem; border-block-end: 1px solid var(--line);
  transition: background .16s ease;
}
.grow:last-child { border-block-end: 0; }
.grow:hover { background: var(--surface-2); }
.grow.is-hidden { display: none; }
.g-ico { width: 22px; height: 22px; flex: none; }
.g-task { font-size: .88rem; font-weight: 600; }
.gs {
  font-size: .72rem; font-weight: 800; padding: .18rem .62rem; border-radius: 7px;
  border: 1px solid currentColor; white-space: nowrap;
}
.s-wicore { color: #2ee6d0; }
.s-bss { color: #7fb4ff; }
.s-oss { color: #b39bff; }
.s-acs { color: #ffce5a; }
.s-cgnat { color: #4fe0f5; }
.s-wipass { color: #5ae9a6; }
.s-winet { color: #74a6ff; }
[data-theme="light"] .s-wicore { color: #0b7f74; }
[data-theme="light"] .s-bss, [data-theme="light"] .s-winet { color: #1f57d6; }
[data-theme="light"] .s-oss { color: #6d3be4; }
[data-theme="light"] .s-acs { color: #a35a05; }
[data-theme="light"] .s-cgnat { color: #0a7d8e; }
[data-theme="light"] .s-wipass { color: #059669; }
.g-arr { width: 17px; height: 17px; color: var(--muted); transition: color .16s, transform .16s; }
.grow:hover .g-arr { color: var(--brand); transform: translateX(-3px); }
.glist.is-filtering .grow:not(.is-hidden) { animation: rowIn .34s ease-out both; animation-delay: calc(var(--i, 0) * 26ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.v {
  padding: 1.25rem 1.25rem 1.15rem; border-radius: 15px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.v:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: var(--shadow); }
.v-top { display: flex; align-items: center; justify-content: space-between; margin-block-end: .75rem; }
.v-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad-soft); color: var(--brand-2);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
}
.v-ico .ico { width: 19px; height: 19px; }
.v-n {
  font-size: .74rem; font-weight: 900; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: .06em;
}
.v h3 { font-size: .96rem; margin-block-end: .42rem; }
.v p { font-size: .84rem; color: var(--ink-2); line-height: 1.85; }

/* ---------- portals, access & contact ---------- */
.portals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.portal {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .95rem;
  padding: 1.05rem 1.15rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.portal:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: var(--shadow); }
.portal > span:nth-child(2) { flex: 1; min-inline-size: 0; }
.portal b { display: block; font-size: .93rem; font-weight: 800; }
.portal small { font-size: .78rem; color: var(--muted); }
.po-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; flex: none;
  border: 1px solid currentColor; background: color-mix(in srgb, currentColor 9%, transparent);
}
.po-ico .ico { width: 20px; height: 20px; }

.access { margin-block-start: clamp(2.2rem, 4vw, 3rem); }
.access-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.ac {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: .75rem;
  padding: .92rem 1rem; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ac:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: var(--shadow); }
.ac-i { width: 38px; height: 38px; flex: none; }
.ac-t { flex: 1; min-inline-size: 0; }
.ac-t b { display: block; font-size: .9rem; font-weight: 800; }
.ac-t small { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.st { width: 7.5px; height: 7.5px; border-radius: 50%; flex: none; }
.st-live { background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 20%, transparent); }
.st-dev { background: var(--dev); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dev) 20%, transparent); }

.contact { margin-block-start: 1.8rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-block-start: .9rem; }
.cc {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1.05rem 1.15rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cc:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: var(--shadow); }
.cc-i {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 11px;
  color: #fff; background: var(--grad);
}
.cc-i .ico { width: 19px; height: 19px; stroke-width: 1.8; }
.cc-t { display: flex; flex-direction: column; align-items: stretch; gap: .12rem; min-inline-size: 0; }
.cc-t b { font-size: .86rem; font-weight: 800; }
.cc-t > span { display: block; text-align: right; font-size: .88rem; color: var(--ink); overflow-wrap: anywhere; }
.cc-t small { font-size: .73rem; color: var(--muted); line-height: 1.7; }

/* ---------- footer ---------- */
.foot { border-block-start: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 84%, transparent); }
.foot-in {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem;
  padding-block: clamp(2.4rem, 4vw, 3.2rem) 2rem;
}
.f-brand .brand .logo { height: 27px; }
.f-brand p { margin-block-start: .9rem; font-size: .84rem; color: var(--muted); max-inline-size: 42ch; line-height: 1.85; }
.f-contact { display: flex; flex-direction: column; gap: .5rem; margin-block-start: 1.15rem; list-style: none; padding: 0; }
.f-contact li { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-2); }
.f-contact .ico { width: 17px; height: 17px; color: var(--brand-2); }
.f-contact a { color: var(--ink-2); transition: color .16s; }
.f-contact a:hover { color: var(--brand); }
.fc-n { font-size: .72rem; color: var(--muted); }
.f-col { display: flex; flex-direction: column; gap: .45rem; align-content: start; }
.f-col b { font-size: .84rem; font-weight: 800; margin-block-end: .2rem; }
.f-col a { font-size: .82rem; color: var(--ink-2); transition: color .16s; }
.f-col a:hover { color: var(--brand); }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  padding-block: 1.2rem; border-block-start: 1px solid var(--line);
  font-size: .75rem; color: var(--muted);
}

/* ---------- motion, pointer spotlight & ripple ---------- */
.progress {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60;
  block-size: 2.5px; background: var(--grad);
  transform: scaleX(0); transform-origin: right center;
  pointer-events: none;
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-in { opacity: 1; transform: none; }

:is(.prod, .am-card, .v, .portal, .ac, .stg-body, .own-col, .cap) { position: relative; overflow: hidden; }
:is(.prod, .am-card, .v, .portal, .ac, .stg-body, .own-col, .cap)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--brand) 16%, transparent), transparent 72%);
}
:is(.prod, .am-card, .v, .portal, .ac, .stg-body, .own-col, .cap):hover::after { opacity: 1; }
:is(.prod, .am-card, .v, .portal, .ac, .stg-body, .own-col, .cap) > * { position: relative; z-index: 1; }

.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .2; transform: scale(0);
  animation: ripple .6s cubic-bezier(.3, .7, .4, 1) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* staggered reveal */
.prods > *:nth-child(2) { transition-delay: .05s; }
.prods > *:nth-child(3) { transition-delay: .1s; }
.prods > *:nth-child(4) { transition-delay: .14s; }
.prods > *:nth-child(5) { transition-delay: .18s; }
.values > *:nth-child(2), .access-grid > *:nth-child(2) { transition-delay: .04s; }
.values > *:nth-child(3), .access-grid > *:nth-child(3) { transition-delay: .08s; }
.values > *:nth-child(4), .access-grid > *:nth-child(4) { transition-delay: .12s; }
.values > *:nth-child(5) { transition-delay: .16s; }
.values > *:nth-child(6) { transition-delay: .2s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .caps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail { position: static; display: flex; align-items: baseline; gap: .6rem; margin-block-end: 1rem; padding: 0; }
  .rail::after { display: none; }
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod, .prod.wide, .p-bss { grid-column: span 1; }
  .p-cgnat { grid-column: span 2; }
  .access-models { grid-template-columns: minmax(0, 1fr); }
  .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (max-width: 900px) {
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tablist { flex-direction: row; overflow-x: auto; gap: .4rem; padding-block-end: .45rem; scrollbar-width: thin; }
  .tab { flex: none; padding: .48rem .75rem; border-color: var(--line); background: var(--surface); }
  .tab small { display: none; }
  .tp-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .std-note { grid-template-columns: minmax(0, 1fr); }
  .std-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .own { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flows li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .flows code { text-align: start; }
  .scroll-hint { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); line-height: 1.9; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 2rem); }
  body { font-size: .97rem; }
  .head-in { min-block-size: 64px; gap: .6rem; }
  .head-act .btn { display: none; }
  .brand .logo { height: 19px; }
  .brand-t { font-size: .78rem; }
  .f-brand .brand .logo { height: 24px; }
  .hero { padding-block-start: 2rem; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.2rem); line-height: 1.44; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .proof dd { font-size: 1.25rem; }
  .console-tabs { grid-template-columns: minmax(0, 1fr); }
  .panel-kpi { grid-template-columns: minmax(0, 1fr); }
  .panel-kpi div { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
  .caps-grid { grid-template-columns: minmax(0, 1fr); }
  .prods { grid-template-columns: minmax(0, 1fr); }
  .p-cgnat { grid-column: span 1; }
  .tablist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: visible; padding-block-end: 0; }
  .tablist .tab { width: 100%; padding: .5rem .6rem; }
  .tablist .tab:last-child { grid-column: 1 / -1; }
  .tp-showcase { grid-template-columns: minmax(0, 1fr); }
  .std-groups { grid-template-columns: minmax(0, 1fr); }
  .std-head { flex-wrap: wrap; }
  .gloss { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .portals { grid-template-columns: minmax(0, 1fr); }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .wp-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-summary div { padding: .7rem .8rem; }
  .wp-summary b { font-size: .86rem; }
  .stage { grid-template-columns: 34px minmax(0, 1fr); gap: .7rem; }
  .stg-n { width: 32px; height: 30px; font-size: .8rem; }
  .stage::before { inset-inline-start: 16px; }
  .grow { grid-template-columns: 20px minmax(0, 1fr) auto; gap: .55rem; padding-inline: .85rem; }
  .grow .g-arr { display: none; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 1rem; }
  .f-brand { grid-column: 1 / -1; }
  .table-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net-canvas, .progress { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prod, .am-card, .v, .ac, .portal, .steps li, .btn { transition: none; }
  .pill-live .dot, .eyebrow .ey-dot, .art-pulse, .art-flow, .arch .dashflow path { animation: none !important; }
  .arch svg animateMotion, svg animateMotion { display: none; }
  .stage.is-in .stg-n, .tpanel, .cview, .glist.is-filtering .grow { animation: none; }
  :is(.prod, .am-card, .v, .portal, .ac, .stg-body, .own-col, .cap)::after { display: none; }
  .panel { transform: none !important; }
}
