/* ==========================================================================
   Zuci.AI — design system
   ========================================================================== */
:root {
  --brand: #2096dd;
  --brand-600: #157bc2;
  --brand-700: #0d5f9c;
  --brand-50: #eaf5fd;
  --brand-100: #d8ecfa;
  --brand-line: #cfe3f5;
  --tint-violet: #eef0ff;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --header-bg: rgba(255, 255, 255, 0.88);
  --on-ink: #ffffff;
  --cyan: #22d3ee;
  --violet: #7c5cff;
  --mint: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;

  --ink: #0b1526;
  --ink-2: #26344a;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --dark: #06101d;
  --dark-2: #0b1a2e;
  --dark-line: rgba(255, 255, 255, 0.1);

  --grad: linear-gradient(120deg, #2096dd 0%, #22d3ee 45%, #7c5cff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.06), 0 2px 8px rgba(11, 21, 38, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 21, 38, 0.18), 0 2px 6px rgba(11, 21, 38, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 16, 29, 0.35);
  --container: 1600px;
  --gutter: clamp(16px, 4vw, 72px);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.3vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.4em; border-radius: 999px; font-weight: 650; font-size: 0.97rem; line-height: 1;
  border: 1.5px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s; white-space: nowrap;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(32, 150, 221, 0.7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(32, 150, 221, 0.8); }
.btn-ghost { background: var(--brand-50); color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-light { background: #fff; color: #0b1526; }
.btn-light:hover { color: var(--brand-700); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 0.65em 1.1em; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav-bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { flex: none; display: grid; }
.brand img { grid-area: 1 / 1; height: 30px; width: auto; transition: opacity 0.3s; }
.logo-light { opacity: 0; }
.primary-nav { flex: 1; }
.primary-nav > ul { display: flex; gap: 4px; justify-content: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  color: var(--ink-2); font-weight: 600; font-size: 0.95rem; transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .active > .nav-link, .has-menu.open > .nav-link { color: var(--brand-700); background: var(--brand-50); }
.chev { width: 16px; height: 16px; transition: transform 0.25s; }
.has-menu.open .chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; border: 0; background: none; color: inherit; padding: 8px; border-radius: 10px; }
.burger .ico { width: 26px; height: 26px; }

/* transparent header over dark heroes */
.hero-dark .site-header:not(.scrolled) .logo-dark { opacity: 0; }
.hero-dark .site-header:not(.scrolled) .logo-light { opacity: 1; }
.hero-dark .site-header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.82); }
.hero-dark .site-header:not(.scrolled) .nav-link:hover,
.hero-dark .site-header:not(.scrolled) .has-menu.open > .nav-link,
.hero-dark .site-header:not(.scrolled) .active > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero-dark .site-header:not(.scrolled) .burger { color: #fff; }
.site-header.scrolled, .site-header.menu-open { background: var(--header-bg); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 21, 38, 0.4); }
.site-header.menu-open .logo-dark { opacity: 1 !important; }
.site-header.menu-open .logo-light { opacity: 0 !important; }
.site-header.menu-open .nav-link, .site-header.menu-open .burger { color: var(--ink-2) !important; }

/* mega menu */
.has-menu { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding: 0 24px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: 1100px; margin: 8px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 22px; color: var(--ink);
}
.mm-grid { display: grid; gap: 4px; }
.mm-3 { grid-template-columns: repeat(3, 1fr); }
.mm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mm-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 8px; }
.mm-item { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); transition: background 0.2s; align-items: flex-start; }
.mm-item:hover { background: var(--bg-alt); color: var(--ink); }
.mm-item strong { display: block; font-size: 0.93rem; font-weight: 650; }
.mm-item small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; margin-top: 2px; }
.mm-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.mm-ico .ico { width: 19px; height: 19px; }
.mm-item:hover .mm-ico { background: var(--brand); color: #fff; }
.mm-feature { display: block; margin: 8px 4px 0; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #0b1a2e, #13325a); color: #fff; }
.mm-feature:hover { color: #fff; }
.mm-feature strong { display: block; margin-top: 8px; }
.mm-feature small { color: rgba(255, 255, 255, 0.7); }
.pill { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--grad); color: #fff; letter-spacing: 0.04em; }
.mm-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 12px 2px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.mm-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }

/* mobile nav */
.mobile-nav { background: var(--surface); border-top: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; padding: 12px 0 28px; }
.mobile-nav .container { display: grid; gap: 4px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 650; color: var(--ink); cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .ico { transform: rotate(180deg); }
.m-links { display: grid; padding: 0 4px 12px; }
.m-links a { padding: 8px 0; color: var(--ink-2); }
.m-top { padding: 14px 4px; font-weight: 650; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- heroes ---------- */
.home-hero, .page-hero, .sec-dark { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 18% 20%, rgba(32, 150, 221, 0.45), transparent 60%),
    radial-gradient(35% 45% at 85% 15%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(40% 50% at 70% 90%, rgba(34, 211, 238, 0.22), transparent 60%);
  filter: blur(20px); animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.05); } }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.home-hero { padding: 150px 0 0; }
.home-hero .hero-grid { min-height: 560px; }
.page-hero { padding: 140px 0 84px; }
.page-hero.no-visual .hero-grid { grid-template-columns: 1fr; max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hero-copy h1 { margin: 14px 0 20px; }
.hero-lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.76); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 44px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: 16px; overflow: hidden; max-width: 620px; }
.hero-stats > div, .hero-stats .stat { background: rgba(6, 16, 29, 0.6); padding: 16px 18px; backdrop-filter: blur(8px); }
.hero-stats b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-600); }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow.on-dark { color: var(--cyan); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { width: 14px; height: 14px; transform: rotate(-90deg); opacity: 0.5; }

.hero-visual { position: relative; }
.hero-visual.stack { height: 560px; }
.float { position: absolute; animation: bob 7s ease-in-out infinite; }
.float.f1 { top: 0; left: 0; width: 86%; }
.float.f2 { top: 120px; right: -12px; width: 54%; animation-delay: -3s; }
.float.f2 .cm-body { min-height: 0; }
.float.f2 .msg:nth-child(5), .float.f2 .cm-typing { display: none; }
.float-badge {
  position: absolute; bottom: 70px; left: 2%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); font-size: 0.85rem; animation: bob 6s ease-in-out infinite -1.5s;
}
.float-badge .ico { color: var(--amber); width: 22px; height: 22px; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.trusted { margin-top: 64px; text-align: center; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

/* marquee */
.marquee { overflow: hidden; padding: 22px 0 42px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.78); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- sections ---------- */
.sec { padding: 104px 0; position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-tight { padding: 40px 0; }
.sec-tight + .sec-tight { padding-top: 0; }
.sec-dark { padding: 110px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-top: 12px; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 16px; }
.sec-dark .lead { color: rgba(255, 255, 255, 0.72); }
.sec-note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 0.97rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.intro-text { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; color: var(--ink-2); max-width: 920px; margin: 0 auto; text-align: center; padding: 40px 0 0; }
.center-cta { text-align: center; margin-top: 44px; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.grid.tight { gap: 16px; margin-top: 26px; }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.sec-alt .card { background: var(--surface); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card.mini { padding: 24px; }
.card.mini h4 { font-size: 1rem; margin-bottom: 12px; }
.feature:hover, .link-card:hover, .product-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.f-ico {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-50), var(--tint-violet)); color: var(--brand-600); transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.f-ico .ico { width: 24px; height: 24px; }
.feature:hover .f-ico, .link-card:hover .f-ico, .product-card:hover .f-ico { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.compact .card { padding: 22px; }
.compact .f-ico { width: 42px; height: 42px; margin-bottom: 14px; }
.link-card, .product-card { display: flex; flex-direction: column; color: var(--ink); }
.link-card:hover, .product-card:hover { color: var(--ink); }
.link-card p, .product-card p { flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 650; color: var(--brand-600); font-size: 0.93rem; }
.more .ico { transition: transform 0.25s var(--ease); }
.link-card:hover .more .ico, .product-card:hover .more .ico, .post-card:hover .more .ico { transform: translateX(4px); }
.tag { display: inline-block; align-self: flex-start; font-size: 0.74rem; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); margin-bottom: 10px; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pc-stats b { display: block; font-size: 1.2rem; }
.pc-stats small { color: var(--muted); font-size: 0.72rem; line-height: 1.3; display: block; }
.step-n { font-size: 0.8rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; }
.intro-card .eyebrow { display: block; margin: 12px 0 8px; }

/* ticks */
.ticks li, .crosses li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); font-size: 0.96rem; }
.ticks .ico { color: var(--mint); width: 20px; height: 20px; margin-top: 2px; background: rgba(16, 185, 129, 0.1); border-radius: 50%; padding: 3px; }
.crosses .ico { color: var(--rose); width: 20px; height: 20px; margin-top: 2px; background: rgba(244, 63, 94, 0.1); border-radius: 50%; padding: 3px; }
.plain li { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-size: 0.95rem; }
.plain li:last-child { border-bottom: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--violet)); opacity: 0.25; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.steps li .step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; margin: -46px 0 14px; box-shadow: 0 6px 16px -6px rgba(32, 150, 221, 0.7); }
.steps { padding-top: 22px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.93rem; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.pillar { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.sec-alt .pillar { background: var(--surface); }
.pillar b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar span { display: block; color: var(--muted); font-size: 0.93rem; margin-top: 6px; }
.pillars.dark { margin-top: 64px; }
.pillars.dark .pillar { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-line); }
.pillars.dark .pillar span { color: rgba(255, 255, 255, 0.66); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 0; }
.split h2 { margin: 12px 0 0; }
.split .ticks { margin-top: 6px; }
.glass { background: linear-gradient(160deg, var(--surface), var(--bg-alt)); }
.center-visual { display: grid; place-items: center; }
.stack-list { display: grid; gap: 14px; margin-top: 28px; }
.stack-list > div { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stack-list > div > .ico { color: var(--brand-600); width: 24px; height: 24px; margin-top: 2px; }
.stack-list b { display: block; color: var(--ink); margin-bottom: 2px; }
.stack-list span { color: var(--muted); font-size: 0.94rem; }
.stack-list .num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-weight: 800; font-size: 0.85rem; }

/* impact */
.impact { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 36px; }
.impact-stat { padding: 22px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.impact-stat b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-600); }
.impact-stat span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.35; margin-top: 4px; min-height: 2.7em; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vs-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.vs-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.vs-col.bad h3 .ico { color: var(--rose); }
.vs-col.good { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: var(--brand-line); }
.vs-col.good h3 .ico { color: var(--mint); }
.tp-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 28px; font-size: 1.05rem; }

