/*
 * DivyGfx, industry pages: shared building blocks.
 * Pages combine these differently and add their own hero visual and bespoke sections.
 */

/* ---------- small helpers ---------- */
main { overflow-x: clip; }
.in-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.in-chip svg { color: var(--svc); }
.in-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.in-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--svc-soft); color: var(--svc-ink); font-size: 12px; font-weight: 600; }
.in-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: inBlink 1.6s ease-in-out infinite; }
@keyframes inBlink { 50% { opacity: .35; } }
@keyframes inIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes inPop { from { opacity: 0; transform: scale(.6); } }
.in-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); text-align: left; font-size: 12px; animation: inBob 6s ease-in-out infinite; }
.in-float b { display: block; font-size: 13px; } .in-float small { color: var(--muted-2); font-size: 11.5px; }
.in-float > span:first-child { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--svc-soft); color: var(--svc); }
.in-float--b { animation-delay: -3s; }
@keyframes inBob { 50% { transform: translateY(-8px); } }
.in-hv { position: relative; max-width: 1040px; margin: 0 auto; }
.in-frame { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; text-align: left; font-size: 13px; }
.in-frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line-2); background: #fafbfc; }
.in-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; } .in-frame-bar i:nth-child(1) { background: #ff5f57; } .in-frame-bar i:nth-child(2) { background: #febc2e; } .in-frame-bar i:nth-child(3) { background: #28c840; }
.in-frame-bar span { margin-left: 8px; padding: 4px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); }
.in-frame-bar em { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); }

