/* ==========================================================================
   Neumann Systems Consultancy — nscpl.com
   Light, premium blue design: soft sky / ice backgrounds with gentle glows,
   white cards with fine blue gradient edges, royal-blue accents. Only the
   page banner and the footer are deep blue, to frame the page.
   ========================================================================== */

:root {
  /* Blues */
  --navy-950: #071033;
  --navy-900: #0B1A5C;
  --navy-800: #12267D;
  --royal-800: #1734A0;
  --royal-700: #1D4ED8;
  --royal-600: #2563EB;
  --royal-500: #3B82F6;
  --sky-500: #0EA5E9;
  --sky-400: #38BDF8;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50: #EFF5FF;
  --ice: #EAF2FF;
  --frost: #F5F9FF;
  /* Accent (NSC star) */
  --red-500: #E1010B;
  /* Text */
  --ink: #0B1437;
  --text: #33425F;
  --muted: #5A6A89;
  --line: #D6E3F8;
  --on-dark: #E3ECFF;
  --on-dark-muted: #B4C6EE;

  --grad-hero: radial-gradient(760px 460px at 88% -10%, rgba(56, 189, 248, .28), transparent 70%),
               radial-gradient(700px 480px at 105% 110%, rgba(59, 130, 246, .26), transparent 70%),
               linear-gradient(135deg, #F7FAFF 0%, #E8F1FF 50%, #D4E5FF 100%);
  --grad-btn: linear-gradient(135deg, #3B82F6 0%, #2563EB 45%, #1D4ED8 100%);
  --grad-icon: linear-gradient(140deg, #60A5FA 0%, #2563EB 50%, #1D4ED8 100%);
  --grad-text: linear-gradient(90deg, #1D4ED8 0%, #2563EB 40%, #0EA5E9 100%);
  --grad-edge: linear-gradient(135deg, rgba(147, 197, 253, .95), rgba(219, 234, 254, .55) 45%, rgba(147, 197, 253, .9));
  --grad-soft: linear-gradient(135deg, #FFFFFF 0%, #F1F6FF 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 26px -18px rgba(29, 78, 216, .4);
  --shadow: 0 22px 44px -24px rgba(29, 78, 216, .45);
  --shadow-lg: 0 34px 70px -32px rgba(11, 26, 92, .55);

  --container: 1280px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --header-h: 72px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--frost);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
::selection { background: var(--blue-200); color: var(--ink); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--royal-700); text-underline-offset: 3px; }
a:hover { color: var(--royal-800); }
p { margin: 0 0 .9rem; }
ul, ol { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0 0 .9rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem); text-wrap: balance; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: var(--header-h); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--royal-700); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* Highlighted words in headings (as on the original site: "About <i>Us</i>") */
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 200; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sky-400), var(--royal-600)); box-shadow: 0 0 10px rgba(56, 189, 248, .7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.3rem; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 .95rem/1.1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .58rem 1rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.55rem; font-size: 1rem; }
.btn--primary { color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 24px -12px rgba(37, 99, 235, .85); }
.btn--primary:hover { color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 30px -12px rgba(37, 99, 235, .9); }
.btn--ghost { color: var(--royal-700); background: #fff; border-color: var(--blue-200); box-shadow: 0 6px 16px -12px rgba(29, 78, 216, .5); }
.btn--ghost:hover { color: var(--royal-800); background: var(--blue-50); border-color: var(--blue-300); }
.btn--light { color: var(--royal-800); background: #fff; box-shadow: 0 12px 26px -14px rgba(7, 16, 51, .7); }
.btn--light:hover { color: var(--royal-800); background: var(--blue-50); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .75); }
/* On the light page banners: the white button becomes the solid blue one, the outline button becomes white */
.hero .btn--light, .page-hero .btn--light { color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 24px -12px rgba(37, 99, 235, .85); }
.hero .btn--light:hover, .page-hero .btn--light:hover { color: #fff; background: var(--grad-btn); }
.hero .btn--outline-light, .page-hero .btn--outline-light { color: var(--royal-700); background: #fff; border-color: var(--blue-200); box-shadow: 0 6px 16px -12px rgba(29, 78, 216, .5); }
.hero .btn--outline-light:hover, .page-hero .btn--outline-light:hover { color: var(--royal-800); background: var(--blue-50); border-color: var(--blue-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow .25s;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-200) 20%, var(--blue-300) 50%, var(--blue-200) 80%, transparent); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(29, 78, 216, .6); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 48px; }
@media (min-width: 992px) { .brand img { height: 56px; } }
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 12px; cursor: pointer; font-size: 1.6rem;
  color: var(--royal-700); background: var(--blue-50);
}
.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; display: none;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 10px var(--gutter) 26px;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(29, 78, 216, .35);
}
.site-nav.is-open { display: block; }
.nav-list { list-style: none; padding: 0; margin: 0 0 16px; }
.nav-list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-list a[aria-current="page"], .nav-list a.is-active { color: var(--royal-700); }
.nav-actions { display: grid; gap: 10px; }
@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 22px; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-list { display: flex; gap: 2px; margin: 0; }
  .nav-list a { position: relative; padding: 8px 12px; border: 0; border-radius: 8px; font-size: .93rem; color: var(--text); transition: color .2s, background-color .2s; }
  .nav-list a:hover { color: var(--royal-700); background: var(--blue-50); }
  .nav-list a[aria-current="page"], .nav-list a.is-active { color: var(--royal-700); background: var(--blue-50); }
  .nav-list a[aria-current="page"]::after, .nav-list a.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-text);
  }
  .nav-actions { display: flex; gap: 10px; }
}

