/* ==========================================================================
   ITJASPER Solutions — site stylesheet (v2, October 2026)

   Direction: an established engineering firm, not a SaaS landing page.
   - Source Serif 4 (display cut) for headlines: authority and calm.
   - Instrument Sans for everything you read or click: precise and modern.
   - Ink, brand navy and white; azure (from the logo) only as a signal.
   - Evidence as imagery: real product screens, system diagrams, UI previews.
   No framework. Sections are built from the components below.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Source Serif Display';
  src: url('../fonts/source-serif-4-display.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #101a31;          /* text, dark surfaces */
  --ink-2: #1a2643;        /* raised dark surface */
  --navy: #243c81;         /* brand (from the logo) */
  --navy-700: #1c3069;
  --azure: #1a9bd7;        /* brand signal (from the logo) */
  --azure-ink: #0e6c9c;    /* azure that passes contrast as text on white */
  --paper: #ffffff;
  --mist: #f4f6f9;
  --mist-2: #e9edf3;
  --line: #dde2ea;
  --line-2: #c9d1dd;
  --text: #18213a;
  --slate: #49536b;
  --muted: #5f6880;
  --on-dark: #c9d1e3;
  --on-dark-2: #8a96b3;
  --line-dark: rgba(255, 255, 255, .12);
  --ok: #1f7a4d;
  --ok-bg: #e7f4ec;
  --warn: #8a5300;
  --warn-bg: #fdf1dc;
  --danger: #b42318;
  --danger-bg: #fdecea;

  --serif: 'Source Serif Display', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 72px;
  --r-s: 6px;
  --r: 10px;
  --r-l: 14px;
  --shadow-1: 0 1px 2px rgba(16, 26, 49, .06);
  --shadow-2: 0 18px 40px -22px rgba(16, 26, 49, .35);
  --shadow-3: 0 30px 60px -30px rgba(16, 26, 49, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 640px) { :root { --gutter: 20px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
@media (max-width: 640px) { body { font-size: 1rem; } }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
address { font-style: normal; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
h1, h2, .serif { font-family: var(--serif); font-weight: 520; letter-spacing: -.015em; }
h1 { font-weight: 560; }
h1 { font-size: clamp(2.2rem, 1.55rem + 2.3vw, 3.35rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.35vw, 2.55rem); line-height: 1.12; }
h3 { font-family: var(--sans); font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; }
h4 { font-family: var(--sans); font-size: 1rem; line-height: 1.35; font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--slate); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }
.section { padding: clamp(56px, 4.5vw + 28px, 104px) 0; }
.section--tight { padding: clamp(40px, 3vw + 20px, 64px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead { color: var(--on-dark); }
.section--ink a { color: #fff; }
.section--rule { border-top: 1px solid var(--line); }

/* Split section header: headline left, context right */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 3vw + 12px, 56px); }
.section-head h2 { margin: 0; max-width: 30ch; }
.section-head p { margin: 0; color: var(--slate); max-width: 52ch; }
.section--ink .section-head p { color: var(--on-dark); }
.section-head--stack { grid-template-columns: 1fr; align-items: start; }
.section-head--stack p { max-width: 64ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
.split > .col-5 { grid-column: span 5; } .split > .col-6 { grid-column: span 6; } .split > .col-7 { grid-column: span 7; } .split > .col-4 { grid-column: span 4; } .split > .col-8 { grid-column: span 8; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > [class^="col-"] { grid-column: auto; } }

.stack > * + * { margin-top: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-s);
  font-family: var(--sans); font-size: .975rem; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist-2); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover { color: var(--ink); text-decoration: underline; }
.link:hover svg { transform: translateX(3px); }
.section--ink .link { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16, 26, 49, .45); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
@media (max-width: 640px) { .brand img { height: 34px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: var(--r-s);
  background: none; color: var(--text); font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); background: var(--mist); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--navy); border-radius: var(--r-s) var(--r-s) 0 0; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 12px; }
.header-cta { display: none; }

/* Desktop mega panel */
.nav__item { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(16, 26, 49, .4);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; padding: 28px var(--gutter) 32px; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; list-style: none; }
.mega__list a { display: block; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.mega__list a:hover strong { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.mega__list strong { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.mega__list span { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.mega__aside { padding: 20px 22px; background: var(--mist); border-radius: var(--r); }
.mega__aside .mega__title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.mega__aside p { font-size: .9rem; color: var(--slate); margin-bottom: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-s); background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile & tablet navigation: a full-height sheet */
.mobile-quick { display: none; }
@media (max-width: 1119px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .28s var(--ease), visibility .28s;
  }
  .nav.is-open { clip-path: inset(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 1.125rem; font-weight: 500; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; }
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__link { box-shadow: none; color: var(--navy); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; }
  .nav__item.is-open > .mega { display: block; }
  .mega__inner { display: block; padding: 0 0 12px; }
  .mega__list { grid-template-columns: 1fr; gap: 0; }
  .mega__list a { padding: 12px 0 12px 14px; border-bottom: 0; border-left: 2px solid var(--line); }
  .mega__list a:hover { border-left-color: var(--navy); }
  .mega__aside { display: none; }
  .nav__cta { margin: 24px 0 0; width: 100%; }
  .mobile-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .mobile-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--r); font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; }
  .mobile-quick svg { width: 20px; height: 20px; color: var(--navy); }
}
@media (max-width: 359px) { .header-cta { display: none; } }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(40px, 4vw + 16px, 80px) 0 clamp(48px, 4vw + 20px, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 12fr) minmax(0, 11fr); gap: 56px; align-items: center; }
.hero__kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .9375rem; font-weight: 500; color: var(--slate); }
.hero__kicker img { width: 22px; height: 22px; }
.hero h1 { max-width: 19ch; margin-bottom: 22px; font-size: clamp(2.2rem, 1.5rem + 2.1vw, 3.15rem); }
.hero .lead { max-width: 50ch; margin-bottom: 30px; }
.hero__proof { display: grid; gap: 10px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero__proof li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--slate); }
.hero__proof svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 3px; }
@media (max-width: 1099px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 18ch; }
}

