/* =========================================================
   DATABRIDGE — components.css
   bento · service modules · code panels · pipeline · browser &
   device mockups · architecture map · dashboard · editor tabs ·
   journey · tech orbit · industries · insights · forms · contact
   ========================================================= */

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.bento > * { min-width: 0; }
.bx { position: relative; overflow: hidden; border-radius: var(--r); background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; isolation: isolate; }
.bx--arc { border-radius: var(--r) var(--arc) var(--r) var(--r); }
.bx--dk { background: var(--mid-2); border-color: transparent; color: #fff; }
.bx--dk h3 { color: #fff; } .bx--dk p { color: var(--muted-d); }
.bx--bl { background: var(--blue); border-color: transparent; color: #fff; } .bx--bl h3 { color: #fff; } .bx--bl p { color: #E3E8FF; }
.bx--vi { background: var(--violet); border-color: transparent; color: #fff; } .bx--vi h3 { color: #fff; } .bx--vi p { color: #D9D4FF; }
.bx--img { padding: 0; }
.bx--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.bx--img:hover img { transform: scale(1.05); }
.bx h3 { font-size: 1.3rem; margin-bottom: 8px; }
.bx p { color: var(--muted); margin: 0; font-size: .95rem; }
.bx .lbl { margin-bottom: 14px; }
.bx__big { font-family: var(--f-hero); font-weight: 700; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 10px; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c6 { grid-column: span 6; } .r2 { grid-row: span 2; }

/* ---------- Service modules ---------- */
.sg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sg > * { min-width: 0; }
.sc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.sc:hover, .sc:focus-within { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(33,16,185,.55); border-color: rgba(82,107,255,.45); }
.sc__m { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #DDE4FA; border-radius: 0 0 var(--arc) 0; transition: border-radius .6s var(--ease); }
.sc:hover .sc__m { border-radius: 0 0 0 0; }
.sc__m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sc:hover .sc__m img { transform: scale(1.07); }
.sc__n { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 9px; border-radius: 8px; background: var(--mid-2); color: #fff; font-family: var(--f-mono); font-size: .7rem; }
.sc__b { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc__b h3 { font-size: 1.25rem; }
.sc__b p { color: var(--muted); font-size: .94rem; margin: 0; }
.sc__b .lnk { margin-top: auto; padding-top: 10px; }
.sc .pp { margin: 0; }
.sc--wide { grid-column: span 2; flex-direction: row; }
.sc--wide .sc__m { aspect-ratio: auto; width: 55%; flex: none; border-radius: 0 var(--arc) 0 0; }

/* ---------- Signature ecosystem (pinned) ---------- */
.eco { position: relative; height: 100svh; min-height: 660px; overflow: hidden; background: radial-gradient(60% 70% at 65% 45%, rgba(82,107,255,.28), transparent 65%), var(--mid-2); color: #fff; }
.eco__3d { position: absolute; inset: 0; }
.eco__ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 440px 1fr; align-items: center; pointer-events: none; }
.eco__ui > * { pointer-events: auto; }
.eco__card { padding: 32px; background: rgba(11,16,32,.72); border: 1px solid var(--line-d); border-radius: var(--r) 60px var(--r) var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.eco__card h2 { font-family: var(--f-hero); font-size: clamp(1.6rem, 2.4vw, 2.3rem); text-transform: uppercase; margin-bottom: 22px; color: #fff; }
.eco__txt { min-height: 150px; }
.eco__txt small { font-family: var(--f-mono); color: #A9B6FF; }
.eco__txt h3 { font-family: var(--f-hero); font-size: 1.8rem; text-transform: uppercase; margin: 4px 0 8px; color: #fff; }
.eco__txt p { color: var(--muted-d); margin: 0; }
.eco__mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.eco__mods i { height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); transition: background .5s, transform .5s var(--ease); display: grid; place-items: center; font-family: var(--f-mono); font-style: normal; font-size: .62rem; color: var(--muted-d); }
.eco__mods i:nth-child(2), .eco__mods i:nth-child(3) { border-radius: 8px 20px 8px 8px; }
.eco__mods i.on { background: var(--blue); color: #fff; transform: translateY(-3px); }
.eco__mods i:nth-child(4).on { background: var(--violet); box-shadow: inset 0 0 0 1px #8D80FF; }
.ecl { list-style: none; margin: 0; padding: 0; display: none; }
.ecl li { padding: 22px 0; border-top: 1px solid var(--line-d); }
.ecl small { font-family: var(--f-mono); color: #A9B6FF; }
.ecl h3 { font-family: var(--f-hero); font-size: 1.3rem; text-transform: uppercase; color: #fff; margin: 4px 0 6px; }
.ecl p { color: var(--muted-d); margin: 0; }
.ecl-h { display: none; }

/* ---------- Code panel ---------- */
.code { background: #0D1226; color: #C9D2FF; border-radius: var(--r); border: 1px solid #1E2748; box-shadow: 0 40px 80px -40px rgba(11,16,32,.8); overflow: hidden; font-family: var(--f-mono); font-size: .84rem; }
.code__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #1E2748; background: #111833; }
.code__bar i { width: 10px; height: 10px; border-radius: 3px; background: #2A3463; } .code__bar i:nth-child(1) { background: var(--blue); } .code__bar i:nth-child(2) { background: var(--violet-l); border-radius: 3px 8px 3px 3px; }
.code__bar span { margin-left: 10px; color: var(--muted-d); font-size: .74rem; }
.code__bar .demo { margin-left: auto; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; line-height: 1.75; min-height: 270px; white-space: pre; }
.code .k { color: #A99BFF; } .code .s { color: #7EE2B8; } .code .f { color: #8EA0FF; } .code .c { color: #5A6690; } .code .n { color: #FFC28A; }
.code .cur { display: inline-block; width: 8px; height: 15px; background: #A9B6FF; vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* ---------- Pipeline ---------- */
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; margin-bottom: 26px; }
.pipe::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgba(82,107,255,.4) 0 8px, transparent 8px 14px); z-index: 0; }
.pipe button { position: relative; z-index: 1; min-height: 64px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-family: var(--f-head); font-weight: 600; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: all .4s var(--ease); }
.pipe button small { font-family: var(--f-mono); font-size: .64rem; color: var(--muted); }
.pipe button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(82,107,255,.9); }
.pipe button[aria-selected="true"] small { color: #E3E8FF; }
.pipe button.done { border-color: var(--blue); color: var(--blue); }
.dk .pipe button { background: rgba(255,255,255,.04); border-color: var(--line-d); color: #fff; }
.pane-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.pane-grid > * { min-width: 0; }
.pane { padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pane h3 { font-family: var(--f-hero); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 10px; }
.pane p { color: var(--muted); }
.pane ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pane li { display: flex; gap: 10px; align-items: baseline; font-size: .94rem; }
.pane li::before { content: "▸"; color: var(--blue); }
.dk .pane { background: rgba(255,255,255,.04); border-color: var(--line-d); } .dk .pane p { color: var(--muted-d); } .dk .pane li { color: #DDE3FF; }

/* ---------- Capability list (proposed categories) ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.caps > * { min-width: 0; }
.cap { position: relative; padding: 22px 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .4s, transform .4s var(--ease); }
.cap:hover { border-color: var(--blue); transform: translateY(-3px); }
.cap b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--blue); margin-bottom: 18px; }
.cap h3 { font-size: 1.1rem; }
.cap::after { content: ""; position: absolute; right: 18px; top: 18px; width: 18px; height: 18px; border-radius: 3px 18px 3px 3px; background: var(--light); transition: background .4s; }
.cap:hover::after { background: var(--blue); }
.dk .cap { background: rgba(255,255,255,.04); border-color: var(--line-d); } .dk .cap h3 { color: #fff; } .dk .cap::after { background: rgba(255,255,255,.08); }

/* ---------- Browser mockup ---------- */
.devbar { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-bottom: 18px; }
.devbar button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; color: var(--muted); }
.devbar button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.bw { margin: 0 auto; width: 100%; max-width: 100%; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 40px 80px -46px rgba(33,16,185,.55); overflow: hidden; transition: max-width .7s var(--ease); }
.bw[data-dev="tablet"] { max-width: 640px; } .bw[data-dev="mobile"] { max-width: 340px; }
.bw__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.bw__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCEF; } .bw__bar i:nth-child(1) { background: var(--blue); }
.bw__url { flex: 1; margin-left: 8px; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-family: var(--f-mono); font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw__vp { padding: 18px; display: grid; gap: 14px; }
.wf-nav { display: flex; justify-content: space-between; align-items: center; }
.wf-nav span { width: 70px; height: 12px; border-radius: 4px; background: var(--violet); }
.wf-nav em { display: flex; gap: 8px; } .wf-nav em i { width: 34px; height: 7px; border-radius: 4px; background: var(--line); }
.bw[data-dev="mobile"] .wf-nav em { display: none; }
.wf-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: center; padding: 18px; border-radius: 12px; background: var(--light); }
.bw[data-dev="mobile"] .wf-hero { grid-template-columns: 1fr; }
.wf-hero b { display: block; height: 14px; border-radius: 4px; background: var(--ink); margin-bottom: 8px; } .wf-hero b:nth-child(2) { width: 70%; background: var(--blue); }
.wf-hero s { display: block; height: 7px; border-radius: 4px; background: var(--line); margin: 6px 0; text-decoration: none; }
.wf-hero u { display: inline-block; width: 80px; height: 22px; border-radius: 6px; background: var(--blue); margin-top: 10px; }
.wf-hero figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px 40px 10px 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); animation: shimmer 4s var(--ease-io) infinite alternate; }
.wf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bw[data-dev="mobile"] .wf-cards { grid-template-columns: 1fr; } .bw[data-dev="tablet"] .wf-cards { grid-template-columns: 1fr 1fr; }
.wf-cards i { height: 64px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); position: relative; overflow: hidden; }
.wf-cards i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(82,107,255,.14), transparent); transform: translateX(-100%); animation: sweep 2.6s var(--ease-io) infinite; }
.wf-cards i:nth-child(2)::after { animation-delay: .3s; } .wf-cards i:nth-child(3)::after { animation-delay: .6s; }

/* Interactive components demo */
.uikit { display: grid; gap: 14px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; font-size: .94rem; }
.tgl button { width: 52px; height: 30px; border-radius: 30px; border: 0; background: var(--line); position: relative; cursor: pointer; transition: background .3s; flex: none; }
.tgl button::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.tgl button[aria-checked="true"] { background: var(--blue); } .tgl button[aria-checked="true"]::after { transform: translateX(22px); }
.rng { display: grid; gap: 6px; font-size: .9rem; } .rng input { accent-color: var(--violet); width: 100%; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset button { min-height: 36px; padding: 0 12px; border-radius: 30px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--muted); }
.chipset button[aria-pressed="true"] { background: var(--light); color: var(--violet); border-color: var(--blue); }
.prev { padding: 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); transition: all .4s var(--ease); }
.prev.dark { background: var(--mid); color: #fff; border-color: var(--mid); }
.prev strong { display: block; font-family: var(--f-head); }
.prev small { color: var(--muted); } .prev.dark small { color: var(--muted-d); }

/* ---------- Device mockups (UI/UX) ---------- */
.devs { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 24px; padding: 30px 10px; }
.phone { width: 230px; aspect-ratio: 9 / 19; border-radius: 34px; background: var(--mid); padding: 10px; box-shadow: 0 40px 70px -40px rgba(17,24,39,.9); flex: none; transition: transform .7s var(--ease); }
.phone__s { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: background .5s; }
.phone__s > div { padding: 14px; }
.phone__top { display: flex; justify-content: space-between; align-items: center; }
.phone__top b { width: 60px; height: 10px; border-radius: 4px; background: var(--violet); }
.phone__top i { width: 22px; height: 22px; border-radius: 50%; background: var(--light); }
.phone__card { margin: 0 14px; padding: 16px; border-radius: 16px 40px 16px 16px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .9rem; }
.phone__card small { display: block; font-family: var(--f-mono); font-size: .62rem; opacity: .8; font-weight: 400; }
.phone__list { display: grid; gap: 8px; }
.phone__list i { display: block; height: 40px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 14px 14px !important; border-top: 1px solid var(--line); }
.phone__nav i { width: 22px; height: 22px; border-radius: 6px; background: var(--line); } .phone__nav i:first-child { background: var(--blue); }
.devs[data-theme="dark"] .phone__s { background: #0E1430; } .devs[data-theme="dark"] .phone__list i { background: #18204A; border-color: #222B5A; } .devs[data-theme="dark"] .phone__nav { border-color: #222B5A; } .devs[data-theme="dark"] .phone__top i { background: #18204A; }
.devs[data-theme="dark"] .laptop__s { background: #0E1430; } .devs[data-theme="dark"] .laptop__s i { background: #18204A; border-color: #222B5A; }
.devs[data-accent="violet"] .phone__card, .devs[data-accent="violet"] .laptop__s b { background: linear-gradient(135deg, var(--violet), #6A5CFF); }
.devs[data-accent="mono"] .phone__card, .devs[data-accent="mono"] .laptop__s b { background: linear-gradient(135deg, #2B3350, #111827); }
.laptop { width: min(520px, 100%); flex: 0 1 auto; }
.laptop__sc { border-radius: 14px 14px 0 0; background: var(--mid); padding: 10px; }
.laptop__s { aspect-ratio: 16 / 10; border-radius: 6px; background: #fff; padding: 14px; display: grid; grid-template-columns: 70px 1fr; gap: 12px; transition: background .5s; }
.laptop__s aside { display: grid; gap: 8px; align-content: start; } .laptop__s aside i { height: 10px; border-radius: 4px; background: var(--line); border: 0; } .laptop__s aside i:first-child { background: var(--blue); }
.laptop__s section { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.laptop__s b { display: block; height: 58px; border-radius: 10px 30px 10px 10px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.laptop__s em { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .laptop__s em i { border-radius: 8px; background: var(--soft); border: 1px solid var(--line); }
.laptop__base { height: 14px; border-radius: 0 0 14px 14px; background: linear-gradient(#C9D0E4, #A9B1C9); margin: 0 -18px; }

/* ---------- Enterprise architecture map ---------- */
.amap { position: relative; border-radius: var(--r); background: var(--mid-2); padding: 20px; overflow: hidden; }
.amap svg { width: 100%; height: auto; display: block; }
.amap .edge { stroke: rgba(142,160,255,.25); stroke-width: 2; fill: none; transition: stroke .3s; }
.amap .edge.on { stroke: #8EA0FF; stroke-dasharray: 6 6; animation: dash 1s linear infinite; }
.amap .node rect { fill: #161F38; stroke: rgba(142,160,255,.35); stroke-width: 1.5; transition: all .3s; }
.amap .node text { fill: #DDE3FF; font-family: var(--f-mono); font-size: 13px; }
.amap .node:hover rect, .amap .node.on rect, .amap .node:focus rect { fill: var(--blue); stroke: #fff; }
.amap .node.core rect { fill: var(--violet); }
.amap .node { cursor: pointer; outline: none; }
.amap__info { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 380px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-d); color: #DDE3FF; font-size: .9rem; }
.amap__info strong { display: block; font-family: var(--f-head); color: #fff; }

/* ---------- Dashboard (analytics) ---------- */
.dash { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(33,16,185,.5); overflow: hidden; }
.dash--dk { background: #0D1226; border-color: #1E2748; color: #fff; }
.dash__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash--dk .dash__bar { border-color: #1E2748; }
.dash__bar strong { font-family: var(--f-mono); font-weight: 500; font-size: .76rem; text-transform: uppercase; }
.dash__body { padding: 18px; }
.dash__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.dash__grid > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--light); }
.dash--dk .kpi { background: #141B38; }
.kpi small { display: block; font-family: var(--f-mono); font-size: .64rem; text-transform: uppercase; color: var(--muted); }
.dash--dk .kpi small { color: var(--muted-d); }
.kpi b { font-family: var(--f-head); font-size: 1.35rem; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-family: var(--f-mono); font-size: .7rem; color: #2BB673; margin-left: 6px; }
.tile { padding: 16px; border-radius: 12px; border: 1px solid var(--line); }
.dash--dk .tile { border-color: #1E2748; }
.tile h4 { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gridl { stroke: var(--line); }
.dash--dk .chart .gridl, .dk .chart .gridl { stroke: #1E2748; }
.chart .ln { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln--a { stroke: var(--blue); } .chart .ln--b { stroke: var(--violet-l); }
.chart .area { opacity: .14; }
.chart .pt { fill: #fff; stroke-width: 2.4; }
.chart .bx { transform-box: fill-box; transform-origin: bottom; transition: transform .8s var(--ease), y .6s var(--ease), height .6s var(--ease); }
.chart .lbl2 { font-family: var(--f-mono); font-size: 10px; fill: var(--muted); }
.donut { position: relative; max-width: 200px; margin: 0 auto; }
.donut__c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; font-family: var(--f-mono); font-size: .68rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; } .legend span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--blue)); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--light); }
.dash--dk .seg { background: #141B38; }
.seg button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* ---------- Editor tabs (about) ---------- */
.ed { display: grid; grid-template-columns: 260px 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid #1E2748; background: #0D1226; color: #DDE3FF; box-shadow: 0 50px 90px -50px rgba(11,16,32,.9); }
.ed > * { min-width: 0; }
.ed__side { background: #0A0F20; border-right: 1px solid #1E2748; padding: 14px 10px; }
.ed__side small { display: block; padding: 6px 10px 12px; font-family: var(--f-mono); font-size: .66rem; text-transform: uppercase; color: var(--muted-d); }
.ed__side button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .8rem; color: var(--muted-d); text-align: left; }
.ed__side button::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: #2A3463; flex: none; }
.ed__side button[aria-selected="true"] { background: #161F38; color: #fff; }
.ed__side button[aria-selected="true"]::before { background: var(--blue); border-radius: 2px 8px 2px 2px; }
.ed__main { padding: 0; }
.ed__tabs { display: flex; border-bottom: 1px solid #1E2748; background: #0A0F20; font-family: var(--f-mono); font-size: .74rem; }
.ed__tabs span { padding: 10px 16px; color: #fff; border-right: 1px solid #1E2748; background: #0D1226; border-top: 2px solid var(--blue); }
.ed__p { padding: clamp(24px, 3.5vw, 44px); min-height: 380px; }
.ed__p h3 { font-family: var(--f-hero); font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: #fff; text-transform: uppercase; margin: 6px 0 16px; }
.ed__p p { color: #C3CBEA; font-size: 1.05rem; max-width: 62ch; }
.ed__p .ln { font-family: var(--f-mono); font-size: .72rem; color: #5A6690; }
.ed__p blockquote { margin: 0; padding: 18px 22px; border-left: 3px solid var(--blue); background: rgba(82,107,255,.08); border-radius: 0 12px 12px 0; font-family: var(--f-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; color: #fff; }
.ed__p ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ed__p li { padding: 14px; border-radius: 10px; background: #141B38; } .ed__p li b { display: block; color: #fff; font-family: var(--f-head); } .ed__p li span { font-size: .88rem; color: var(--muted-d); }

/* ---------- Transformation journey ---------- */
.jy { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.jy > * { min-width: 0; }
.jy__steps { display: grid; gap: 8px; align-content: start; counter-reset: j; }
.jy__steps button { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255,255,255,.03); color: #fff; cursor: pointer; text-align: left; font-family: var(--f-hero); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; counter-increment: j; transition: all .4s var(--ease); }
.jy__steps button::before { content: "0" counter(j); display: grid; place-items: center; height: 44px; border-radius: 10px; background: rgba(255,255,255,.06); font-family: var(--f-mono); font-weight: 500; font-size: .8rem; color: #A9B6FF; transition: all .4s; }
.jy__steps button[aria-selected="true"] { background: rgba(82,107,255,.16); border-color: var(--blue); }
.jy__steps button[aria-selected="true"]::before { background: var(--blue); color: #fff; border-radius: 10px 22px 10px 10px; }
.jy__vis { border-radius: var(--r); background: #0D1226; border: 1px solid #1E2748; padding: 24px; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.jy__vis h3 { font-family: var(--f-hero); font-size: 1.6rem; text-transform: uppercase; color: #fff; }
.jy__vis p { color: var(--muted-d); margin: 6px 0 0; }
.jy__vis svg { width: 100%; height: auto; }
.jy__vis .jn { fill: #161F38; stroke: rgba(142,160,255,.35); stroke-width: 1.5; transition: all .5s var(--ease); }
.jy__vis .jn.on { fill: var(--blue); stroke: #fff; }
.jy__vis .je { stroke: rgba(142,160,255,.2); stroke-width: 2; fill: none; transition: stroke .5s; }
.jy__vis .je.on { stroke: #8EA0FF; stroke-dasharray: 6 6; animation: dash 1s linear infinite; }
.jy__vis text { fill: #C9D2FF; font-family: var(--f-mono); font-size: 12px; }

/* ---------- Tech orbit ---------- */
.orbit { position: relative; aspect-ratio: 1; max-width: 560px; margin: 0 auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(82,107,255,.35); inset: var(--i); animation: spin var(--d) linear infinite; }
.orbit__ring:nth-child(2) { animation-direction: reverse; }
.orbit__ring span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-family: var(--f-mono); font-size: .72rem; white-space: nowrap; color: var(--ink); box-shadow: 0 10px 20px -14px rgba(33,16,185,.5); }
.orbit__ring span:nth-child(2) { top: 100%; } .orbit__ring span:nth-child(3) { left: 0; top: 50%; } .orbit__ring span:nth-child(4) { left: 100%; top: 50%; }
.orbit__ring > span > em { display: inline-block; font-style: normal; animation: spin var(--d) linear infinite reverse; }
.orbit__ring:nth-child(2) > span > em { animation-direction: normal; }
.orbit__core { position: absolute; inset: 36%; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 6%; }
.orbit__core i { border-radius: 10px; background: var(--blue); animation: modf 5s var(--ease-io) infinite; }
.orbit__core i:nth-child(2), .orbit__core i:nth-child(3) { border-radius: 10px 50% 10px 10px; animation-delay: .5s; } .orbit__core i:nth-child(4) { background: var(--violet); animation-delay: 1s; }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stack > * { min-width: 0; }
.stk { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.stk h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stk h3 b { font-family: var(--f-mono); font-weight: 500; font-size: .7rem; color: var(--blue); }
.stk ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stk li { padding: 6px 11px; border-radius: 8px; background: var(--light); font-family: var(--f-mono); font-size: .76rem; color: var(--violet); }

/* ---------- Industries ---------- */
.ig { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ig > * { min-width: 0; }
.icard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--mid); color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.icard:nth-child(4n+2), .icard:nth-child(4n+3) { border-radius: var(--r) var(--arc) var(--r) var(--r); }
.icard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,16,32,.96) 25%, rgba(11,16,32,.1) 75%); transition: background .5s; }
.icard:hover > img, .icard:focus-within > img { transform: scale(1.07); }
.icard:hover::before, .icard:focus-within::before { background: linear-gradient(0deg, rgba(33,16,185,.95) 40%, rgba(82,107,255,.35)); }
.icard__n { position: absolute; top: 18px; left: 20px; font-family: var(--f-mono); font-size: .74rem; color: #A9B6FF; }
.icard .pp { position: absolute; top: 14px; right: 14px; margin: 0; }
.icard h3 { color: #fff; font-family: var(--f-hero); font-size: 1.3rem; text-transform: uppercase; }
.icard__x { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.icard__x > div { overflow: hidden; }
.icard:hover .icard__x, .icard:focus-within .icard__x { grid-template-rows: 1fr; }
.icard__x p { color: #DDE3FF; font-size: .9rem; margin: 8px 0; }
.icard__x ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.icard__x li { font-family: var(--f-mono); font-size: .66rem; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.14); }
.icard .lnk { color: #fff; }

/* ---------- Insights (editorial) ---------- */
.flt { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--light); margin-bottom: 30px; max-width: 100%; }
.flt button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.flt button[aria-pressed="true"] { background: #fff; color: var(--violet); box-shadow: 0 6px 16px -10px rgba(33,16,185,.5); }
.ed-lead { display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; margin-bottom: 50px; }
.ed-lead > * { min-width: 0; }
.ed-lead .mod { min-height: 420px; }
.ed-lead__b { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ed-lead__b h2 { font-family: var(--f-hero); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.arts > * { min-width: 0; }
.art { display: flex; flex-direction: column; gap: 10px; }
.art.hide { display: none; }
.art .mod { aspect-ratio: 16 / 10; }
.art__m { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; color: var(--blue); }
.art__m span:last-child { color: var(--muted); }
.art h3 { font-size: 1.2rem; }
.art p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f { display: grid; gap: 8px; align-content: start; }
.f--full { grid-column: 1 / -1; }
.f label { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; color: var(--ink); }
.f label em { color: var(--blue); font-style: normal; }
.f input, .f select, .f textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--f-body); font-size: 1rem; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.f select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23526BFF' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(82,107,255,.15); }
.f.bad input, .f.bad select, .f.bad textarea { border-color: #D93B5A; background: #FFF7F9; }
.f__err { display: none; font-size: .84rem; font-weight: 600; color: #B4213F; }
.f.bad .f__err { display: block; }
.f__hint { font-size: .8rem; color: var(--muted); }
.f input[type="file"] { padding: 12px; min-height: auto; cursor: pointer; }
.f input[type="file"]::file-selector-button { border: 0; border-radius: 8px; background: var(--violet); color: #fff; padding: 9px 16px; margin-right: 14px; font-family: var(--f-mono); font-size: .74rem; cursor: pointer; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.form__msg { grid-column: 1 / -1; display: none; padding: 18px 20px; border-radius: 12px; font-size: .95rem; }
.form__msg.on { display: block; animation: up .5s var(--ease); }
.form__msg strong { display: block; font-family: var(--f-head); font-size: 1.05rem; margin-bottom: 4px; }
.form__msg a { color: var(--violet); font-weight: 700; text-decoration: underline; }
.form__msg--ok { background: #ECFBF3; border: 1px solid #7FD6A8; }
.form__msg--info { background: var(--light); border: 1px solid #A9B6FF; }
.form__msg--err { background: #FFF2F5; border: 1px solid #F0A3B3; } .form__msg--err strong { color: #8E1734; }
.hp { position: absolute; left: -9999px; }
.fw { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.fw > * { min-width: 0; }
.fcard { padding: clamp(24px, 4vw, 48px); border-radius: var(--r) 60px var(--r) var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -60px rgba(33,16,185,.55); }
.sticky { position: sticky; top: 120px; }
.steps { list-style: none; margin: 28px 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: grid; place-items: center; height: 46px; border-radius: 10px; background: var(--blue); color: #fff; font-family: var(--f-mono); font-size: .8rem; }
.steps li:nth-child(2)::before { border-radius: 10px 22px 10px 10px; } .steps li:nth-child(3)::before { background: var(--violet); }
.mailbig { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; background: var(--mid-2); color: #fff; font-family: var(--f-mono); font-size: clamp(.8rem, 1.6vw, 1rem); overflow-wrap: anywhere; transition: background .3s; }
.mailbig:hover { background: var(--violet); }
.mailbig span { color: #A9B6FF; }

/* ---------- Contact ---------- */
.cbox { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cbox > * { min-width: 0; }
.cc { padding: 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), border-color .4s; }
.cc:hover { transform: translateY(-4px); border-color: var(--blue); }
.cc:nth-child(2) { border-radius: var(--r) 50px var(--r) var(--r); }
.cc__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 6px; }
.cc:nth-child(2) .cc__ic { border-radius: 12px 24px 12px 12px; } .cc:nth-child(4) .cc__ic { background: var(--violet); }
.cc small { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; color: var(--blue); }
.cc .v { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 1.04rem; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.cc .lnk { margin-top: auto; padding-top: 6px; }
.map { aspect-ratio: 16 / 7; border-radius: var(--r) var(--arc) var(--r) var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--light); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Misc */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--light); border: 1px solid #CBD4FF; font-size: .94rem; color: #3A4466; }
.note svg { flex: none; color: var(--blue); margin-top: 3px; }
.dk .note { background: rgba(82,107,255,.08); border-color: rgba(142,160,255,.3); color: #DDE3FF; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; text-transform: uppercase; margin: 44px 0 14px; }
.legal p { color: #3A4466; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--pad) 80px; background: var(--light); position: relative; overflow: hidden; }
.nf__code { display: flex; gap: 14px; justify-content: center; align-items: center; font-family: var(--f-hero); font-weight: 700; font-size: clamp(6rem, 20vw, 14rem); line-height: .8; letter-spacing: -.07em; color: var(--violet); }
.nf__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: .7em; height: .7em; }
.nf__mods i { border-radius: 6px; background: var(--blue); } .nf__mods i:nth-child(2) { opacity: 0; } .nf__mods i:nth-child(3) { border-radius: 6px 50% 6px 6px; } .nf__mods i:nth-child(4) { background: var(--violet); }
/* contrast fixes */
.bx.bx--dk p, .bx.bx--dk .lbl { color: var(--muted-d); } .bx.bx--dk .lbl { color: #B9C2FF; }
.bx.bx--bl p { color: #E3E8FF; } .bx.bx--vi p { color: #D9D4FF; }
.bx.bx--bl .lbl, .bx.bx--vi .lbl { color: #fff; }
.eco .lbl, .ph--dk .lbl { color: #B9C2FF; }
.orbit__ring span { padding: 0; background: none; border: 0; box-shadow: none; }
.orbit__ring > span > em { padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 20px -14px rgba(33,16,185,.5); }