/* ---------- Sections (all light) ---------- */
.section { position: relative; isolation: isolate; padding-block: clamp(52px, 6vw, 84px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--ice { background: linear-gradient(180deg, #EAF2FF 0%, #F2F7FF 100%); }
.section--frost {
  background-color: var(--frost);
  background-image: radial-gradient(rgba(37, 99, 235, .08) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.section--sky {
  background:
    radial-gradient(760px 380px at 0% 0%, rgba(56, 189, 248, .16), transparent 65%),
    radial-gradient(820px 460px at 100% 100%, rgba(59, 130, 246, .16), transparent 65%),
    linear-gradient(180deg, #EEF5FF 0%, #E2EDFF 100%);
}
.section--mist {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(56, 189, 248, .14), transparent 65%),
    linear-gradient(180deg, #E5EFFF 0%, #F3F8FF 100%);
}
.section--sky::before, .section--mist::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(37, 99, 235, .1) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 95%); mask-image: linear-gradient(90deg, transparent 30%, #000 95%);
}

.section-title { position: relative; padding-top: 18px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--royal-600), var(--sky-400)); box-shadow: 0 4px 10px -2px rgba(56, 189, 248, .6); }
.text-center .section-title::before, .section-title.is-center::before { left: 50%; transform: translateX(-50%); }
.section-head { max-width: 860px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--split { max-width: none; display: grid; gap: 8px 56px; align-items: end; }
@media (min-width: 992px) { .section-head--split { grid-template-columns: 1fr 1fr; } }
.lead { font-size: clamp(1.02rem, .98rem + .25vw, 1.14rem); line-height: 1.65; }
.text-center { text-align: center; }
.section-head.text-center { margin-inline: auto; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; padding: clamp(18px, 2vw, 24px);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box;
  border: 1px solid transparent; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { margin: 0; font-size: .93rem; line-height: 1.6; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-top h3, .card-top h4 { margin: 0; }

.ibadge {
  position: relative; display: inline-grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  color: #fff; background: var(--grad-icon); font-size: 1.2rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 20px -10px rgba(37, 99, 235, .9);
}
.ibadge--lg { width: 54px; height: 54px; border-radius: 14px; font-size: 1.5rem; }
.ibadge--soft { color: var(--royal-700); background: var(--blue-100); box-shadow: none; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: .94rem; line-height: 1.55; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231D4ED8'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 2px; }
.numbered li { counter-increment: n; position: relative; padding: 8px 0 8px 42px; font-size: .92rem; line-height: 1.5; border-top: 1px solid var(--line); }
.numbered li:first-child { border-top: 0; }
.numbered li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 8px;
  display: grid; place-items: center; width: 30px; height: 22px; border-radius: 6px;
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--grad-btn);
}

.list-title { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-size: .95rem; font-weight: 700; color: var(--royal-800); background: linear-gradient(90deg, var(--blue-100), var(--blue-50)); border-left: 4px solid var(--royal-600); }

/* ---------- Hero (home) — deep blue frame ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--text); background: #EAF2FF; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, .14) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
}
.hero h1, .page-hero h1 { color: var(--ink); }
.h1-kicker { display: block; margin-bottom: .6rem; font-size: .38em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--royal-700); }
.hero-lead { max-width: 640px; font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem); line-height: 1.65; color: var(--text); }
.hero-lead strong { color: var(--ink); }
.hero-lead a { color: var(--royal-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero { padding: clamp(44px, 6vw, 80px) 0 clamp(52px, 6vw, 84px); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.logo-chip { display: inline-flex; align-items: center; padding: 10px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--blue-100); box-shadow: 0 14px 28px -18px rgba(29, 78, 216, .55); }
.logo-chip img { height: 72px; width: auto; }
.logo-chip--sm img { height: 52px; }

/* Dashboard illustration (decorative) */
.hero-visual { position: relative; padding: 26px 0 10px; }
.mock { position: relative; overflow: hidden; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 34px 64px -30px rgba(29, 78, 216, .45), 0 0 0 1px var(--blue-100); font-size: 12px; line-height: 1.4; }
@media (min-width: 992px) { .mock { transform: perspective(1800px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; } }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--blue-50); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-200); }
.mock-bar p { margin: 0 0 0 10px; font-size: 11px; font-weight: 700; color: var(--royal-800); }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.mock-side { padding: 14px 10px; color: var(--text); background: linear-gradient(180deg, #F2F7FF, #E4EEFF); border-right: 1px solid var(--line); }
.mock-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.mock-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 11px; }
.mock-side li i { color: var(--royal-600); }
.mock-side li.is-active { color: #fff; background: var(--grad-btn); }
.mock-side li.is-active i { color: #fff; }
.mock-main { display: grid; gap: 12px; padding: 14px; background: var(--frost); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mock-kpi span { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.mock-kpi b { display: block; width: 58%; height: 8px; margin: 6px 0; border-radius: 4px; background: var(--blue-100); }
.mock-kpi svg { width: 100%; height: 22px; fill: none; stroke: var(--royal-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-kpi:nth-child(2) svg { stroke: var(--sky-400); }
.mock-kpi:nth-child(3) svg { stroke: var(--royal-800); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 104px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mock-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--royal-500), var(--royal-700)); }
.mock-chart span:nth-child(3n+2) { background: linear-gradient(180deg, #7DD3FC, var(--sky-400)); }
.mock-chart span:nth-child(3n) { background: linear-gradient(180deg, var(--blue-200), var(--blue-300)); }
.mock-tasks { padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mock-tasks p { margin: 0 0 4px; font-size: 11px; font-weight: 700; color: var(--royal-800); }
.mock-tasks ul { list-style: none; padding: 0; margin: 0; }
.mock-tasks li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 10.5px; color: var(--text); }
.mock-tasks li i { color: var(--royal-600); }
.mock-tasks li:first-child i { color: var(--red-500); }
.float-soon {
  position: absolute; z-index: 2; right: 8px; top: 0;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg);
  font-size: .85rem; font-weight: 700; color: var(--navy-900);
}
@media (prefers-reduced-motion: no-preference) { .float-soon { animation: float 6s ease-in-out infinite; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 520px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .hero-visual { padding-top: 0; }
  .float-soon { position: relative; right: auto; top: auto; margin-bottom: 12px; }
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red-500); animation: pulse 1.8s ease-out infinite; }
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* ---------- Home banner: one-time entrance animation when the page opens ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Light shine that sweeps once across the background, left to right */
  .hero .hero-bg::before,
  .page-product .page-hero .hero-bg::before,
  .page-download .page-hero .hero-bg::before,
  .page-jobs .page-hero .hero-bg::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .18) 42%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, .18) 58%, transparent 68%);
    transform: translateX(-100%);
    animation: hero-shine 2.2s .3s cubic-bezier(.45, 0, .2, 1) forwards;
  }

  /* Text: kicker + heading, paragraph, buttons, logos rise in one after another */
  .hero-grid > div:first-child > * { animation: hero-rise .8s var(--ease) both; }
  .hero-grid > div:first-child > :nth-child(2) { animation-delay: .15s; }
  .hero-grid > div:first-child > :nth-child(3) { animation-delay: .3s; }
  .hero-grid > div:first-child > :nth-child(4) { animation-delay: .45s; }

  /* Dashboard image slides in from the right, then its details come alive */
  .hero .hero-visual { animation: hero-slide 1s .3s var(--ease) both; }
  .hero .float-soon { animation: hero-pop .6s 1.1s cubic-bezier(.34, 1.56, .64, 1) both, float 6s 1.7s ease-in-out infinite; }
  .hero .mock-chart span { transform-origin: bottom; animation: hero-bar .7s .75s var(--ease) both; }
  .hero .mock-chart span:nth-child(2) { animation-delay: .81s; }
  .hero .mock-chart span:nth-child(3) { animation-delay: .87s; }
  .hero .mock-chart span:nth-child(4) { animation-delay: .93s; }
  .hero .mock-chart span:nth-child(5) { animation-delay: .99s; }
  .hero .mock-chart span:nth-child(6) { animation-delay: 1.05s; }
  .hero .mock-chart span:nth-child(7) { animation-delay: 1.11s; }
  .hero .mock-chart span:nth-child(8) { animation-delay: 1.17s; }
  .hero .mock-chart span:nth-child(9) { animation-delay: 1.23s; }
  .hero .mock-chart span:nth-child(10) { animation-delay: 1.29s; }
  .hero .mock-kpi polyline { stroke-dasharray: 120; stroke-dashoffset: 120; animation: hero-draw 1.2s .9s ease-out forwards; }
  .hero .mock-kpi:nth-child(2) polyline { animation-delay: 1s; }
  .hero .mock-kpi:nth-child(3) polyline { animation-delay: 1.1s; }
  .hero .mock-tasks li { animation: hero-rise-sm .5s 1.25s var(--ease) both; }
  .hero .mock-tasks li:nth-child(2) { animation-delay: 1.37s; }
  .hero .mock-tasks li:nth-child(3) { animation-delay: 1.49s; }

  /* Product page banner: breadcrumb, heading, badge, buttons rise in; logo card slides in */
  .page-product .page-hero-grid > div:first-child > * { animation: hero-rise .8s var(--ease) both; }
  .page-product .page-hero-grid > div:first-child > :nth-child(2) { animation-delay: .12s; }
  .page-product .page-hero-grid > div:first-child > :nth-child(3) { animation-delay: .26s; }
  .page-product .page-hero-grid > div:first-child > :nth-child(4) { animation-delay: .4s; }
  .page-product .brand-card { animation: hero-slide 1s .3s var(--ease) both; }
  .page-product .brand-card img:first-child { animation: hero-pop .7s .8s cubic-bezier(.34, 1.56, .64, 1) both; }
  .page-product .brand-card img + img { animation: hero-rise .7s 1.05s var(--ease) both; }

  /* Downloads page banner: heading and buttons rise in; the panel slides in and its rows follow */
  .page-download .page-hero-grid > div:first-child > * { animation: hero-rise .8s var(--ease) both; }
  .page-download .page-hero-grid > div:first-child > :nth-child(2) { animation-delay: .12s; }
  .page-download .page-hero-grid > div:first-child > :nth-child(3) { animation-delay: .26s; }
  .page-download .dl-visual { animation: hero-slide 1s .3s var(--ease) both; }
  .page-download .dl-list li { animation: hero-rise-sm .5s calc(.85s + var(--i) * 110ms) var(--ease) both; }

  /* Jobs page banner: text rises in; openings card slides in, rows follow, badge pops on */
  .page-jobs .page-hero-grid > div:first-child > * { animation: hero-rise .8s var(--ease) both; }
  .page-jobs .page-hero-grid > div:first-child > :nth-child(2) { animation-delay: .12s; }
  .page-jobs .page-hero-grid > div:first-child > :nth-child(3) { animation-delay: .24s; }
  .page-jobs .page-hero-grid > div:first-child > :nth-child(4) { animation-delay: .36s; }
  .page-jobs .jobs-visual { animation: hero-slide 1s .3s var(--ease) both; }
  .page-jobs .jobs-list li { animation: hero-rise-sm .5s calc(.85s + var(--i) * 120ms) var(--ease) both; }
  .page-jobs .jobs-badge { animation: hero-pop .6s 1.3s cubic-bezier(.34, 1.56, .64, 1) both, float 6s 1.9s ease-in-out infinite; }
}
@keyframes hero-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-rise-sm { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes hero-slide { from { opacity: 0; transform: translateX(56px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hero-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hero-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hero-draw { to { stroke-dashoffset: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(34px, 5vw, 64px) 0 clamp(40px, 5vw, 70px); }
.page-hero--center { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.page-hero--center .hero-lead { margin-inline: auto; }
.page-hero--center .hero-actions { justify-content: center; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.breadcrumb a { color: var(--royal-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--royal-800); }
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .page-hero-grid { grid-template-columns: 1.3fr .9fr; gap: 56px; } }
.pill-note {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0;
  padding: .45rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: var(--navy-900); background: #fff; border: 1px solid var(--blue-200); box-shadow: 0 8px 18px -12px rgba(29, 78, 216, .6);
}
.brand-card { display: grid; justify-items: center; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.brand-card img:first-child { width: min(100%, 320px); }
.brand-card img + img { width: 150px; }

/* Downloads banner: quick-download panel (same style as the home dashboard) */
.dl-panel { overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 34px 64px -30px rgba(29, 78, 216, .45), 0 0 0 1px var(--blue-100); color: var(--ink); }
@media (min-width: 992px) { .dl-panel { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; } }
.dl-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; background: var(--frost); }
.dl-list a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .25s, translate .25s var(--ease);
}
.dl-list a:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); translate: 4px 0; color: var(--ink); }
.dl-list .ibadge { width: 40px; height: 40px; border-radius: 11px; font-size: 1.1rem; }
.dl-video-row .ibadge { background: linear-gradient(140deg, #38BDF8 0%, #2563EB 60%, #1D4ED8 100%); }
.dl-name { flex: 1; min-width: 0; font-size: .92rem; font-weight: 700; line-height: 1.3; }
.dl-name small { display: block; margin-top: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dl-go { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--royal-700); background: var(--blue-50); transition: background .2s, color .2s; }
.dl-list a:hover .dl-go { color: #fff; background: var(--grad-btn); }

/* Jobs banner: current-openings card (same style as the Downloads panel) */
.jobs-visual { position: relative; padding-top: 26px; }
.jobs-panel { overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 34px 64px -30px rgba(29, 78, 216, .45), 0 0 0 1px var(--blue-100); color: var(--ink); }
@media (min-width: 992px) { .jobs-panel { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; } }
.jobs-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; background: var(--frost); }
.jobs-list a {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .25s, translate .25s var(--ease);
}
.jobs-list a:hover { border-color: var(--blue-300); box-shadow: var(--shadow-sm); translate: 4px 0; color: var(--ink); }
.jobs-list .ibadge { width: 42px; height: 42px; border-radius: 12px; font-size: 1.15rem; }
.jobs-name { flex: 1; min-width: 0; font-size: .95rem; font-weight: 700; line-height: 1.3; }
.jobs-name small { display: block; margin-top: 4px; font-size: .74rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.jobs-count { flex-shrink: 0; display: grid; justify-items: center; width: 118px; padding: 6px 8px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--royal-700); text-align: center; line-height: 1.25; }
.jobs-count b { font-size: 1.5rem; line-height: 1.05; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jobs-apply a { background: linear-gradient(135deg, #EAF2FF, #F7FAFF); border-style: dashed; border-color: var(--blue-300); }
.jobs-apply .jobs-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.jobs-apply .jobs-name small { font-size: .95rem; font-weight: 700; color: var(--royal-700); }
.jobs-list a:hover .dl-go { color: #fff; background: var(--grad-btn); }
.jobs-badge i { color: var(--royal-600); font-size: 1rem; }
@media (max-width: 520px) {
  .jobs-visual { padding-top: 0; }
  .jobs-list a { padding: 12px 10px; gap: 10px; }
  .jobs-count { width: 64px; padding: 6px 4px; font-size: .52rem; letter-spacing: .02em; }
  .jobs-badge { margin: 12px 0 0; }
}

/* ---------- Home: About ---------- */
.about-grid { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 992px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; } }
.about-grid .prose { align-self: center; }
.story-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #FFFFFF 0%, #EAF3FF 100%) padding-box, var(--grad-edge) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow);
}
.story-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--royal-600), var(--sky-400)); }
.story-card::after { content: "1990"; position: absolute; right: -6px; bottom: -28px; z-index: -1; font-size: 7.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: rgba(37, 99, 235, .08); }
.story-card p { margin: 0; font-size: .97rem; color: var(--text); }
.story-year { display: inline-block; margin-bottom: 10px; padding: .25rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 16px -10px rgba(37, 99, 235, .9); }
.subhead { display: flex; align-items: center; gap: 16px; margin: clamp(34px, 4vw, 48px) 0 18px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.subhead::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--blue-300), transparent); }
.section-head--split .subhead { margin: 0; }
.apart-card .card-top { margin-bottom: 12px; }

/* ---------- Home: Vision & Values ---------- */
.vv-grid { display: grid; gap: 20px; }
@media (min-width: 992px) { .vv-grid { grid-template-columns: 1.05fr 1fr; gap: 28px; } }
.vision-panel {
  position: relative; overflow: hidden; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #FFFFFF 0%, #EDF4FF 100%) padding-box, var(--grad-edge) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow);
}
.vision-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 70%); pointer-events: none; }
.vision-panel h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); margin-bottom: .7rem; color: var(--royal-700); }
.vision-panel .lead { color: var(--ink); margin-bottom: 18px; }
.values-grid { display: grid; gap: 14px; margin-top: 4px; }
@media (min-width: 560px) { .values-grid { grid-template-columns: 1fr 1fr; } }
.values-grid h3 { margin: 12px 0 6px; }

/* ---------- Home: Galaxy pillars ---------- */
.pillars { display: grid; gap: 16px; }
.pillar {
  display: grid; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent;
  box-shadow: var(--shadow-sm); transition: box-shadow .35s, transform .35s var(--ease);
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
@media (min-width: 992px) { .pillar { grid-template-columns: 320px 1fr; } }
.pillar-head { position: relative; padding: clamp(20px, 2.5vw, 28px); background: linear-gradient(150deg, #E3EEFF 0%, #F3F8FF 100%); border-right: 1px solid var(--line); }
.pillar-head h3 { margin: 14px 0 8px; font-size: 1.2rem; color: var(--ink); }
.pillar-head p { margin: 0; font-size: .93rem; font-weight: 600; color: var(--royal-700); }
.pillar-points { list-style: none; margin: 0; padding: clamp(18px, 2.5vw, 26px); display: grid; gap: 16px; align-content: center; }
@media (min-width: 760px) { .pillar-points { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.pillar-points li { position: relative; padding-top: 14px; font-size: .93rem; line-height: 1.6; }
.pillar-points li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--royal-600), var(--sky-400)); }
.pillar-points strong { display: block; margin-bottom: 4px; color: var(--royal-800); }

.why-card {
  position: relative; overflow: hidden; margin-top: clamp(28px, 3.5vw, 40px); padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(56, 189, 248, .18), transparent 70%) padding-box,
    linear-gradient(135deg, #FFFFFF 0%, #E8F1FF 100%) padding-box,
    var(--grad-edge) border-box;
  border: 1px solid transparent; box-shadow: var(--shadow);
}
.why-card h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
.why-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 16px; }
@media (min-width: 860px) { .why-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.why-list li { position: relative; padding: 20px 18px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: .93rem; box-shadow: 0 10px 24px -20px rgba(29, 78, 216, .6); }
.why-list li::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--royal-600), var(--sky-400)); }
.why-list strong { display: block; margin-bottom: 6px; color: var(--royal-700); font-size: 1rem; }

/* ---------- Home: Extended services ---------- */
.service-grid { counter-reset: s; }
.service-tile { counter-increment: s; display: flex; align-items: center; gap: 16px; min-height: 92px; }
.service-tile::before {
  content: counter(s, decimal-leading-zero); flex-shrink: 0; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px; font-weight: 800; color: #fff; background: var(--grad-icon);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 20px -10px rgba(37, 99, 235, .9);
}
.service-tile h3 { margin: 0; font-size: 1rem; line-height: 1.4; }

/* ---------- Home: Customer segments ---------- */
.segments { display: grid; gap: 28px; align-items: center; }
@media (min-width: 992px) { .segments { grid-template-columns: 4fr 8fr; gap: 56px; } }
.segments .btn { margin-top: 8px; }

/* Industry tiles: quiet glass cards with a small line icon; only a soft lift on hover */
.industry-grid {
  list-style: none; margin: 0; padding: 14px;
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 48px -36px rgba(29, 78, 216, .5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (min-width: 760px) { .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.industry-grid li {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 9px 12px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.industry-grid li i {
  flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  font-size: 1rem; color: var(--royal-600); background: var(--blue-50);
  transition: color .3s, background .3s;
}
.industry-grid li span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) {
  .industry-grid { padding: 10px; gap: 8px; }
  .industry-grid li { gap: 8px; padding: 8px 9px; font-size: .8rem; }
  .industry-grid li i { width: 28px; height: 28px; font-size: .9rem; }
}
.industry-grid li:hover { transform: translateY(-2px); border-color: var(--blue-200); box-shadow: 0 12px 24px -18px rgba(29, 78, 216, .7); }
.industry-grid li:hover i { color: var(--royal-700); background: var(--blue-100); }
@media (prefers-reduced-motion: no-preference) {
  .industry-grid.is-visible li { animation: ind-in .5s calc(.1s + var(--i) * 28ms) var(--ease) backwards; }
}
@keyframes ind-in { from { opacity: 0; translate: 0 10px; } }

/* ---------- Home: Team ---------- */
.team-text { display: grid; gap: 4px 40px; }
@media (min-width: 992px) { .team-text { grid-template-columns: 1fr 1fr; } }
.team-tiles { list-style: none; padding: 0; margin: clamp(24px, 3vw, 34px) 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .team-tiles { grid-template-columns: repeat(2, 1fr); } .team-tiles > :first-child { grid-column: span 2; } }
@media (min-width: 1100px) { .team-tiles { grid-template-columns: repeat(4, 1fr); } }
.team-tile {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.team-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-tile b { flex-shrink: 0; min-width: 54px; font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-tile span { font-size: .85rem; line-height: 1.5; color: var(--text); }
.team-tile--accent { background: var(--grad-btn); border-color: transparent; }
.team-tile--accent b { background: none; color: #fff; }
.team-tile--accent span { color: #EAF2FF; }

/* ---------- Home: Partners ---------- */
.partners { display: grid; gap: 22px; align-items: center; }
@media (min-width: 992px) { .partners { grid-template-columns: 4fr 8fr; gap: 56px; } }
.partners h2 { margin: 0; }
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .partner-list { grid-template-columns: 1fr 1fr 1.4fr; } }
.partner-list li { display: flex; flex-direction: column; gap: 12px; font-weight: 600; color: var(--ink); line-height: 1.45; }

/* ---------- CTA (light, premium) ---------- */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 26px; align-items: center;
  padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(56, 189, 248, .22), transparent 70%) padding-box,
    radial-gradient(500px 300px at 0% 100%, rgba(59, 130, 246, .16), transparent 70%) padding-box,
    linear-gradient(135deg, #FFFFFF 0%, #E6F0FF 100%) padding-box,
    linear-gradient(135deg, var(--blue-300), var(--blue-100) 50%, var(--sky-400)) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow-lg);
}
.cta-card p { color: var(--text); }
.cta-card strong { color: var(--royal-700); }
.cta-text { margin: 0; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 700; color: var(--ink) !important; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-actions p { margin: 0; font-size: .95rem; }
.cta-actions .btn--light { color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 28px -12px rgba(37, 99, 235, .85); }
.cta-actions .btn--light:hover { color: #fff; }
@media (min-width: 992px) {
  .cta-card { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .cta-actions { padding-left: 40px; border-left: 1px solid var(--blue-200); }
}

/* ---------- Product: sub-navigation ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -22px rgba(29, 78, 216, .6); }
.subnav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; margin: 8px 0; padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.subnav a:hover { color: var(--royal-700); background: var(--blue-50); }
.subnav a.is-active { color: #fff; background: var(--grad-btn); box-shadow: 0 8px 16px -10px rgba(37, 99, 235, .9); }
.page-product [id] { scroll-margin-top: calc(var(--header-h) + 52px); }
/* Sub-menu jumps: skip the section's empty top padding so the heading sits just below the sub-menu
   and as much of the section as possible is on screen (56px = sub-menu height) */
.page-product .section[id] { scroll-margin-top: calc(var(--header-h) + 56px - clamp(52px, 6vw, 84px) + 14px); }

/* ---------- Product: features ---------- */
.feature-grid { grid-auto-flow: dense; }
@media (min-width: 992px) { .feature-grid .span-2 { grid-column: span 2; } }
.feature-card .card-top h3 { font-size: 1rem; }

/* ---------- Product: workflow ---------- */
.workflow { display: grid; gap: 24px; align-items: start; }
@media (min-width: 992px) { .workflow { grid-template-columns: 1fr 1fr; gap: 40px; } }
.workflow .lead strong { color: var(--royal-700); }
.example-card { padding: clamp(20px, 2.5vw, 28px); }
.example-card:hover { transform: none; }

/* ---------- Product: ROI ---------- */
.roi-item { display: flex; gap: 14px; align-items: flex-start; }
.roi-item p { color: var(--ink); }

/* ---------- Product: technologies ---------- */
.tech-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .tech-grid { grid-template-columns: repeat(5, 1fr); } }
.tech-card { display: flex; flex-direction: column; }
.tech-card h3 { margin: 12px 0 6px; font-size: 1rem; }
.tech-card p { font-size: .88rem; }
.tech-chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tech-chips li { display: inline-flex; align-items: center; gap: 5px; padding: .28rem .6rem; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--royal-700); background: var(--blue-50); border: 1px solid var(--blue-100); }

/* ---------- Product: modules ---------- */
.modules { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1100px) {
  .modules { grid-template-columns: 480px 1fr; gap: 44px; }
}
.modules-label { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 1.1rem; }
.modules-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--blue-300), transparent); }
.orbit { --size: 460px; --r: 172px; position: relative; width: min(100%, var(--size)); aspect-ratio: 1; margin-inline: auto; }
/* On shorter desktop screens the core-modules ring shrinks a little (never below 400px) so the whole
   Modules section fits on one screen; on tall screens it stays 460px */
@media (min-width: 1100px) { .orbit { --size: clamp(400px, calc(100vh - 300px), 460px); --r: calc(var(--size) * .374); } }
.orbit::before { content: ""; position: absolute; inset: calc(50% - var(--r)); border: 1.5px dashed var(--blue-300); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; inset: calc(50% - var(--r) * .6); z-index: 0; border-radius: 50%; background: radial-gradient(circle, var(--blue-100), transparent 70%); }
.orbit-center {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-content: center; text-align: center; width: 128px; height: 128px; border-radius: 50%;
  color: #fff; background: radial-gradient(circle at 30% 25%, #60A5FA, var(--royal-700) 70%);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, .14), 0 24px 44px -20px rgba(29, 78, 216, .7);
}
.orbit-center span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #DBEAFE; }
.orbit-center strong { color: #fff; font-size: 1.35rem; line-height: 1.15; }
.orbit-list { list-style: none; padding: 0; margin: 0; }
.orbit-list li { --a: calc(var(--i) * 51.4286deg - 90deg); position: absolute; z-index: 1; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1)); }
.orbit-node { position: absolute; left: 0; top: 0; transform: translate(-50%, -28px); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 128px; text-align: center; font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.orbit-node i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 1.3rem; color: #fff; background: var(--grad-icon); box-shadow: 0 0 0 5px #fff, 0 12px 24px -12px rgba(29, 78, 216, .9); transition: transform .3s var(--ease); }
.orbit-node:hover i { transform: scale(1.08); }
@media (max-width: 560px) {
  .orbit { width: auto; aspect-ratio: auto; display: grid; gap: 16px; }
  .orbit::before, .orbit::after { display: none; }
  .orbit-center { position: static; transform: none; margin-inline: auto; width: 112px; height: 112px; }
  .orbit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .orbit-list li { position: static; width: auto; height: auto; transform: none; }
  .orbit-node { position: static; transform: none; width: auto; flex-direction: row; gap: 10px; padding: 10px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .orbit-node i { width: 36px; height: 36px; font-size: 1rem; flex-shrink: 0; box-shadow: none; }
}
.addon-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .addon-grid { grid-template-columns: repeat(3, 1fr); } }
.addon-grid li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; border-radius: 12px;
  box-shadow: 0 8px 18px -16px rgba(29, 78, 216, .7);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.addon-grid li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.addon-grid i { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-size: 1rem; color: var(--royal-700); background: var(--blue-100); }

/* Modules animation: plays when the section scrolls into view (main.js adds .is-visible).
   Uses fill-mode "backwards" and the separate scale/translate/rotate properties, so the
   finished look and the hover effects stay exactly as they are without animation. */
@media (prefers-reduced-motion: no-preference) {
  #modules .is-visible .modules-label::after { transform-origin: left center; animation: mod-line 1.1s .2s var(--ease) backwards; }
  #modules .is-visible .orbit::before { animation: mod-ring .9s .1s var(--ease) backwards, mod-spin 80s 1s linear infinite; }
  #modules .is-visible .orbit-center { animation: mod-pop .8s .15s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  #modules .is-visible .orbit-node { animation: mod-pop .6s calc(.45s + var(--i) * 90ms) var(--ease) backwards; }
  #modules .is-visible .addon-grid li { animation: mod-tile .55s calc(.3s + var(--i) * 45ms) var(--ease) backwards; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 561px) {
  /* Core grows from the centre; the modules fly out from the core to their places on the ring */
  #modules .is-visible .orbit-center { animation-name: mod-core; }
  #modules .is-visible .orbit-node { animation-name: mod-fly; animation-duration: .8s; }
  #modules .is-visible .orbit-center::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    border: 2px solid rgba(59, 130, 246, .5); opacity: 0;
    animation: mod-ripple 3.2s 1.4s ease-out infinite;
  }
}
@keyframes mod-line { from { scale: 0 1; } }
@keyframes mod-ring { from { opacity: 0; scale: .6; } }
@keyframes mod-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes mod-pop { from { opacity: 0; scale: .5; } }
@keyframes mod-core { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes mod-fly {
  from { opacity: 0; transform: translate(calc(-50% - var(--r) * cos(var(--a))), calc(-28px - var(--r) * sin(var(--a)))) scale(.3); }
  to { opacity: 1; transform: translate(-50%, -28px) scale(1); }
}
@keyframes mod-ripple { 0% { opacity: .6; scale: 1; } 100% { opacity: 0; scale: 1.8; } }
@keyframes mod-tile { from { opacity: 0; translate: 0 16px; } }

/* ---------- Jobs ---------- */
.job-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .job-grid { grid-template-columns: 1fr 1fr; } }
.job-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; box-shadow: var(--shadow-sm);
}
.job-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; background: linear-gradient(135deg, #E3EEFF 0%, #F3F8FF 100%); border-bottom: 1px solid var(--line); }
.job-head h3 { margin: 0; color: var(--royal-800); font-size: 1.15rem; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 16px -10px rgba(37, 99, 235, .9); }
.job-body { padding: 18px 22px 22px; }
.job-facts { display: grid; gap: 10px; margin: 0; }
.job-facts div { display: grid; gap: 2px 14px; }
@media (min-width: 480px) { .job-facts div { grid-template-columns: 110px 1fr; } }
.job-facts dt { font-size: .86rem; font-weight: 700; color: var(--royal-800); }
.job-facts dd { margin: 0; font-size: .93rem; }
.job-body > p { margin: 14px 0 0; font-weight: 600; color: var(--royal-700); }
.apply-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 16px 22px; border-radius: var(--radius);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; box-shadow: var(--shadow-sm);
}
.apply-strip p { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.note-card { position: relative; margin-top: 18px; padding: 18px 22px 18px 26px; border-radius: var(--radius); background: linear-gradient(135deg, #E3EEFF 0%, #F3F8FF 100%); border: 1px solid var(--line); }
.note-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--royal-600), var(--sky-400)); }
.note-card p { margin: 0; color: var(--ink); font-size: .95rem; }
.req-grid { display: grid; gap: 18px; align-items: start; }
.req-col { display: grid; gap: 18px; }
@media (min-width: 992px) { .req-grid { grid-template-columns: 1fr 1fr; } }
.req-grid .card:hover { transform: none; }
.benefit-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.benefit-grid > * { flex: 1 1 100%; }
@media (min-width: 640px) { .benefit-grid > * { flex: 0 1 calc(50% - 7px); } }
@media (min-width: 1100px) { .benefit-grid > * { flex-basis: calc(25% - 10.5px); } }
.benefit-grid h3 { margin: 12px 0 6px; font-size: 1rem; }

/* ---------- Downloads ---------- */
.doc-card { display: flex; flex-direction: column; gap: 12px; }
.doc-card h3 { margin: 0; font-size: 1.05rem; }
.doc-meta { margin: 0; font-size: .78rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.video-frame {
  /* never taller than the visible screen (below the sticky header), so the whole video is always in view */
  overflow: hidden; max-width: min(1040px, calc((100vh - var(--header-h) - 64px) * 16 / 9)); margin-inline: auto; border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
  background: #fff; padding: 8px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--blue-200);
}
/* The video sets the frame height itself (16:9, the video's own shape), so it always fills the frame edge to edge */
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); background: #0B1A5C; }
.video-meta { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 28px; } }
.contact-stack { display: grid; gap: 14px; align-content: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card h2 { margin: 2px 0 8px; font-size: 1.15rem; }
.contact-card address, .contact-card p { margin: 0; font-size: .95rem; line-height: 1.65; }
.link-strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-strong:hover { text-decoration: underline; }
.map-card {
  display: flex; flex-direction: column; overflow: hidden; min-height: 440px; border-radius: var(--radius-lg);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; box-shadow: var(--shadow);
}
.map-card h2 { margin: 0; padding: 14px 20px; font-size: 1.1rem; background: linear-gradient(135deg, #E3EEFF 0%, #F3F8FF 100%); border-bottom: 1px solid var(--line); }
.map-card iframe { flex: 1; width: 100%; min-height: 400px; border: 0; }

/* ---------- 404 ---------- */
.error-code { margin: 0; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer (light blue) ---------- */
.site-footer {
  position: relative; padding-top: clamp(48px, 6vw, 72px); color: var(--text); font-size: .93rem;
  background: radial-gradient(700px 360px at 100% 0%, rgba(56, 189, 248, .2), transparent 70%), linear-gradient(180deg, #EAF2FF 0%, #D9E7FF 100%);
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--royal-600), var(--sky-400), var(--royal-600)); }
/* One-time shine across the footer, started by main.js when the footer first scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .site-footer.is-shining { isolation: isolate; }
  .site-footer.is-shining::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .15) 47%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .15) 53%, transparent 56%) no-repeat;
    background-size: 300% 100%; background-position: 100% 0;
    animation: footer-shine 2.4s cubic-bezier(.45, 0, .2, 1) forwards;
  }
}
@keyframes footer-shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; } }
.footer-logos { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
.footer-logos a, .footer-logos span { display: inline-flex; padding: 8px 12px; background: #fff; border-radius: 12px; border: 1px solid var(--blue-100); box-shadow: 0 10px 22px -16px rgba(29, 78, 216, .6); }
.footer-logos img { height: 40px; width: auto; }
@media (max-width: 420px) { .footer-logos { flex-wrap: wrap; } }
.footer-name { margin: 18px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.footer-title { margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--royal-800); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links a { color: var(--text); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--royal-700); }
.footer-contact { display: flex; gap: 12px; margin: 0 0 12px; line-height: 1.55; }
.footer-contact i { flex-shrink: 0; margin-top: 2px; color: var(--royal-600); }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--royal-700); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-block: 22px; border-top: 1px solid rgba(37, 99, 235, .16); text-align: center; font-size: .86rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; background: var(--grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, var(--shadow); text-decoration: none; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Reveal on scroll (enabled by main.js only) ---------- */
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
.reveal-ready .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .subnav, .to-top, .hero-visual, .scroll-progress, .site-footer nav { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero h1, .page-hero h1 { color: #000; }
}