/* Hero entrance: one orchestrated moment */
.hero [data-rise] { animation: rise .7s var(--ease) both; }
.hero [data-rise="2"] { animation-delay: .08s; }
.hero [data-rise="3"] { animation-delay: .16s; }
.hero [data-rise="4"] { animation-delay: .24s; }
.hero [data-rise="5"] { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Hero backdrop: a light technology lattice (the ITJASPER gem inside a node network),
   a faint dot grid and a pale wash. Decorative only; it fades out before the text. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f2f7fc 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(36, 60, 129, .13) 1px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 80% 48%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 58% 80% at 80% 48%, #000 25%, transparent 78%); }
.hero__visual { position: relative; z-index: 0; }
.hero__art { position: absolute; inset: -24% -54% -24% -42%; z-index: -1; pointer-events: none;
  background: url("../img/v2/hero-network.svg") center / contain no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 4%, #000 34%);
  animation: hero-art 1.4s var(--ease) .15s both; }
@keyframes hero-art { from { opacity: 0; } to { opacity: 1; } }
.hero .blueprint { background: rgba(244, 246, 249, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--shadow-2); }
@media (max-width: 1099px) {
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 78%, #000 20%, transparent 75%);
                          mask-image: radial-gradient(ellipse 90% 55% at 50% 78%, #000 20%, transparent 75%); }
  .hero__art { inset: -16% -12%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%);
            mask-image: linear-gradient(180deg, transparent 0, #000 24%); }
  .hero .blueprint { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(244, 246, 249, .92); }
  /* With the card full width, a lighter copy of the lattice sits in the top corner instead */
  .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: -48px; right: -22%; width: min(640px, 110vw); aspect-ratio: 4 / 3;
    background: url("../img/v2/hero-network.svg") center / contain no-repeat; opacity: .6;
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 68% 34%, #000 28%, transparent 74%);
            mask-image: radial-gradient(ellipse 72% 70% at 68% 34%, #000 28%, transparent 74%);
    animation: hero-art 1.4s var(--ease) .15s both; }
}
@media (max-width: 640px) {
  .hero::after { top: -112px; right: -34%; width: 120vw; opacity: .5; }
}

/* ---------- System blueprint (hero visual) ---------- */
.blueprint { position: relative; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.blueprint__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.blueprint__title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.blueprint__title strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; color: var(--ink); letter-spacing: -.01em; }
.blueprint__title span { font-size: .875rem; color: var(--muted); }
.blueprint__live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; white-space: nowrap; }
.blueprint__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 122, 77, .15); }
.blueprint__live:hover { border-color: var(--ink); color: var(--ink); }
.bp-label { margin: 0 0 8px; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.bp-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bp-app { position: relative; padding: 12px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.bp-app svg { width: 20px; height: 20px; color: var(--navy); margin-bottom: 8px; }
.bp-app strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.bp-app span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.bp-app::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 1px; height: 10px; background: var(--line-2); }
.bp-core { position: relative; margin: 10px 0; padding: 14px 16px; background: var(--ink); color: #fff; border-radius: var(--r); display: flex; align-items: center; gap: 14px; }
.bp-core svg { width: 22px; height: 22px; color: var(--azure); flex: none; }
.bp-core strong { display: block; font-size: .9375rem; font-weight: 600; }
.bp-core span { display: block; font-size: .8125rem; color: var(--on-dark); }
.bp-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bp-service { position: relative; padding: 10px 10px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-s); font-size: .8125rem; line-height: 1.35; color: var(--text); font-weight: 500; }
.bp-service::before { content: ""; position: absolute; left: 50%; top: -11px; width: 1px; height: 10px; background: var(--line-2); }
.bp-flow { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bp-track { position: relative; }
.bp-track::before { content: ""; position: absolute; left: 6px; right: calc(25% - 25px); top: 6px; height: 2px; background: var(--line-2); }
.bp-steps__bar { position: absolute; z-index: 1; left: 6px; top: 6px; height: 2px; background: var(--navy); width: 0; transition: width .6s var(--ease); }
.bp-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; }
.bp-steps li { position: relative; padding-top: 22px; font-size: .8125rem; line-height: 1.35; color: var(--muted); font-weight: 500; transition: color .3s; }
.bp-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: border-color .3s, background .3s, box-shadow .3s; }
.bp-steps li.is-done { color: var(--text); }
.bp-steps li.is-done::before { border-color: var(--navy); background: var(--navy); }
.bp-steps li.is-active { color: var(--ink); font-weight: 600; }
.bp-steps li.is-active::before { border-color: var(--azure); background: #fff; box-shadow: 0 0 0 4px rgba(26, 155, 215, .18); }
.blueprint__caption { margin: 14px 2px 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 560px) {
  .blueprint { padding: 16px; }
  .bp-app { padding: 10px; }
  .bp-app span { display: none; }
  .bp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-service:nth-child(n+3)::before { display: none; }
  .bp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bp-steps li { font-size: .75rem; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.trust__label { margin: 0; font-size: .9375rem; color: var(--slate); line-height: 1.45; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; list-style: none; }
.trust__logos img { height: 36px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.trust__logos img.is-tall { height: 56px; }
.trust__logos img:hover { filter: none; opacity: 1; }
@media (max-width: 800px) { .trust__inner { grid-template-columns: 1fr; } .trust__logos { gap: 16px 28px; } .trust__logos img { height: 30px; max-width: 112px; } .trust__logos img.is-tall { height: 46px; } }

/* ---------- Company story (2 x 2 with hairlines) ---------- */
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.story > div { padding: 28px 32px 30px 0; border-bottom: 1px solid var(--line); }
.story > div:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.story h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 520; letter-spacing: -.01em; margin-bottom: 10px; }
.story p { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .story > div, .story > div:nth-child(even) { padding: 24px 0; border-left: 0; } }

/* ---------- Capability index (custom software) ---------- */
.cap-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; list-style: none; border-top: 1px solid var(--line); }
.cap-index li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cap-index svg { width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.cap-index h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.cap-index p { margin: 0; font-size: .95rem; color: var(--slate); line-height: 1.55; }
@media (max-width: 760px) { .cap-index { grid-template-columns: 1fr; } }

.solution-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.solution-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.solution-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 520; letter-spacing: -.01em; margin: 0; }
.solution-card p { margin: 0; color: var(--slate); }
.solution-card .link { margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) { .solution-pair { grid-template-columns: 1fr; } }

/* ---------- Product plates ---------- */
.plate { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.plate:first-of-type { border-top: 0; padding-top: 0; }
.plate--flip .plate__visual { order: 2; }
.plate__id { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.plate__mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); background: var(--ink); color: #fff; flex: none; }
.plate__mark svg { width: 22px; height: 22px; }
.plate__name { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 520; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.plate__id > div > span { display: block; font-size: .875rem; color: var(--muted); }
.plate__id .plate__name { color: var(--ink); margin: 0; max-width: none; }
.plate__problem { font-size: 1.0625rem; color: var(--text); margin-bottom: 10px; }
.plate__solution { color: var(--slate); margin-bottom: 22px; }
.plate__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0 0 22px; list-style: none; }
.plate__facts li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); line-height: 1.45; }
.plate__facts svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 2px; }
.plate__for { margin: 0 0 24px; font-size: .9rem; color: var(--slate); }
.plate__for strong { color: var(--ink); }
@media (max-width: 980px) { .plate { grid-template-columns: 1fr; gap: 28px; } .plate--flip .plate__visual { order: 0; } }
@media (max-width: 560px) { .plate__facts { grid-template-columns: 1fr; } }