/* ---------- phone mock ---------- */
.in-phone { position: relative; width: 250px; height: 500px; margin: 0 auto; padding: 12px; border-radius: 42px; background: #0f1115; box-shadow: 0 40px 70px -40px rgba(15,17,21,.7), inset 0 0 0 2px #2a2d35; }
.in-phone::before { content: ""; position: absolute; left: 50%; top: 20px; z-index: 3; width: 74px; height: 22px; margin-left: -37px; border-radius: 99px; background: #0f1115; }
.in-scr { position: relative; height: 100%; border-radius: 32px; background: #f6f7fb; overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; }
.in-scr-h { padding: 48px 16px 14px; background: var(--svc); color: #fff; }
.in-scr-h small { display: block; opacity: .75; font-size: 11px; } .in-scr-h b { font-size: 17px; letter-spacing: -.02em; }
.in-scr-b { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.in-card { padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15,17,21,.06); }
.in-card b { display: block; font-size: 13px; } .in-card small { color: var(--muted-2); font-size: 11.5px; }

/* ---------- role tabs (data-tabs) ---------- */
.in-tabbar { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 24px; padding: 5px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); overflow-x: auto; }
.in-tabbar button { appearance: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 10px 18px; border-radius: 99px; cursor: pointer; white-space: nowrap; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.in-tabbar button svg { color: var(--muted-3); transition: color .25s ease; }
.in-tabbar button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(15,17,21,.45); }
.in-tabbar button[aria-selected="true"] svg { color: var(--svc); }
.dark-band .in-tabbar { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.dark-band .in-tabbar button { color: rgba(255,255,255,.65); } .dark-band .in-tabbar button[aria-selected="true"] { background: #fff; color: var(--ink); }
[data-pane][hidden] { display: none !important; }
[data-pane].is-on > * { animation: inIn .5s var(--ease) both; }
[data-pane].is-on > *:nth-child(2) { animation-delay: .07s; } [data-pane].is-on > *:nth-child(3) { animation-delay: .14s; }
.in-role { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; padding: 34px; border-radius: 30px; background: linear-gradient(160deg, var(--svc-soft), #fff 60%); border: 1px solid color-mix(in srgb, var(--svc) 16%, var(--line)); }
.in-role h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -.04em; margin-bottom: 10px; }
.in-role > div > p { color: var(--muted); margin-bottom: 18px; max-width: 520px; }
.in-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.in-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.in-list li svg { flex: none; margin-top: 2px; color: var(--svc); }
.in-role .in-list li { animation: inIn .45s var(--ease) both; }
.in-role .in-list li:nth-child(2) { animation-delay: .08s; } .in-role .in-list li:nth-child(3) { animation-delay: .16s; } .in-role .in-list li:nth-child(4) { animation-delay: .24s; } .in-role .in-list li:nth-child(5) { animation-delay: .32s; }

/* ---------- stepper (data-steps) ---------- */
.in-steps { position: relative; }
.in-st-row { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 10px; margin-bottom: 18px; }
.in-st-row::before { content: ""; position: absolute; left: 4%; right: 4%; top: 26px; height: 3px; border-radius: 99px; background: var(--soft); }
.in-st-bar { position: absolute; left: 4%; top: 26px; height: 3px; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--svc), var(--svc-2)); transition: width .6s var(--ease); }
.in-st { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; border: 0; background: none; font: inherit; cursor: pointer; text-align: center; color: var(--muted); }
.in-st i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); color: var(--muted-2); font-style: normal; transition: all .35s var(--ease); }
.in-st b { font-size: 13.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; transition: color .3s ease; }
.in-st.done i { border-color: color-mix(in srgb, var(--svc) 45%, var(--line)); color: var(--svc); }
.in-st.on i { background: var(--svc); border-color: var(--svc); color: #fff; transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 26px -12px var(--svc); }
.in-st.on b { color: var(--ink); }
.in-st-pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); min-height: 230px; }
.in-st-pane h3 { font-size: 24px; letter-spacing: -.035em; margin: 6px 0 8px; }
.in-st-pane p { color: var(--muted); }
.dark-band .in-st-row::before { background: rgba(255,255,255,.1); }
.dark-band .in-st i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.dark-band .in-st b { color: rgba(255,255,255,.6); } .dark-band .in-st.on b { color: #fff; }
.dark-band .in-st-pane { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.dark-band .in-st-pane p { color: rgba(255,255,255,.65); }

/* ---------- before / after (data-ba) ---------- */
.in-ba-tog { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 24px; font-weight: 600; font-size: 14.5px; color: var(--muted-2); }
.in-ba-tog button { position: relative; width: 64px; height: 34px; border: 0; border-radius: 99px; background: #cfd6e0; cursor: pointer; transition: background .3s ease; }
.in-ba-tog button i { position: absolute; left: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.in-ba-tog button[aria-pressed="true"] { background: var(--svc); } .in-ba-tog button[aria-pressed="true"] i { transform: translateX(30px); }
.in-ba-tog span.on { color: var(--ink); }
.in-ba { display: grid; }
.in-ba > div { grid-area: 1 / 1; transition: opacity .5s ease, transform .6s var(--ease), filter .5s ease; }
.in-ba > .after { opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; }
.in-ba.is-after > .before { opacity: 0; transform: translateY(-14px) scale(.98); filter: blur(3px); pointer-events: none; }
.in-ba.is-after > .after { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- feature cards ---------- */
.in-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.in-cards--4 { grid-template-columns: repeat(4, 1fr); }
.in-fc { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .4s var(--ease); }
.in-fc:hover { transform: translateY(-5px); }
.in-fc-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: var(--svc-soft); color: var(--svc); transition: transform .4s var(--ease), background-color .3s ease, color .3s ease; }
.in-fc:hover .in-fc-ic { transform: rotate(-8deg) scale(1.08); background: var(--svc); color: #fff; }
.in-fc b { font-size: 17px; letter-spacing: -.02em; } .in-fc p { font-size: 14.5px; color: var(--muted); }
.in-fc .in-chips { margin-top: auto; padding-top: 8px; }
.in-fc .in-chip { font-size: 12px; padding: 3px 9px; }

/* ---------- security rings ---------- */
.in-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.in-rings { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; contain: paint; }
.in-rings > i { position: absolute; inset: calc(var(--k) * 11%); border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--svc) calc(30% + var(--k) * 12%), #fff); background: color-mix(in srgb, var(--svc) calc(3% + var(--k) * 3%), transparent); animation: inSpin calc(28s + var(--k) * 6s) linear infinite; }
.in-rings > i:nth-child(even) { animation-direction: reverse; }
@keyframes inSpin { to { transform: rotate(360deg); } }
.in-rings > b { position: absolute; inset: 39%; display: grid; place-items: center; border-radius: 50%; background: var(--svc); color: #fff; box-shadow: 0 20px 40px -14px var(--svc); }
.in-rings > span { position: absolute; padding: 5px 11px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-card); font-size: 12.5px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s ease, color .3s ease; }
.in-rings > span.on { background: var(--svc); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.in-layers { display: grid; gap: 8px; }
.in-layer { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s ease, box-shadow .3s ease, transform .4s var(--ease); }
.in-layer i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--muted-2); font-style: normal; transition: all .3s ease; }
.in-layer b { display: block; font-size: 15px; } .in-layer small { color: var(--muted-2); font-size: 13px; }
.in-layer.on { border-color: color-mix(in srgb, var(--svc) 40%, var(--line)); box-shadow: 0 14px 28px -20px var(--svc); transform: translateX(6px); }
.in-layer.on i { background: var(--svc); color: #fff; }

/* ---------- dark KPI band ---------- */
.in-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 26px; background: var(--dark); overflow: hidden; }
.in-kpis > div { padding: 24px 26px; } .in-kpis > div + div { box-shadow: inset 1px 0 0 rgba(255,255,255,.08); }
.in-kpis b { display: block; font-family: var(--font-head); font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.in-kpis small { font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ---------- split copy + visual ---------- */
.in-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.in-split--rev > :first-child { order: 2; }
.in-split-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.in-split-copy h2 { font-size: clamp(30px, 4vw, 44px); }
.in-split-copy > p { color: var(--muted); }

/* ---------- services used ---------- */
.in-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.in-svc { color: inherit; text-decoration: none; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .3s ease, transform .35s var(--ease), box-shadow .3s ease; }
.in-svc:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 18px 34px -24px var(--c); }
.in-svc > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--c) 11%, #fff); color: var(--c); font-style: normal; transition: background-color .3s ease, color .3s ease; }
.in-svc:hover > i { background: var(--c); color: #fff; }
.in-svc b { display: block; font-size: 15.5px; letter-spacing: -.02em; } .in-svc small { color: var(--muted-2); font-size: 13px; }
.in-svc > svg { color: var(--muted-3); transition: transform .3s ease, color .3s ease; } .in-svc:hover > svg { transform: rotate(45deg); color: var(--c); }

@media (max-width: 1100px) { .in-cards--4 { grid-template-columns: repeat(2, 1fr); } .in-svcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) {
  .in-role, .in-st-pane, .in-sec, .in-split { grid-template-columns: 1fr; }
  .in-split--rev > :first-child { order: 0; }
  .in-cards { grid-template-columns: 1fr 1fr; }
  .in-kpis { grid-template-columns: 1fr 1fr; } .in-kpis > div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); } .in-kpis > div:nth-child(4) { box-shadow: inset 1px 1px 0 rgba(255,255,255,.08); }
  .in-float { display: none; }
}
@media (max-width: 760px) {
  .in-st-row { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } .in-st-row::before, .in-st-bar { display: none; }
  .in-st i { width: 46px; height: 46px; border-radius: 15px; }
  .in-role, .in-st-pane { padding: 20px; border-radius: 22px; }
  .in-tabbar { justify-content: flex-start; }
  .in-tabbar button { padding: 9px 14px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .in-cards, .in-cards--4, .in-svcs { grid-template-columns: 1fr; }
  .in-phone { width: 230px; height: 460px; }
  .in-kpis > div { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .in-rings > i, .in-float, .in-dot { animation: none; } }

/* ---------- copy inside dark bands ---------- */
.dark-band .in-split-copy > p { color: rgba(255,255,255,.66); }
.dark-band .in-list li { color: rgba(255,255,255,.86); }
.dark-band .in-list li svg { color: var(--svc-2); }
.dark-band .in-split-copy h2 { color: #fff; }

/* =====================================================================
   v2: richer visuals
   ===================================================================== */

/* ---------- animated mini-graphics on feature cards (.in-fx, injected by industries.js) ---------- */
.in-fc { padding: 0 0 22px; gap: 6px; }
.in-fc > :not(.in-fx) { margin-left: 22px; margin-right: 22px; }
.in-fc .in-fc-ic { position: relative; z-index: 2; margin-top: -26px; margin-bottom: 4px; border: 3px solid #fff; box-shadow: 0 10px 20px -12px var(--svc); background: #fff; }
.in-fx { position: relative; height: 118px; margin: 0 0 4px; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--svc-2) 16%, transparent), transparent 60%), linear-gradient(160deg, var(--svc-soft), color-mix(in srgb, var(--svc-soft) 40%, #fff)); }
.in-fx::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--svc) 18%, transparent) 1px, transparent 1px); background-size: 14px 14px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.in-fx > * { position: absolute; }
.in-fc:hover .in-fx { filter: saturate(1.15); }
.in-fx * { animation-play-state: paused !important; }
.in-fc.is-in .in-fx * { animation-play-state: running !important; }
/* bars */
.fx-bars { left: 22px; right: 22px; bottom: 26px; height: 64px; display: flex; align-items: flex-end; gap: 6px; }
.fx-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--svc) 30%, #fff); transform-origin: bottom; animation: fxBar 2.8s var(--ease) infinite; animation-delay: calc(var(--k) * .12s); }
.fx-bars i:nth-last-child(-n+2) { background: linear-gradient(180deg, var(--svc-2), var(--svc)); }
@keyframes fxBar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
/* ring */
.fx-ring { right: 22px; top: 14px; width: 74px; height: 74px; }
.fx-ring svg { width: 74px; height: 74px; transform: rotate(-90deg); } .fx-ring circle { fill: none; stroke-width: 8; stroke-linecap: round; } .fx-ring .bg { stroke: rgba(255,255,255,.85); }
.fx-ring .v { stroke: var(--svc); stroke-dasharray: 1; stroke-dashoffset: 1; animation: fxRing 3.6s var(--ease) infinite; }
@keyframes fxRing { 0% { stroke-dashoffset: 1; } 45%, 80% { stroke-dashoffset: .12; } 100% { stroke-dashoffset: 1; } }
.fx-ring b { position: absolute; inset: 0; display: grid; place-items: center; color: var(--svc); }
.fx-ring-l { left: 22px; top: 24px; display: grid; gap: 8px; }
.fx-ring-l i { display: block; height: 8px; border-radius: 99px; background: #fff; width: var(--w); box-shadow: 0 1px 2px rgba(15,17,21,.06); animation: fxGrow 3.6s var(--ease) infinite; transform-origin: left; animation-delay: calc(var(--k) * .15s); }
.fx-ring-l i:first-child { background: color-mix(in srgb, var(--svc) 35%, #fff); }
@keyframes fxGrow { 0% { transform: scaleX(.2); } 40%, 85% { transform: none; } 100% { transform: scaleX(.2); } }
/* flow: nodes with a travelling dot */
.fx-flow { left: 22px; right: 22px; top: 32px; display: flex; justify-content: space-between; align-items: center; }
.fx-flow::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--svc) 45%, #fff) 0 6px, transparent 6px 12px); }
.fx-flow i { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px -8px rgba(15,17,21,.35); color: var(--svc); font-style: normal; animation: fxNode 2.7s ease-in-out infinite; animation-delay: calc(var(--k) * .9s); }
@keyframes fxNode { 0%, 22% { background: var(--svc); color: #fff; transform: scale(1.1); } 32%, 100% { background: #fff; color: var(--svc); transform: none; } }
.fx-flow b { position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--svc-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--svc-2) 25%, transparent); animation: fxRun 2.7s ease-in-out infinite; }
@keyframes fxRun { from { left: 18px; } to { left: calc(100% - 28px); } }
/* list: rows tick off */
.fx-list { left: 22px; right: 22px; top: 14px; display: grid; gap: 6px; }
.fx-list span { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 8px; border-radius: 8px; background: rgba(255,255,255,.88); }
.fx-list span i { flex: none; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid #cfd6e0; animation: fxTick 3.6s infinite; animation-delay: calc(var(--k) * .5s); }
.fx-list span u { height: 6px; width: var(--w); border-radius: 99px; background: #e3e8ef; }
@keyframes fxTick { 0%, 15% { background: transparent; border-color: #cfd6e0; } 22%, 85% { background: var(--svc); border-color: var(--svc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--svc) 18%, transparent); } 100% { background: transparent; } }
/* radar / map */
.fx-radar { left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; }
.fx-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--svc) 40%, transparent); animation: fxWave 3s ease-out infinite; animation-delay: calc(var(--k) * 1s); }
@keyframes fxWave { from { transform: scale(.15); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.fx-radar b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--svc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--svc) 22%, transparent); }
.fx-radar u { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--svc-2); left: var(--x); top: var(--y); animation: fxBlip 3s ease-in-out infinite; animation-delay: calc(var(--k) * .7s); }
@keyframes fxBlip { 0%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1.3); opacity: 1; } }
/* sparkline */
.fx-line { left: 0; right: 0; bottom: 20px; height: 70px; width: 100%; }
.fx-line path { fill: none; stroke: var(--svc); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fxDraw 3.4s var(--ease) infinite; vector-effect: non-scaling-stroke; }
.fx-line path.a { stroke: none; fill: color-mix(in srgb, var(--svc) 14%, transparent); animation: fxFade 3.4s ease infinite; }
@keyframes fxDraw { 0% { stroke-dashoffset: 1; opacity: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fxFade { 0%, 30% { opacity: 0; } 60%, 85% { opacity: 1; } 100% { opacity: 0; } }
.fx-line-t { right: 22px; top: 14px; padding: 4px 10px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 700; color: #15803d; box-shadow: 0 4px 10px -6px rgba(15,17,21,.3); }
/* stack of cards */
.fx-stack { left: 50%; top: 14px; width: 170px; height: 90px; margin-left: -85px; }
.fx-stack span { position: absolute; left: 0; right: 0; top: 0; height: 50px; border-radius: 12px; background: #fff; box-shadow: 0 10px 20px -14px rgba(15,17,21,.5); display: flex; align-items: center; gap: 10px; padding: 0 12px; animation: fxCard 4.5s var(--ease) infinite; animation-delay: calc(var(--k) * -1.5s); }
.fx-stack span i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--svc) 25%, #fff); } .fx-stack span u { flex: 1; height: 7px; border-radius: 99px; background: #e9edf3; }
@keyframes fxCard { 0% { transform: translateY(40px) scale(.88); opacity: 0; } 15%, 33% { transform: translateY(32px) scale(.92); opacity: .7; } 48%, 66% { transform: translateY(18px) scale(.96); opacity: .9; } 81%, 92% { transform: translateY(4px) scale(1); opacity: 1; } 100% { transform: translateY(-14px); opacity: 0; } }
/* toggles */
.fx-tog { left: 22px; right: 22px; top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-tog span { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 10px; border-radius: 10px; background: rgba(255,255,255,.9); }
.fx-tog span u { width: 40%; height: 6px; border-radius: 99px; background: #e3e8ef; }
.fx-tog span i { position: relative; flex: none; width: 28px; height: 16px; border-radius: 99px; background: #d5dbe5; animation: fxTg 3.2s infinite; animation-delay: calc(var(--k) * .4s); }
.fx-tog span i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: fxTk 3.2s infinite; animation-delay: calc(var(--k) * .4s); }
@keyframes fxTg { 0%, 20% { background: #d5dbe5; } 30%, 90% { background: var(--svc); } }
@keyframes fxTk { 0%, 20% { transform: none; } 30%, 90% { transform: translateX(12px); } }
/* chat */
.fx-chat { left: 22px; right: 22px; top: 14px; display: flex; flex-direction: column; gap: 6px; }
.fx-chat span { max-width: 75%; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px -3px rgba(15,17,21,.2); animation: fxMsg 4s var(--ease) infinite; animation-delay: calc(var(--k) * .6s); }
.fx-chat span:nth-child(2) { align-self: flex-end; width: 55%; background: var(--svc); border-bottom-right-radius: 4px; }
.fx-chat span:nth-child(1), .fx-chat span:nth-child(3) { width: 65%; border-bottom-left-radius: 4px; }
@keyframes fxMsg { 0%, 5% { opacity: 0; transform: translateY(8px) scale(.95); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- services we use: richer cards ---------- */
.in-svcs { gap: 14px; }
.in-svc { position: relative; overflow: hidden; isolation: isolate; padding: 20px; border-radius: 22px; }
.in-svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(160px 120px at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); opacity: .6; transition: opacity .35s ease, transform .5s var(--ease); }
.in-svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, #fff)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.in-svc:hover::before { opacity: 1; transform: scale(1.3); } .in-svc:hover::after { transform: scaleX(1); }
.in-svc > i { width: 50px; height: 50px; border-radius: 16px; box-shadow: 0 10px 22px -16px var(--c); }

/* ---------- impact infographics band ---------- */
.in-impact { position: relative; isolation: isolate; }
.in-impact::before { content: ""; position: absolute; left: 50%; top: 40px; z-index: -1; width: min(1100px, 100%); height: 480px; transform: translateX(-50%); background: radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--svc) 10%, transparent), transparent 70%), radial-gradient(40% 50% at 80% 70%, color-mix(in srgb, var(--svc-2) 12%, transparent), transparent 70%); filter: blur(10px); animation: inAmb 14s ease-in-out infinite alternate; }
@keyframes inAmb { to { transform: translateX(-50%) translateY(30px) scale(1.05); } }

/* ---------- section heads: soft animated orb behind the title ---------- */
main > .section:not(.dark-band) > .container > .section-head { position: relative; isolation: isolate; }
main > .section:not(.dark-band) > .container > .section-head::after { content: ""; position: absolute; left: 50%; top: 10px; z-index: -1; width: 380px; max-width: 100%; height: 160px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--svc) 10%, transparent), transparent); animation: inOrb 9s ease-in-out infinite alternate; pointer-events: none; }
main > .section:not(.dark-band) > .container > .section-head--left::after { display: none; }
@keyframes inOrb { to { transform: translateX(-42%) translateY(10px) scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  .in-fx *, .in-impact::before, .section-head::after { animation: none !important; }
  .fx-ring .v { stroke-dashoffset: .12; } .fx-line path { stroke-dashoffset: 0; } .fx-chat span { opacity: 1; }
}

/* gradient words stay readable on dark bands, even for dark brand colours */
.dark-band .svc-grad { background-image: linear-gradient(100deg, color-mix(in srgb, var(--svc) 30%, #fff), var(--svc-2)) !important; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   v3: glitch and readability fixes
   ===================================================================== */

/* 1. hero floating badges sit on the frame's bottom edge, never on top of live content */
.in-hv { padding-bottom: 54px; }
.in-hv > .in-float { top: auto !important; bottom: 0 !important; left: -26px !important; right: auto !important; }
.in-hv > .in-float.in-float--b { left: auto !important; right: -26px !important; }
@media (max-width: 1180px) { .in-hv > .in-float { left: 14px !important; } .in-hv > .in-float.in-float--b { right: 14px !important; } }

/* 2. gradient words stay readable on light backgrounds */
.svc-grad { background-image: linear-gradient(100deg, var(--svc-ink), var(--svc) 55%, color-mix(in srgb, var(--svc-2) 55%, var(--svc-ink))) !important; -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-text { color: var(--svc-ink) !important; }
.dark-band .svc-grad { background-image: linear-gradient(100deg, color-mix(in srgb, var(--svc) 30%, #fff), var(--svc-2)) !important; }
.section-head p, .in-split-copy > p, .in-role > div > p, .in-st-pane p { color: #4a5164; }
.dark-band .section-head p, .dark-band .in-split-copy > p, .dark-band .in-st-pane p { color: rgba(255,255,255,.72); }
.in-fc p { color: #4a5164; }
.ig-h small, .in-svc small { color: #5d6579; }

/* 3. security rings: labels never clipped */
.in-rings { contain: none; overflow: visible; }
.in-rings > span { max-width: 46%; overflow: hidden; text-overflow: ellipsis; }

/* 4. ring graphic: only the ring svg is sized, not the icon inside */
.fx-ring svg { width: auto; height: auto; transform: none; }
.fx-ring > svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.fx-ring b svg { width: 22px; height: 22px; }

/* 5. checklist graphic: three rows that fit above the icon */
.fx-list { top: 16px; gap: 7px; }
.fx-list span:nth-child(n+4) { display: none; }

/* 6. stack graphic: a calm vertical feed instead of overlapping cards */
.fx-stack { left: 22px; right: 22px; top: 12px; width: auto; height: 82px; margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.fx-stack .fx-feed { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 6px; animation: fxFeed 6s linear infinite; }
.fx-stack span { position: static; height: 30px; animation: none; opacity: 1; transform: none; box-shadow: 0 4px 10px -8px rgba(15,17,21,.4); border-radius: 10px; padding: 0 10px; }
.fx-stack span i { width: 18px; height: 18px; border-radius: 6px; }
.fx-stack span em { flex: none; width: 34px; height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--svc) 18%, #fff); }
@keyframes fxFeed { to { transform: translateY(-50%); } }

/* 7. stable heights for auto-rotating tabs and steppers (set by industries.js) */
[data-tabs] [data-pane], [data-steps] [data-pane] { box-sizing: border-box; }

/* 8. tighter spacing after the logo strip */
.in-tools { padding-bottom: 24px !important; }
.in-tools .tk-mq { margin-bottom: 18px; }

/* chart value labels never collide with the bars */
.ig-cols > div em { position: static; top: auto; line-height: 1.2; white-space: nowrap; }

/* small mock text in hero frames: a touch larger and darker */
.in-frame small { color: #5d6579; }

@media (prefers-reduced-motion: reduce) { .fx-stack .fx-feed { animation: none; } }
.in-tools + .section { padding-top: 48px !important; }
.in-impact + .in-tools { margin-top: -20px; }