/* tabs */
.tab-list { display: flex; flex-wrap: nowrap; justify-content: safe center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; margin: 0 auto 36px; overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { white-space: nowrap; flex: none; }
.sec-alt .tab-list { background: var(--surface); }
.tab-list button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 650; color: var(--muted); font-size: 0.92rem; transition: background 0.2s, color 0.2s; }
.tab-list button[aria-selected='true'] { background: var(--ink); color: var(--on-ink); }
.tab-list button:hover:not([aria-selected='true']) { color: var(--ink); background: var(--bg-alt); }
.tab-panel { animation: fadeUp 0.45s var(--ease); }
.tp-title { text-align: center; font-size: 1.35rem; margin-bottom: 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.flow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow-steps li { position: relative; padding: 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.flow-steps li:not(:last-child)::after { content: ''; position: absolute; right: -9px; top: 32px; width: 8px; height: 8px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); z-index: 1; }
.flow-steps span { font-size: 0.75rem; font-weight: 800; color: var(--brand); }
.flow-steps b { display: block; margin: 6px 0; font-size: 0.97rem; }
.flow-steps p { font-size: 0.85rem; color: var(--muted); }

/* dashboards (mock windows) */
.mock-window { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(11, 21, 38, 0.08); overflow: hidden; color: var(--ink); font-size: 0.85rem; width: 100%; }
.mw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mw-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mw-bar span:nth-child(2) { background: #febc2e; }
.mw-bar span:nth-child(3) { background: #28c840; }
.mw-bar em { font-style: normal; margin-left: 10px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.mw-body { padding: 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.mw-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mw-top strong { font-size: 1rem; }
.mw-search { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
.mw-search .ico { width: 14px; height: 14px; }
.mw-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { position: relative; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.kpi small { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.kpi b { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0; }
.kpi span { font-size: 0.7rem; color: var(--mint); font-weight: 600; }
.spark { position: absolute; right: 8px; bottom: 10px; width: 44%; height: 22px; color: var(--brand); opacity: 0.55; }
.mw-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mw-list { padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.mw-list h5 { margin: 0 0 8px; font-size: 0.78rem; }
.mw-list p { display: flex; align-items: center; gap: 7px; padding: 5px 0; font-size: 0.74rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.dot.ok { background: var(--mint); }
.dot.warn { background: var(--amber); }
.showcase { max-width: 980px; margin: 0 auto; }

/* chat mock */
.chat-mock { width: 100%; max-width: 420px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); border: 1px solid rgba(11, 21, 38, 0.08); }
.cm-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: linear-gradient(135deg, #0b1a2e, #123a66); color: #fff; }
.cm-head small { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); }
.cm-head strong { font-size: 0.92rem; }
.cm-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); }
.cm-body { padding: 16px; display: grid; gap: 10px; background: var(--surface-2); min-height: 290px; align-content: start; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.84rem; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: msgIn 0.5s var(--ease) forwards; animation-delay: calc(var(--d) * 0.9s + 0.3s); }
.msg.in { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.out { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.action { display: flex; align-items: center; gap: 8px; background: #e9f8f1; color: #065f46; border: 1px solid #bfead7; }
.msg.action .ico { width: 16px; height: 16px; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.cm-typing { display: flex; gap: 4px; padding: 10px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: fit-content; opacity: 0; animation: msgIn 0.5s forwards; animation-delay: calc(var(--d) * 0.9s + 0.3s); }
.cm-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.cm-typing span:nth-child(2) { animation-delay: 0.2s; }
.cm-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 50% { opacity: 0.25; } }
.hero-visual .chat-mock { margin-left: auto; }

/* orbit */
.orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(32, 150, 221, 0.35); }
.orbit-ring.r1 { inset: 8%; animation: spin 34s linear infinite; }
.orbit-ring.r2 { inset: 24%; border-style: solid; border-color: rgba(124, 92, 255, 0.28); animation: spin 46s linear infinite reverse; }
.orbit-ring.r3 { inset: 38%; background: radial-gradient(circle, rgba(32, 150, 221, 0.22), transparent 70%); border: 0; animation: orbit-glow 3.6s ease-in-out infinite; }
.orbit-core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--grad); color: #fff; box-shadow: 0 20px 50px -12px rgba(32, 150, 221, 0.6); animation: orbit-pulse 3.2s ease-in-out infinite; }
.orbit-core b { font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.orbit-core small { font-size: 0.68rem; opacity: 0.85; padding: 0 10px; line-height: 1.3; }
.orbit-spin { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.orbit-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; width: 110px; animation: counter 26s linear infinite; }
@keyframes counter { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
.orbit-node span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); color: var(--brand-600); box-shadow: var(--shadow); border: 1px solid var(--line); }
.orbit-node .ico { width: 24px; height: 24px; }
.orbit-node em { font-style: normal; font-size: 0.76rem; font-weight: 650; text-align: center; line-height: 1.2; color: var(--ink-2); background: var(--header-bg); padding: 2px 8px; border-radius: 8px; }
.page-hero .orbit-node em, .sec-dark .orbit-node em { background: rgba(6, 16, 29, 0.6); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit-pulse { 0%, 100% { box-shadow: 0 20px 50px -12px rgba(32,150,221,.55), 0 0 0 0 rgba(47,107,255,.45); } 50% { box-shadow: 0 24px 60px -12px rgba(32,150,221,.8), 0 0 0 18px rgba(47,107,255,0); } }
@keyframes orbit-glow { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.orbit:hover .orbit-spin, .orbit:hover .orbit-node { animation-play-state: paused; }

/* ── Homepage hero: the Agentforce agent card rising over a living capability halo ── */
.hero-visual.halo-stage { position: relative; width: 100%; height: 560px; overflow: visible; }
.cap-halo { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; transform: translateX(-12%); }
.cap-halo > * { grid-area: 1 / 1; }
/* the "sun" glow the card rises out of */
.halo-glow { width: min(104%, 472px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(32,150,221,.74), rgba(34,211,238,.42) 32%, rgba(124,92,255,.22) 60%, transparent 72%);
  filter: blur(12px); animation: halo-breathe 6.5s ease-in-out infinite; }
.halo-ring { aspect-ratio: 1; border-radius: 50%; }
.halo-ring.r1 { width: min(100%, 436px); border: 1px dashed rgba(130,175,255,.28); animation: spin 64s linear infinite; }
.halo-ring.r2 { width: min(72%, 314px); border: 1px solid rgba(34,211,238,.18); animation: spin 50s linear infinite reverse; }
/* the orbit of capability chips (pointer re-enabled so hover can pause it). Diameter ≈ card
   height so the card can occlude the entire right half → a clean left semicircle "C". */
.halo-orbit { width: min(100%, 436px); aspect-ratio: 1; position: relative; animation: spin 46s linear infinite; pointer-events: auto; }
.halo-orbit:hover { animation-play-state: paused; }
.halo-node { position: absolute; display: grid; justify-items: center; gap: 7px; width: 96px;
  transform: translate(-50%, -50%); animation: counter 46s linear infinite; }
.halo-orbit:hover .halo-node { animation-play-state: paused; }
.halo-node span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: rgba(13,24,44,.55); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(135,175,255,.3); color: #cfe0ff;
  box-shadow: 0 14px 34px -12px rgba(8,16,36,.8), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .35s ease, box-shadow .35s ease; }
.halo-node .ico { width: 23px; height: 23px; }
.halo-node em { font-style: normal; font-size: .72rem; font-weight: 650; white-space: nowrap; color: #eaf1ff;
  background: rgba(6,14,28,.55); padding: 2px 9px; border-radius: 8px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.halo-orbit:hover .halo-node span { transform: scale(1.07); box-shadow: 0 18px 40px -12px rgba(47,107,255,.55), inset 0 1px 0 rgba(255,255,255,.14); }
/* the agent card sits in front, rising out of the halo */
/* card sits to the RIGHT so the orbit's right half tucks behind it → a "C" opens on the left */
.halo-stage .halo-card { position: absolute; top: 50%; left: 65%; transform: translate(-50%, -50%); z-index: 3;
  width: min(100%, 358px); filter: drop-shadow(0 30px 60px rgba(6,14,32,.62)); }
.halo-stage .halo-card .lc-body { height: 300px; }   /* card height ≈ orbit diameter so it covers the right half */
.halo-stage .float-badge { position: absolute; left: -12%; right: auto; top: auto; bottom: -3%; z-index: 4; }
@keyframes halo-breathe { 0%,100% { opacity: .8; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.05); } }
@media (max-width: 980px) { .hero-visual.halo-stage { height: 520px; } .halo-node { width: 84px; } .halo-node span { width: 44px; height: 44px; } .halo-node em { font-size: .66rem; } }
@media (max-width: 760px) {
  .hero-visual.halo-stage { height: auto; }
  .halo-ring, .halo-orbit { display: none; }          /* keep it calm on phones */
  .halo-glow { width: 92%; }
  .halo-stage .halo-card { position: static; transform: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .halo-stage .float-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { .halo-ring, .halo-orbit, .halo-node, .halo-glow { animation: none !important; } }

/* heatmap */
.heat-body { padding: 16px; }
.heat-grid { display: grid; grid-template-columns: 70px repeat(var(--cols), 1fr); gap: 5px; align-items: center; }
.heat-grid b { font-size: 0.7rem; text-align: center; color: var(--muted); }
.heat-grid em { font-style: normal; font-size: 0.76rem; font-weight: 650; }
.heat-grid i { font-style: normal; font-size: 0.7rem; font-weight: 700; text-align: center; padding: 9px 0; border-radius: 8px; transition: transform 0.2s; }
.heat-grid i:hover { transform: scale(1.1); }
.under { background: var(--brand-50); color: var(--brand-700); }
.healthy { background: #d9f5e9; color: #047857; }
.near { background: #fdefd3; color: #a16207; }
.over { background: #fde0e4; color: #be123c; }
.heat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-drag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: 0.72rem; font-weight: 600; animation: bob 4s ease-in-out infinite; }
.chip-drag:nth-child(2) { animation-delay: -2s; }
.chip-drag .ico { width: 13px; height: 13px; }
.heat-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.heat-legend span { font-size: 0.7rem; font-weight: 650; padding: 3px 9px; border-radius: 99px; }

/* route */
.route-body { padding: 14px; }
.route-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.route-tabs span { font-size: 0.72rem; font-weight: 650; padding: 5px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); }
.route-tabs .on { background: var(--brand); color: #fff; }
.route-svg { width: 100%; height: auto; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.road { fill: none; stroke: var(--line); stroke-width: 10; stroke-linecap: round; }
.rt-planned { fill: none; stroke: var(--violet); stroke-width: 3; stroke-dasharray: 7 6; opacity: 0.8; }
.rt-suggested { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.5s var(--ease) forwards 0.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stop circle { fill: #fff; stroke: var(--violet); stroke-width: 3; }
.stop.start circle { fill: var(--mint); stroke: #fff; }
.stop text { font-size: 10px; font-weight: 800; text-anchor: middle; fill: var(--ink); font-family: var(--font); }
.stop.start text { fill: #fff; }
.route-save { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #e9f8f1; color: #065f46; font-size: 0.78rem; }
.route-save .ico { width: 16px; height: 16px; }
.route-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 0.7rem; color: var(--muted); }
.route-legend span::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.lg-start::before { background: var(--mint); height: 8px !important; width: 8px !important; border-radius: 50% !important; }
.lg-plan::before { background: var(--violet); }
.lg-sugg::before { background: var(--brand); }
.duo-visual { position: relative; padding: 0 90px 40px 0; }
.duo-visual .phone { position: absolute; right: 0; bottom: 0; width: 270px; transform: scale(0.68); transform-origin: bottom right; }

/* phone */
.phone { width: 270px; background: #0b1526; border-radius: 34px; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0b1526; border-radius: 0 0 12px 12px; z-index: 1; }
.phone-screen { background: var(--surface-2); border-radius: 26px; padding: 30px 12px 14px; color: var(--ink); min-height: 300px; }
.ph-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.ph-tabs span { display: flex; align-items: center; gap: 4px; font-size: 0.68rem; font-weight: 650; padding: 4px 9px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.ph-tabs .ico { width: 12px; height: 12px; }
.ph-tabs .on { background: var(--brand); color: #fff; border-color: var(--brand); }
.ph-title { font-weight: 800; font-size: 0.86rem; margin-bottom: 8px; }
.ph-title small { display: block; font-weight: 500; font-size: 0.64rem; color: var(--muted); }
.ph-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 6px; align-items: center; padding: 7px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 5px; }
.ph-row em { display: block; font-style: normal; font-size: 0.56rem; font-weight: 700; color: var(--violet); }
.ph-row b { font-size: 0.72rem; }
.ph-row strong { display: block; font-size: 0.7rem; }
.ph-row small { font-size: 0.62rem; color: var(--muted); }
.st { font-size: 0.56rem; font-weight: 700; padding: 3px 6px; border-radius: 99px; }
.st.ok { background: #d9f5e9; color: #047857; }
.st.warn { background: #fdefd3; color: #a16207; }
.phones { display: flex; justify-content: center; gap: 16px; }
.phone.sm { width: 180px; border-radius: 26px; padding: 8px; }
.phone.sm:nth-child(2) { transform: translateY(-24px); }
.phone.sm .phone-screen { border-radius: 20px; min-height: 280px; padding: 26px 10px 10px; }
.ph-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.ph-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px; }
.ph-kpis b { display: block; font-size: 0.95rem; }
.ph-kpis small { font-size: 0.6rem; color: var(--muted); }
.ph-line { font-size: 0.66rem; padding: 7px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 5px; }

/* expense, inventory, procurement mocks */
.ex-body { padding: 16px; display: grid; gap: 12px; }
.ex-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px; border: 2px dashed #cfe0ee; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex-grid label { font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.ex-grid label.full { grid-column: 1 / -1; }
.ex-grid b { display: block; margin-top: 4px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 0.8rem; font-weight: 600; }
.ex-ok { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #e9f8f1; color: #065f46; font-size: 0.76rem; }
.ex-ok .ico { width: 16px; height: 16px; }
.ex-actions { display: flex; justify-content: flex-end; gap: 8px; }
.inv-body { display: grid; grid-template-columns: 1fr 120px; gap: 14px; padding: 16px; }
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.inv-grid i { font-style: normal; font-size: 0.66rem; font-weight: 700; text-align: center; padding: 7px 0; border-radius: 6px; }
.u-a { background: #d9f5e9; color: #047857; }
.u-b { background: var(--brand-50); color: var(--brand-700); }
.u-h { background: #fdefd3; color: #a16207; }
.inv-side { display: grid; gap: 8px; align-content: start; }
.proc-body { padding: 18px; display: grid; gap: 10px; }
.proc-step { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.proc-step > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); font-weight: 800; font-size: 0.75rem; color: var(--muted); }
.proc-step.ok > span { background: var(--mint); color: #fff; }
.proc-step.warn > span { background: var(--amber); color: #fff; }
.proc-step .ico { width: 16px; height: 16px; }
.proc-step b { display: block; font-size: 0.82rem; }
.proc-step small { color: var(--muted); font-size: 0.72rem; }

/* compare / architecture */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.cmp.new { background: linear-gradient(160deg, #0b1a2e, #11345c); color: #fff; border-color: transparent; }
.cmp-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.cmp.new .cmp-label { color: var(--cyan); }
.cmp-stack { display: grid; gap: 8px; margin-bottom: 20px; }
.layer { padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; }
.layer.fragile { border-style: dashed; background: #fff5f6; color: #9f1239; border-color: #fbcfd6; }
.cmp.new .layer { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); }
.cmp.new .layer:last-child { background: var(--grad); border: 0; }
.cmp.new .ticks li { color: rgba(255, 255, 255, 0.85); }
.arch { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.arch-layer { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.arch-layer b { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-600); }
.arch-layer span { color: var(--ink-2); font-size: 0.94rem; }
.arch-layer:nth-child(1) { border-left: 4px solid var(--cyan); }
.arch-layer:nth-child(2) { border-left: 4px solid var(--violet); }
.arch-layer:nth-child(3) { border-left: 4px solid var(--brand); }
.arch-layer:nth-child(4) { border-left: 4px solid var(--mint); }
.arch-layer:nth-child(5) { background: var(--ink); color: var(--on-ink); border: 0; }
.arch-layer:nth-child(5) span { color: rgba(255, 255, 255, 0.8); }
.arch-layer:nth-child(5) b { color: var(--cyan); }
.arch-flow { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-top: 6px; }
.arch-flow span { display: inline-flex; align-items: center; gap: 6px; }

/* ERP, value chain, apps */
.erp { max-width: 1080px; margin: 0 auto; display: grid; gap: 12px; }
.erp-front, .erp-base { text-align: center; padding: 16px; border-radius: 14px; font-weight: 650; font-size: 0.92rem; }
.erp-front { background: var(--brand-50); color: var(--brand-700); }
.erp-base { background: var(--ink); color: var(--on-ink); }
.erp-mods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.erp-mod { padding: 22px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.erp-mod .ico { color: var(--brand-600); width: 26px; height: 26px; margin-bottom: 10px; }
.erp-mod h3 { font-size: 1rem; margin-bottom: 6px; }
.erp-mod p { font-size: 0.85rem; color: var(--muted); }
.vchain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vc-stage { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.vc-stage::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.vc-num { font-weight: 800; color: var(--brand); font-size: 0.85rem; }
.vc-stage h3 { margin: 4px 0 14px; }
.vc-item { padding: 10px 0; border-top: 1px dashed var(--line); }
.vc-item b { display: block; font-size: 0.92rem; }
.vc-item small { color: var(--muted); }
.apps { display: grid; gap: 14px; }
.app-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.app { padding: 22px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.app span { font-weight: 800; color: var(--brand); font-size: 0.8rem; }
.app b { display: block; margin: 6px 0; }
.app small { color: var(--muted); font-size: 0.82rem; }
.app-base { padding: 22px; border-radius: 16px; background: var(--ink); color: var(--on-ink); text-align: center; }
.app-base p { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 12px; }
.app-base .tag-cloud a { padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: 0.9rem; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); transition: background 0.2s, border-color 0.2s; }
.app-base .tag-cloud a:hover { background: rgba(34, 211, 238, 0.18); border-color: var(--cyan); }
.app-base .tag-cloud span { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.14); }

/* lifecycle & maturity */
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.lc-stage { padding: 22px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.lc-stage span { font-weight: 800; font-size: 0.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lc-stage h3 { margin: 6px 0 8px; }
.lc-stage p { font-size: 0.86rem; color: var(--muted); }
.foundation { margin-top: 26px; text-align: center; }
.foundation .tag-cloud { justify-content: center; margin-top: 12px; }
.maturity { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; }
.mat-step { position: relative; padding: 20px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-height: calc(160px + var(--i) * 34px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.mat-step::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #9cc9ea, var(--brand)); opacity: calc(0.35 + var(--i) * 0.16); }
.mat-step:last-child { background: linear-gradient(160deg, #0b1a2e, #11345c); color: #fff; border: 0; }
.mat-step:last-child p { color: rgba(255, 255, 255, 0.75); }
.mat-step span { font-weight: 800; color: var(--brand); font-size: 0.8rem; }
.mat-step h3 { font-size: 1rem; margin: 4px 0 8px; }
.mat-step p { font-size: 0.84rem; color: var(--muted); }

/* timeline */
.timeline { max-width: 860px; margin: 0 auto; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 22px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--brand), var(--violet)); opacity: 0.3; }
.timeline li { display: flex; gap: 20px; align-items: flex-start; }
.timeline li > span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; position: relative; box-shadow: 0 0 0 6px var(--bg); }
.sec-alt .timeline li > span { box-shadow: 0 0 0 6px var(--bg-alt); }
.timeline li > div { flex: 1; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 0.94rem; }

/* list cards */
.list-card .lc-head, .lc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.lc-head .f-ico { margin: 0; }
.lc-head h3 { margin: 0; }

/* tags, outcomes, links */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-cloud span { padding: 8px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.tag-cloud.small { justify-content: flex-start; gap: 6px; margin: 14px 0 18px; }
.tag-cloud.small span { padding: 4px 11px; font-size: 0.78rem; }
.outcomes { padding: 30px; border-radius: var(--radius); background: linear-gradient(135deg, #0b1a2e, #13325a); color: #fff; }
.outcomes .eyebrow { color: var(--cyan); }
.outcome-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.outcome-row div { display: flex; gap: 10px; align-items: center; font-weight: 650; font-size: 1.05rem; }
.outcome-row .ico { color: var(--mint); width: 26px; height: 26px; flex: none; }
.link-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-line); font-weight: 600; }
.cloud-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 36px; font-weight: 650; color: var(--muted); font-size: 0.9rem; }
.cloud-strip a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.cloud-strip a:hover { border-color: var(--brand); color: var(--brand-700); }
.cloud-strip .ico { color: var(--brand-600); width: 16px; height: 16px; }
.delivered { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.deliv { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 24px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.deliv .ico { width: 30px; height: 30px; color: var(--brand-600); margin-bottom: 6px; }
.deliv small { color: var(--muted); }

/* quotes, stats */
.big-quote { margin: 0 auto; max-width: 880px; text-align: center; }
.big-quote > .ico { width: 44px; height: 44px; color: var(--brand); opacity: 0.35; margin: 0 auto 12px; }
.big-quote blockquote { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.big-quote figcaption { margin-top: 14px; color: var(--muted); font-weight: 600; }
.big-quote.left { text-align: left; margin: 26px 0; }
.big-quote.left > .ico { margin: 0 0 8px; }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.stat-band > div { background: var(--surface); padding: 26px 18px; text-align: center; }
.stat-band b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.stat-band span { color: var(--muted); font-size: 0.88rem; }
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.facts .stat { background: var(--surface); padding: 26px 16px; text-align: center; }
.facts b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: 0.85rem; color: var(--muted); }

/* reference / case */
.reference { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 44px; border-radius: 24px; background: linear-gradient(135deg, #0b1a2e, #11345c); color: #fff; position: relative; overflow: hidden; }
.reference::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -140px; background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%); }
.reference .eyebrow { color: var(--cyan); }
.reference h2 { margin: 10px 0 14px; }
.reference .ref-copy p { color: rgba(255, 255, 255, 0.75); }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.ref-grid > div { display: flex; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.ref-grid b { display: block; color: #fff; }
.ref-grid .ico { color: var(--mint); width: 20px; height: 20px; }
.ref-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.case { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin-top: 30px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.case-main { padding: 36px; }
.case-main h3 { font-size: 1.4rem; margin: 8px 0 12px; }
.case-main blockquote { margin: 0; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.case-meta { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(135deg, #0b1a2e, #11345c); }
.case-metrics > div { padding: 28px; border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; display: grid; align-content: center; }
.case-metrics b { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-metrics span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.case-metrics.wide { grid-template-columns: repeat(4, 1fr); border-radius: 0 0 24px 24px; }
.case-full { border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); scroll-margin-top: 100px; }
.cf-head { padding: 40px; }
.cf-head h2 { margin: 8px 0 20px; }
.cf-head blockquote { margin: 20px 0 0; font-size: 1.3rem; font-weight: 600; color: var(--ink); padding-left: 18px; border-left: 4px solid var(--brand); }
.cf-profile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.cf-profile div { padding: 14px; border-radius: 12px; background: var(--bg-alt); }
.cf-profile dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cf-profile dd { margin: 4px 0 0; font-weight: 650; font-size: 0.92rem; }
.cf-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cf-col { padding: 30px; }
.cf-col + .cf-col { border-left: 1px solid var(--line); }
.cf-col h3 { margin: 8px 0 12px; }
.result .big { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result h3 { font-size: 1rem; }
.result-card .rc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-top: 18px; }
.rc-metrics div { padding: 12px; border-radius: 12px; background: var(--bg-alt); }
.rc-metrics b { display: block; font-size: 1.4rem; color: var(--brand-600); }
.rc-metrics small { color: var(--muted); font-size: 0.78rem; }

/* people */
.founders { display: grid; gap: 18px; }
.founders.wide { grid-template-columns: 1fr 1fr; }
.founder { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.founder img { width: 150px; height: 170px; object-fit: cover; border-radius: 14px; }
.founder h3 { font-size: 1.3rem; margin: 4px 0 4px; }
.f-head { font-weight: 650; color: var(--brand-700); font-size: 0.9rem; margin-bottom: 10px; }
.founder p:last-child { color: var(--muted); font-size: 0.93rem; }
.team .member { text-align: center; padding: 26px 18px; }
.avatar { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; box-shadow: 0 10px 24px -10px rgba(32, 150, 221, 0.7); }
.member h3 { font-size: 1rem; margin-bottom: 4px; }
.member .eyebrow { font-size: 0.68rem; margin-bottom: 10px; }
.member p:last-child { font-size: 0.86rem; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.value h3 { margin-bottom: 4px; }
.value p { color: var(--muted); }
.partner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.partner-badge { aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 180deg, #2096dd, #22d3ee, #7c5cff, #2096dd); display: grid; place-content: center; text-align: center; color: #fff; box-shadow: 0 24px 50px -16px rgba(32, 150, 221, 0.7); position: relative; }
.partner-badge::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--dark-2); }
.partner-badge > * { position: relative; }
.partner-badge span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.partner-badge b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.partner-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 20px; }
.partner-stats b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--brand-600); }
.partner-stats span { color: var(--muted); font-size: 0.88rem; }
.testimonial > .ico { width: 34px; height: 34px; color: var(--brand); opacity: 0.4; }
.testimonial blockquote { margin: 12px 0 16px; font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.testimonial figcaption b { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: 0.88rem; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.logo-wall span { display: grid; place-items: center; min-height: 76px; padding: 12px; text-align: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); font-size: 0.95rem; transition: transform 0.3s var(--ease), box-shadow 0.3s, color 0.3s; }
.logo-wall span:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--brand-700); }
.client-row { text-align: center; }
.client-row .tag-cloud { margin-top: 14px; }

/* pipelines, chains, mini-steps */
.pipeline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.pipeline span { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 650; font-size: 0.9rem; }
.pipeline span:not(:last-child)::after { content: '›'; position: absolute; right: -10px; color: var(--brand); font-weight: 800; font-size: 1.2rem; z-index: 1; }
.pipeline span:last-child { background: var(--grad); color: #fff; border: 0; }
.pipeline em { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-size: 0.75rem; font-weight: 800; }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-bottom: 36px; }
.chain span { padding: 10px 20px; border-radius: 99px; background: var(--ink); color: var(--on-ink); font-weight: 700; }
.chain .ico { color: var(--brand); }
.mini-steps { display: grid; gap: 10px; margin: 22px 0 28px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); grid-row: span 2; font-weight: 800; color: var(--brand); font-size: 0.85rem; padding-top: 2px; }
.mini-steps b { font-size: 0.97rem; }
.mini-steps span { color: var(--muted); font-size: 0.9rem; }
.mini-steps.dark li { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-line); }
.mini-steps.dark span { color: rgba(255, 255, 255, 0.66); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.data-table th { text-align: left; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; background: var(--surface-2); }
.data-table td { padding: 9px 12px; border-top: 1px solid var(--line); }
.tier { font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); }
.paper { display: flex; flex-direction: column; gap: 4px; }
.paper-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); margin-bottom: 6px; }
.paper .ticks { margin: 12px 0 20px; flex: 1; }
.paper .btn { align-self: flex-start; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: none; color: var(--brand); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-art { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(135deg, #0b1a2e, #13406f); overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.post-art::before { content: ''; position: absolute; inset: -30%; background: radial-gradient(30% 40% at 30% 30%, rgba(34, 211, 238, 0.55), transparent 70%), radial-gradient(35% 45% at 75% 70%, rgba(124, 92, 255, 0.55), transparent 70%); transition: transform 0.8s var(--ease); }
.post-art[data-seed='1']::before { background: radial-gradient(30% 40% at 70% 30%, rgba(32, 150, 221, 0.7), transparent 70%), radial-gradient(35% 45% at 25% 75%, rgba(16, 185, 129, 0.45), transparent 70%); }
.post-art[data-seed='2']::before { background: radial-gradient(35% 45% at 50% 40%, rgba(124, 92, 255, 0.6), transparent 70%), radial-gradient(30% 40% at 85% 80%, rgba(245, 158, 11, 0.35), transparent 70%); }
.post-card:hover .post-art::before { transform: scale(1.15) rotate(8deg); }
.post-art span { position: relative; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); color: #fff; font-size: 0.75rem; font-weight: 700; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.post-body h3 { margin: 8px 0 10px; font-size: 1.12rem; }
.post-body p { flex: 1; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; color: var(--ink); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 650; color: var(--muted); }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); color: var(--ink-2); }
.share a:hover { background: var(--brand); color: #fff; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-form { padding: 36px; }
.contact-form h2 { font-size: 1.6rem; margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 22px; }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { font: inherit; width: 100%; min-width: 0; font-size: 0.97rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-alt); color: var(--ink); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(32, 150, 221, 0.15); }
[data-dynamic-fields] { display: grid; gap: 16px; }
[data-dynamic-fields] .dyn-section { display: grid; gap: 14px; }
[data-dynamic-fields] .form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
[data-dynamic-fields] .form-grid .full { grid-column: 1 / -1; }
[data-dynamic-fields] .dyn-head { font-weight: 700; font-size: 1rem; color: var(--ink); margin: 2px 0 0; }
[data-dynamic-fields] .dyn-desc { margin: 0 0 2px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 560px) { [data-dynamic-fields] .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Dynamic application form: brand banner + click-through stepper */
.apply-banner { border-radius: 16px; padding: 22px 24px; margin-bottom: 20px; }
.apply-banner__h { font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.apply-banner__s { margin-top: 6px; opacity: 0.9; font-size: 0.98rem; }
.dyn-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.dyn-nav .dyn-progress { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.dyn-nav .dyn-progress__fill { display: block; height: 100%; border-radius: 999px; background: var(--apply-brand, var(--brand)); transition: width 0.25s var(--ease); }
.dyn-nav .dyn-progress__label { font-size: 0.78rem; font-weight: 700; color: var(--apply-brand, var(--brand)); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.dyn-nav .btn:disabled { opacity: 0.45; pointer-events: none; }
.job-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 600; color: var(--brand); text-decoration: none; }
.job-back:hover { text-decoration: underline; }
@media (max-width: 560px) { .dyn-nav { flex-wrap: wrap; } .dyn-nav .dyn-progress { order: 3; flex-basis: 100%; } }

/* Role page: Apply now splits the view — JD sidebar (sticky) | application form fills the canvas */
.role-split.is-split { display: flex; align-items: flex-start; gap: clamp(28px, 3vw, 64px); max-width: none; width: 100%; margin: 0; padding: 36px clamp(24px, 5vw, 88px) 72px; box-sizing: border-box; }
.role-split.is-split > [data-job-col] { flex: 0 0 clamp(260px, 26%, 380px); position: sticky; top: 88px; padding: 0; }
.role-split.is-split > [data-job-live-apply] { flex: 1 1 auto; min-width: 0; padding: 0; }
.role-split.is-split [data-job-col] .container,
.role-split.is-split [data-job-live-apply] .container { max-width: none; width: auto; padding-left: 0; padding-right: 0; }
.role-split.is-split .apply-wrap.single { max-width: none; width: 100%; }
.role-split.is-split .apply-form { max-width: none; width: 100%; }
/* Give the dynamic form more room on the wide canvas: 3 columns on large screens */
.role-split.is-split [data-dynamic-fields] .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.role-split.is-split [data-dynamic-fields] .form-grid .full { grid-column: 1 / -1; }
/* Structured JD sections (full role view) */
.job-prose .jd-sec { margin: 0 0 26px; }
.job-prose .jd-sec h2 { font-size: 1.12rem; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.job-prose .jd-sec p { margin: 0 0 9px; }
/* In split mode the left column collapses to just the "At a glance" card (JD prose hidden). */
.role-split.is-split .job-layout { grid-template-columns: 1fr; }
.role-split.is-split .job-prose { display: none; }
.role-split.is-split [data-job-col] .job-facts [data-open-apply] { display: none; }
@media (max-width: 1200px) {
  .role-split.is-split [data-dynamic-fields] .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .role-split.is-split { display: block; padding: 24px clamp(16px, 5vw, 32px) 48px; }
  .role-split.is-split > [data-job-col] { position: static; flex-basis: auto; margin-bottom: 20px; }
  .role-split.is-split [data-dynamic-fields] .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Final-touch micro-interactions (magnetic CTAs + card tilt) — see assets/js/polish.js */
.mag { will-change: transform; }
.tilt { will-change: transform; transform-style: preserve-3d; }
.tilt:hover { box-shadow: 0 22px 50px rgba(11, 37, 69, 0.18); z-index: 1; }
@media (hover: none) { .mag, .tilt { will-change: auto; } }
.fields [aria-invalid='true'] { border-color: var(--rose); }
.form-status { margin-top: 14px; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--rose); }
.contact-side { display: grid; gap: 12px; }
.contact-side h3 { margin: 18px 0 4px; }
.contact-tile, .office-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.contact-tile:hover, .office-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-tile > .ico, .office-card > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.contact-tile small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.office-card { align-items: flex-start; }
.office-card span { font-size: 0.9rem; color: var(--muted); }
.office-card b { display: block; color: var(--ink); font-size: 0.97rem; }
.office-card em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 650; color: var(--brand-600); margin-top: 6px; font-size: 0.85rem; }
.office-card em .ico { width: 14px; height: 14px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; padding: 56px; border-radius: 28px; background: linear-gradient(120deg, #0b3d6b, #1471b3 45%, #5b4ad6); color: #fff; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(40% 80% at 90% 10%, rgba(34, 211, 238, 0.5), transparent 60%), radial-gradient(30% 60% at 10% 100%, rgba(124, 92, 255, 0.5), transparent 60%); pointer-events: none; }
.cta-band > div:not(.cta-glow) { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.7); padding: 80px 0 30px; margin-top: 60px; font-size: 0.93rem; }
.f-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.f-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.f-brand p { max-width: 340px; }
.badge-ridge { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--dark-line); background: rgba(255, 255, 255, 0.04); }
.badge-ridge .ico { color: var(--amber); }
.badge-ridge strong { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--dark-line); color: #fff; transition: background 0.2s; }
.socials a:hover { background: var(--brand); color: #fff; }
.f-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.f-col li { margin-bottom: 10px; }
.f-col a { color: rgba(255, 255, 255, 0.66); }
.f-col a:hover { color: #fff; }
.f-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--dark-line); }
.office { display: flex; gap: 12px; color: rgba(255, 255, 255, 0.62); font-size: 0.87rem; }
.office:hover { color: #fff; }
.office .ico { color: var(--brand); margin-top: 3px; }
.office strong { display: block; color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.85rem; }
.f-bottom a { color: rgba(255, 255, 255, 0.8); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ico { width: 28px; height: 28px; }

/* agent section */
.agent-sec .split { align-items: center; }
.agent-sec h2 { color: #fff; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .burger { display: inline-grid; }
  .nav-cta .btn { display: none; }
  .nav-bar { justify-content: space-between; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual.stack { height: 480px; max-width: 620px; }
  .g-4, .g-5 { grid-template-columns: repeat(3, 1fr); }
  .impact { grid-template-columns: repeat(4, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-steps li::after { display: none; }
  .erp-mods, .app-row, .lifecycle, .maturity, .delivered { grid-template-columns: repeat(3, 1fr); }
  .mat-step { min-height: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .reference, .case { grid-template-columns: 1fr; }
  .founders.wide { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .duo-visual { padding-right: 0; padding-bottom: 60px; }
}
@media (max-width: 760px) {
  .sec { padding: 72px 0; }
  .home-hero { padding-top: 120px; }
  .page-hero { padding: 116px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-visual.stack { height: 430px; }
  .float.f1 { width: 100%; }
  .float.f2 { width: 88%; }
  .float-badge { left: 0; top: 44%; }
  .g-2, .g-3, .g-4, .g-5, .versus, .compare, .vchain, .outcome-row, .cf-cols { grid-template-columns: 1fr; }
  .compact.g-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .impact { grid-template-columns: repeat(2, 1fr); }
  .flow-steps, .erp-mods, .app-row, .lifecycle, .maturity, .delivered { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .mw-kpis { grid-template-columns: repeat(2, 1fr); }
  .mw-lists { grid-template-columns: 1fr; }
  .mw-lists .mw-list:nth-child(n + 2) { display: none; }
  .arch-layer { grid-template-columns: 1fr; gap: 4px; }
  .ref-grid { grid-template-columns: 1fr; }
  .reference, .cta-band { padding: 32px 22px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .case-metrics.wide, .cf-profile { grid-template-columns: 1fr 1fr; }
  .cf-col + .cf-col { border-left: 0; border-top: 1px solid var(--line); }
  .cf-head, .case-main, .contact-form { padding: 24px; }
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 100%; height: 280px; }
  .partner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .partner-badge { width: 180px; }
  .partner-stats { justify-content: center; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-offices { grid-template-columns: 1fr; }
  .tab-list { border-radius: 18px; }
  .phones .phone.sm:nth-child(3) { display: none; }
  .phone.sm:nth-child(2) { transform: none; }
  .inv-body { grid-template-columns: 1fr; }
  .inv-side { grid-template-columns: repeat(3, 1fr); }
  .orbit-node { width: 84px; }
  .orbit-node span { width: 42px; height: 42px; border-radius: 12px; }
  .orbit-node em { font-size: 0.66rem; }
  .pipeline span:not(:last-child)::after { display: none; }
  .duo-visual .phone { display: none; }
  .duo-visual { padding-bottom: 0; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .msg, .cm-typing { opacity: 1; transform: none; }
  .rt-suggested { stroke-dashoffset: 0; }
}

/* chat messages play once their container scrolls into view */
[data-reveal]:not(.in) .msg, [data-reveal]:not(.in) .cm-typing, [data-reveal]:not(.in) .rt-suggested { animation-play-state: paused; }

.product-card, .link-card { overflow: hidden; }
.product-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); opacity: 0; transition: opacity 0.35s; }
.product-card:hover::before, .link-card:hover::before { opacity: 1; }
.link-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); opacity: 0; transition: opacity 0.35s; }
.split > *, .hero-grid > *, .grid > * { min-width: 0; }
@media (max-width: 520px) {
  .compact.g-4 { grid-template-columns: 1fr; }
  .phone.sm { width: 46%; max-width: 170px; }
  .phones { gap: 10px; }
}
@media (max-width: 760px) {
  .hero-visual.stack { height: auto; }
  .hero-visual.stack .float { position: static; width: 100%; animation: none; }
  .hero-visual.stack .float.f2, .hero-visual.stack .float-badge { display: none; }
  .trusted { margin-top: 40px; }
  .compact .card { padding: 18px; }
  .compact .f-ico { margin-bottom: 10px; }
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.35; }
img.avatar { object-fit: cover; padding: 0; }

/* ==========================================================================
   Components for content imported from WordPress
   ========================================================================== */
.hero-photo { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0.9; animation: kenburns 28s ease-in-out infinite alternate; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 16, 29, 0.96) 0%, rgba(6, 16, 29, 0.86) 38%, rgba(6, 16, 29, 0.45) 72%, rgba(6, 16, 29, 0.25) 100%), linear-gradient(0deg, rgba(6, 16, 29, 0.85), transparent 45%); }
@keyframes kenburns { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
.page-hero:has(.hero-photo) .mesh { opacity: 0.45; }
.page-hero:has(.hero-photo) .grid-lines { opacity: 0.12; }
@media (max-width: 760px) { .hero-photo::after { background: linear-gradient(180deg, rgba(6, 16, 29, 0.7), rgba(6, 16, 29, 0.92)); } }

/* figures: soft branded placeholder shows while an image loads or if it is unavailable */
.wp-figure { position: relative; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #0b1a2e, #13406f); aspect-ratio: 4 / 3.2;
  /* premium depth: layered neutral shadows + a subtle brand glow (box-shadow isn't clipped by overflow) */
  box-shadow: 0 2px 6px rgba(13,27,54,.06),
              0 18px 34px -12px rgba(13,27,54,.20),
              0 50px 90px -34px rgba(13,27,54,.30),
              0 44px 86px -34px rgba(47,107,255,.20); }
.wp-figure::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 30% 30%, rgba(34, 211, 238, 0.35), transparent 70%), radial-gradient(40% 50% at 75% 75%, rgba(124, 92, 255, 0.35), transparent 70%); }
.wp-figure::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 24%), linear-gradient(0deg, rgba(5,15,35,.22), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.wp-figure img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transform-origin: center; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.wp-figure:hover img { transform: scale(1.09); }
.wp-figure.wide { aspect-ratio: 21 / 8; margin-bottom: 36px; }
.wp-split { align-items: start; grid-template-columns: 0.9fr 1.1fr; }
.wp-split .wp-figure { position: sticky; top: 110px; }
.wp-split .sec-head { margin-bottom: 28px; }
.wp-split .grid { gap: 16px; }
.wp-split .card { padding: 22px; }
.wp-split .f-ico { width: 42px; height: 42px; margin-bottom: 12px; }
.pair-grid.g-1 { grid-template-columns: 1fr; }
.pair-grid.g-1 .card { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; }
.pair-grid.g-1 .card .f-ico { grid-row: span 2; margin: 0; }
.pair-grid.g-1 .card h3 { margin-bottom: 4px; }

/* service accordions shown as expandable cards */
.faq.service-list { max-width: none; grid-template-columns: 1fr; }
.sec-head.center + .faq.service-list { grid-template-columns: repeat(2, 1fr); align-items: start; }
.faq.service-list summary { font-size: 1.02rem; }
.faq.service-list .ticks { padding-bottom: 18px; }

/* tabs with an image */
.wp-tab { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.tp-h { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 4px; }
.wp-tab .lead { margin-top: 10px; }
.wp-tab .stack-list > div > .ico { color: var(--mint); }

/* case studies / slider cards */
.case-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 18px; }
.case-card { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cc-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0b1a2e, #13406f) center / cover; position: relative;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.case-card:hover .cc-img { transform: scale(1.07); }
.cc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 16, 29, 0.45)); }
.cc-art { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-50), var(--tint-violet)); }
.cc-art::after { display: none; }
.cc-art span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); color: var(--brand-600); box-shadow: var(--shadow-sm); }
.cc-art .ico { width: 26px; height: 26px; }
.cc-body { padding: 20px; }
.cc-body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.cc-body p { color: var(--muted); font-size: 0.9rem; }
section .case-grid:only-child, .sec-head + .case-grid { margin-top: 0; }

/* metric-style cards ("What success looks like") */
.pillars.metric .pillar { text-align: left; display: grid; gap: 6px; }
.pillars.metric .pillar b { font-size: 1.25rem; letter-spacing: -0.01em; }
.pillars.metric .pillar > span:last-child { margin: 0; }
.p-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.p-ico .ico { width: 20px; height: 20px; }
.wp-split .pillars.metric { grid-template-columns: repeat(2, 1fr); }

/* slim mid-page call to action */
.cta-slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 32px; border-radius: 20px; background: linear-gradient(120deg, #0b3d6b, #1471b3 55%, #5b4ad6); color: #fff; }
.cta-slim h3 { font-size: 1.25rem; }
.cta-slim p { color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

/* partners */
.partner-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.partner-logos span { display: grid; place-items: center; width: 190px; height: 96px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.partner-logos img { max-height: 60px; width: auto; object-fit: contain; }
.partners-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: linear-gradient(135deg, var(--surface-2), var(--tint-violet)); border: 1px solid #d7e8f6; }
.partners-band h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 10px; line-height: 1.35; }
.partners-band .partner-logos { justify-content: flex-end; }

/* image cards (industries) */
.img-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.ic-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0b1a2e, #13406f) center / cover; transition: transform 0.6s var(--ease); }
.img-card:hover .ic-img { transform: scale(1.05); }
.ic-body { padding: 22px 24px 24px; position: relative; background: var(--surface); flex: 1; display: flex; flex-direction: column; }
.ic-body h3 { margin-bottom: 6px; }
.ic-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.pillar-card .step-n { position: absolute; top: 24px; right: 26px; }

/* blog */
.post-art.has-img { background-size: cover; background-position: center; aspect-ratio: 16 / 9; }
.post-art.has-img::before { background: linear-gradient(180deg, transparent 50%, rgba(6, 16, 29, 0.55)); }
.post-card:hover .post-art.has-img::before { transform: none; }
.blog-grid .post-body h3 { font-size: 1.25rem; }
.post-layout { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; max-width: 1440px; margin: 0 auto; }
/* Full-canvas blog: images span the wide column; running text stays readable. */
.post-layout .prose { max-width: none; }
.post-layout .prose > p, .post-layout .prose > ul, .post-layout .prose > ol, .post-layout .prose > h2, .post-layout .prose > h3 { max-width: 880px; }
.post-layout .prose > img, .post-layout .prose > .post-cover { width: 100%; border-radius: 20px; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; gap: 28px; } }
.toc { position: sticky; top: 110px; padding: 22px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); }
.toc ol { list-style: decimal; padding-left: 18px; margin-top: 12px; display: grid; gap: 8px; font-size: 0.9rem; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brand-700); }
.toc .share { margin-top: 20px; padding-top: 16px; }
.prose img { border-radius: 18px; margin: 12px 0 28px; width: 100%; }
.prose .post-cover { aspect-ratio: 16 / 8; object-fit: cover; margin-top: 0; box-shadow: var(--shadow); }
.prose h2 { scroll-margin-top: 100px; }
.prose ul { list-style: disc; padding-left: 24px; margin: 0 0 1.2em; }
.prose li { margin: 0.4em 0; }
.prose.center { text-align: center; max-width: 820px; margin: 24px auto 0; color: var(--muted); }

/* contact */
.form-lead { color: var(--muted); margin: -12px 0 22px; }
.map-embed { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 21 / 7; background: var(--bg-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.wp-steps { --n: 4; grid-template-columns: repeat(var(--n), 1fr); row-gap: 40px; }
.wp-steps::before { display: none; }

@media (max-width: 1100px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-split, .wp-tab, .partners-band, .post-layout { grid-template-columns: 1fr; }
  .wp-split .wp-figure { position: relative; top: 0; max-width: 640px; }
  .partners-band .partner-logos { justify-content: flex-start; }
  .toc { position: static; }
  .wp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .case-grid, .sec-head.center + .faq.service-list, .wp-steps { grid-template-columns: 1fr; }
  .wp-split .pillars.metric { grid-template-columns: 1fr; }
  .partner-logos span { width: 44%; height: 80px; }
  .partners-band { padding: 24px; }
  .map-embed { aspect-ratio: 4 / 3; }
  .cta-slim { padding: 22px; }
}
.wp-figure img, .ic-img, .post-cover { color: transparent; font-size: 0; }
.hero-fig { aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.narrow-show { max-width: 720px; }
.post-art.has-img, .ic-img, .cc-img, .hero-photo { background-color: #0f2a47; }

/* ---------- live Agentforce chat ---------- */
.live-chat { width: 100%; max-width: 440px; margin: 0 auto; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); border: 1px solid rgba(11, 21, 38, 0.08); display: flex; flex-direction: column; }
.lc-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: linear-gradient(135deg, #0b1a2e, #123a66); color: #fff; }
.lc-head strong { display: block; font-size: 0.92rem; }
.lc-head small { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: rgba(255, 255, 255, 0.7); line-height: 1.3; }
.lc-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); }
.lc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(244, 63, 94, 0.18); color: #fecdd3; }
.lc-live i { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(251, 113, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); } }
.lc-body { height: 380px; overflow-y: auto; scrollbar-width: none; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23dbe4ef'/%3E%3C/svg%3E"); transition: opacity 0.6s; }
.lc-body::-webkit-scrollbar { display: none; }
.lc-body.fade { opacity: 0; }
.lc-msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 0.84rem; line-height: 1.45; flex: none; }
.lc-msg.in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.lc-msg.out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.lc-card { align-self: flex-end; width: 84%; display: flex; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--brand-line); box-shadow: 0 6px 18px -12px rgba(32, 150, 221, 0.6); flex: none; }
.lc-card b { font-size: 0.82rem; }
.lc-card-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.lc-card-ico .ico { width: 17px; height: 17px; }
.lc-rows { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.lc-rows span { font-size: 0.68rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--bg-alt); color: var(--ink-2); }
.lc-done { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #e9f8f1; color: #065f46; font-size: 0.74rem; font-weight: 650; text-align: center; flex: none; }
.lc-done .ico { width: 15px; height: 15px; }
.lc-typing { align-self: flex-end; display: flex; gap: 4px; padding: 11px 14px; background: var(--brand); border-radius: 16px; border-bottom-right-radius: 5px; flex: none; }
.lc-typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); animation: blink 1.1s infinite; }
.lc-typing span:nth-child(2) { animation-delay: 0.18s; }
.lc-typing span:nth-child(3) { animation-delay: 0.36s; }
.pop { animation: popIn 0.42s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
.lc-input { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--line); background: var(--surface); font-size: 0.82rem; color: var(--muted); }
.lc-input span { flex: 1; min-height: 1.3em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lc-input span.typing { color: var(--ink); }
.lc-input span.typing::after { content: '|'; margin-left: 1px; animation: blink 0.9s infinite; color: var(--brand); }
.lc-input b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }
.lc-input b .ico { width: 16px; height: 16px; }
.chat-switch { width: 100%; max-width: 460px; margin: 0 auto; }
.chat-switch .tab-list { margin-bottom: 16px; }
.sec-dark .chat-switch .tab-list { background: rgba(255, 255, 255, 0.06); border-color: var(--dark-line); }
.sec-dark .chat-switch .tab-list button { color: rgba(255, 255, 255, 0.7); }
.sec-dark .chat-switch .tab-list button[aria-selected='true'] { background: #fff; color: #0b1526; }
.page-hero .chat-switch .tab-list { background: rgba(255, 255, 255, 0.06); border-color: var(--dark-line); }
.page-hero .chat-switch .tab-list button { color: rgba(255, 255, 255, 0.75); }
.page-hero .chat-switch .tab-list button[aria-selected='true'] { background: #fff; color: #0b1526; }
.float.f2 .lc-body { height: 300px; }
@media (max-width: 760px) { .lc-body { height: 340px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- wide screens: fill the canvas ---------- */
@media (min-width: 1500px) {
  body { font-size: 17px; }
  .hero-grid { gap: 80px; }
  .sec { padding: 120px 0; }
}

/* ---------- mobile-native touches ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .site-header .nav-bar { height: 64px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(11, 21, 38, 0.35);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 14px; font-size: 0.72rem; font-weight: 700; color: var(--ink-2); }
  .mobile-bar a .ico { width: 20px; height: 20px; color: var(--brand-600); }
  .mobile-bar .mb-primary { flex-direction: row; gap: 8px; background: var(--brand); color: #fff; font-size: 0.86rem; }
  .mobile-bar .mb-primary .ico { color: #fff; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-top: 30px; }

  /* swipe carousels instead of long stacks */
  /* Mobile: stack these grids vertically instead of a horizontal scroll carousel. */
  .snap-mobile { display: grid !important; grid-template-columns: 1fr; gap: 16px; margin-inline: 0; padding: 0; overflow: visible; }
  .snap-mobile > * { flex: none; width: auto; max-width: 100%; min-width: 0; }

  /* larger touch targets */
  .btn { min-height: 48px; }
  .faq summary { min-height: 56px; }
  .tab-list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; width: 100%; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: none; }
}
.center-visual > * { max-width: 100%; min-width: 0; }
.center-visual { grid-template-columns: minmax(0, 1fr); }
.page-hero.no-visual .hero-grid { grid-template-columns: minmax(0, 880px); max-width: none; }
.sec-tight { padding: 28px 0; }
.sec:not(.sec-tight) + .sec-tight { margin-top: -40px; }

/* ── Careers ─────────────────────────────────────────────────────────── */
.job-filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.job-filters select, .jf-search input { width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.jf-search { position: relative; display: block; }
.jf-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.jf-search input { padding-left: 42px; }
.job-filters [hidden] { display: none; }
.jobs-count { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin: 0 0 16px; min-height: 1.2em; }
.job-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.job-card[hidden] { display: none; }
.job-card h3 { margin: 12px 0 8px; font-size: 1.18rem; }
.job-card p { color: var(--muted); margin: 0 0 14px; }
.job-card .more { margin-top: auto; padding-top: 14px; }
.job-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.job-top time { font-size: 0.8rem; color: var(--muted); }
.job-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.86rem; color: var(--ink-2); }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .ico { width: 16px; height: 16px; color: var(--brand); }
.jobs-empty { text-align: center; padding: 48px 24px; max-width: 640px; margin: 0 auto; }
.jobs-empty[hidden] { display: none; }
.jobs-empty > .ico { width: 40px; height: 40px; color: var(--brand); }
.jobs-empty p { color: var(--muted); margin-bottom: 22px; }
/* "Start a general application" prompt below the open roles */
.general-cta { text-align: center; margin-top: 30px; padding: 26px 24px; border: 1px dashed var(--line); border-radius: 18px; background: var(--bg-alt); }
.general-cta p { margin: 0 0 14px; color: var(--muted); }
/* brief highlight when the apply form is opened via a CTA */
.apply-flash { animation: applyFlash 1.2s ease; }
@keyframes applyFlash { 0%, 100% { box-shadow: 0 10px 30px rgba(6, 62, 120, 0.06); } 28% { box-shadow: 0 0 0 4px rgba(53, 184, 240, 0.4); } }
.values.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hire-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.hire-steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.hire-steps .step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 12px; }
.hire-steps h3 { font-size: 1.02rem; margin: 0 0 6px; }
.hire-steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.apply-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.apply-wrap.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.apply-side h3 { margin-top: 28px; font-size: 1rem; }
.office-line { display: flex; gap: 10px; align-items: center; margin: 8px 0; color: var(--ink-2); }
.office-line .ico { color: var(--brand); width: 18px; height: 18px; flex: none; }
.fields label small { font-weight: 500; color: var(--muted); }
.fields .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.fields .check input { width: 18px; min-width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.fields .check input[aria-invalid='true'] { outline: 2px solid var(--rose); outline-offset: 2px; }
.file-drop { position: relative; }
.file-drop input[type='file'] { position: absolute; inset: 24px 0 0; opacity: 0; cursor: pointer; width: 100%; }
.fd-ui { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--bg-alt); color: var(--muted); font-weight: 500; }
.fd-ui .ico { color: var(--brand); width: 22px; height: 22px; flex: none; }
.file-drop:hover .fd-ui, .file-drop:focus-within .fd-ui { border-color: var(--brand); }
.file-drop input[aria-invalid='true'] + .fd-ui { border-color: var(--rose); }
.form-status a { color: inherit; text-decoration: underline; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.job-prose h2 { font-size: 1.3rem; margin-top: 32px; }
.job-facts { position: sticky; top: 100px; padding: 26px; }
.job-facts h3 { margin: 0 0 14px; }
.job-facts dl { margin: 0 0 20px; display: grid; gap: 10px; }
.job-facts dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.job-facts dt { color: var(--muted); font-size: 0.9rem; }
.job-facts dd { margin: 0; font-weight: 650; text-align: right; }
.job-facts .btn + .btn { margin-top: 10px; }
@media (max-width: 1100px) {
  .hire-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .apply-wrap, .job-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .job-facts { position: static; }
}
@media (max-width: 760px) {
  .job-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jf-search { grid-column: 1 / -1; }
  .values.row, .hire-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .contact-form { padding: 24px 18px; } }
.job-prose .tag-cloud { justify-content: flex-start; padding: 0; margin: 0; }
.job-meta-lg { font-size: 0.98rem; gap: 10px 26px; }
.job-meta-lg li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; }

/* ── Theme switcher ─────────────────────────────────────────────────── */
.theme-switch { position: relative; }
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.4s var(--ease); }
.theme-btn:hover { background: var(--brand-50); color: var(--brand-600); }
.theme-btn[aria-expanded='true'] .ico { transform: rotate(60deg); }
.theme-btn .ico { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.hero-dark .site-header:not(.scrolled):not(.menu-open) .theme-btn { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.hero-dark .site-header:not(.scrolled):not(.menu-open) .theme-btn:hover { background: rgba(255, 255, 255, 0.12); }
.theme-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 220px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 60; color: var(--ink); }
.theme-menu[hidden] { display: none; }
.theme-menu p { margin: 4px 10px 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.theme-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; text-align: left; }
.theme-menu button:hover { background: var(--bg-alt); }
.tm-swatch { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); flex: none; }
.tm-swatch .ico { width: 16px; height: 16px; }
.tm-light { background: #fff; color: #f59e0b; }
.tm-blue { background: linear-gradient(135deg, #0a2a63, #061a3d); color: #7cc6f2; }
.tm-black { background: #000; color: #e4e4e7; }
.tm-check { width: 16px; height: 16px; margin-left: auto; color: var(--brand); opacity: 0; }
.theme-menu [aria-checked='true'] .tm-check { opacity: 1; }
.theme-menu [aria-checked='true'] { background: var(--brand-50); }

/* ── Deep Blue theme ───────────────────────────────────────────────── */
:root[data-theme='blue'] {
  color-scheme: dark;
  --ink: #eef4ff;
  --ink-2: #c8d7f1;
  --muted: #92a8cf;
  --line: rgba(128, 172, 255, 0.17);
  --bg: #061a3d;
  --bg-alt: #0a2250;
  --surface: #0c2859;
  --surface-2: #0a2350;
  --brand-600: #45aef0;
  --brand-700: #7cc6f2;
  --brand-50: rgba(32, 150, 221, 0.16);
  --brand-100: rgba(32, 150, 221, 0.28);
  --brand-line: rgba(95, 178, 240, 0.45);
  --tint-violet: rgba(124, 92, 255, 0.18);
  --dark: #031029;
  --dark-2: #051736;
  --dark-line: rgba(128, 172, 255, 0.14);
  --header-bg: rgba(6, 26, 61, 0.88);
  --on-ink: #0a2a63;
  --shadow-sm: 0 1px 2px rgba(0, 6, 20, 0.4), 0 2px 8px rgba(0, 6, 20, 0.3);
  --shadow: 0 14px 34px -14px rgba(0, 6, 20, 0.7), 0 2px 6px rgba(0, 6, 20, 0.35);
  --shadow-lg: 0 30px 60px -20px rgba(0, 6, 20, 0.8);
}
/* ── Black Edition ─────────────────────────────────────────────────── */
:root[data-theme='black'] {
  color-scheme: dark;
  --ink: #f4f4f5;
  --ink-2: #d4d4d8;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --bg: #000000;
  --bg-alt: #0a0a0b;
  --surface: #111113;
  --surface-2: #0c0c0e;
  --brand-600: #3aa8ec;
  --brand-700: #6fc0f2;
  --brand-50: rgba(32, 150, 221, 0.14);
  --brand-100: rgba(32, 150, 221, 0.24);
  --brand-line: rgba(58, 168, 236, 0.4);
  --tint-violet: rgba(124, 92, 255, 0.14);
  --dark: #000000;
  --dark-2: #070708;
  --dark-line: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(0, 0, 0, 0.86);
  --on-ink: #000000;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.6);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.95);
}
/* shared dark-theme fixes */
:root[data-theme] .site-header .logo-dark, :root[data-theme] .site-header.menu-open .logo-dark { opacity: 0 !important; }
:root[data-theme] .site-header .logo-light, :root[data-theme] .site-header.menu-open .logo-light { opacity: 1 !important; }
:root[data-theme] .btn-ghost:hover { color: var(--brand-700); }
:root[data-theme] .partner-logos span { background: #fff; }
:root[data-theme] .partner-logos span img { filter: none; }
:root[data-theme] .layer.fragile { background: rgba(244, 63, 94, 0.12); color: #fda4af; border-color: rgba(244, 63, 94, 0.35); }
:root[data-theme] .stop circle { fill: var(--surface); }
:root[data-theme] ::selection { background: rgba(32, 150, 221, 0.45); color: #fff; }
:root[data-theme='black'] .grad, :root[data-theme='black'] .pill { filter: saturate(1.1); }
:root[data-theme='blue'] .sec-alt { background: linear-gradient(180deg, var(--bg-alt), #081e48); }
:root[data-theme] .msg.action, :root[data-theme] .route-save, :root[data-theme] .ex-ok, :root[data-theme] .lc-done { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.32); }
:root[data-theme] .near, :root[data-theme] .st.warn, :root[data-theme] .u-h { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
:root[data-theme] .over { background: rgba(244, 63, 94, 0.16); color: #fda4af; }
/* rotating decorations (capability orbit) must never widen the page on phones */
html, body { overflow-x: clip; }

/* ── Technology partner ticker ─────────────────────────────────────── */
.partners-band.stacked { grid-template-columns: minmax(0, 1fr); gap: 26px; text-align: center; }
.partners-band.stacked h2 { max-width: 760px; margin-inline: auto; }
.tech-ticker { display: grid; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tech-track { display: flex; gap: 14px; width: max-content; animation: scroll 48s linear infinite; }
.tech-row.rev .tech-track { animation-direction: reverse; animation-duration: 54s; }
.tech-ticker:hover .tech-track { animation-play-state: paused; }
.tech-chip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #e3e9f2; box-shadow: 0 6px 18px -12px rgba(11, 21, 38, 0.35); color: #0b1526; font-weight: 700; font-size: 0.98rem; white-space: nowrap; }
.tech-chip img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.wp-sec .tech-ticker, .sec .tech-ticker { margin-top: 8px; }
@media (max-width: 760px) {
  .tech-chip { padding: 9px 16px 9px 10px; font-size: 0.88rem; gap: 9px; }
  .tech-chip img { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .tech-track [aria-hidden='true'] { display: none; }
}

/* Highlighted tabs: a white pill with deep-blue (Deep Blue) or black (Black Edition) text */
:root[data-theme] .tab-list button[aria-selected='true'] { background: #fff; color: var(--on-ink); box-shadow: 0 6px 18px -10px rgba(32, 150, 221, 0.6); }
/* Solid "platform" blocks read better as brand blue than as a white slab on dark themes */
:root[data-theme] .arch-layer:nth-child(5), :root[data-theme] .erp-base, :root[data-theme] .app-base, :root[data-theme] .chain span, :root[data-theme] .chip-drag { background: linear-gradient(120deg, #1478c4, #2096dd 55%, #5b6cff); color: #fff; }
:root[data-theme] .arch-layer:nth-child(5) b, :root[data-theme] .app-base p { color: #cffafe; }
.hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* lazily loaded photos fade in once fetched */
[data-bg] { background-size: cover; background-position: center; }
[data-bg].bg-in { animation: bg-in 0.5s var(--ease) both; }
@keyframes bg-in { from { opacity: 0.35; } to { opacity: 1; } }

/* ── ProcureCloud workspace + detailed process flow ────────────────── */
.wide-show { max-width: 1240px; }
.pw-body { padding: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); display: grid; gap: 14px; }
.pw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pw-kpis .kpi em { font-style: normal; font-size: 0.74rem; font-weight: 650; color: var(--mint); }
.pw-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.pw-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 12px; align-content: start; font-size: 0.84rem; }
.pw-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pw-card header b { font-size: 0.92rem; }
.pw-card header small { color: var(--muted); font-weight: 600; }
.pw-card .st { font-size: 0.68rem; padding: 4px 9px; }
.pw-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.pw-table th { text-align: left; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.pw-table td { padding: 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.pw-table td:last-child, .pw-table th:last-child { text-align: right; }
.pw-table tfoot td { font-weight: 800; color: var(--ink); border-bottom: 0; }
.pw-table tr.best td { background: var(--brand-50); color: var(--ink); }
.pw-table .pill { margin-left: 6px; font-size: 0.6rem; }
.pw-budget small { color: var(--muted); font-weight: 600; display: block; }
.pw-budget b { font-size: 0.9rem; }
.pw-bar { display: flex; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 8px 0; }
.pw-bar i { background: var(--brand); }
.pw-bar i.req { background: var(--cyan); }
.pw-budget p, .pw-note { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.78rem; }
.pw-budget p .ico, .pw-note .ico { width: 15px; height: 15px; color: var(--mint); flex: none; }
.pw-note .ico { color: var(--brand); }
.pw-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.pw-chain li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 10px; }
.pw-chain li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--muted); }
.pw-chain li > span .ico { width: 15px; height: 15px; }
.pw-chain li.ok > span { background: rgba(16, 185, 129, 0.15); color: var(--mint); }
.pw-chain li.warn { background: rgba(245, 158, 11, 0.08); }
.pw-chain li.warn > span { background: rgba(245, 158, 11, 0.18); color: var(--amber); }
.pw-chain li.na { opacity: 0.55; }
.pw-chain small { display: block; color: var(--muted); }
.pw-chain em { font-style: normal; font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.pw-match { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pw-match div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface-2); }
.pw-match small { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pw-match b { display: block; margin: 4px 0 2px; }
.pw-match em { font-style: normal; color: var(--mint); font-size: 0.74rem; font-weight: 650; }
.flow-detail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: fd; }
.flow-detail li { display: flex; flex-direction: column; padding: 24px; }
.fd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.fd-n { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.flow-detail h3 { font-size: 1.08rem; margin: 0 0 8px; }
.flow-detail p { color: var(--muted); margin: 0 0 16px; font-size: 0.93rem; }
.flow-detail dl { margin: auto 0 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.flow-detail dl div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; font-size: 0.84rem; }
.flow-detail dt { color: var(--muted); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.flow-detail dd { margin: 0; color: var(--ink-2); font-weight: 600; }
@media (max-width: 1100px) { .flow-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .flow-detail { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .pw-grid { grid-template-columns: minmax(0, 1fr); } .pw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pw-match { grid-template-columns: minmax(0, 1fr); } .pw-table { font-size: 0.72rem; } .pw-table td, .pw-table th { padding: 6px 4px; } .pw-body { padding: 12px; } }

/* scroll-driven tabs */
.tab-scroller { position: relative; }
.tabs.tab-pinned { position: sticky; }
.tabs.tab-pinned > .tab-list { position: relative; overflow-x: auto; overflow-y: hidden; }
.tabs.tab-pinned > .tab-list::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--tab-progress, 0%); background: var(--grad); border-radius: 99px; transition: width 0.35s var(--ease); }
.tabs.tab-pinned [data-panel]:not([hidden]) { animation: tab-in 0.45s var(--ease) both; }
@keyframes tab-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.tabs.tab-pinned [data-panel]:not([hidden]) { animation-duration: .55s; }

/* ───────────────────────────── Industries reel (centre-focus carousel)
   JS (assets/js/motion.js) centres the active card, scales it up and reveals its
   snippet; side cards shrink and dim. Without JS it degrades to a scrollable row. */
.industry-reel { overflow: hidden; }
.industry-reel .sec-head { margin-bottom: 20px; }
.reel { position: relative; }
.reel-viewport { overflow: hidden; }
/* The belt flows continuously; JS (assets/js/motion.js) owns each card's transform
   (scale) and opacity per frame based on how close it is to the centre. */
.reel-track { display: flex; gap: 22px; list-style: none; margin: 0;
  padding: 46px 0; will-change: transform; }
.reel-card { flex: 0 0 260px; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transform-origin: center; will-change: transform, opacity;
  transition: box-shadow .4s, border-color .4s; }
.reel-card figure { margin: 0; }
.reel-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.reel-cap { padding: 16px 20px 20px; }
.reel-cap h3 { font-size: 1.1rem; }
/* snippet is always laid out (reserves space so the flowing belt never reflows);
   only its opacity toggles with the centre card. */
.reel-cap p { font-size: .92rem; color: var(--muted); line-height: 1.5;
  margin-top: 8px; opacity: 0; transition: opacity .4s; }
.reel-card.is-active { box-shadow: 0 34px 64px -26px rgba(5,15,35,.55); border-color: transparent; }
.reel-card.is-active .reel-cap p { opacity: 1; }

.reel-nav { position: absolute; top: 46%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: background .25s, transform .25s; }
.reel-nav:hover { transform: translateY(-50%) scale(1.08); }
.reel-nav svg { width: 22px; height: 22px; }
.reel-nav.prev { left: max(12px, 3vw); }
.reel-nav.next { right: max(12px, 3vw); }

@media (max-width: 640px) {
  .reel-track { gap: 16px; padding: 36px max(16px, (100vw - 220px) / 2); }
  .reel-card { flex-basis: 220px; }
  .reel-nav { width: 40px; height: 40px; }
}

/* No-JS / reduced-motion: show a simple horizontal scroll of equal cards */
.no-reel .reel-track { overflow-x: auto; scroll-snap-type: x mandatory; transition: none; }
.no-reel .reel-card { transform: none; opacity: 1; filter: none; scroll-snap-align: center; }
.no-reel .reel-card .reel-cap p { opacity: 1; }
.no-reel .reel-nav { display: none; }

/* ───────────────────────────── Premium media treatment (.media-pro)
   Gives content images depth & polish: a soft brand glow behind a crisply framed
   image with layered shadows, an inner sheen/scrim and a hairline ring. Pair with
   data-kenburns for a subtle scroll-linked scale (assets/js/motion.js). */
.wp-figure.media-pro { overflow: visible; background: none; box-shadow: none; aspect-ratio: auto; }
.media-pro { position: relative; isolation: isolate; }
.media-pro::before {                       /* floating brand glow behind the frame */
  content: ''; position: absolute; inset: 10% 4% -8% 4%; z-index: -1; border-radius: 28px;
  background: radial-gradient(60% 60% at 50% 42%, rgba(47,107,255,.40), transparent 70%),
              radial-gradient(50% 50% at 80% 90%, rgba(34,211,238,.28), transparent 70%);
  filter: blur(46px); opacity: .6; }
.media-pro .media-frame {
  display: block; position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: 0 2px 6px rgba(13,27,54,.06),
              0 18px 34px -12px rgba(13,27,54,.20),
              0 50px 90px -34px rgba(13,27,54,.30); }
.media-pro .media-frame img { display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transform-origin: center;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
/* alive: the image zooms a little within its frame on hover */
.media-pro:hover .media-frame img { transform: scale(1.09); }
.media-pro .media-frame::after {           /* top sheen + bottom scrim + hairline ring = depth */
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 26%),
              linear-gradient(0deg, rgba(5,15,35,.26), transparent 42%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
@media (prefers-color-scheme: dark) {
  .media-pro .media-frame::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
}

/* ───────────────────────────── Scroll-to-fill showcase (.fillcanvas)
   A framed media card that grows to full-bleed as you scroll through a pinned section.
   JS (assets/js/motion.js) adds .fc-live and scroll-drives the scale; without JS /
   reduced-motion it stays a tasteful contained feature card. */
.fillcanvas { position: relative; }
.fc-sticky { display: grid; place-items: center; padding: 40px 0; }
.fc-media { position: relative; margin: 0 auto; width: min(640px, 88vw); aspect-ratio: 16 / 10;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(13,27,54,.06), 0 24px 44px -16px rgba(13,27,54,.26), 0 60px 110px -40px rgba(13,27,54,.34); }
.fc-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.fc-overlay { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 4vw, 60px);
  background: linear-gradient(0deg, rgba(5,12,26,.78), rgba(5,12,26,.12) 60%, transparent); color: #fff; }
.fc-overlay h2 { color: #fff; font-size: clamp(1.6rem, 4.2vw, 3.6rem); line-height: 1.04; margin: 8px 0 0; }
.fc-overlay p { color: rgba(255,255,255,.86); max-width: 560px; margin-top: 12px; font-size: clamp(.95rem, 1.4vw, 1.15rem); }

/* live (JS + Motion): pin and grow */
.fc-live .fillcanvas { height: 220vh; }
.fc-live .fc-sticky { position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden; }
.fc-live .fc-media { width: 100vw; height: 100vh; aspect-ratio: auto; max-width: none;
  border-radius: 34px; transform: scale(.52); transform-origin: center; will-change: transform, border-radius; }

/* ───────────────────────────── Preloader: the logo assembles, then the site reveals */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, #0f2745, #06101d 72%);
  transition: opacity .75s ease, visibility .75s, transform .75s cubic-bezier(.4,0,.2,1); }
/* reveal: the loader zooms forward as it fades, so the site arrives "moving forward" */
.preloader.pl-done { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.12); }
body.pl-lock { overflow: hidden; }
.pl-stage { display: grid; justify-items: center; gap: 24px; }
.pl-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.pl-mark img { width: 84px; height: 84px;
  opacity: 0; transform: scale(.4) rotate(-120deg);
  animation: pl-mark-in .9s cubic-bezier(.2,.8,.2,1) .15s forwards; }
.pl-orbit { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg);
  animation: pl-spin 3.4s linear 1.3s infinite; }  /* keeps looping until the site is ready */
.pl-orbit circle { fill: none; stroke: #41a5ff; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 289; stroke-dashoffset: 289; opacity: .9;
  animation: pl-orbit-draw 1.15s ease .2s forwards; }
.pl-word { overflow: hidden; }
.pl-word img { display: block; width: 150px; height: auto;
  clip-path: inset(0 100% 0 0); transform: translateY(6px);
  animation: pl-word-in .7s cubic-bezier(.2,.8,.2,1) .85s forwards; }
.pl-bar { width: 180px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
/* indeterminate loop: a segment keeps sliding across while loading */
.pl-bar span { display: block; height: 100%; width: 42%; border-radius: 2px; transform: translateX(-120%);
  background: linear-gradient(90deg, rgba(65,165,255,0), #41a5ff, #8ad0ff);
  animation: pl-bar-slide 1.25s cubic-bezier(.4,0,.2,1) .4s infinite; }
@keyframes pl-mark-in { to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes pl-orbit-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes pl-word-in { to { clip-path: inset(0 0 0 0); transform: translateY(0); } }
@keyframes pl-bar-slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) {
  .pl-mark img, .pl-orbit circle, .pl-word img, .pl-bar span { animation: none; opacity: 1; transform: none; clip-path: none; stroke-dashoffset: 0; }
}

/* ───────────────────────────── Overlapping image cluster (fanned 3-up) */
.img-cluster { position: relative; height: 320px; max-width: 760px; margin: 6px auto 8px;
  display: flex; align-items: center; justify-content: center; }
.img-cluster figure { position: absolute; margin: 0; width: 300px; aspect-ratio: 4 / 3;
  border-radius: 18px; overflow: hidden; border: 4px solid var(--surface);
  box-shadow: 0 2px 6px rgba(13,27,54,.08), 0 20px 40px -14px rgba(13,27,54,.28), 0 46px 80px -34px rgba(13,27,54,.30);
  transition: transform .55s cubic-bezier(.22,1,.36,1); will-change: transform; }
.img-cluster figure img { width: 100%; height: 100%; object-fit: cover; }
.img-cluster .ic-1 { transform: translateX(-170px) rotate(-7deg) scale(.9); z-index: 1; }
.img-cluster .ic-3 { transform: translateX(170px) rotate(7deg) scale(.9); z-index: 2; }
.img-cluster .ic-2 { transform: translateX(0) rotate(0) scale(1.02); z-index: 3; }
.img-cluster:hover .ic-1 { transform: translateX(-220px) rotate(-10deg) scale(.92); }
.img-cluster:hover .ic-3 { transform: translateX(220px) rotate(10deg) scale(.92); }
.img-cluster:hover .ic-2 { transform: translateX(0) rotate(0) scale(1.05); }
@media (max-width: 760px) {
  .img-cluster { height: 230px; }
  .img-cluster figure { width: 210px; }
  .img-cluster .ic-1 { transform: translateX(-108px) rotate(-7deg) scale(.88); }
  .img-cluster .ic-3 { transform: translateX(108px) rotate(7deg) scale(.88); }
  .img-cluster:hover .ic-1 { transform: translateX(-120px) rotate(-8deg) scale(.88); }
  .img-cluster:hover .ic-3 { transform: translateX(120px) rotate(8deg) scale(.88); }
}
/* Phone screens: the fanned cluster shrinks + narrows its spread so the side
   images never extend past the viewport and get clipped. */
@media (max-width: 520px) {
  .img-cluster { height: 200px; }
  .img-cluster figure { width: 150px; border-width: 3px; }
  .img-cluster .ic-1 { transform: translateX(-60px) rotate(-6deg) scale(.84); }
  .img-cluster .ic-3 { transform: translateX(60px) rotate(6deg) scale(.84); }
  .img-cluster .ic-2 { transform: translateX(0) rotate(0) scale(1); }
  .img-cluster:hover .ic-1 { transform: translateX(-66px) rotate(-7deg) scale(.84); }
  .img-cluster:hover .ic-3 { transform: translateX(66px) rotate(7deg) scale(.84); }
  .img-cluster:hover .ic-2 { transform: scale(1.02); }
}

/* ───────────────────────────── A5: fresh-canvas horizontal scroll
   Panels slide right-to-left across a pinned section as you scroll (JS adds .hscroll-live).
   Without JS / reduced-motion the panels simply stack vertically. */
.hscroll { position: relative; background: #06101d; }
.hs-track { display: flex; flex-direction: column; }
.hs-panel { min-height: 68vh; display: grid; place-items: center; padding: 64px 24px; color: #fff; }
.hs-inner { max-width: 640px; text-align: center; position: relative; }
.hs-num { display: block; font-size: clamp(3rem, 10vw, 7rem); font-weight: 800; line-height: 1;
  color: #fff; opacity: .14; margin-bottom: 6px; letter-spacing: -.04em; }
.hs-panel h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0; }
.hs-lead { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 14px auto 0; max-width: 560px; }
.hs-p1 { background: radial-gradient(120% 120% at 20% 20%, #13406f, #06101d 70%); }
.hs-p2 { background: radial-gradient(120% 120% at 50% 25%, #1b2a6b, #06101d 70%); }
.hs-p3 { background: radial-gradient(120% 120% at 80% 20%, #3b1f6e, #06101d 70%); }

.hscroll-live .hscroll { height: 300vh; }  /* 3 panels */
.hscroll-live .hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hscroll-live .hs-track { flex-direction: row; height: 100vh; width: 300vw; will-change: transform; }
.hscroll-live .hs-panel { width: 100vw; flex: 0 0 100vw; min-height: 100vh; }

/* ───────────────────────────── eAkshar animated stats band */
.facts.facts-xl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; border: 0; padding: 0; background: none; }
.facts.facts-xl .stat { padding: 10px 6px; border: 0; }
.facts.facts-xl .stat b { display: block; font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts.facts-xl .stat span { display: block; margin-top: 10px; color: var(--muted); font-size: clamp(.9rem, 1.3vw, 1.02rem); }
@media (max-width: 720px) { .facts.facts-xl { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* ───────────────────────────── Kinetic rotating headline (krackerz-inspired) */
.kinetic-band { text-align: center; }
.kinetic-h { font-size: clamp(1.9rem, 6vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.cycler { display: inline-grid; vertical-align: bottom; perspective: 600px; }
.cycler > span { grid-area: 1 / 1; opacity: 0; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-cycle 12s cubic-bezier(.22,1,.36,1) infinite;
  animation-delay: calc(var(--j) * 2s); will-change: opacity, transform; }
@keyframes word-cycle {
  0%   { opacity: 0; transform: translateY(18px) rotateX(-45deg); }
  3%   { opacity: 1; transform: none; }
  13%  { opacity: 1; transform: none; }
  16%  { opacity: 0; transform: translateY(-18px) rotateX(45deg); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cycler > span { animation: none; }
  .cycler > span:first-child { opacity: 1; }
}

/* ───────────────────────────── Flowing wireframe mesh banner (shapeofintelligence-inspired) */
.mesh-banner { position: relative; overflow: hidden; min-height: 460px; display: grid; place-items: center;
  background: radial-gradient(130% 120% at 50% 0%, #0f2745, #06101d 72%); }
.mesh-banner .mesh-canvas { position: absolute; inset: 0; z-index: 1; }
.mesh-banner .mesh-canvas canvas { display: block; width: 100%; height: 100%; }
.mesh-banner::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 55%, transparent 40%, rgba(6,16,29,.55)); }
.mesh-overlay { position: relative; z-index: 2; text-align: center; color: #fff; padding: 56px 20px; }
.mesh-overlay .eyebrow { color: #8ad0ff; }
.mesh-overlay h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.05; margin: 8px 0 0; }
.mesh-overlay p { color: rgba(255,255,255,.82); max-width: 580px; margin: 14px auto 0; font-size: clamp(.98rem,1.4vw,1.14rem); }

/* ───────────────────────────── Mesh-backed section: flowing wireframe fills empty space */
.mesh-sec { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(130% 120% at 50% 0%, #0f2745, #06101d 72%); }
.mesh-sec .mesh-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mesh-sec .mesh-canvas canvas { display: block; width: 100%; height: 100%; }
.mesh-sec > .container { position: relative; z-index: 2; }
.mesh-sec .sec-head h2 { color: #fff; }
.mesh-sec .sec-head .eyebrow { color: #8ad0ff; }
.mesh-sec .sec-head .lead, .mesh-sec .sec-note { color: rgba(255,255,255,.80); }
.mesh-sec .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.mesh-sec .steps li h3 { color: #fff; }
.mesh-sec .steps li p { color: rgba(255,255,255,.76); }
.mesh-sec .steps::before { opacity: .45; }

/* wrapped step roadmaps: 7-8 steps -> tidy 4-col / 2-row grid (used on industries pages) */
.steps.steps-wrap { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
.steps.steps-wrap::before { display: none; }
@media (max-width: 1000px) { .steps.steps-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .steps.steps-wrap { grid-template-columns: 1fr; } }

/* ambient aura: soft drifting glows behind cards (simple, non-cluttering alt to mesh) */
.aura-sec { position: relative; overflow: hidden; }
.aura-sec > .container { position: relative; z-index: 1; }
.aura-sec::before, .aura-sec::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
  z-index: 0; pointer-events: none;
}
.aura-sec::before {
  width: 48vw; height: 48vw; left: -10vw; top: -14%;
  background: radial-gradient(circle, rgba(37,99,235,.22), transparent 68%);
  animation: aura-a 20s ease-in-out infinite alternate;
}
.aura-sec::after {
  width: 42vw; height: 42vw; right: -8vw; bottom: -16%;
  background: radial-gradient(circle, rgba(139,92,246,.18), transparent 68%);
  animation: aura-b 26s ease-in-out infinite alternate;
}
@keyframes aura-a { from { transform: translate(0,0) scale(1); } to { transform: translate(7vw,5vh) scale(1.18); } }
@keyframes aura-b { from { transform: translate(0,0) scale(1); } to { transform: translate(-6vw,-4vh) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .aura-sec::before, .aura-sec::after { animation: none; } }

/* ======================= mobile-native polish ======================= */
/* iOS momentum scrolling + contained overscroll on horizontal scrollers */
.tab-list, .table-wrap, .tabs.tab-pinned > .tab-list, .no-reel .reel-track, .snap-mobile {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* "more tabs" scroll-hint fade on overflowing tab lists (JS toggles .ov-left/.ov-right) */
.tab-list.ov-right { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.tab-list.ov-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
.tab-list.ov-left.ov-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }

/* 44px minimum tap targets on touch / small screens */
@media (max-width: 760px) {
  .tab-list button { min-height: 44px; }
  .m-links a { min-height: 44px; display: flex; align-items: center; }
  .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .f-col a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---- personalisation banner (Tier 1 dynamic content) ---- */
.pz-toast { position: fixed; left: 20px; bottom: 20px; z-index: 55; width: 340px; max-width: calc(100vw - 40px);
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 16px 16px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 44px -18px rgba(8,16,31,.5);
  transform: translateY(160%); opacity: 0; transition: transform .55s var(--ease), opacity .4s; }
.pz-toast.in { transform: none; opacity: 1; }
.pz-toast .pz-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.pz-toast .pz-ico .ico { width: 18px; height: 18px; }
.pz-toast .pz-msg { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink); }
.pz-toast .pz-cta { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .9rem; color: var(--brand-600); }
.pz-toast .pz-cta:hover { color: var(--brand-700); }
.pz-toast .pz-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); padding: 2px 4px; }
.pz-toast .pz-x:hover { color: var(--ink); }
@media (max-width: 760px) { .pz-toast { left: 12px; right: 12px; width: auto; bottom: 90px; } }
@media (prefers-reduced-motion: reduce) { .pz-toast { transition: opacity .3s; transform: none; } }

/* ─────────────────── eAkshar: "Zia Power Run" autonomous campus simulation ─────────────────── */
.zia-stage { max-width: 1180px; margin: 36px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.zia-stats { display: flex; background: linear-gradient(110deg, #052c63, #075bb5 60%, #0a9ed7); color: #fff; }
.zia-stats > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; }
.zia-stats b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.zia-stats span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.85; }
.zia-canvas-wrap { position: relative; background: #dff5ff; }
.zia-canvas-wrap canvas { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 420; }
/* Victory summary — shown when Zia reaches the Connected Campus flag, before the run loops. */
.zia-victory { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px; text-align: center; color: #fff; opacity: 0; visibility: hidden; transition: opacity .5s ease; background: radial-gradient(130% 130% at 50% 0%, rgba(10,63,120,.92), rgba(5,22,48,.96)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 5; }
.zia-victory.show { opacity: 1; visibility: visible; }
.zia-victory .zv-inner { max-width: 720px; transform: translateY(10px); transition: transform .5s ease; }
.zia-victory.show .zv-inner { transform: translateY(0); }
.zv-badge { font-size: 2.1rem; line-height: 1; }
.zia-victory h3 { margin: 8px 0 8px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.zia-victory > .zv-inner > p { margin: 0 auto 18px; max-width: 560px; font-size: 0.98rem; line-height: 1.55; color: #cfe3ff; }
.zia-victory .zv-inner > p b { color: #8deaff; }
.zv-grid { list-style: none; margin: 0 auto 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; max-width: 580px; text-align: left; }
@media (min-width: 620px) { .zv-grid { grid-template-columns: repeat(2, 1fr); } }
.zv-grid li { position: relative; padding-left: 26px; font-size: 0.9rem; font-weight: 600; color: #eaf3ff; }
.zv-grid li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #042c64; background: linear-gradient(140deg, #54e8ff, #19c5f5); }
.zv-replay { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: #8db6e8; }
.zv-replay::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #54e8ff; box-shadow: 0 0 0 0 rgba(84,232,255,.6); animation: zv-pulse 1.4s ease-out infinite; }
@keyframes zv-pulse { 0% { box-shadow: 0 0 0 0 rgba(84,232,255,.55); } 100% { box-shadow: 0 0 0 9px rgba(84,232,255,0); } }
@media (max-width: 560px) { .zv-grid { grid-template-columns: 1fr; gap: 6px; } .zia-victory h3 { font-size: 1.2rem; } }
.zia-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 22, 48, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.zia-modal { max-width: 460px; text-align: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 26px 20px; box-shadow: 0 24px 60px rgba(5, 22, 48, 0.42); }
.zia-modal .emoji { font-size: 1.7rem; }
.zia-modal h3 { margin: 8px 0 6px; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.zia-modal p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 16px; white-space: pre-line; }
.zia-hud { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-alt); border-top: 1px solid var(--line); flex-wrap: wrap; }
.zia-hud .mission { font-size: 0.85rem; color: var(--ink-2); flex: 1 1 200px; min-width: 180px; }
.zia-hud .mission b { color: var(--brand-700); }
.zia-progress { flex: 1 1 150px; height: 7px; background: var(--brand-50); border-radius: 99px; overflow: hidden; }
.zia-progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.4s ease; }
.zia-hud #restartBtn, .zia-hud #ziaFinishBtn { flex: none; font-size: 0.8rem; padding: 8px 14px; }
/* Play-it-yourself chip — invites the visitor to take the controls */
.zia-hud #ziaPlayBtn { flex: none; font-size: 0.8rem; font-weight: 700; padding: 8px 15px; border: 0; border-radius: 99px; cursor: pointer; color: #063e78; background: linear-gradient(135deg, #7ff0ff, #35b8f0); box-shadow: 0 4px 14px rgba(53,184,240,0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.zia-hud #ziaPlayBtn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(53,184,240,0.5); }
.zia-hud #ziaPlayBtn[aria-pressed="true"] { color: #fff; background: var(--ink-2, #475569); box-shadow: none; }

/* Control pad — hidden until the visitor enters Play mode */
.zia-controls { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[data-zia-run].is-playing .zia-controls {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 12px 16px; background: var(--bg-alt); border-top: 1px solid var(--line);
}
.zia-controls .zc-pad, .zia-controls .zc-act { display: flex; gap: 10px; }
.zia-controls .zc-hint { flex: 1 1 200px; text-align: center; font-size: 0.74rem; color: var(--ink-2); margin: 0; min-width: 160px; }
.zia-controls .zc-hint b { color: var(--brand-700); }
.zia-controls button {
  min-width: 56px; height: 46px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 1.05rem; font-weight: 800; color: #063e78; background: #e6f7ff;
  border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(6,62,120,0.18); transition: transform 0.08s ease, background 0.12s ease;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.zia-controls button:active { transform: translateY(2px); box-shadow: none; }
.zia-controls #jumpBtn { background: linear-gradient(135deg, #bdf7a8, #5fd36a); }
.zia-controls #kickBtn { background: linear-gradient(135deg, #ffd27a, #ffab3d); }
@media (max-width: 600px) {
  [data-zia-run].is-playing .zia-controls { gap: 8px; padding: 10px; }
  .zia-controls .zc-hint { order: 3; flex-basis: 100%; }
  .zia-controls button { min-width: 48px; height: 52px; }
}
@media (max-width: 600px) { .zia-stats b { font-size: 1.1rem; } .zia-modal { padding: 18px; } .zia-hud { gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .zia-overlay { position: absolute; } }