.product-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 16px 40px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.product-row h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 520; margin: 0; letter-spacing: -.01em; }
.product-row p { margin: 0; color: var(--slate); font-size: .975rem; }
.product-row .small { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 800px) { .product-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Frames for real screenshots ---------- */
.shot { position: relative; }
.shot__browser { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--shadow-2); }
.shot__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: .8125rem; color: var(--muted); }
.shot__bar svg { width: 14px; height: 14px; color: var(--ok); }
.shot__browser img { width: 100%; }
.shot__card { position: absolute; right: -14px; bottom: -28px; width: 38%; max-width: 230px; border-radius: 14px; box-shadow: var(--shadow-3); background: #fff; }
.shot__caption { margin-top: 14px; font-size: .875rem; color: var(--muted); }
@media (max-width: 560px) { .shot__card { right: -6px; bottom: -20px; width: 42%; } }

/* ---------- UI previews (product mockups, built in HTML) ---------- */
.ui { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; font-size: .8125rem; color: var(--text); }
.ui__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--mist); }
.ui__bar strong { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.ui__bar span { font-size: .75rem; color: var(--muted); }
.ui__body { padding: 14px; }
.ui-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.6; background: var(--mist-2); color: var(--slate); white-space: nowrap; }
.ui-pill--ok { background: var(--ok-bg); color: var(--ok); }
.ui-pill--warn { background: var(--warn-bg); color: var(--warn); }
.ui-pill--info { background: #e6f2fa; color: var(--azure-ink); }
.ui-pill--ink { background: var(--ink); color: #fff; }

/* POS illustration (follows the product's billing screen) */
.pos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pos__menu { padding: 12px; border-right: 1px solid var(--line); min-width: 0; }
.pos__tools { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px; }
.pos__search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos__search svg { width: 12px; height: 12px; flex: none; }
.pos__search span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos__open { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: .72rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pos__open b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--warn-bg); color: var(--warn); font-size: .68rem; }
.pos__cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.pos__cats span { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .68rem; color: var(--slate); white-space: nowrap; }
.pos__cats .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dish { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 64px; padding: 18px 7px 6px 9px; border: 1px solid var(--line); border-left: 3px solid #2f8f5b; border-radius: 6px; background: #fff; }
.dish span { font-size: .72rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.dish b { font-size: .7rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.dish i { position: absolute; top: 4px; right: 4px; padding: 0 4px; border-radius: 3px; background: var(--warn-bg); color: var(--warn); font-style: normal; font-size: .58rem; font-weight: 600; line-height: 1.6; }
.dish--nonveg { border-left-color: #c0392b; }
.dish--egg { border-left-color: #d4a017; }
.pos__side { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.kot { border: 1px dashed var(--line-2); border-radius: 8px; padding: 10px 12px; background: #fff; }
.kot__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.kot ul { list-style: none; display: grid; gap: 4px; }
.kot li { display: flex; justify-content: space-between; gap: 8px; }
.kot li b { font-weight: 600; color: var(--ink); }
.bill { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.bill__row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; color: var(--slate); }
.bill__row--total { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.bill__actions { display: flex; gap: 6px; margin-top: 8px; }
.bill__actions span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 6px; font-weight: 600; font-size: .75rem; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.bill__actions span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 520px) { .pos { grid-template-columns: 1fr; } .pos__menu { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 360px) { .pos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hotel preview */
.rooms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.room { padding: 8px 4px; border-radius: 6px; text-align: center; font-weight: 600; font-size: .75rem; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.room--res { background: #e6f2fa; border-color: #bcdcf0; }
.room--occ { background: var(--ink); border-color: var(--ink); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.legend .l-res { background: #e6f2fa; border-color: #bcdcf0; } .legend .l-occ { background: var(--ink); border-color: var(--ink); }

/* Generic status track preview (laundry / rental) */
.track { display: grid; gap: 8px; }
.track__row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.track__row b { font-weight: 600; color: var(--ink); }
.track__row span { color: var(--muted); }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.case > div { padding: 22px 24px 4px 0; }
.case > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.case h3 { font-size: .9375rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.case p { margin: 0 0 12px; color: var(--text); font-size: .975rem; }
@media (max-width: 980px) { .case { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case > div:nth-child(3) { padding-left: 0; border-left: 0; } .case > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .case { grid-template-columns: 1fr; } .case > div, .case > div + div { padding: 18px 0 6px; border-left: 0; } .case > div + div { border-top: 1px solid var(--line); } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.facts li { padding: 22px 20px 22px 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.75rem; font-weight: 520; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.facts span { display: block; margin-top: 6px; font-size: .875rem; color: var(--slate); line-height: 1.45; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { padding-left: 0; border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Engineering process (dark band) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark); }
.process li { position: relative; padding: 34px 18px 0 0; counter-increment: step; }
.process li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 2px solid var(--azure); }
.process__num { display: block; font-size: .8125rem; font-weight: 600; color: var(--azure); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.process h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.process__what { display: block; font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.process p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--on-dark); }
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .process::before { display: none; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { padding: 0 0 26px 34px; }
  .process li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--line-dark); }
  .process li:last-child::after { display: none; }
}
/* Light variant of the process list (used on inner pages) */
.process--light::before { background: var(--line); }
.process--light li::before { background: #fff; border-color: var(--navy); }
.process--light .process__num { color: var(--azure-ink); }
.process--light h3, .process--light .process__what { color: var(--ink); }
.process--light p { color: var(--slate); }
@media (max-width: 640px) { .process--light li::after { background: var(--line); } }

/* ---------- Technology matrix ---------- */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.tech > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.tech h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.tech p { margin: 0 0 10px; color: var(--slate); font-size: .95rem; line-height: 1.55; }
.tech__tools { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
@media (max-width: 980px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tech { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind-list { list-style: none; border-top: 1px solid var(--line); }
.ind-list li { border-bottom: 1px solid var(--line); }
.ind-list a, .ind-list .ind-row { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 6fr) 24px; gap: 20px; align-items: center; padding: 22px 0; color: var(--text); text-decoration: none; }
.ind-list svg.ind-ico { width: 28px; height: 28px; color: var(--navy); }
.ind-list h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; margin: 0; letter-spacing: -.01em; }
.ind-list p { margin: 0; color: var(--slate); font-size: .975rem; }
.ind-list .go { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.ind-list a:hover h3 { color: var(--navy); }
.ind-list a:hover .go { transform: translateX(4px); color: var(--navy); }
@media (max-width: 760px) {
  .ind-list a, .ind-list .ind-row { grid-template-columns: 36px 1fr 20px; grid-template-areas: "ico title go" "ico text go"; gap: 4px 14px; }
  .ind-list svg.ind-ico { grid-area: ico; width: 24px; height: 24px; align-self: start; margin-top: 4px; }
  .ind-list h3 { grid-area: title; font-size: 1.2rem; }
  .ind-list p { grid-area: text; }
  .ind-list .go { grid-area: go; }
}

/* Industry detail blocks (industries.php) */
.ind-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; padding: 48px 0; border-top: 1px solid var(--line); }
.ind-detail:first-of-type { border-top: 0; padding-top: 0; }
.ind-detail h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 12px; }
.ind-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ind-steps > div { padding: 16px 0; border-top: 1px solid var(--line); }
.ind-steps h3 { font-size: .9375rem; color: var(--muted); margin-bottom: 4px; }
.ind-steps p { margin: 0; color: var(--text); }
@media (max-width: 900px) { .ind-detail { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ind-steps { grid-template-columns: 1fr; } }

/* ---------- Why ITJASPER ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; }
.why li { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--line); }
.why li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.why svg { width: 24px; height: 24px; color: var(--navy); margin-bottom: 14px; }
.why h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.why p { margin: 0; font-size: .95rem; color: var(--slate); line-height: 1.55; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why li, .why li:not(:nth-child(4n+1)) { padding: 24px 24px 26px 0; border-left: 0; } .why li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why li, .why li:nth-child(even) { padding: 22px 0; border-left: 0; } }

/* ---------- CTA panel ---------- */
.section:not(.section--mist):not(.section--ink) + .section--cta { padding-top: 0; }
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; padding: clamp(32px, 3vw + 16px, 56px); border-radius: var(--r-l); background: var(--ink); color: var(--on-dark); }
.cta h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta p { margin: 0; max-width: 54ch; }
.cta__actions { display: grid; gap: 12px; justify-items: start; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.cta__contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta__contact a:hover { text-decoration: underline; }
.cta__contact svg { width: 16px; height: 16px; color: var(--azure); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(36px, 3vw + 16px, 64px) 0 clamp(40px, 3vw + 20px, 72px); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.page-hero h1 { margin-bottom: 18px; max-width: 24ch; font-size: clamp(2.1rem, 1.5rem + 1.9vw, 3.05rem); }
.page-hero .lead { margin: 0; max-width: 56ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero__aside { padding: 22px 24px; border-left: 2px solid var(--navy); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; }
.page-hero__aside h2 { font-family: var(--sans); font-size: .9375rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); letter-spacing: 0; }
.page-hero__aside ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--slate); }
.page-hero__aside li { display: flex; gap: 10px; }
.page-hero__aside svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; align-items: start; } }

.page-hero--product .page-hero__grid { align-items: center; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
@media (max-width: 980px) { .page-hero--product .page-hero__grid { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Generic content blocks ---------- */
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 4px; }
.feature-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 640px) { .feature-list--2 { grid-template-columns: 1fr; } }

.panel { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.panel--mist { background: var(--mist); border-color: transparent; }
.panel h3 { margin-bottom: 8px; }
.panel p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Module columns (SQ-Wash) */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.modules > div { padding: 22px 24px 24px 0; }
.modules > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.modules h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 520; margin-bottom: 2px; letter-spacing: -.01em; }
.modules .muted { display: block; font-size: .875rem; margin-bottom: 12px; }
.modules ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--slate); }
.modules li { padding-left: 16px; position: relative; }
.modules li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--navy); }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr; } .modules > div, .modules > div + div { padding: 20px 0; border-left: 0; } .modules > div + div { border-top: 1px solid var(--line); } }

/* Flow (numbered — used only for real sequences) */
.flow { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); counter-reset: flow; }
.flow li { position: relative; padding: 22px 20px 4px 0; counter-increment: flow; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: .8125rem; font-weight: 600; color: var(--azure-ink); font-variant-numeric: tabular-nums; }
.flow h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.flow p { margin: 0 0 12px; font-size: .95rem; color: var(--slate); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li:nth-child(odd) { padding-left: 0; border-left: 0; } .flow li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li + li { padding: 18px 0 4px; border-left: 0; } .flow li + li { border-top: 1px solid var(--line); } }

/* Definition-style rows (capability detail) */
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0; font-size: 1.0625rem; }
.rows p, .rows ul { margin: 0; color: var(--slate); }
.rows ul { list-style: none; display: grid; gap: 6px; }
@media (max-width: 760px) { .rows > div { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { padding: clamp(22px, 2.5vw + 8px, 40px); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-1); }
.form-card > h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin-bottom: 6px; }
.form-card > p { color: var(--slate); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field .err { display: none; font-size: .8125rem; color: var(--danger); font-weight: 500; }
.field.has-error .err { display: block; }
.field.has-error .input { border-color: var(--danger); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s);
  background: #fff; color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 6l5 5 5-5' stroke='%2349536b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder { color: #8b93a7; }
.input:hover { border-color: #aab4c4; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36, 60, 129, .14); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); font-size: .925rem; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.choice input:hover + span { border-color: #aab4c4; }
.choice input:checked + span { border-color: var(--navy); background: #eef2fa; color: var(--ink); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form-foot .small { color: var(--muted); max-width: 46ch; }
.recaptcha-wrap { margin-top: 18px; min-height: 78px; }
@media (max-width: 360px) { .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }
.counter { justify-self: end; font-size: .75rem; color: var(--muted); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border-radius: var(--r-s); border: 1px solid; font-size: .95rem; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert p { margin: 0; }
.alert strong { display: block; margin-bottom: 2px; }
.alert--success { background: var(--ok-bg); border-color: #b5dcc4; color: #0f5133; }
.alert--error { background: var(--danger-bg); border-color: #f4b8b2; color: #7d1810; }

/* "What happens next" list */
.next { list-style: none; counter-reset: nx; display: grid; gap: 0; border-top: 1px solid var(--line); }
.next li { counter-increment: nx; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next li::before { content: counter(nx); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .875rem; font-weight: 600; color: var(--ink); }
.next h3 { font-size: 1rem; margin-bottom: 2px; }
.next p { margin: 0; font-size: .95rem; color: var(--slate); }

/* Contact details list */
.contact-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }
.contact-list strong { display: block; font-size: .9375rem; color: var(--ink); }
.contact-list span, .contact-list address { display: block; font-size: .95rem; color: var(--slate); }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 360px; border: 0; }

/* ---------- Careers ---------- */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 12px 32px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; margin: 0 0 4px; letter-spacing: -.01em; }
.job p { margin: 0; color: var(--slate); font-size: .95rem; }
.job p b, .job p strong { color: var(--ink); }
@media (max-width: 800px) { .job { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.posts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.post-card { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.post-card .meta { font-size: .8125rem; color: var(--muted); }
.post-card h2, .post-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 520; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--navy); text-decoration: underline; }
.post-card p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--navy); color: var(--slate); font-style: italic; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--mist-2); font-size: .9em; }
.prose a { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: .9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px 32px; padding: clamp(48px, 4vw + 24px, 80px) 0 48px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 18px 0 20px; color: var(--on-dark); max-width: 36ch; line-height: 1.6; }
.footer-brand address { color: var(--on-dark-2); line-height: 1.6; }
.footer-brand .contacts { display: grid; gap: 4px; margin-top: 12px; }
.footer-col h2 { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: #fff; margin: 0 0 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta, .nav-toggle, .header-cta { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; }
}

/* Small utilities */
.section-foot { margin: 28px 0 0; }

/* ---------- In-page navigation (long pages) ---------- */
.subnav { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 12px 32px; }
.subnav__label { flex: none; font-size: .875rem; color: var(--muted); }
.subnav ul { display: flex; gap: 0 28px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 15px 0 13px; border-bottom: 2px solid transparent; font-size: .9375rem; font-weight: 500; color: var(--slate); text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--navy); }
@media (min-width: 900px) { .subnav { position: sticky; top: var(--header-h); } html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); } }
@media (max-width: 640px) { .subnav__label { display: none; } }

/* ---------- Real screens, side by side ---------- */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.screen__frame { border: 1px solid var(--line-2); border-radius: var(--r-l); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-2); }
.screen__frame img { width: 100%; }
.screen figcaption { margin-top: 14px; font-size: .925rem; color: var(--slate); line-height: 1.55; }
.screen figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .screens { grid-template-columns: 1fr; } }

/* Caption under an illustrative UI preview */
.ui-note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.5; }

/* ---------- Capability groups ---------- */
.cap-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.cap-groups > div { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.cap-groups h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 10px; }
.cap-groups h3 svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.cap-groups ul { list-style: none; display: grid; gap: 7px; font-size: .95rem; color: var(--slate); line-height: 1.5; }
.cap-groups li { position: relative; padding-left: 16px; }
.cap-groups li::before { content: ""; position: absolute; left: 0; top: .74em; width: 6px; height: 1px; background: var(--navy); }
@media (max-width: 980px) { .cap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-groups { grid-template-columns: 1fr; } }

/* ---------- Comparison table (stacks on small screens) ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mist); font-size: .875rem; font-weight: 600; color: var(--slate); padding-top: 14px; padding-bottom: 14px; }
.compare tbody th { width: 20%; font-weight: 400; }
.compare tbody th a { font-family: var(--serif); font-size: 1.25rem; font-weight: 520; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.compare tbody th a:hover { color: var(--navy); text-decoration: underline; }
.compare tbody th span { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.compare td { color: var(--slate); }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 820px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 10px; }
  .compare td { padding: 6px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); }
}

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 56px; align-items: start; }
.contact-aside { display: grid; gap: 32px; }
@media (min-width: 981px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); margin-bottom: 14px; }
.form-section { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section + .form-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-section > legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.form-section > legend + * { clear: both; }

/* ---------- Empty state ---------- */
.empty { padding: clamp(28px, 3vw + 12px, 48px); border: 1px dashed var(--line-2); border-radius: var(--r-l); background: var(--mist); }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--slate); max-width: 60ch; }
.empty p:last-child { margin-bottom: 0; }

/* ---------- Article / legal ---------- */
.article-head { padding: clamp(36px, 3vw + 16px, 64px) 0 clamp(28px, 2vw + 16px, 44px); border-bottom: 1px solid var(--line); }
.article-head h1 { max-width: 24ch; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 64px; align-items: start; }
.article-layout aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-layout aside { position: static; } }
.toc { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); font-size: .925rem; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--navy); }

