/* XF Solutions website
   Brand tokens taken from the XF App Suite (src/index.css): navy #1a2340,
   blue #017ff8, cyan #01bafd; status colours lifted for legibility on dark. */

@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space-grotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(../fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg-0: #0B1326;
  --bg-1: #111B32;
  --bg-2: #1A2340;     /* XF brand navy */
  --bg-3: #213056;
  --panel: rgba(27, 41, 69, .72);
  --line: rgba(130, 170, 230, .16);
  --line-2: rgba(130, 170, 230, .28);
  --blue: #017FF8;     /* XF blue */
  --blue-t: #4BA8FF;   /* blue for text on dark */
  --cyan: #01BAFD;     /* XF cyan */
  --ok: #2BB673;
  --warn: #F2A93B;
  --fail: #EF5B5B;
  --none: #8592AA;
  --text: #F2F6FF;
  --text-2: #B4C1D8;
  --muted: #8E9CB6;
  --light: #F4F7FB;
  --light-2: #E7EDF6;
  --ink: #1B2535;
  --ink-2: #44526A;
  --r: 14px;
  --r-sm: 9px;
  --gut: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --f-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-1); color: var(--text); font: 400 16px/1.6 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-t); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 24px -8px rgba(1,127,248,.7); }
.btn--primary:hover { background: #1990FF; color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; margin: 6px 0 12px; }
.btn .ic { width: 18px; height: 18px; }

/* Placeholders (must be replaced before publishing) */
.ph { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; color: #FFD27A; background: rgba(242,169,59,.08); border: 1px dashed rgba(242,169,59,.55); border-radius: 6px; padding: 6px 10px; display: inline-block; }
.light .ph { color: #8A5A00; background: #FFF6E3; border-color: #E0B060; }
.ph--block { display: block; text-align: center; margin-top: 22px; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11,19,38,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__brand img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,.05); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__signin { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 4px; }
.nav__signin--mobile { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--gut) 22px; background: rgba(11,19,38,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - 72px); overflow: auto; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__toggle { display: flex; }
  .nav { background: rgba(11,19,38,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
}
@media (max-width: 560px) {
  .nav__actions .btn, .nav__actions > .nav__signin { display: none; }
  .nav__signin--mobile { display: block; color: var(--blue-t) !important; }
  .nav__brand img { height: 28px; }
}

/* SECTIONS */
main { position: relative; }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section__head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text-2); margin-top: 18px; }
.note { max-width: 860px; margin: 28px auto 0; font-size: .88rem; color: var(--muted); text-align: center; }
.note--strong { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: rgba(1,127,248,.06); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; color: var(--text-2); }
.note--strong .ic { color: var(--cyan); margin-top: 2px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.light { background: var(--light); color: var(--ink); color-scheme: light; }
.light .lead, .light p { color: var(--ink-2); }
.light h2, .light h3 { color: var(--ink); }
.light .kicker { color: #0A6FD6; }
.light a { color: #0A63C2; }
.light .muted { color: #5B6880; }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 120px 0 80px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(1200px 600px at 75% 40%, rgba(1,127,248,.16), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(1,186,253,.07), transparent 60%), linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); opacity: .45; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; letter-spacing: -.03em; margin: 22px 0 18px; background: linear-gradient(180deg, #fff 30%, #BFD8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-family: var(--f-head); font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: var(--cyan); font-weight: 500; margin-bottom: 18px; }
.hero__desc { color: var(--text-2); font-size: 1.08rem; max-width: 540px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__ctas--center { justify-content: center; }
.hero__signin { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero__scene { position: relative; margin: 0; aspect-ratio: 800 / 520; }
.plant { width: 100%; height: 100%; overflow: visible; }
.plant__eq path, .plant__eq rect, .plant__eq circle { fill-opacity: 1; stroke: #6F8FC4; stroke-width: 1.4; fill: none; }
.plant__eq path[fill^="url"] { fill: url(#tankfill); }
.plant__eq rect[fill="#1B2A4C"], .plant__eq circle[fill="#1B2A4C"] { fill: #1B2A4C; }
.plant__eq path[fill="#16223F"] { fill: #16223F; }
.plant__eq rect[fill="#0E1730"] { fill: #0E1730; }
.plant__fine { stroke-width: .8 !important; opacity: .7; }
.plant__pipe path { stroke: #5B78AA; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.plant__pipe .plant__fine { stroke-width: 1; }
.plant__ground { stroke: #3C5482; stroke-width: 1.4; }
.plant__dim path { stroke: #3C5482; stroke-width: 1; fill: none; }
.plant__dim text, .plant__lbl, .plant__zlabel { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; fill: #7F97C2; stroke: none !important; }
.plant__zone { fill: rgba(242,169,59,.05); stroke: rgba(242,169,59,.45); stroke-dasharray: 5 6; stroke-width: 1.2; }
.plant__zlabel { fill: #E7B467; }
.plant__screen { stroke: var(--cyan) !important; stroke-width: 1.6 !important; }
.lnk { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 5px rgba(1,186,253,.8)); animation: draw 1.4s var(--ease) forwards; }
.lnk1 { animation-delay: 1.3s; } .lnk2 { animation-delay: 2.5s; } .lnk3 { animation-delay: 3.7s; } .lnk4 { animation-delay: 4.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pt { fill: var(--bg-1); stroke: var(--cyan); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ptOn .6s var(--ease) forwards; }
.pt1 { animation-delay: .7s; } .pt2 { animation-delay: 2.4s; } .pt3 { animation-delay: 3.6s; } .pt4 { animation-delay: 4.8s; } .pt5 { animation-delay: 6.1s; }
@keyframes ptOn { 0% { opacity: 0; transform: scale(.2); } 60% { opacity: 1; transform: scale(1.6); } 100% { opacity: 1; transform: scale(1); fill: var(--cyan); } }
.hcard { position: absolute; left: var(--x); top: var(--y); min-width: 128px; padding: 8px 11px; border-radius: 10px; background: rgba(15,25,48,.9); border: 1px solid var(--line-2); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); backdrop-filter: blur(6px); font-size: .8rem; line-height: 1.35; opacity: 0; transform: translateY(8px); animation: cardOn .7s var(--ease) forwards; }
.hcard strong { display: block; font-family: var(--f-head); font-size: .88rem; color: #fff; }
.hcard__k { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.hcard__m { color: var(--text-2); font-family: var(--f-mono); font-size: .7rem; }
.hc1 { animation-delay: .9s; } .hc2 { animation-delay: 2.6s; } .hc3 { animation-delay: 3.8s; } .hc4 { animation-delay: 5s; } .hc5 { animation-delay: 6.3s; }
@keyframes cardOn { to { opacity: 1; transform: none; } }
.state { display: flex !important; align-items: center; gap: 6px; position: relative; }
.state__a { animation: swapOut .4s 6s forwards; }
.state__b { position: absolute; left: 0; display: inline-flex; align-items: center; gap: 6px; opacity: 0; animation: swapIn .4s 6.2s forwards; }
.hc4 .state > .st--warn { animation: swapOut .4s 6s forwards; }
@keyframes swapOut { to { opacity: 0; } }
@keyframes swapIn { to { opacity: 1; } }
.st { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.st--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(43,182,115,.2); }
.st--warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(242,169,59,.2); }
.st--fail { background: var(--fail); box-shadow: 0 0 0 3px rgba(239,91,91,.2); }
.st--none { background: transparent; border: 2px solid var(--none); }
.mini { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 4px; }
.mini i { width: 12px; height: var(--h); background: linear-gradient(180deg, var(--cyan), var(--blue)); border-radius: 3px 3px 0 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scene { order: 2; margin-top: 8px; }
  .hcard { min-width: 0; padding: 6px 8px; font-size: .7rem; }
  .hcard strong { font-size: .78rem; }
  .hcard__m { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hcard { padding: 4px 7px; }
  .hcard strong { font-size: .7rem; }
  .hcard__k { font-size: .56rem; letter-spacing: .08em; }
  .hc5 { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
}

/* SIGNAL (signature animation) */
.signal { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.signal__track { fill: none; stroke: rgba(1,186,253,.12); stroke-width: 1.5; stroke-dasharray: 2 6; }
.signal__live { fill: none; stroke: url(#sig-grad); stroke-width: 2; stroke-linecap: round; filter: url(#sig-glow); }
.signal__head { fill: #fff; filter: url(#sig-glow); }
.sig-node circle { fill: var(--bg-1); stroke: rgba(1,186,253,.35); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.sig-node text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; fill: rgba(180,193,216,.5); transition: fill .4s; text-transform: uppercase; }
.sig-node.is-lit circle { fill: var(--cyan); stroke: var(--cyan); }
.sig-node.is-lit text { fill: var(--cyan); }
@media (max-width: 1279px) { .signal { display: none; } }

/* CHALLENGE */
.challenge { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.frag { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); max-width: 980px; margin: 0 auto; }
.frag__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.frag__lines path { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 4px rgba(1,186,253,.6)); }
.frag.is-connected .frag__lines path { stroke-dashoffset: 0; }
.frag__card, .frag__hub { position: relative; z-index: 1; border-radius: var(--r); padding: 18px; min-height: 120px; display: flex; flex-direction: column; gap: 4px; }
.frag__card { background: rgba(27,41,69,.5); border: 1px dashed rgba(180,193,216,.25); color: var(--text-2); transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0)); transition: transform .9s var(--ease), border-color .6s, background .6s, color .6s; transition-delay: var(--d, 0s); }
.frag__card b { font-family: var(--f-head); font-size: 1rem; font-weight: 600; color: var(--text); }
.frag__card small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.frag__card:nth-of-type(1) { --rot: -4deg; --dx: -14px; --dy: 10px; }
.frag__card:nth-of-type(2) { --rot: 3deg; --dy: -14px; }
.frag__card:nth-of-type(3) { --rot: -2deg; --dx: 16px; --dy: 12px; }
.frag__card:nth-of-type(4) { --rot: 5deg; --dx: -10px; }
.frag__card:nth-of-type(5) { --rot: -3deg; --dx: 12px; }
.frag__card:nth-of-type(6) { --rot: 4deg; --dx: -16px; --dy: -10px; }
.frag__card:nth-of-type(7) { --rot: -5deg; --dy: 14px; }
.frag__card:nth-of-type(8) { --rot: 3deg; --dx: 12px; --dy: -8px; }
.frag.is-connected .frag__card { --rot: 0deg; --dx: 0px; --dy: 0px; border-style: solid; border-color: var(--line-2); background: var(--panel); }
.frag.is-connected .frag__card:nth-of-type(n) { --d: calc(var(--i, 0) * 60ms); }
.frag__hub { align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(1,127,248,.22), rgba(17,27,50,.9)); border: 1px solid rgba(1,186,253,.25); opacity: .55; transform: scale(.94); transition: opacity .8s .4s, transform .8s .4s var(--ease), box-shadow .8s .4s; }
.frag__hub img { width: 56px; height: auto; margin-bottom: 4px; }
.frag__hub b { font-family: var(--f-head); font-size: 1.1rem; }
.frag__hub small { font-family: var(--f-mono); font-size: .72rem; color: var(--text-2); }
.frag.is-connected .frag__hub { opacity: 1; transform: none; box-shadow: 0 0 0 1px rgba(1,186,253,.4), 0 0 60px -10px rgba(1,186,253,.5); }
.frag__ic { width: 34px; height: 26px; border-radius: 5px; margin-bottom: 8px; border: 1.4px solid currentColor; opacity: .6; background-repeat: no-repeat; }
.frag__ic--sheet { background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(90deg, transparent 32%, currentColor 32% 36%, transparent 36% 66%, currentColor 66% 70%, transparent 70%); background-size: 100% 1px, 100% 1px, 100% 100%; background-position: 0 33%, 0 66%, 0 0; }
.frag__ic--paper { width: 24px; height: 30px; background-image: repeating-linear-gradient(transparent 0 6px, currentColor 6px 7px); background-size: 70% 70%; background-position: 50% 60%; }
.frag__ic--reg, .frag__ic--doc { background-image: repeating-linear-gradient(transparent 0 5px, currentColor 5px 6px); background-size: 80% 80%; background-position: 50% 60%; }
.frag__ic--ppm { border-radius: 50%; width: 28px; height: 28px; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 1.5px 9px, 7px 1.5px; background-position: 50% 30%, 62% 50%; }
.frag__ic--obs { border-radius: 50% 50% 50% 0; width: 26px; height: 26px; }
.frag__ic--ptw { width: 24px; height: 30px; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 60% 1.5px, 40% 1.5px; background-position: 50% 30%, 30% 55%; }
.challenge__copy { max-width: 760px; margin: 48px auto 0; text-align: center; color: var(--text-2); font-size: 1.05rem; }
@media (max-width: 720px) {
  .frag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frag__hub { grid-column: 1 / -1; order: -1; min-height: 110px; }
  .frag__card { min-height: 104px; padding: 14px; }
  .frag__lines { display: none; }
}

/* PLATFORM SHOWCASE */
.platform { background: var(--bg-0); }
.show { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.show__tabs { display: flex; flex-direction: column; gap: 6px; }
.show__tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 13px 14px; border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--text-2); cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.show__tab .mono { font-size: .72rem; color: var(--muted); }
.show__tab:hover { background: rgba(255,255,255,.03); color: #fff; }
.show__tab[aria-selected="true"] { background: var(--panel); border-color: var(--line-2); color: #fff; box-shadow: inset 3px 0 0 var(--cyan); }
.show__tab[aria-selected="true"] .mono { color: var(--cyan); }
.show__stage { min-width: 0; }
.show__devbar { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.seg { min-height: 36px; padding: 6px 14px; border: 0; background: transparent; color: var(--text-2); border-radius: 7px; cursor: pointer; font-size: .88rem; font-weight: 500; }
.seg.is-on { background: var(--bg-3); color: #fff; }
.devices { position: relative; aspect-ratio: 16 / 10.2; }
.dev { position: absolute; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.dev__screen { overflow: hidden; background: #0E1730; }
.dev__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .35s; }
.dev__screen img.is-swapping { opacity: 0; }
.dev--laptop { left: 0; top: 0; width: 86%; }
.dev--laptop .dev__screen { border: 10px solid #0D1424; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; aspect-ratio: 1018 / 684; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0,0,0,.8); }
.dev__base { height: 12px; margin: 0 -5%; background: linear-gradient(180deg, #2A3A5E, #141E36); border-radius: 0 0 14px 14px; box-shadow: 0 1px 0 var(--line-2); }
.dev--tablet { left: 6%; top: 0; width: 82%; opacity: 0; transform: scale(.96); pointer-events: none; }
.dev--tablet .dev__screen { border: 16px solid #0D1424; border-radius: 26px; aspect-ratio: 1018 / 684; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -20px rgba(0,0,0,.8); }
.dev--phone { right: 0; bottom: 0; width: 22%; }
.dev--phone .dev__screen { border: 7px solid #0D1424; border-radius: 26px; aspect-ratio: 314 / 684; box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px -16px rgba(0,0,0,.85); }
.devices[data-dev="tablet"] .dev--laptop, .devices[data-dev="tablet"] .dev--phone { opacity: 0; transform: scale(.96); }
.devices[data-dev="tablet"] .dev--tablet { opacity: 1; transform: none; }
.devices[data-dev="phone"] .dev--laptop { opacity: .12; transform: scale(.96); }
.devices[data-dev="phone"] .dev--phone { width: 34%; right: 33%; }
.show__text { margin-top: 26px; max-width: 720px; min-height: 96px; }
.show__text h3 { font-size: 1.35rem; margin-bottom: 8px; }
.show__text p { color: var(--text-2); }
@media (max-width: 960px) {
  .show { grid-template-columns: 1fr; }
  .show__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: thin; }
  .show__tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .show__tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--cyan); }
}
@media (max-width: 560px) {
  .devices { aspect-ratio: 16 / 12.5; }
  .dev--phone { width: 28%; }
  .devices[data-dev="phone"] .dev--phone { width: 46%; right: 27%; }
}

/* EXPLORER */
.explorer { background: linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.xp__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.xcat { position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 20px; min-height: 172px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); cursor: pointer; color: var(--text); transition: border-color .25s, transform .25s var(--ease), background .25s; overflow: hidden; }
.xcat::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.xcat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.xcat[aria-expanded="true"] { border-color: rgba(1,186,253,.5); background: rgba(1,127,248,.08); }
.xcat[aria-expanded="true"]::after, .xcat:hover::after { transform: none; }
.xcat .ic { width: 30px; height: 30px; color: var(--cyan); stroke-width: 1.4; }
.xcat b { font-family: var(--f-head); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.xcat span { font-size: .85rem; color: var(--text-2); line-height: 1.45; }
.xcat .mono { position: absolute; top: 18px; right: 18px; font-size: .72rem; color: var(--muted); }
.xp__panel { grid-column: 1 / -1; margin-top: 4px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(27,41,69,.9), rgba(17,27,50,.95)); padding: clamp(18px, 3vw, 30px); animation: panelIn .45s var(--ease); scroll-margin-top: 90px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.xp__panelhead { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 20px; }
.xp__panelhead h3 { font-size: 1.5rem; }
.xp__panelhead p { margin: 6px 0 0; }
.xp__count { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan) !important; margin: 0 0 6px !important; }
.xp__close { width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--text-2); }
.xp__close:hover { color: #fff; border-color: var(--cyan); }
.xp__body { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; }
.xp__apps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.xapp { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 11px 12px; min-height: 44px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer; font-size: .94rem; }
.xapp::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--muted); flex: none; }
.xapp:hover { color: #fff; background: rgba(255,255,255,.03); }
.xapp[aria-pressed="true"] { color: #fff; background: rgba(1,127,248,.12); border-color: rgba(1,186,253,.35); }
.xapp[aria-pressed="true"]::before { background: var(--cyan); border-color: var(--cyan); }
.xp__detail { min-width: 0; animation: panelIn .35s var(--ease); }
.xp__detail h4 { font-family: var(--f-head); font-size: 1.4rem; margin: 0 0 8px; }
.xp__detail > p { color: var(--text-2); }
.xp__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 22px; align-items: start; }
.xp__feats { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.xp__feats li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--text-2); }
.xp__feats li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 2px; background: var(--cyan); }
.xp__std { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.xp__std span { font-family: var(--f-mono); font-size: .74rem; padding: 4px 9px; border-radius: 6px; background: rgba(1,186,253,.08); border: 1px solid rgba(1,186,253,.25); color: #9FDDF8; }
.xp__lab { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.xp__shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #0E1730; }
.xp__shot img { width: 100%; aspect-ratio: 1018 / 684; object-fit: cover; object-position: top left; }
.xp__shot figcaption { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .xp__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .xp__cols { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .xp__body { grid-template-columns: 1fr; } .xp__apps { flex-direction: row; overflow-x: auto; padding-bottom: 6px; } .xapp { white-space: nowrap; width: auto; } }
@media (max-width: 480px) { .xp__cats { grid-template-columns: 1fr; } .xcat { min-height: 0; } }

/* WORKFLOW */
.flow { background: var(--bg-1); }
.wf { position: relative; --p: 0; }
.wf__track { position: absolute; left: 7%; right: 7%; top: 39px; height: 2px; background: var(--line); }
.wf__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px rgba(1,186,253,.8); }
.wf__pulse { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(1,186,253,.35), 0 0 22px var(--cyan); }
.wf__nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; position: relative; }
.wf__node { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: transparent; border: 0; cursor: pointer; color: var(--text-2); padding: 0 4px 8px; font-size: .88rem; font-weight: 500; line-height: 1.3; }
.wf__node .ic { width: 78px; height: 78px; padding: 22px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line-2); color: var(--muted); transition: all .35s var(--ease); }
.wf__node.is-reached .ic { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px rgba(1,186,253,.08), 0 0 28px -6px rgba(1,186,253,.7); }
.wf__node.is-reached span { color: #fff; }
.wf__node[aria-expanded="true"] .ic { background: var(--blue); color: #fff; border-color: var(--blue); }
.wf__detail { margin: 30px auto 0; max-width: 760px; min-height: 120px; padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); }
.wf__detail h3 { margin-bottom: 6px; }
.wf__detail p { color: var(--text-2); margin: 0; }
.wf__detail .mono { font-size: .72rem; letter-spacing: .14em; color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 6px; }
.wf__detail .apps { margin-top: 10px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
@media (max-width: 860px) {
  .wf__track { left: 38px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .wf__fill { width: 100%; height: calc(var(--p) * 100%); inset: 0 0 auto 0; background: linear-gradient(180deg, var(--blue), var(--cyan)); }
  .wf__pulse { left: 50%; top: calc(var(--p) * 100%); }
  .wf__nodes { grid-template-columns: 1fr; gap: 6px; }
  .wf__node { flex-direction: row; text-align: left; gap: 16px; padding: 0; font-size: .98rem; }
  .wf__node .ic { width: 58px; height: 58px; padding: 16px; margin-left: 9px; }
}

/* FIELD */
.field { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.field__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat li { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.feat li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feat .ic { width: 26px; height: 26px; color: var(--cyan); margin-top: 2px; }
.feat b { display: block; font-family: var(--f-head); font-weight: 600; margin-bottom: 2px; }
.feat span { font-size: .88rem; color: var(--text-2); line-height: 1.5; display: block; }
.dep { display: inline-block; margin-top: 8px; font-style: normal; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .02em; color: #F6C77A; border: 1px solid rgba(242,169,59,.35); border-radius: 5px; padding: 2px 7px; }
.pdemo { position: sticky; top: 100px; display: flex; flex-direction: column; align-items: center; }
.pdemo__phone { position: relative; width: min(300px, 78vw); aspect-ratio: 314 / 684; border: 10px solid #0D1424; border-radius: 40px; overflow: hidden; background: #0E1730; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0,0,0,.9), 0 0 80px -30px rgba(1,127,248,.5); }
.pdemo__notch { position: absolute; z-index: 2; top: 6px; left: 50%; width: 76px; height: 18px; margin-left: -38px; border-radius: 12px; background: #0D1424; }
.pdemo__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .5s var(--ease); }
.pdemo__screens img.is-on { opacity: 1; transform: none; }
.pdemo__steps { list-style: none; padding: 0; margin: 22px 0 8px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pdemo__steps button { min-height: 40px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--text-2); font-size: .85rem; }
.pdemo__steps button .mono { color: var(--muted); margin-right: 4px; }
.pdemo__steps button.is-on { background: var(--bg-3); color: #fff; border-color: var(--cyan); }
.pdemo__cap { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
@media (max-width: 960px) { .field__grid { grid-template-columns: 1fr; } .pdemo { position: static; order: -1; } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } }

/* PROCESS SAFETY */
.psafe { background: radial-gradient(900px 500px at 50% 60%, rgba(1,127,248,.08), transparent 70%), var(--bg-0); }
.chain { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; counter-reset: c; }
.chain li { position: relative; padding: 12px 10px 12px 14px; font-size: .82rem; font-weight: 600; font-family: var(--f-head); color: var(--text-2); border-top: 2px solid var(--line); transition: color .3s, border-color .3s; }
.chain li small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .68rem; color: var(--muted); margin-top: 2px; }
.chain li::before { counter-increment: c; content: counter(c, decimal-leading-zero); position: absolute; top: -12px; left: 10px; font-family: var(--f-mono); font-size: .64rem; background: var(--bg-0); padding: 0 4px; color: var(--muted); }
.chain li.is-on { color: #fff; border-color: var(--cyan); }
.chain li.is-on::before { color: var(--cyan); }
.bt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.bt__diagram { position: relative; border-radius: var(--r); border: 1px solid var(--line-2); background-color: rgba(14,23,48,.8); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; padding: 40px 14px 14px; }
.tagline { position: absolute; top: 12px; left: 16px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #F6C77A; }
#bowtie { width: 100%; height: auto; display: block; }
#bowtie .bt-line { stroke: rgba(160,185,225,.35); stroke-width: 1.4; fill: none; }
#bowtie .bt-node rect { fill: #142140; stroke: rgba(160,185,225,.5); stroke-width: 1.2; }
#bowtie .bt-node text, #bowtie .bt-bar text { font-family: var(--f-body); font-size: 12.5px; fill: #DCE6F7; }
#bowtie .bt-top circle { fill: rgba(239,91,91,.1); stroke: var(--fail); stroke-width: 1.6; }
#bowtie .bt-top text { font-family: var(--f-head); font-weight: 600; font-size: 14px; fill: #fff; }
#bowtie .bt-hz rect { fill: rgba(242,169,59,.14); stroke: var(--warn); }
#bowtie .bt-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; fill: #8E9CB6; }
#bowtie .bt-bar { cursor: pointer; outline: none; }
#bowtie .bt-bar rect.bg { stroke-width: 1.6; transition: stroke-width .2s, filter .2s; }
#bowtie .bt-bar[data-s="ok"] rect.bg { fill: rgba(43,182,115,.12); stroke: var(--ok); }
#bowtie .bt-bar[data-s="warn"] rect.bg { fill: rgba(242,169,59,.12); stroke: var(--warn); }
#bowtie .bt-bar[data-s="fail"] rect.bg { fill: rgba(239,91,91,.13); stroke: var(--fail); }
#bowtie .bt-bar[data-s="none"] rect.bg { fill: rgba(133,146,170,.1); stroke: var(--none); stroke-dasharray: 4 3; }
#bowtie .bt-bar:hover rect.bg, #bowtie .bt-bar:focus-visible rect.bg { stroke-width: 2.6; }
#bowtie .bt-bar.is-sel rect.bg { stroke-width: 3; filter: drop-shadow(0 0 8px rgba(1,186,253,.7)); }
#bowtie .bt-bar.is-sel rect.ring { stroke: var(--cyan); }
#bowtie .bt-bar rect.ring { fill: none; stroke: transparent; stroke-width: 1.4; }
#bowtie .bt-bar .glyph { font-family: var(--f-mono); font-size: 11px; font-weight: 500; }
.bt__hint { display: none; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin: 0 0 6px; position: sticky; left: 0; }
.legend { position: sticky; left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 4px 0; padding: 0; font-size: .82rem; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.bt__evidence { border-radius: var(--r); border: 1px solid var(--line-2); background: var(--panel); padding: 22px; }
.bt__evidence h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.bt__evidence .mono { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.bt__evidence > p { color: var(--text-2); font-size: .9rem; }
.evl { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.evl::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line-2); }
.evl li { position: relative; padding: 0 0 14px 24px; font-size: .88rem; }
.evl li .st { position: absolute; left: 0; top: 6px; }
.evl b { display: block; color: #fff; font-weight: 600; }
.evl span { color: var(--text-2); }
.evl small { display: block; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin-top: 2px; }
.stlab { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.stlab--ok { color: #7EE2B0; background: rgba(43,182,115,.14); }
.stlab--warn { color: #F8CF8C; background: rgba(242,169,59,.14); }
.stlab--fail { color: #FFA3A3; background: rgba(239,91,91,.16); }
.stlab--none { color: #C2CBDB; background: rgba(133,146,170,.16); }
@media (max-width: 1100px) { .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 960px) { .bt { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .bt__diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #bowtie { min-width: 720px; }
  .bt__hint { display: block !important; }
}
@media (max-width: 560px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bt__diagram { padding: 36px 10px 10px; } }

/* ANALYTICS DASHBOARD */
.ana { background: linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.dash { border-radius: 18px; border: 1px solid var(--line-2); background: rgba(14,23,48,.85); padding: clamp(14px, 2.5vw, 26px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.dash__bar { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 5px 10px; }
.badge--sample { color: #F6C77A; border: 1px dashed rgba(242,169,59,.6); background: rgba(242,169,59,.06); }
.dash__filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dash__filters label { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); }
.dash select, .form select { appearance: none; -webkit-appearance: none; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23B4C1D8' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line-2); color: var(--text); border-radius: 8px; padding: 8px 36px 8px 12px; min-height: 40px; font: inherit; font-size: .9rem; }
.segs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 9px; }
.dash__kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.kpi__l { font-size: .78rem; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.kpi__v { font-family: var(--f-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi__s { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.dash__charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel { margin: 0; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; position: relative; }
.panel figcaption { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.panel figcaption b { font-family: var(--f-head); font-weight: 600; }
.panel figcaption span { font-size: .8rem; color: var(--muted); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: rgba(160,185,225,.12); stroke-width: 1; }
.chart .ax { font-family: var(--f-mono); font-size: 10px; fill: #8E9CB6; }
.chart .bar { fill: var(--blue); transition: fill .15s; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .bar, .chart g.is-h .bar { fill: var(--cyan); }
.tip { position: absolute; pointer-events: none; z-index: 5; background: #0B1326; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; font-size: .8rem; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .12s; }
.tip b { font-variant-numeric: tabular-nums; }
.tip.is-on { opacity: 1; }
.cond { display: flex; height: 26px; border-radius: 6px; overflow: hidden; gap: 2px; }
.cond i { display: block; height: 100%; transition: width .5s var(--ease); min-width: 2px; }
.cond__leg { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: .86rem; color: var(--text-2); }
.cond__leg li { display: flex; align-items: center; gap: 8px; }
.cond__leg b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.hbar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 36px; gap: 10px; align-items: center; margin-bottom: 12px; font-size: .86rem; color: var(--text-2); }
.hbar__t { height: 12px; border-radius: 0 4px 4px 0; background: rgba(160,185,225,.08); position: relative; }
.hbar__t i { position: absolute; inset: 0 auto 0 0; background: var(--blue); border-radius: 0 4px 4px 0; transition: width .5s var(--ease); }
.hbar.is-sel .hbar__t i { background: var(--cyan); }
.hbar b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.hs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs div { padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.hs small { display: block; color: var(--muted); font-size: .76rem; }
.hs b { font-family: var(--f-head); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.hs .tag { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.dash__table { margin-top: 14px; font-size: .88rem; color: var(--text-2); }
.dash__table summary { cursor: pointer; padding: 8px 0; min-height: 40px; }
.dash__table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dash__table th, .dash__table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dash__table th { color: var(--muted); font-weight: 500; }
.dtw { overflow-x: auto; }
.screens2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.screens2 figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #0E1730; }
.screens2 figcaption { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .dash__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dash__charts, .screens2 { grid-template-columns: 1fr; } .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* GETTING STARTED */
.cps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.cps::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 25px; height: 2px; background: repeating-linear-gradient(90deg, #0A6FD6 0 10px, transparent 10px 16px); opacity: .5; }
.cp { position: relative; background: #fff; border: 1px solid var(--light-2); border-radius: var(--r); padding: 62px 22px 22px; box-shadow: 0 10px 30px -18px rgba(17,27,50,.25); }
.cp::before { content: ''; position: absolute; top: 12px; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #fff; border: 2px solid #0A6FD6; box-shadow: 0 0 0 5px rgba(10,111,214,.1); }
.cp::after { content: ''; position: absolute; top: 21px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0A6FD6; }
.cp__n { font-size: .72rem; color: #0A6FD6; letter-spacing: .12em; }
.cp h3 { margin: 6px 0 8px; }
.cp p { font-size: .93rem; }
.cp a { font-weight: 600; font-size: .92rem; }
@media (max-width: 960px) { .cps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cps::before { display: none; } }
@media (max-width: 560px) { .cps { grid-template-columns: 1fr; } }

/* DEMO */
.demo { background: radial-gradient(900px 600px at 80% 50%, rgba(1,127,248,.12), transparent 70%), var(--bg-1); }
.demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.tours { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tour { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 54px; padding: 12px 16px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
.tour b { font-family: var(--f-head); font-weight: 600; }
.tour .mono { font-size: .72rem; color: var(--muted); }
.tour.is-on { border-color: var(--cyan); background: rgba(1,127,248,.12); }
.tour.is-on .mono { color: var(--cyan); }
.tour__desc { color: var(--text-2); min-height: 76px; }
.demo__shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); background: #0E1730; }
.demo__shot figcaption { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .demo__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tours { grid-template-columns: 1fr; } .btn--lg { width: 100%; justify-content: center; white-space: normal; } }

/* RESOURCES */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcard { background: #fff; border: 1px solid var(--light-2); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px -22px rgba(17,27,50,.3); }
.rcard .ic { width: 28px; height: 28px; color: #0A6FD6; }
.rcard p { font-size: .93rem; margin: 0; }
.rcard a { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .92rem; }
.rcard--wide { grid-column: span 3; background: linear-gradient(135deg, #fff, #EEF5FF); }
.rcard--wide .ph { align-self: flex-start; margin-top: 8px; }
@media (max-width: 960px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rcard--wide { grid-column: span 2; } }
@media (max-width: 600px) { .rgrid { grid-template-columns: 1fr; } .rcard--wide { grid-column: auto; } }

/* ROLES */
.roles { background: var(--bg-1); }
.rolegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.role { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .25s; }
.role[open] { border-color: rgba(1,186,253,.45); }
.role summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; min-height: 64px; }
.role summary::-webkit-details-marker { display: none; }
.role summary .ic { width: 26px; height: 26px; color: var(--cyan); }
.role summary b { font-family: var(--f-head); font-weight: 600; font-size: 1.02rem; flex: 1; }
.role summary::after { content: '+'; font-family: var(--f-mono); font-size: 1.2rem; color: var(--muted); transition: transform .25s; }
.role[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.role__body { padding: 0 20px 20px; font-size: .9rem; color: var(--text-2); }
.role__body h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 6px; font-weight: 500; }
.role__body ul { margin: 0 0 6px; padding-left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .78rem; padding: 3px 9px; border-radius: 99px; background: rgba(1,127,248,.12); border: 1px solid rgba(1,186,253,.25); color: #CFE6FF; }
@media (max-width: 960px) { .rolegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rolegrid { grid-template-columns: 1fr; } }

/* SERVICES */
.services { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc__card { padding: 24px 20px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(33,48,86,.6), rgba(17,27,50,.6)); position: relative; overflow: hidden; }
.svc__card::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.svc__n { font-size: .72rem; color: var(--cyan); letter-spacing: .12em; }
.svc__card h3 { margin: 10px 0 8px; }
.svc__card p { font-size: .92rem; color: var(--text-2); margin: 0; }
@media (max-width: 1000px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* EVIDENCE */
.evidence { background: var(--bg-0); }
.evgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev { margin: 0; padding: 26px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: var(--r); border: 1px dashed var(--line-2); background: rgba(27,41,69,.35); }
.ev blockquote { margin: 0; align-self: flex-start; }
.ev figcaption { font-size: .74rem; color: var(--muted); }
@media (max-width: 860px) { .evgrid { grid-template-columns: 1fr; } }

/* CONTACT */
.contact { background: radial-gradient(800px 500px at 20% 30%, rgba(1,127,248,.1), transparent 70%), var(--bg-1); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__mail { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 600; }
.contact__mail .ic { color: var(--cyan); width: 24px; height: 24px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); }
.form__row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form__row--full { grid-column: 1 / -1; }
.form label { font-size: .88rem; font-weight: 500; color: var(--text-2); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { width: 100%; background: rgba(11,19,38,.7); border: 1px solid var(--line-2); border-radius: 9px; color: var(--text); padding: 11px 13px; min-height: 46px; font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.form select { background-color: rgba(11,19,38,.7); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1,186,253,.2); }
.form [aria-invalid="true"] { border-color: var(--fail) !important; }
.form__consent { flex-direction: row; align-items: flex-start; gap: 12px; }
.form__consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form__consent label { font-weight: 400; font-size: .86rem; line-height: 1.5; }
.form__foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__msg { margin: 0; font-size: .9rem; }
.form__msg.is-err { color: #FFA3A3; }
.form__msg.is-ok { color: #7EE2B0; }
.form__how { grid-column: 1 / -1; margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; justify-content: center; } }

/* FAQ */
.faq__inner { max-width: 900px; }
.acc details { border-bottom: 1px solid #D5DEEA; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; min-height: 60px; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid #0A6FD6; border-bottom: 2px solid #0A6FD6; transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.acc details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.acc details p { padding: 0 4px 20px; margin: 0; max-width: 760px; }

/* FINAL */
.final { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 140px); background: radial-gradient(700px 420px at 50% 32%, rgba(1,127,248,.2), transparent 70%), linear-gradient(180deg, var(--bg-1), var(--bg-0)); text-align: center; }
.final__stage { position: relative; width: min(1000px, 100% - 2 * var(--gut)); margin: 0 auto 28px; aspect-ratio: 1000 / 420; }
.final__net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fn__sys rect { fill: rgba(27,41,69,.85); stroke: rgba(160,185,225,.3); stroke-width: 1.2; transition: stroke .6s; }
.fn__sys text { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; fill: #8E9CB6; transition: fill .6s; }
.fn__sys path { stroke: rgba(160,185,225,.25); stroke-width: 3; stroke-linecap: round; }
.fn__links path { fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-dasharray: 520; stroke-dashoffset: 520; filter: drop-shadow(0 0 5px rgba(1,186,253,.8)); }
.fn__core { fill: #0F1E3D; stroke: rgba(1,186,253,.35); stroke-width: 1.5; opacity: 0; transition: opacity 1s 1.6s; }
.fn__core--2 { fill: none; stroke-dasharray: 3 7; }
.final.is-on .fn__links path { animation: draw 1.6s var(--ease) forwards; }
.final.is-on .fn__links path:nth-child(2) { animation-delay: .2s; } .final.is-on .fn__links path:nth-child(3) { animation-delay: .4s; }
.final.is-on .fn__links path:nth-child(4) { animation-delay: .1s; } .final.is-on .fn__links path:nth-child(5) { animation-delay: .3s; } .final.is-on .fn__links path:nth-child(6) { animation-delay: .5s; }
.final.is-on .fn__sys rect { stroke: rgba(1,186,253,.65); transition-delay: 1.3s; }
.final.is-on .fn__sys text { fill: #CFE6FF; transition-delay: 1.3s; }
.final.is-on .fn__core { opacity: 1; }
.final__logo { position: absolute; left: 50%; top: 50%; width: 13%; max-width: 130px; transform: translate(-50%, -50%) scale(.8); opacity: 0; filter: drop-shadow(0 0 30px rgba(1,186,253,.6)); transition: opacity 1s 1.7s, transform 1s 1.7s var(--ease), filter .6s; }
.final.is-on .final__logo { opacity: 1; transform: translate(-50%, -50%); }
.final__inner { position: relative; z-index: 3; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 820px; margin: 0 auto; }
.final__brand { font-family: var(--f-head); font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--cyan); margin: 16px 0 10px; }
@media (max-width: 600px) { .fn__sys text { font-size: 15px; } .final__logo { width: 16%; } }

/* FOOTER */
.foot { background: var(--bg-0); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .92rem; position: relative; z-index: 3; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot__brand img { height: 32px; width: auto; margin-bottom: 16px; }
.foot__brand p { color: var(--text-2); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot h3 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.foot nav a { color: var(--text-2); text-decoration: none; padding: 3px 0; }
.foot nav a:hover { color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.foot__legal p { margin: 0; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* Simple content pages */
.page { padding: 130px 0 90px; min-height: 70vh; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.page h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.page p, .page li { color: var(--text-2); }

/* Reduced motion: final states, no movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .hero__scroll span { display: none; }
  .signal__head { display: none; }
  .wf__pulse { display: none; }
}

/* Print */
@media print {
  .nav, .signal, .hero__scene, .final__scene, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================
   Refresh pass: layout cleanup, richer motion, service data
   ========================================================= */

/* NAV: keep the toolbar cleaner and prevent crowded wrapping */
.nav { border-bottom-color: rgba(255,255,255,.02); }
.nav__inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; height: 84px; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__links { justify-content: center; gap: 2px; min-width: 0; }
.nav__links a { font-size: .9rem; padding: 8px 10px; white-space: nowrap; }
.nav__actions { gap: 12px; }
.nav__signin { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav__inner { display: flex; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,19,38,.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 16px var(--gut) 18px; flex-direction: column; align-items: flex-start; gap: 6px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .24s, transform .24s; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { width: 100%; padding: 11px 12px; }
  .nav__toggle { display: flex; }
  .nav__signin--mobile { display: inline-flex; }
  .nav__actions .nav__signin, .nav__actions .btn { display: none; }
}

/* HERO: bigger stage, stronger blueprint and more impactful overlay */
.hero { background: radial-gradient(1200px 650px at 78% 40%, rgba(1,127,248,.22), transparent 60%), radial-gradient(850px 550px at 8% 88%, rgba(1,186,253,.08), transparent 62%), linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.hero__inner { grid-template-columns: minmax(0,.86fr) minmax(0,1.24fr); gap: clamp(28px, 4.4vw, 64px); }
.hero__scene { filter: drop-shadow(0 36px 70px rgba(0,0,0,.38)); transform: scale(1.06); transform-origin: center right; }
.hero__desc { max-width: 580px; }
.hero__title { max-width: 10ch; }
.plant { filter: drop-shadow(0 0 12px rgba(1,186,253,.08)); }
.plant__eq path, .plant__eq rect, .plant__eq circle { stroke: #8BA7D7; }
.plant__pipe path, .plant__ground, .plant__dim path { filter: drop-shadow(0 0 8px rgba(1,186,253,.15)); }
.hcard { min-width: 158px; padding: 10px 13px; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(1,186,253,.08) inset; }
.hcard::after { content: ''; position: absolute; inset: auto 12px 0; height: 2px; background: linear-gradient(90deg, rgba(1,127,248,.2), rgba(1,186,253,.95), rgba(1,127,248,.2)); opacity: .95; }
.hcard strong { font-size: .95rem; }
.hcard__m { font-size: .72rem; }
.hc1 { min-width: 164px; }
.hc2 { min-width: 182px; }
.hc3 { min-width: 168px; }
.hc5 { min-width: 124px; }
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scene { transform: none; }
}

/* Equalise card families */
.xp__cats, .cps, .rgrid, .rolegrid, .svc, .evgrid { align-items: stretch; }
.xcat-wrap, .cp, .rcard, .role, .svc__card, .ev { height: 100%; }
.xcat-wrap { display: flex; }
.xcat { width: 100%; min-height: 100%; }
.cps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.cp, .rcard, .svc__card, .ev { position: relative; overflow: hidden; }
.cp h3, .rcard h3, .svc__card h3 { text-wrap: balance; }
.rcard, .cp, .svc__card { transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease); }
.rcard::after, .cp::after, .svc__card::after, .ev::after {
  content: ''; position: absolute; inset: auto 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  transform: scaleX(.24); opacity: .7; transform-origin: center; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.rcard:hover, .cp:hover, .svc__card:hover,
.rcard:focus-within, .cp:focus-within, .svc__card:focus-within {
  transform: translateY(-4px); box-shadow: 0 24px 46px -28px rgba(0,0,0,.46);
}
.rcard:hover::after, .cp:hover::after, .svc__card:hover::after,
.rcard:focus-within::after, .cp:focus-within::after, .svc__card:focus-within::after,
.ev:hover::after, .ev:focus-within::after { transform: scaleX(1); opacity: 1; }

/* Application explorer cards */
.xcat { min-height: 190px; padding-bottom: 24px; }
.xcat::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(240px 120px at 15% 8%, rgba(1,127,248,.12), transparent 70%); opacity: 0; transition: opacity .28s;
}
.xcat:hover::before, .xcat[aria-expanded="true"]::before { opacity: 1; }

/* Workflow + tours subtle motion */
.wf__node .ic, .tour, .role summary { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease); }
.wf__node:hover .ic, .wf__node:focus-visible .ic,
.tour:hover, .tour:focus-visible, .role summary:hover { transform: translateY(-2px); }
.tour { position: relative; overflow: hidden; }
.tour::after {
  content: ''; position: absolute; inset: auto 12px 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(.22); transform-origin: left; transition: transform .28s var(--ease);
}
.tour:hover::after, .tour.is-on::after { transform: scaleX(1); }
.wf__detail { box-shadow: 0 24px 50px -34px rgba(0,0,0,.7); }

/* Resources and getting started feel more interactive */
.rcard--wide { background: linear-gradient(135deg, #fff, #F1F6FF); }
.rcard a, .cp a { text-underline-offset: 3px; }

/* Roles: keep the grid tidy by expanding the chosen role into a wider panel */
.rolegrid { grid-auto-flow: dense; }
.role { transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background .25s; }
.role:hover { transform: translateY(-2px); }
.role[open] { background: linear-gradient(180deg, rgba(31,48,88,.96), rgba(17,27,50,.96)); box-shadow: 0 28px 55px -35px rgba(0,0,0,.85); }
.role__body { display: grid; gap: 10px; }
@media (min-width: 961px) {
  .role[open]:nth-child(3n+1) { grid-column: 1 / span 2; }
  .role[open]:nth-child(3n+2) { grid-column: 2 / span 2; }
  .role[open]:nth-child(3n)   { grid-column: 2 / span 2; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .role[open] { grid-column: 1 / -1; }
}
.role__body ul li { margin-bottom: 6px; }

/* Services refresh */
.svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc__card { background: linear-gradient(180deg, rgba(32,49,90,.78), rgba(16,26,49,.88)); box-shadow: 0 18px 42px -30px rgba(0,0,0,.7); }
.svc__card p { line-height: 1.56; }
.svc__note { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 1100px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* Evidence section now contains factual summary cards */
.estats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.estat { padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(27,41,69,.48); box-shadow: 0 18px 40px -34px rgba(0,0,0,.72); }
.estat__v { display: block; font-family: var(--f-head); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; color: #fff; }
.estat__l { display: block; margin-top: 4px; font-size: .82rem; color: var(--text-2); }
.ev { border-style: solid; background: linear-gradient(180deg, rgba(27,41,69,.5), rgba(16,26,49,.74)); }
.ev blockquote { display: grid; gap: 10px; }
.ev blockquote strong { font-size: 1.02rem; color: #fff; }
.ev blockquote p { margin: 0; color: var(--text-2); line-height: 1.6; }
@media (max-width: 960px) { .estats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .estats { grid-template-columns: 1fr; } }

/* Motion system */
@media (prefers-reduced-motion: no-preference) {
  .hero__scene { animation: heroFloat 6.6s ease-in-out infinite; }
  .hcard { animation-name: cardOn, softFloat; animation-duration: .7s, 7s; animation-fill-mode: forwards, both; animation-iteration-count: 1, infinite; }
  .hcard.hc1 { animation-delay: .35s, 2.2s; }
  .hcard.hc2 { animation-delay: .55s, 3.4s; }
  .hcard.hc3 { animation-delay: .75s, 1.8s; }
  .hcard.hc4 { animation-delay: .95s, 4.2s; }
  .hcard.hc5 { animation-delay: 1.15s, 2.8s; }
  .cp::before, .rcard::before, .svc__card::before {
    animation: scanline 7.2s linear infinite;
  }
  .wf__pulse { animation: wfPulse 1.8s ease-in-out infinite; }
  .role[open] { animation: panelIn .35s var(--ease); }
}
@keyframes heroFloat { 0%,100% { transform: scale(1.06) translateY(0); } 50% { transform: scale(1.06) translateY(-8px); } }
@keyframes softFloat { 0%,100% { transform: translateY(8px); } 50% { transform: translateY(2px); } }
@keyframes scanline { 0%,100% { opacity: 1; } 50% { opacity: .78; } }
@keyframes wfPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .hero__scene, .hcard, .wf__pulse, .cp::before, .rcard::before, .svc__card::before { animation: none !important; }
}

/* Actual illustrated artwork integration - generated artwork, not full-page mockup images */
.hero__scene--art { background: none; border-radius: 12px; }
.hero__scene--art .plant > rect, .hero__scene--art .plant__dim,
.hero__scene--art .plant__ground, .hero__scene--art .plant__zone,
.hero__scene--art .plant__zlabel, .hero__scene--art .plant__eq,
.hero__scene--art .plant__pipe { opacity: 0; }
.hero__scene--art .hcard { display: none; }
.hero__scene--art .plant { position: absolute; inset: 0; z-index: 2; overflow: visible; }
.hero__scene--art .lnk { stroke-width: 1.6; opacity: .85; }
.hero__scene--art .pt { stroke-width: 2.3; filter: drop-shadow(0 0 8px #01BAFD); }
.hero__scene--art:after { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 40px rgba(4,15,37,.4), 0 22px 70px -38px rgba(1,186,253,.42); }
.svc__card { min-height: 270px; isolation: isolate; }
.svc__card .svc__art { position: absolute; width: 43%; height: 44%; right: 4px; bottom: 4px; object-fit: contain; opacity: .38; z-index: -1; pointer-events: none; transition: opacity .35s ease, transform .35s ease; mix-blend-mode: screen; }
.svc__card:hover .svc__art, .svc__card:focus-within .svc__art { opacity: .72; transform: scale(1.06); }
@media (max-width: 960px) { .hero__scene--art { aspect-ratio: 1043 / 670; } }
@media (prefers-reduced-motion: reduce) { .svc__card .svc__art { transition: none; } }

/* =========================================================
   November refinement pass: larger hero art, softer light sections,
   and wider use of the process-plant artwork as a subtle page motif.
   ========================================================= */
:root {
  --light: #EDEFF3;
  --light-2: #D6DDE7;
  --light-panel: #F5F7FA;
  --light-panel-2: #EEF2F7;
  --ink: #182334;
  --ink-2: #516074;
}

/* Make light sections easier on the eyes */
.light {
  background: linear-gradient(180deg, var(--light), #E8EDF3);
}
.cp,
.rcard,
.acc,
.form input,
.form select,
.form textarea {
  background: var(--light-panel);
}
.cp,
.rcard,
.acc details,
.form input,
.form select,
.form textarea {
  border-color: var(--light-2);
}
.rcard--wide {
  background: linear-gradient(135deg, var(--light-panel), var(--light-panel-2));
}
.cp::before {
  background: var(--light-panel);
}
.acc details {
  background: rgba(255,255,255,.22);
}

/* Reuse the hero artwork subtly through the journey */
.start, .res, .faq, .platform, .flow, .demo, .roles, .services, .evidence {
  overflow: hidden;
  isolation: isolate;
}
.start::before, .res::before, .faq::before,
.platform::before, .flow::before, .demo::before, .roles::before, .services::before, .evidence::before {
  content: '';
  position: absolute;
  right: min(-12vw, -90px);
  bottom: -40px;
  width: min(48vw, 760px);
  aspect-ratio: 1043 / 670;
  background: none;
  pointer-events: none;
  z-index: 0;
}
.platform > *, .flow > *, .demo > *, .roles > *, .services > *, .evidence > *,
.start > *, .res > *, .faq > * { position: relative; z-index: 1; }
.platform::before, .flow::before, .demo::before, .roles::before, .services::before, .evidence::before {
  opacity: .06;
  filter: saturate(.7) brightness(.8);
  mix-blend-mode: screen;
}
.start::before, .res::before, .faq::before {
  opacity: .085;
  filter: grayscale(1) saturate(.2) brightness(1.02) contrast(.94);
}
.start::after, .res::after, .faq::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,239,243,.96) 0%, rgba(237,239,243,.92) 55%, rgba(237,239,243,.78) 100%);
  pointer-events: none;
  z-index: 0;
}
.platform::after, .flow::after, .demo::after, .roles::after, .services::after, .evidence::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 360px at 90% 78%, rgba(1,186,253,.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero artwork: make it larger and more integrated */
.hero__inner {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
}
.hero__scene {
  aspect-ratio: 1043 / 670;
}
.hero__scene--art {
  width: min(112%, 860px);
  max-width: none;
  justify-self: end;
  background-position: center center;
  background-size: cover;
  border-radius: 18px;
  box-shadow: 0 28px 84px -42px rgba(1,186,253,.3);
}
.hero__scene--art:before {
  content: '';
  position: absolute;
  inset: -14px;
  background: radial-gradient(65% 52% at 50% 50%, rgba(1,127,248,.14), transparent 72%);
  z-index: -1;
  filter: blur(16px);
}
.hero__scene--art .plant { transform: scale(1.02); transform-origin: center; }
.hero__scene--art .lnk { stroke-width: 1.85; opacity: .96; }
.hero__scene--art .pt { stroke-width: 2.5; }
@media (max-width: 1200px) {
  .hero__scene--art { width: 106%; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scene--art { width: 100%; justify-self: stretch; }
  .start::before, .res::before, .faq::before,
  .platform::before, .flow::before, .demo::before, .roles::before, .services::before, .evidence::before {
    width: min(78vw, 620px);
    right: -18vw;
    bottom: -10px;
  }
}

/* Slightly softer bright cards in light sections */
.cp, .rcard {
  box-shadow: 0 16px 38px -28px rgba(17,27,50,.24);
}

/* Consistent title casing for the demo callout */
.btn--sm, .cp a, .demo b, .faq b { letter-spacing: 0; }

/* =========================================================
   Cinematic hero pass: full-bleed visual treatment.
   ========================================================= */
.hero {
  min-height: 100svh;
  padding: 0;
  display: block;
  background:
    radial-gradient(1200px 720px at 78% 42%, rgba(1,127,248,.22), transparent 62%),
    radial-gradient(900px 620px at 10% 88%, rgba(1,186,253,.09), transparent 64%),
    linear-gradient(180deg, #08101F 0%, #0B1326 28%, #111B32 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,13,26,.98) 0%, rgba(7,13,26,.94) 18%, rgba(7,13,26,.78) 34%, rgba(7,13,26,.34) 56%, rgba(7,13,26,.18) 72%, rgba(7,13,26,.36) 100%),
    linear-gradient(180deg, rgba(7,13,26,.18) 0%, rgba(7,13,26,0) 16%, rgba(7,13,26,0) 80%, rgba(7,13,26,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(17,27,50,0), rgba(17,27,50,.95));
  z-index: 2;
  pointer-events: none;
}
.hero__grid {
  opacity: .56;
  mask-image: radial-gradient(ellipse at 58% 45%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 58% 45%, #000 22%, transparent 78%);
}
.hero__inner {
  display: block;
  min-height: 100svh;
  padding-top: 112px;
  padding-bottom: 84px;
}
.hero__copy {
  position: relative;
  z-index: 4;
  width: min(44vw, 560px);
  max-width: 560px;
  padding: clamp(52px, 10vh, 128px) 0 clamp(54px, 10vh, 120px);
}
.hero__title {
  max-width: 8ch;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero__sub,
.hero__desc,
.hero__signin,
.hero__ctas {
  position: relative;
  z-index: 4;
}
.hero__ctas {
  margin-top: 28px;
}
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  filter: none;
  transform: none;
}
.hero__scene--art {
  width: 100%;
  height: 100%;
  justify-self: stretch;
  border-radius: 0;
  box-shadow: none;
  background-position: 72% center;
  background-size: cover;
}
.hero__scene--art:before {
  inset: auto -8% 5% 34%;
  background: radial-gradient(55% 60% at 55% 50%, rgba(1,127,248,.16), transparent 74%);
  filter: blur(24px);
}
.hero__scene--art:after {
  inset: 0;
  border-radius: 0;
  box-shadow:
    inset 0 0 50px rgba(4,15,37,.34),
    inset 0 -120px 120px rgba(9,16,31,.46);
}
.hero__scene--art .plant {
  position: absolute;
  inset: 11% 5% 11% 34%;
  z-index: 3;
  transform: none;
}
.hero__scene--art .lnk {
  stroke-width: 2.2;
  opacity: .98;
  filter: drop-shadow(0 0 8px rgba(1,186,253,.45));
}
.hero__scene--art .pt {
  stroke-width: 2.6;
}
.hero__scroll {
  z-index: 4;
  bottom: 30px;
}

/* support large desktop displays */
@media (min-width: 1500px) {
  .hero__copy { width: min(40vw, 590px); }
  .hero__scene--art { background-position: 68% center; }
  .hero__scene--art .plant { inset: 10% 6% 12% 36%; }
}

@media (max-width: 1180px) {
  .hero__copy { width: min(49vw, 560px); }
  .hero__scene--art { background-position: 76% center; }
  .hero__scene--art .plant { inset: 13% 2% 11% 36%; }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 32px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(7,13,26,.8) 0%, rgba(7,13,26,.76) 30%, rgba(7,13,26,.42) 58%, rgba(7,13,26,.86) 100%);
  }
  .hero::after {
    height: 90px;
  }
  .hero__inner {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__copy {
    width: 100%;
    max-width: 640px;
    padding: 10px 0 0;
  }
  .hero__scene {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
  }
  .hero__scene--art {
    width: 100%;
    aspect-ratio: 1043 / 670;
    border-radius: 18px;
    background-position: center center;
    box-shadow: 0 28px 84px -42px rgba(1,186,253,.3);
  }
  .hero__scene--art:after {
    border-radius: 18px;
    box-shadow: inset 0 0 40px rgba(4,15,37,.34), 0 22px 70px -38px rgba(1,186,253,.42);
  }
  .hero__scene--art .plant {
    inset: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scene { animation: none !important; }
  .hero__scene--art { animation: heroCinema 16s ease-in-out infinite alternate; }
  .hero__scene--art .plant { animation: heroOverlayDrift 8s ease-in-out infinite; }
}
@keyframes heroCinema {
  0% { transform: scale(1.02); background-position: 70% center; }
  100% { transform: scale(1.05); background-position: 74% center; }
}
@keyframes heroOverlayDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scene--art, .hero__scene--art .plant { animation: none !important; }
}

/* =========================================================
   Concept-image alignment pass
   Based on the approved concept screenshot supplied by the user.
   ========================================================= */
.eyebrow { display:flex; align-items:center; gap:10px; flex-wrap:wrap; text-transform:uppercase; letter-spacing:.24em; font-size:.82rem; color:#D7E6FF; }
.eyebrow__sep { opacity:.55; letter-spacing:0; }
.hero__sub { max-width: 620px; font-family: var(--f-body); font-size: clamp(1.1rem, 1.85vw, 1.45rem); line-height: 1.48; color: var(--cyan); font-weight: 500; margin-bottom: 18px; }
.hero__desc { max-width: 620px; color: #D4E1F4; }
.hero__signin { margin-top: 16px; color: #D4E1F4; }
.hero__pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; max-width: 700px; }
.hero__pill {
  min-height: 92px; padding: 16px 14px 14px; border-top: 1px solid rgba(1,186,253,.25);
  color: #D9E6FA; text-decoration: none; background: linear-gradient(180deg, rgba(9,18,37,.22), rgba(9,18,37,0));
}
.hero__pill:hover, .hero__pill:focus-visible { background: linear-gradient(180deg, rgba(9,18,37,.35), rgba(9,18,37,.04)); }
.hero__pill b { display:block; font-size: 1.02rem; line-height: 1.28; font-weight: 600; }
.hero__scene--art { background-size: contain; background-repeat: no-repeat; background-position: right center; }
.hero__scene--art .plant { inset: 8% 7% 12% 42%; }
.hcard { background: rgba(7,14,29,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 16px; border: 1px solid rgba(1,186,253,.55); }
.hc1 { border-color: rgba(64,255,173,.7); }
.hc2, .hc4 { border-color: rgba(255,214,10,.78); }
.hc3 { border-color: rgba(64,255,173,.72); }
.hc5 { border-color: rgba(64,255,173,.62); }
.hcard strong { color: #fff; }
.hcard__k { color: var(--cyan); }
.hcard__m { color: #d2dff3; }
.hero__visual-caption { color: #9db4d9; }
@media (max-width: 1150px) {
  .hero__pills { grid-template-columns: 1fr; max-width: 420px; }
  .hero__scene--art .plant { inset: 10% 4% 13% 38%; }
}
@media (max-width: 960px) {
  .hero__pills { grid-template-columns: 1fr; max-width: none; }
  .hero__pill { min-height: auto; }
  .hero__scene--art { background-size: cover; }
  .hero__scene--art .plant { inset: 0; }
}

/* Service showcase aligned to supplied concept */
.services { background: linear-gradient(180deg, #EEF2F7, #E8EDF3); }
.services .container { position: relative; }
.services .section__head { position: relative; padding-right: 240px; }
.services .kicker { text-transform: uppercase; letter-spacing: .2em; }
.services .lead { max-width: 720px; }
.svc__all {
  position: absolute; top: 8px; right: 0; display: inline-flex; gap: 10px; align-items: center;
  color: #0A56B4; font-weight: 600; text-decoration: none;
}
.svc__all span { font-size: 1.25rem; line-height: 1; }
.svc {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch;
}
.svc__feature {
  position: relative; display:flex; flex-direction:column; min-height: 408px; padding: 26px 28px 0;
  border-radius: 18px; background: linear-gradient(180deg, #F7F9FC, #EEF3F8); border: 1px solid #D9E2EE;
  box-shadow: 0 18px 40px -30px rgba(17,27,50,.20); overflow: hidden;
}
.svc__feature:hover, .svc__feature:focus-within { transform: translateY(-4px); box-shadow: 0 28px 54px -34px rgba(17,27,50,.28); }
.svc__icon {
  width: 44px; height: 44px; display:grid; place-items:center; margin-bottom: 16px; color: #1278E6; font-size: 1.55rem; font-weight: 700;
}
.svc__feature h3 { margin: 0 0 10px; font-size: clamp(1.15rem, 1.55vw, 1.5rem); line-height: 1.15; color: #0F1732; }
.svc__feature p { margin: 0 0 16px; color: #31445F; font-size: 1rem; line-height: 1.46; max-width: 32ch; }
.svc__img { margin-top: auto; width: calc(100% + 56px); margin-left: -28px; height: 124px; object-fit: cover; border-top: 1px solid #D9E2EE; }
.svc__go {
  position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; display:grid; place-items:center;
  border-radius: 999px; background: rgba(255,255,255,.92); color:#123E78; text-decoration:none; font-size:1.35rem;
  box-shadow: 0 8px 18px -10px rgba(17,27,50,.32);
}
.svc__note { margin-top: 20px; color: #44556D; }
@media (max-width: 1200px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .services .section__head { padding-right: 0; }
  .svc__all { position: static; margin-top: 8px; }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: 1fr; }
}

/* =========================================================
   Final concept-faithful pass
   Align the live ZIP more closely to the approved screenshot.
   ========================================================= */
:root { --maxw: 1440px; }
body { background: #0A1731; }

/* Header closer to approved concept */
.nav { background: linear-gradient(180deg, #06214A 0%, #081B3A 100%); border-bottom: 1px solid rgba(92,145,214,.32); }
.nav.is-scrolled { background: rgba(8,27,58,.94); border-color: rgba(92,145,214,.36); }
.nav__inner { height: 58px; gap: 18px; }
.nav__brand img { height: 38px; width: auto; }
.nav__links { gap: 10px; margin-left: auto; align-items: center; }
.nav__links a { color: #F0F6FF; font-size: .94rem; font-weight: 500; padding: 8px 10px; display: inline-flex; align-items: center; gap: 4px; }
.nav__links a:hover { background: rgba(255,255,255,.04); }
.nav__caret { font-size: .7em; opacity: .85; }
.nav__actions { gap: 10px; }
.nav__icon { appearance: none; border: 0; background: transparent; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.15rem; cursor: pointer; }
.nav__icon:hover { background: rgba(255,255,255,.06); }
.nav__signin { color: #fff; }
.nav .btn--sm { min-height: 44px; padding-inline: 18px; border-radius: 12px; box-shadow: 0 10px 30px -18px rgba(1,127,248,.92); }
@media (max-width: 1220px) {
  .nav__links a { font-size: .9rem; padding: 8px; }
}

/* Hero rebuilt around approved composition */
.hero { min-height: auto; padding: 76px 0 0; background: linear-gradient(180deg, #06142C 0%, #07192F 100%); }
.hero__grid { opacity: .18; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent); }
.hero__inner { grid-template-columns: minmax(0,.4fr) minmax(0,.6fr); gap: 18px; align-items: stretch; max-width: 100%; padding-inline: clamp(20px, 4vw, 36px); }
.hero__copy { padding: 34px 0 26px; align-self: center; }
.eyebrow { border: 0; padding: 0; font-size: .92rem; letter-spacing: .24em; color: #E6F2FF; }
.eyebrow .dot { display: none; }
.hero__title { margin: 14px 0 12px; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .95; background: none; color: #fff; }
.hero__accent { color: var(--cyan); }
.hero__sub { max-width: 610px; color: #fff; font-size: clamp(1.05rem, 1.5vw, 1.18rem); font-family: var(--f-body); font-weight: 500; line-height: 1.36; margin-bottom: 0; }
.hero__desc { display: none; }
.hero__ctas { margin-top: 26px; gap: 16px; }
.hero .btn { min-height: 48px; border-radius: 12px; }
.hero .btn--primary { background: linear-gradient(180deg, #13A2FF, #0B84F4); box-shadow: 0 18px 40px -20px rgba(1,127,248,.9); }
.hero .btn--ghost { background: rgba(7,17,37,.6); border-color: rgba(255,255,255,.45); }
.btn__arrow { font-size: 1.1rem; }
.btn__play { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .8rem; margin-right: 2px; }
.hero__signin { margin-top: 16px; color: #D5E6FF; }
.hero__signin a { color: var(--blue-t); font-weight: 600; }
.hero__pills { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: 26px; max-width: 680px; }
.hero__pill { min-height: 86px; padding: 14px 18px 12px 10px; border-top: 0; border-left: 1px solid rgba(120,175,245,.18); background: none; position: relative; }
.hero__pill:first-child { border-left: 0; }
.hero__pill::before { content:''; width: 34px; height: 34px; border-radius: 50%; display:block; margin-bottom: 10px; background: radial-gradient(circle at 35% 35%, #23C1FF, #017FF8); box-shadow: 0 0 0 1px rgba(1,186,253,.16), 0 0 18px rgba(1,186,253,.18); }
.hero__pill:nth-child(2)::before { border-radius: 8px; }
.hero__pill:nth-child(3)::before { clip-path: polygon(15% 85%, 15% 25%, 30% 25%, 30% 85%, 15% 85%, 42% 85%, 42% 45%, 57% 45%, 57% 85%, 42% 85%, 69% 85%, 69% 10%, 84% 10%, 84% 85%, 69% 85%); background: linear-gradient(180deg,#23C1FF,#017FF8); box-shadow:none; }
.hero__pill b { font-size: 1.04rem; line-height: 1.18; color: #fff; }
.hero__scene { aspect-ratio: auto; margin: 0; min-height: 524px; align-self: stretch; }
.hero__stage { width: 100%; height: 100%; display: grid; }
.hero__stageimg { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
@media (max-width: 1120px) {
  .hero__inner { grid-template-columns: 1fr; gap: 16px; }
  .hero__copy { padding-bottom: 0; }
  .hero__scene { min-height: 0; }
  .hero__stageimg { border-radius: 18px; }
}
@media (max-width: 680px) {
  .hero { padding-top: 78px; }
  .hero__pills { grid-template-columns: 1fr; gap: 10px; }
  .hero__pill { border-left: 0; border-top: 1px solid rgba(120,175,245,.18); padding-left: 0; }
  .hero__pill:first-child { border-top: 0; }
  .hero__title { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* Service block from approved concept */
.services { padding-top: 28px; background: linear-gradient(180deg, #EDF1F7 0%, #EDF1F7 100%); }
.services .container { max-width: 1440px; }
.services .kicker { position: relative; padding-left: 62px; margin-bottom: 10px; font-size: .98rem; letter-spacing: .24em; color: #0E4FAD; }
.services .kicker::before { content:''; position:absolute; left:0; top:50%; transform: translateY(-50%); width: 46px; height: 3px; border-radius: 3px; background: #26B8FF; }
.services h2 { font-size: clamp(2.2rem, 4vw, 3.85rem); color: #0B1331; }
.services .lead { max-width: 760px; margin-top: 8px; font-size: clamp(1.06rem, 1.35vw, 1.18rem); color: #32415D; }
.svc__all { top: 36px; right: var(--gut); color: #0A56B4; }
.svc { margin-top: 22px; }
.svc__feature { min-height: 430px; padding: 26px 28px 0; border-radius: 18px; background: linear-gradient(180deg,#F6F8FB,#EFF3F8); }
.svc__icon { color: #0F5FC5; font-size: 1.8rem; margin-bottom: 12px; }
.svc__feature h3 { font-size: clamp(1.2rem, 1.5vw, 1.58rem); line-height: 1.08; max-width: 12ch; }
.svc__feature p { color: #2C3D57; font-size: 1rem; max-width: 30ch; }
.svc__img { height: 140px; object-position: center; }
.svc__go { width: 44px; height: 44px; background: rgba(255,255,255,.95); }

/* Ensure first section order reflects screenshot intent */
#services { order: 1; }
