/* =========================================================
   REBARCODES — website styles
   ========================================================= */
:root {
  --bg: #04060a;
  --bg-2: #070b10;
  --graphite: #0d1319;
  --panel: rgba(14, 20, 27, .72);
  --panel-solid: #0c1218;
  --line: rgba(150, 185, 215, .09);
  --line-2: rgba(150, 185, 215, .17);
  --line-3: rgba(150, 185, 215, .28);
  --text: #e9eef4;
  --muted: #8a96a4;
  --dim: #56626f;
  --cyan: #3ddcff;
  --cyan-2: rgba(61, 220, 255, .14);
  --blue: #2e7bff;
  --steel: #b3bec9;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* thin technical grid across the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center calc(var(--grid-y, 0px));
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 85%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
main, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(61, 220, 255, .3); }

.mono { font-family: var(--mono); letter-spacing: .06em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.steel-text {
  background: linear-gradient(100deg, #f4f7fa 0%, #9aa6b2 28%, #eef3f7 46%, #6f7c89 64%, #dfe6ec 82%, #8d99a5 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-3);
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--b);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, box-shadow .35s, transform .35s var(--ease);
  white-space: nowrap;
}
.btn .arr { width: 16px; height: 1px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 24px; }
.btn-primary { background: var(--text); color: #05070a; border-color: var(--text); }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(61,220,255,.5), 0 0 40px rgba(61,220,255,.35); }
.btn-ghost { background: rgba(255,255,255,.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-line { padding-left: 0; padding-right: 0; border: 0; border-radius: 0; color: var(--cyan); }
.btn-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55em; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease); opacity: .6; }
.btn-line:hover::after { transform: scaleX(1); }
.btn-demo { padding: .75em 1.25em; font-size: 11.5px; border-color: rgba(61,220,255,.45); color: var(--cyan); background: rgba(61,220,255,.06); }
.btn-demo:hover { background: var(--cyan); color: #04060a; box-shadow: 0 0 30px rgba(61,220,255,.4); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
  padding: 0 var(--gutter);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 6, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; letter-spacing: .2em; font-size: 14.5px; }
.brand b { font-weight: 600; }
.brand-mark { width: 30px; height: 30px; color: var(--text); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 13.5px; color: var(--muted); letter-spacing: .02em; position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav.open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.overlay-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.tag-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,6,10,.92) 0%, rgba(4,6,10,.55) 32%, rgba(4,6,10,0) 58%),
    linear-gradient(0deg, var(--bg) 0%, rgba(4,6,10,0) 22%),
    radial-gradient(ellipse at 70% 45%, rgba(46,123,255,.07), transparent 60%);
}
.hero-content {
  position: absolute; z-index: 3;
  left: var(--gutter); top: 50%; transform: translateY(-54%);
  max-width: 640px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 28px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-title { font-size: clamp(44px, 6.6vw, 112px); line-height: .94; font-weight: 200; letter-spacing: -.035em; text-transform: uppercase; margin: 0 0 30px; }
.hero-sub { font-size: clamp(16px, 1.35vw, 19px); color: #b9c3cd; max-width: 500px; margin: 0 0 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta.center { justify-content: center; }
.hero-support { margin-top: 40px; font-size: 11.5px; color: var(--dim); text-transform: uppercase; }

.hero-pipeline {
  position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(10, 15, 21, .6); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.hero-pipeline span { color: var(--dim); transition: color .5s, text-shadow .5s; }
.hero-pipeline span.on { color: var(--cyan); text-shadow: 0 0 14px rgba(61,220,255,.6); }
.hero-pipeline span.done { color: var(--steel); }
.hero-pipeline i { width: 22px; height: 1px; background: var(--line-3); position: relative; }
.hero-pipeline i::after { content: ""; position: absolute; right: -1px; top: -2px; border-left: 4px solid var(--line-3); border-top: 2.5px solid transparent; border-bottom: 2.5px solid transparent; }

.hero-hud { position: absolute; z-index: 3; right: var(--gutter); top: 92px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 10.5px; color: var(--dim); transition: opacity .6s; }
.hero-hud.away { opacity: 0; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 38px; width: 22px; height: 36px; border: 1px solid var(--line-3); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 6px; margin-left: -1px; background: var(--cyan); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* 3D-anchored tags */
.tag {
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  color: #cfe9f3; white-space: nowrap;
  padding: 3px 8px 3px 10px;
  border-left: 1px solid var(--cyan);
  background: linear-gradient(90deg, rgba(61,220,255,.12), rgba(61,220,255,0));
  transform: translate(10px, -50%);
  opacity: 0; transition: opacity .6s;
  will-change: transform;
}
.tag.show { opacity: 1; }
.tag::before { content: ""; position: absolute; left: -12px; top: 50%; width: 11px; height: 1px; background: var(--cyan); }
.tag::after { content: ""; position: absolute; left: -15px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.overlay-svg .dx { fill: none; stroke: rgba(61,220,255,.45); stroke-width: 1; stroke-dasharray: 2 3; }
.overlay-svg .dl { fill: none; stroke: #3ddcff; stroke-width: 1; }
.overlay-svg .dt { font: 500 11px var(--mono); fill: #e9f7fc; text-anchor: middle; letter-spacing: .08em; paint-order: stroke; stroke: rgba(4,6,10,.85); stroke-width: 4px; }
.overlay-svg .dcode { font: 300 22px var(--font); fill: #e9eef4; text-anchor: middle; letter-spacing: .12em; paint-order: stroke; stroke: rgba(4,6,10,.7); stroke-width: 5px; }
.overlay-svg .dlink { fill: none; stroke: #3ddcff; stroke-width: 1; stroke-dasharray: 4 4; animation: dash 1s linear infinite; }
.overlay-svg .dnode { fill: #3ddcff; filter: drop-shadow(0 0 6px #3ddcff); }
@keyframes dash { to { stroke-dashoffset: -16; } }
.tag.hover { z-index: 5; color: #fff; background: linear-gradient(90deg, rgba(61,220,255,.28), rgba(61,220,255,0)); }

.bar-hud {
  position: absolute; z-index: 3; left: 0; top: 0;
  min-width: 170px;
  padding: 12px 14px;
  border: 1px solid rgba(61,220,255,.35);
  background: rgba(6, 12, 18, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  opacity: 0; transition: opacity .6s;
  pointer-events: none;
  box-shadow: 0 0 40px rgba(61,220,255,.08);
}
.bar-hud.show { opacity: 1; }
.bh-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.bh-mark { color: var(--cyan); font-weight: 500; }
.bh-state { color: var(--muted); }
.bar-hud dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 0; }
.bar-hud dt { color: var(--dim); }
.bar-hud dd { margin: 0; text-align: right; color: var(--text); }

.hero-bbs {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 96px;
  width: min(560px, 46vw);
  padding: 16px 18px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(8, 13, 19, .74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.hero-bbs.show { opacity: 1; transform: none; }
.hb-title { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--steel); letter-spacing: .14em; }
.hero-bbs table { width: 100%; border-collapse: collapse; }
.hero-bbs th { text-align: right; font-weight: 400; color: var(--dim); padding: 4px 4px; border-bottom: 1px solid var(--line-2); }
.hero-bbs td { text-align: right; padding: 4px 4px; color: #7f8b98; border-bottom: 1px solid var(--line); }
.hero-bbs th:first-child, .hero-bbs td:first-child { text-align: left; }
.hb-row td { color: var(--text); position: relative; }
.hb-row.hb-live { background: rgba(61,220,255,.08); }
.hb-row.hb-live td { color: var(--cyan); }
.hb-row td span.c { opacity: 0; }
.hb-total { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); letter-spacing: .14em; }
.hb-total b { color: var(--text); font-weight: 500; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 860px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-index { font-size: 11.5px; color: var(--cyan); letter-spacing: .2em; margin: 0 0 22px; }
.sec-head h2, .finale h2, .wf-stage h2 { font-size: clamp(34px, 5.2vw, 76px); line-height: 1; font-weight: 200; letter-spacing: -.03em; text-transform: uppercase; margin: 0; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 640px; margin: 26px 0 0; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

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

/* ---------- products ---------- */
.product {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center;
  margin-bottom: clamp(80px, 10vw, 150px);
}
.product.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.product.flip .pv { order: 2; }
.pv {
  --mx: 50%; --my: 50%;
  position: relative;
  aspect-ratio: 16 / 10.5;
  border-radius: var(--radius);
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(61,220,255,.07), transparent 45%),
    radial-gradient(ellipse at 50% 40%, #0e1620 0%, #070b10 70%);
  border: 1px solid var(--line-2);
  overflow: hidden;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), border-color .5s, box-shadow .5s;
}
.pv::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .6;
}
.product:hover .pv { border-color: rgba(61,220,255,.35); box-shadow: 0 30px 80px -30px rgba(61,220,255,.25); }
.pv canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-frame { position: absolute; inset: 0; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 18px; font-size: 10px; color: var(--dim); }
.pv-frame::before, .pv-frame::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--cyan); border-style: solid; opacity: .7; }
.pv-frame::before { left: 8px; bottom: 8px; border-width: 0 0 1px 1px; }
.pv-frame::after { right: 8px; bottom: 8px; border-width: 0 1px 1px 0; }
.live { color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 1.6s infinite; }
.p-num { font-size: 12px; color: var(--cyan); margin: 0 0 16px; letter-spacing: .2em; }
.pi h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -.01em; line-height: 1.05; margin: 0 0 20px; }
.pi h3 span { color: var(--muted); font-weight: 200; }
.pi > p { color: #aeb8c3; font-size: 17px; max-width: 460px; margin: 0 0 28px; }
.chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 10.5px; text-transform: uppercase; color: var(--steel); padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(255,255,255,.015); transition: border-color .3s, color .3s; }
.product:hover .chips li { border-color: rgba(61,220,255,.25); }
.chips li:hover { color: var(--cyan); border-color: var(--cyan) !important; }

/* ---------- ecosystem ---------- */
.eco-stage { position: relative; }
#ecoSvg { width: 100%; height: auto; overflow: visible; }
.eco-ring-bg { fill: none; stroke: var(--line-2); stroke-width: 1; }
.eco-ring-outer { fill: none; stroke: var(--line); stroke-dasharray: 2 8; }
.eco-flow { fill: none; stroke: rgba(61,220,255,.45); stroke-width: 1.4; }
.eco-flow.feedback { stroke: rgba(61,220,255,.18); stroke-dasharray: 4 6; }
.eco-spoke { fill: none; stroke: rgba(150,185,215,.25); stroke-width: 1; stroke-dasharray: 3 5; }
.core-ring { fill: none; stroke: rgba(61,220,255,.4); }
.core-ring.dashed { stroke-dasharray: 2 6; stroke: rgba(61,220,255,.6); }
.spin { transform-origin: 600px 360px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-disc { fill: #0a1118; stroke: rgba(61,220,255,.7); }
.eco-core text { text-anchor: middle; fill: var(--text); }
.core-t1 { font: 600 15px var(--font); letter-spacing: .2em; }
.core-t2 { font: 300 13px var(--mono); letter-spacing: .3em; fill: var(--cyan) !important; }
.core-t3 { font: 400 8.5px var(--mono); letter-spacing: .12em; fill: var(--muted) !important; }
.eco-node rect { fill: url(#nodeFill); stroke: var(--line-3); transition: stroke .3s; }
.eco-node:hover rect { stroke: var(--cyan); }
.eco-node { cursor: default; }
.n-num { font: 400 11px var(--mono); fill: var(--cyan); letter-spacing: .2em; }
.n-name { font: 500 17px var(--font); fill: var(--text); letter-spacing: .06em; }
.n-sub { font: 400 9.5px var(--mono); fill: var(--muted); letter-spacing: .1em; }
.pkt circle { fill: var(--cyan); filter: drop-shadow(0 0 6px #3ddcff); }
.pkt text { font: 500 9px var(--mono); fill: #bfefff; letter-spacing: .12em; }
.pkt rect { fill: rgba(6,14,20,.85); stroke: rgba(61,220,255,.5); }
.eco-mobile { display: none; }

/* ---------- workflow ---------- */
.workflow { position: relative; height: 700vh; }
.wf-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#wfCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wf-head { position: absolute; left: var(--gutter); top: clamp(96px, 14vh, 140px); max-width: 420px; z-index: 2; }
.wf-stage { display: flex; align-items: baseline; gap: 18px; }
.wf-num { font-size: 14px; color: var(--cyan); }
.wf-stage h2 { transition: opacity .4s; }
.wf-desc { color: var(--muted); font-size: 16px; margin: 18px 0 10px; min-height: 3em; }
.wf-vis { font-size: 11px; color: var(--cyan); padding: 6px 10px; border: 1px solid rgba(61,220,255,.3); border-radius: 6px; display: inline-block; }
.wf-timeline {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vh, 56px); z-index: 2;
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.wf-track { position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 5px; height: 1px; background: var(--line-3); }
.wf-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.wf-timeline button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .4s; padding: 0; }
.wf-timeline button i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-3); background: var(--bg); transition: all .4s; margin-bottom: 6px; }
.wf-timeline button span { font-size: 10px; color: inherit; }
.wf-timeline button.done { color: var(--steel); }
.wf-timeline button.done i { background: var(--steel); border-color: var(--steel); }
.wf-timeline button.on { color: var(--cyan); }
.wf-timeline button.on i { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(61,220,255,.15), 0 0 16px var(--cyan); }

/* ---------- technology ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.tech { background: var(--bg-2); padding: 28px 26px 34px; transition: background .5s; position: relative; }
.tech:hover { background: #0a1016; }
.tech h3 { font-size: 17px; font-weight: 400; margin: 0 0 10px; letter-spacing: .01em; }
.tech > p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.t-num { font-size: 10.5px; color: var(--dim); margin: 22px 0 8px; }
.tdia { width: 100%; height: auto; aspect-ratio: 240/140; border-radius: 10px; background: radial-gradient(ellipse at 50% 60%, rgba(61,220,255,.05), transparent 70%); }
.tdia * { vector-effect: non-scaling-stroke; }
.tdia .ln circle { fill: #0b1218; stroke: var(--steel); stroke-width: 1; }
.tdia .wire path, .tdia .wire { fill: none; stroke: rgba(150,185,215,.3); stroke-width: 1; }
.tdia .pulse path { fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 18 82; }
.tdia .sec { fill: rgba(150,185,215,.04); stroke: rgba(150,185,215,.4); }
.tdia .link { fill: none; stroke: var(--steel); stroke-width: 1.4; }
.tdia .bar circle { fill: var(--cyan); }
.tdia .lbl, .tdia .lbl text, .tdia text.lbl { font: 400 8px var(--mono); fill: var(--muted); letter-spacing: .1em; }
.tdia .tbl rect, .tdia .tbl path { fill: none; stroke: rgba(150,185,215,.3); stroke-width: 1; }
.tdia .fill rect { fill: rgba(61,220,255,.55); }
.tdia .stock rect { fill: none; stroke: rgba(150,185,215,.35); }
.tdia .seg rect { fill: rgba(179,190,201,.7); }
.tdia .seg rect.b { fill: var(--cyan); }
.tdia .turn { fill: none; stroke: rgba(150,185,215,.3); stroke-dasharray: 3 5; }
.tdia .mandrel { fill: #0c1319; stroke: var(--steel); }
.tdia .roll { fill: none; stroke: var(--steel); }
.tdia .rb { fill: none; stroke: var(--steel); stroke-width: 3; stroke-linecap: round; }
.tdia .rb.draw { stroke: var(--cyan); stroke-dasharray: 100; }
.tdia .pin { fill: var(--cyan); }
.tdia .axis path { fill: none; stroke: rgba(150,185,215,.35); }
.tdia .axis .faint { stroke: rgba(150,185,215,.1); }
.tdia .wave { fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.tdia .live { fill: var(--cyan); }
.tdia .cloud { fill: rgba(61,220,255,.06); stroke: var(--cyan); stroke-width: 1.2; }
.tdia .dev rect { fill: #0b1218; stroke: rgba(150,185,215,.4); }
.tdia .pk circle { fill: var(--cyan); }
.tdia .lay polygon { fill: rgba(61,220,255,.05); stroke: rgba(150,185,215,.5); }
.tdia .lay.l1 polygon { fill: rgba(61,220,255,.14); stroke: var(--cyan); }
.tdia .code text { font: 400 8.5px var(--mono); fill: var(--steel); letter-spacing: .06em; }

/* ---------- lab ---------- */
.lab {
  display: grid; grid-template-columns: 300px 1fr 340px; gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  min-height: 620px;
}
.lab > * { background: var(--bg-2); }
.lab-controls { padding: 26px 24px; display: flex; flex-direction: column; gap: 22px; }
.ctl label { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-bottom: 10px; letter-spacing: .14em; }
.ctl output { color: var(--cyan); }
.seg { display: flex; flex-wrap: wrap; gap: 5px; }
.seg button { font-family: var(--mono); font-size: 11px; padding: 7px 9px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--steel); transition: all .25s; }
.seg button:hover { border-color: var(--line-3); color: var(--text); }
.seg button.on { border-color: var(--cyan); color: var(--cyan); background: rgba(61,220,255,.08); }
.seg button:disabled, .ctl.off { opacity: .35; pointer-events: none; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--cyan) var(--p, 50%), var(--line-3) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-3); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--cyan); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(61,220,255,.6); }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.hint { font-size: 11px; color: var(--dim); margin: 6px 0 0; font-family: var(--mono); letter-spacing: .04em; }
.lab-view { position: relative; overflow: hidden; min-height: 460px; background: radial-gradient(ellipse at 50% 45%, #0f1822, #06090d 75%) !important; }
#labCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#labCanvas:active { cursor: grabbing; }
.lab-view-hud { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); pointer-events: none; }
.lab-code { position: absolute; left: 20px; bottom: 18px; pointer-events: none; }
.lab-code span { display: block; font-size: 10px; color: var(--dim); }
.lab-code b { display: block; font-size: 64px; font-weight: 200; line-height: 1; color: var(--text); letter-spacing: -.02em; margin: 4px 0; }
.lab-code span:last-child { color: var(--cyan); }
.lab-out { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.lo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lo-grid > div { background: var(--bg-2); padding: 12px 14px; }
.lo-grid .wide { grid-column: span 2; background: rgba(61,220,255,.05); }
.lo-grid span { display: block; font-size: 9.5px; color: var(--dim); }
.lo-grid b { font-size: 24px; font-weight: 300; letter-spacing: -.01em; }
.lo-grid .wide b { color: var(--cyan); font-size: 30px; }
.lo-grid i { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 5px; font-family: var(--mono); }
.lo-dims { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
.lo-dims span { padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--steel); }
.lo-dims span b { color: var(--cyan); font-weight: 500; margin-right: 6px; }
.lo-bbs p.mono { font-size: 10px; color: var(--dim); margin: 0 0 8px; }
#labSketch { width: 100%; height: auto; background: rgba(255,255,255,.015); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.lo-bbs table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.lo-bbs th { font-weight: 400; color: var(--dim); text-align: right; padding: 4px 3px; border-bottom: 1px solid var(--line-2); }
.lo-bbs td { text-align: right; padding: 6px 3px; color: var(--text); }
.lo-bbs th:first-child, .lo-bbs td:first-child { text-align: left; }
.lo-bbs td.flash { animation: flash .8s; }
@keyframes flash { 0% { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); } }

/* ---------- standards ---------- */
.std-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.std {
  position: relative; padding: 24px 22px 90px; border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,0) 50%), var(--bg-2);
  overflow: hidden; transition: border-color .4s, transform .5s var(--ease);
}
.std:hover { border-color: rgba(61,220,255,.4); transform: translateY(-4px); }
.std-tag { font-size: 9.5px; color: var(--cyan); }
.std h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 200; margin: 16px 0 12px; letter-spacing: -.01em; }
.std p { font-size: 13.5px; color: var(--muted); margin: 0; }
.std svg { position: absolute; left: 22px; right: 22px; bottom: 24px; width: calc(100% - 44px); height: 40px; }
.std svg path, .std svg circle { fill: none; stroke: var(--line-3); stroke-width: 1.4; transition: stroke .4s; }
.std:hover svg path, .std:hover svg circle { stroke: var(--cyan); }
.std.accent { border-color: rgba(61,220,255,.28); background: linear-gradient(160deg, rgba(61,220,255,.08), rgba(61,220,255,0) 60%), var(--bg-2); }
.fineprint { font-size: 10.5px; color: var(--dim); margin-top: 26px; letter-spacing: .04em; }

/* ---------- performance ---------- */
.perf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pc { padding: 28px 26px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); position: relative; overflow: hidden; }
.pc-k { font-size: 11px; color: var(--cyan); margin: 0 0 30px; }
.pc-n { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pc-n span { font-size: clamp(72px, 8vw, 128px); font-weight: 200; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pc-n span::before { content: "0"; }
.pc-n small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.pc > p:not(.pc-k) { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.pc-bar { height: 2px; background: var(--line-2); }
.pc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 2s var(--ease) .3s; }
.pc.in .pc-bar i { width: 100%; }

/* ---------- global ---------- */
.map-wrap { position: relative; aspect-ratio: 2.1 / 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 50%, #0a121a, #05080c 75%); }
#mapCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-hud { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); pointer-events: none; }

/* ---------- finale ---------- */
.finale { position: relative; height: 110vh; min-height: 720px; overflow: hidden; display: grid; place-items: center; text-align: center; }
#finaleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.finale-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(4,6,10,.2) 25%, rgba(4,6,10,.35) 60%, var(--bg) 100%), radial-gradient(ellipse at center, rgba(4,6,10,.55), transparent 60%); }
.finale-content { position: relative; z-index: 2; padding: 0 var(--gutter); }
.finale h2 { font-size: clamp(38px, 6.4vw, 104px); margin-bottom: 20px; }
.finale .lead { margin: 0 auto 40px; color: var(--steel); font-size: 20px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: #030508; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-tag { color: var(--muted); margin: 16px 0 10px; }
.fh { font-size: 10.5px; color: var(--dim); margin: 0 0 8px; }
.foot-grid a:not(.brand):not(.btn) { color: var(--muted); font-size: 14px; transition: color .3s; }
.foot-grid a:not(.brand):not(.btn):hover { color: var(--cyan); }
.foot-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--dim); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(2,4,7,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s; }
.modal-card { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 34px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel-solid); box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(61,220,255,.08); animation: pop .4s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-card h3 { font-size: 26px; font-weight: 300; margin: 0 0 24px; }
.modal-x { position: absolute; right: 16px; top: 12px; font-size: 26px; color: var(--muted); width: 36px; height: 36px; }
.modal-x:hover { color: var(--text); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal label > span { display: block; font-size: 10px; color: var(--dim); margin-bottom: 6px; }
.modal input:not([type=checkbox]), .modal textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(255,255,255,.02); border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; outline: none; transition: border-color .3s; resize: vertical; }
.modal input:focus, .modal textarea:focus { border-color: var(--cyan); }
.modal input.bad { border-color: #ff6b6b; }
.f-products { border: 0; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-products legend { font-size: 10px; color: var(--dim); margin-bottom: 8px; padding: 0; }
.f-products label { cursor: pointer; }
.f-products input { position: absolute; opacity: 0; pointer-events: none; }
.f-products label span { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--steel); transition: all .25s; margin: 0; }
.f-products input:checked + span { border-color: var(--cyan); color: var(--cyan); background: rgba(61,220,255,.08); }
.f-products input:focus-visible + span { outline: 1px solid var(--cyan); }
.f-msg { display: block; margin-bottom: 22px; }
.f-status { font-size: 11px; color: var(--cyan); min-height: 1em; margin: 14px 0 0; }

:focus-visible { outline: 1px solid var(--cyan); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .lab { grid-template-columns: 280px 1fr; }
  .lab-out { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .lab-out .lo-dims { grid-column: 1; }
  .std-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .perf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(4,6,10,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .btn-demo { margin-left: auto; }
  .product, .product.flip { grid-template-columns: 1fr; gap: 28px; }
  .product.flip .pv { order: 0; }
  .hero-bbs { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-vignette { background: linear-gradient(0deg, var(--bg) 0%, rgba(4,6,10,.75) 45%, rgba(4,6,10,.35) 100%); }
  .hero-content { top: auto; bottom: 110px; transform: none; right: var(--gutter); }
  .hero-title { font-size: 9vw; margin-bottom: 20px; }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .hero-sub { font-size: 15px; margin-bottom: 26px; }
  .hero-support { display: none; }
  .hero-hud, .scroll-cue { display: none; }
  .hero-pipeline { gap: 7px; padding: 10px 14px; font-size: 9px; letter-spacing: .08em; bottom: 24px; max-width: calc(100% - 32px); }
  .hero-pipeline i { width: 8px; }
  .bar-hud { display: none; }
  .btn { font-size: 11px; padding: .9em 1.2em; }
  .btn-demo { display: none; }
  #ecoSvg { display: none; }
  .eco-mobile { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; position: relative; }
  .eco-mobile li { position: relative; padding: 22px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); font-size: 13px; letter-spacing: .1em; margin-bottom: 34px; }
  .eco-mobile li b { color: var(--cyan); font-weight: 400; margin-right: 12px; }
  .eco-mobile li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -35px; width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); background-size: 100% 200%; animation: drip 1.6s linear infinite; }
  @keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
  .workflow { height: 600vh; }
  .wf-head { top: 84px; right: var(--gutter); }
  .wf-desc { font-size: 14px; min-height: 0; }
  .wf-timeline button { font-size: 0; }
  .wf-timeline button span { font-size: 9px; }
  .tech-grid, .perf-grid { grid-template-columns: 1fr; }
  .std-grid { grid-template-columns: 1fr; }
  .lab { grid-template-columns: 1fr; }
  .lab-out { grid-column: auto; display: flex; }
  .lab-view { min-height: 360px; order: -1; }
  .lab-code b { font-size: 44px; }
  .map-wrap { aspect-ratio: 1.5 / 1; }
  .map-hud { font-size: 8.5px; }
  .f-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
}

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

/* ---------- platforms badge ---------- */
.platforms { display: flex; align-items: center; gap: 16px; margin: -8px 0 30px; padding: 16px 20px; max-width: 480px; border-radius: 14px; border: 1px solid rgba(61,220,255,.35); background: linear-gradient(120deg, rgba(61,220,255,.1), rgba(61,220,255,.02)); }
.pl-icon { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pl-title { margin: 0 0 3px; font-size: 16.5px; font-weight: 400; color: var(--text); }
.pl-title b { font-weight: 600; }
.pl-title sup { font-size: .6em; }
.pl-sub { margin: 0; font-size: 13px; color: var(--muted); }
/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-h { font-size: clamp(34px, 5.2vw, 76px); line-height: 1; font-weight: 200; letter-spacing: -.03em; text-transform: uppercase; margin: 0; }
.contact .lead { margin-bottom: 32px; }
.contact-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,0) 60%), var(--bg-2); }
.cc-title { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 0 0 16px; }
.cc-title svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.cc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cc-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: border-color .3s; }
.cc-list li:hover { border-color: rgba(61,220,255,.35); }
.cc-list .k { font-size: 10px; color: var(--dim); text-transform: uppercase; white-space: nowrap; }
.cc-list .v { text-align: right; font-weight: 500; font-size: 14.5px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.cc-list .v a:hover { color: var(--cyan); }
.cc-list .wa { font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); padding: 3px 8px; border: 1px solid rgba(61,220,255,.35); border-radius: 999px; }
.offices-h { margin-top: clamp(48px, 6vw, 80px); }
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.office { padding: 24px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); position: relative; }
.office::before { content: ""; position: absolute; left: 24px; top: 0; width: 28px; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.o-country { font-size: 10.5px; color: var(--cyan); margin: 0 0 10px; text-transform: uppercase; }
.office h3 { font-size: 18px; font-weight: 400; margin: 0 0 12px; }
.office address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.foot-contact a { color: var(--muted); font-size: 13px; }
.foot-contact .wa { display: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cc-list li { flex-direction: column; align-items: flex-start; gap: 6px; } .cc-list .v { text-align: left; justify-content: flex-start; } }.o-phone { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.o-phone a:hover { color: var(--cyan); }
.o-phone .wa { font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); padding: 3px 8px; border: 1px solid rgba(61,220,255,.35); border-radius: 999px; }

/* =========================================================
   Product pages
   ========================================================= */
body.subpage .nav { background: rgba(4, 6, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.p-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 48px; }
.p-hero-grid { max-width: 1800px; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.crumbs { font-size: 10.5px; color: var(--dim); margin: 0 0 28px; }
.crumbs a { color: var(--cyan); }
.p-title { white-space: nowrap; font-size: clamp(30px, 4.4vw, 76px); line-height: 1; font-weight: 200; letter-spacing: -.03em; text-transform: uppercase; margin: 0 0 22px; }
.p-title span { color: var(--muted); white-space: nowrap; }
.p-title .w { white-space: nowrap; }
.p-tag { font-size: clamp(18px, 1.6vw, 22px); color: var(--text); margin: 0 0 16px; font-weight: 300; }
.p-intro { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 0 30px; }
.p-hero-text .platforms { margin: 0 0 30px; }
.p-hero-vis { aspect-ratio: 16 / 10.5; max-height: calc(100svh - 160px); min-height: 360px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.feat { background: var(--bg-2); padding: 26px 24px 30px; transition: background .4s; position: relative; }
.feat:hover { background: #0a1016; }
.feat::after { content: ""; position: absolute; left: 24px; top: 0; width: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: width .5s var(--ease); }
.feat:hover::after { width: 40px; }
.feat .t-num { margin: 0 0 14px; }
.feat h3 { font-size: 17px; font-weight: 400; margin: 0 0 10px; }
.feat p:last-child { font-size: 14px; color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 24px 20px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -15px; width: 16px; height: 1px; background: var(--cyan); }
.st-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(61,220,255,.5); color: var(--cyan); font-size: 10.5px; margin-bottom: 16px; }
.steps h3 { font-size: 16px; font-weight: 400; margin: 0 0 8px; }
.steps p { font-size: 13.5px; color: var(--muted); margin: 0; }
.out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.out-h { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; font-weight: 200; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 28px; }
.out-chips li { font-size: 11px; padding: 9px 13px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec th { font-size: 10.5px; color: var(--dim); font-weight: 400; width: 34%; padding-top: 19px; }
.spec td { font-size: 15px; }
.fineprint a { color: var(--cyan); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .4s, transform .5s var(--ease); }
.other:hover { border-color: rgba(61,220,255,.4); transform: translateY(-4px); }
.other > span:first-child { font-size: 11px; color: var(--cyan); }
.other b { font-size: 22px; font-weight: 400; }
.other b i { font-style: normal; color: var(--muted); font-weight: 200; }
.other em { font-style: normal; color: var(--muted); font-size: 14px; flex: 1; }
.arr-l { font-size: 10.5px; color: var(--cyan); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 960px) { .p-hero { min-height: 0; padding-top: 110px; } .p-hero-vis { max-height: none; min-height: 0; } .p-hero-grid, .out-grid { grid-template-columns: 1fr; } .others { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.office h3:has(+ .o-company) { margin-bottom: 4px; }
.o-company { margin: 0 0 12px; font-weight: 500; font-size: 15px; color: var(--cyan); letter-spacing: .02em; }

/* offices: flags + representatives box */
.offices { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (min-width: 1100px) { .offices { grid-template-columns: repeat(3, 1fr); } }
.o-country { display: flex; align-items: center; gap: 10px; }
.flag { flex: none; width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); overflow: hidden; }
.rep-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.rep-list li { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.rep-list li:first-child { border-top: 0; padding-top: 4px; }
.rep-c { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.rep-c b { font-weight: 400; color: var(--steel); }
.rep-list .o-phone { margin: 0; padding: 0; border: 0; }
.o-fax { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-weight: 500; font-size: 15px; }
.o-fax span { font-size: 9.5px; font-weight: 400; letter-spacing: .12em; color: var(--dim); padding: 0; border: 0; }
.o-extra { margin-top: 14px; }
.o-extra-k { display: inline-block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #ffb454; padding: 3px 9px; border: 1px solid rgba(255,180,84,.45); border-radius: 999px; background: rgba(255,180,84,.08); }
.o-extra .o-phone { margin-top: 8px; padding-top: 0; border-top: 0; }

/* contact: headline + slim quick bar + office cards */
.contact-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 34px; }
.contact-top-r { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contact-top-r .lead { margin: 0; }
.quick-bar { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.quick-bar li { background: var(--bg-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; transition: background .35s; }
.quick-bar li:hover { background: #0b1117; }
.quick-bar .k { font-size: 9.5px; color: var(--dim); text-transform: uppercase; }
.quick-bar .v { font-size: 15px; font-weight: 500; word-break: break-word; }
.quick-bar .v a:hover { color: var(--cyan); }
@media (max-width: 860px) { .contact-top { grid-template-columns: 1fr; align-items: start; } }

/* about / company */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.about-text p { color: var(--muted); font-size: 16px; margin: 0 0 20px; max-width: 620px; }
.about-lead { color: var(--text) !important; font-size: clamp(17px, 1.5vw, 21px) !important; font-weight: 300; }
.about-facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.about-facts li { background: var(--bg-2); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.about-facts b { font-family: var(--font); font-size: 26px; font-weight: 200; letter-spacing: -.01em; color: var(--text); }
.about-facts span { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }

/* closing block: full-width band just before Contact */
.closing { padding: 0; }
.closing .wrap { max-width: none; padding: 0; }
.closing .finale { height: auto; min-height: 0; margin: 0; padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(70px, 9vw, 120px); border-radius: 0; }
.closing .finale-fade { background: linear-gradient(180deg, var(--bg) 0%, rgba(4,6,10,.25) 30%, rgba(4,6,10,.4) 65%, var(--bg) 100%), radial-gradient(ellipse at center, rgba(4,6,10,.6), transparent 62%); }
.closing .finale h2 { font-size: clamp(34px, 5vw, 78px); }
.closing .finale .lead { margin-bottom: 32px; }

/* about: drawn reinforcement-shapes graphic */
.about-dia { width: 100%; max-width: 560px; height: auto; margin-top: clamp(26px, 3vw, 44px); border: 1px solid var(--line-2); border-radius: 14px; background: radial-gradient(ellipse at 50% 40%, rgba(61,220,255,.06), transparent 70%), var(--bg-2); }

.dg-bar { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; filter: drop-shadow(0 0 6px rgba(61,220,255,.35)); }
.dg-dim { fill: none; stroke: rgba(150,185,215,.45); stroke-width: 1; }
.dg-mesh path { fill: none; stroke: var(--steel); stroke-width: 1.6; stroke-dasharray: 100; opacity: .85; }
.dg-coil path { fill: none; stroke: var(--steel); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; }
.dg-weld circle { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(61,220,255,.6)); }
.dg-code { font: 500 13px var(--mono); fill: var(--cyan); letter-spacing: .12em; }
.dg-lbl { font: 400 10px var(--mono); fill: var(--dim); letter-spacing: .16em; }
.dg-dot { fill: #fff; filter: drop-shadow(0 0 8px var(--cyan)); }
@media (max-width: 960px) { .about-dia { max-width: none; } }.dg-coil path { stroke-width: 2; }
.dg-coil .dg-coil-hole { stroke: var(--cyan); opacity: .85; }
.dg-coil .dg-strap { stroke: rgba(150,185,215,.55); stroke-width: 5; stroke-linecap: butt; }
.dg-hook { stroke-width: 3; }
.dg-hc path { fill: none; stroke-dasharray: 100; }
.dg-hc .dg-hc-out { stroke: var(--steel); stroke-width: 2.2; stroke-linejoin: round; }
.dg-hc .dg-core { stroke: rgba(150,185,215,.75); stroke-width: 1.6; }
.dg-hc .dg-strand { fill: var(--cyan); filter: drop-shadow(0 0 6px rgba(61,220,255,.7)); }

/* ---- about diagram -------------------------------------------------------
   BASE = fully visible. The draw-in only happens while the .draw class is on
   the <svg>, which main.js adds when the section scrolls into view and removes
   when the animation has finished. If the JS or the animation never runs, the
   graphic simply shows - it can no longer get stuck hidden, which is what the
   old SMIL and the plain CSS-keyframe versions both did on desktop. -------- */
.about-dia .dg-bar,
.about-dia .dg-mesh path,
.about-dia .dg-coil path,
.about-dia .dg-hc path { stroke-dasharray: none; stroke-dashoffset: 0; }
.about-dia .dg-strand { fill: var(--cyan); filter: drop-shadow(0 0 5px rgba(61,220,255,.55)); }
.about-dia .dg-dot { opacity: 0; }

.about-dia.draw .dg-bar,
.about-dia.draw .dg-mesh path,
.about-dia.draw .dg-coil path,
.about-dia.draw .dg-hc path { stroke-dasharray: 100; animation: dgDraw 1s cubic-bezier(.65,0,.35,1) both; animation-delay: calc(var(--i, 1) * .16s); }
.about-dia.draw .dg-hook { animation-delay: calc(var(--i, 1) * .16s + .45s); }
.about-dia.draw .dg-weld circle,
.about-dia.draw .dg-strand { transform-box: fill-box; transform-origin: center; animation: dgPop .45s ease both; animation-delay: calc(var(--i, 1) * .16s + .65s); }
.about-dia.draw .dg-dot { animation: dgDot 2.4s ease-in-out both; }

@keyframes dgDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes dgPop  { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes dgDot  { 0%   { transform: translateX(0);     opacity: 0; }
                    12%  { opacity: 1; }
                    70%  { transform: translateX(210px); opacity: 1; }
                    100% { transform: translateX(210px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .about-dia.draw .dg-bar,
  .about-dia.draw .dg-mesh path,
  .about-dia.draw .dg-coil path,
  .about-dia.draw .dg-hc path,
  .about-dia.draw .dg-weld circle,
  .about-dia.draw .dg-strand,
  .about-dia.draw .dg-dot { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
}