/* ---------- Diagram: generic system architecture (reuses blueprint parts) ---------- */
.blueprint--plain .blueprint__head { padding-bottom: 14px; margin-bottom: 16px; }
.bp-apps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .bp-apps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-apps--4 .bp-app:nth-child(n+3)::after { display: none; } }

/* ---------- Small text helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .9375rem; font-weight: 500; color: var(--slate); }
.kicker svg { width: 20px; height: 20px; color: var(--navy); }
.lede-2 { color: var(--slate); }
.subhead { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 520; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); margin: 0 0 16px; }
.mt-xl { margin-top: clamp(48px, 4vw + 16px, 80px); }
.mt-l { margin-top: 32px; }
.mt-0 { margin-top: 0 !important; }
.flow--3 { --steps: 3; }
.flow--4 { --steps: 4; }
.flow h4 { font-size: 1.0625rem; margin-bottom: 6px; }
.rows h4 { margin: 0; }
@media (max-width: 899px) { .subnav ul { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 24px; } }

/* UI preview: small list and date strip */
.ui-list { margin-top: 14px; border-top: 1px solid var(--line); }
.ui-list__head, .ui-list__row { display: grid; grid-template-columns: 52px 1fr 1fr auto; gap: 8px; align-items: center; padding: 8px 2px; }
.ui-list__head { font-size: .7rem; font-weight: 600; color: var(--muted); }
.ui-list__row { border-top: 1px solid var(--line); color: var(--slate); }
.ui-list__row b { font-weight: 600; color: var(--ink); }
.ui-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ui-dates > div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); }
.ui-dates span { display: block; font-size: .7rem; color: var(--muted); }
.ui-dates b { display: block; font-weight: 600; color: var(--ink); }
@media (max-width: 420px) { .ui-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ui-list__head, .ui-list__row { grid-template-columns: 40px 1fr auto; } .ui-list__head span:nth-child(3), .ui-list__row span:nth-child(3) { display: none; } }
.compare td .link { white-space: nowrap; }
.section--tight + .section { padding-top: clamp(40px, 3vw + 20px, 72px); }

.ind-steps h4 { font-size: .9375rem; color: var(--muted); margin-bottom: 4px; }
.ind-detail .subhead { margin-top: 4px; }
.why h4 { font-size: 1.0625rem; margin-bottom: 6px; }
.group-mark { display: grid; place-items: center; min-height: 220px; padding: 32px; border-radius: var(--r-l); background: var(--ink); }
.group-mark img { width: 190px; height: auto; }
@media (max-width: 400px) { .track__row { grid-template-columns: minmax(0, 1fr) auto; } .track__row > span:not(.ui-pill) { display: none; } }
