/* ============================================================================
   MGR Infotech — Comprehensive IT Services & Equipment Solutions
   Design system v5 — clean, light, corporate. Real photography.
   Self-hosted fonts, no build step. mgr.nimblestride.ca
   ========================================================================== */

:root {
  /* Surfaces (light) */
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-tint: #eef3fb;
  --panel: #ffffff;
  --line: #e4eaf3;
  --line-2: #eef2f8;

  /* Ink */
  --ink: #0d1526;
  --ink-2: #3b4557;
  --ink-3: #697488;
  --ink-4: #98a1b3;

  /* Brand — MGR cyan → indigo */
  --brand: #2c5fe0;          /* primary (buttons/links) */
  --brand-700: #1f47c0;
  --brand-300: #7ea2f5;
  --cyan: #17c9d6;
  --indigo: #5b6ee6;
  --grad: linear-gradient(120deg, #17c9d6 0%, #3b7ae6 52%, #5b6ee6 100%);
  --grad-btn: linear-gradient(120deg, #2f6be6 0%, #4f57e0 100%);

  /* Icon tiles */
  --icon-tint: linear-gradient(135deg, #e6f3ff, #ecebff);
  --icon-tint-bd: #d9e6fb;
  --icon-glyph: #2b57d6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(13,21,38,.05), 0 1px 3px rgba(13,21,38,.06);
  --shadow: 0 12px 34px -14px rgba(13,30,70,.18);
  --shadow-lg: 0 30px 70px -26px rgba(13,30,70,.30);

  --maxw: 1400px;
  /* Typography — Microsoft Segoe UI system stack (see assets/fonts.css) */
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", SegoeUI, system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", SegoeUI, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg);
  line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.012em; margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(44,95,224,.16); }

/* ---- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 58px 0; position: relative; }
.section.tight { padding: 38px 0; }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
.section.soft { background: var(--bg-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(27px, 3.4vw, 40px); margin: 11px 0 10px; }
.section-head p { color: var(--ink-3); font-size: 17px; }

.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Buttons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 650; font-size: 15px; transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(44,95,224,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(44,95,224,.7); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-tint); border-color: var(--brand-300); color: var(--brand-700); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-onaccent { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-onaccent:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* ---- Navbar --------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 22px -16px rgba(13,30,70,.3); }
.nav-inner { display: flex; align-items: center; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 13px; border-radius: 9px; font-size: 15px; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: color .16s ease, background .16s ease; }
.nav-links a:hover, .nav-links a.active-link { color: var(--brand-700); background: var(--bg-tint); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--brand); }
.nav-phone:hover { color: var(--brand-700); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

.mobile-menu { position: fixed; inset: 74px 0 auto 0; z-index: 55; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 24px; box-shadow: var(--shadow-lg); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 13px 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { padding: 112px 0 52px; position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 88% -10%, #eaf1ff 0%, transparent 60%), linear-gradient(180deg, #f7faff, #ffffff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 650; box-shadow: var(--shadow-xs); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.hero h1 { font-size: clamp(33px, 4.8vw, 56px); margin: 14px 0 14px; letter-spacing: -.035em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 17.5px; color: var(--ink-3); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; color: var(--ink-3); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #1bb27a; }

/* Hero media */
.hero-media { position: relative; }
.hero-media { max-width: 520px; margin-left: auto; }
.hero-media .figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.hero-media .figure img { width: 100%; height: 100%; object-fit: cover; }
.float-stat { position: absolute; left: -22px; bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; }
.float-stat .fic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.float-stat .fic svg { width: 22px; height: 22px; }
.float-stat .fn { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.float-stat .fl { font-size: 12.5px; color: var(--ink-3); }
.hero-badge { position: absolute; top: 20px; right: -16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 700; font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.hero-badge .dot2 { width: 9px; height: 9px; border-radius: 50%; background: #1bb27a; box-shadow: 0 0 0 4px rgba(27,178,122,.16); }

/* ---- Logo strip ----------------------------------------------------------- */
.logostrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); padding: 22px 0; }
.logostrip .wrap { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; justify-content: center; }
.logostrip .lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-4); }
.logostrip .chip { font-family: var(--font-display); font-weight: 600; color: var(--ink-3); font-size: 15.5px; }

/* ---- Stats ---------------------------------------------------------------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.statband .stat { text-align: center; padding: 8px; }
.statband .n { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statband .l { color: var(--ink-3); font-size: 14px; margin-top: 6px; }

/* ---- Cards / services ----------------------------------------------------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .24s ease, border-color .2s ease; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d5e0f2; }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--icon-tint); color: var(--icon-glyph); border: 1px solid var(--icon-tint-bd); transition: background .22s ease, color .22s ease, border-color .22s ease; }
.ic svg { width: 24px; height: 24px; }
.card .ic { margin-bottom: 18px; }
.card:hover .ic { background: var(--grad-btn); color: #fff; border-color: transparent; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-3); font-size: 14.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: 12px; font-weight: 600; color: var(--brand-700); background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; }

/* ---- Feature split (photo bands) ----------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 16px; }
.split-copy p { color: var(--ink-3); font-size: 16.5px; margin-bottom: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--ink-2); font-size: 15.5px; }
.checklist svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---- Products ------------------------------------------------------------- */
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .24s ease; display: flex; flex-direction: column; }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod-media { height: 132px; display: grid; place-items: center; position: relative; color: var(--brand); background: linear-gradient(150deg, #eef3fb, #e7effe); border-bottom: 1px solid var(--line); }
.prod-media svg { width: 56px; height: 56px; }
.prod-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--brand-700); border: 1px solid var(--line); }
.prod-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.prod-body p { color: var(--ink-3); font-size: 14px; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.prod-price { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand-700); }
.prod-link { font-size: 13.5px; font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 5px; transition: gap .16s ease; }
.prod:hover .prod-link { gap: 9px; }

.chips-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips-row .tag { font-size: 13.5px; padding: 9px 18px; }

/* ---- Industry tabs -------------------------------------------------------- */
.tabbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; justify-content: center; }
.tabbtn { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: all .16s ease; }
.tabbtn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.tabbtn.active { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(44,95,224,.6); }
.tabpanel { display: none; }
.tabpanel.active { display: block; animation: fadeUp .3s ease; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
.panel-inner { display: grid; grid-template-columns: 1.1fr .9fr; }
.panel-copy { padding: 40px; }
.panel-copy h3 { font-size: 24px; margin-bottom: 12px; }
.panel-copy p { color: var(--ink-3); font-size: 15.5px; margin-bottom: 18px; }
.panel-side { background: linear-gradient(160deg, #f3f7ff, #e9f0fd); border-left: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.metric-row { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.metric-row .big { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--brand-700); }
.metric-row .cap { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }

/* ---- Nimblestride (accent band) ------------------------------------------ */
.subsid { position: relative; overflow: hidden; color: #fff; background: radial-gradient(700px 400px at 85% 0%, rgba(23,201,214,.28), transparent 60%), linear-gradient(135deg, #182a63 0%, #101a3f 100%); }
.subsid .eyebrow { color: #7fe3ec; }
.subsid .eyebrow::before { background: linear-gradient(120deg,#17c9d6,#7ea2f5); }
.subsid .section-head h2 { color: #fff; }
.subsid .section-head p { color: #b9c6e8; }
.family { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: #d3ddf4; font-weight: 600; }
.family b { color: #fff; font-family: var(--font-display); }
.family .arw { color: #7fe3ec; font-weight: 800; }
.ns-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.ns-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); border-color: rgba(127,163,245,.5); }
.ns-card .ic { background: rgba(127,180,255,.16); border-color: rgba(127,180,255,.28); color: #9fd4ff; margin-bottom: 16px; }
.ns-card h3 { color: #fff; font-size: 19px; margin-bottom: 7px; }
.ns-card p { color: #b9c6e8; font-size: 14.5px; }
.ns-card .who { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8ea6d8; }

/* ---- Org / coverage ------------------------------------------------------- */
.vision { max-width: 780px; margin: 0 auto 52px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-xs); }
.vision .q { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.42; color: var(--ink); margin-top: 14px; }
.vision .sub { color: var(--ink-3); font-size: 15px; margin-top: 12px; }
.org { display: flex; flex-direction: column; align-items: center; }
.org-node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; text-align: center; box-shadow: var(--shadow-xs); min-width: 250px; }
.org-node.parent { border-color: var(--brand-300); box-shadow: 0 0 0 4px rgba(44,95,224,.08), var(--shadow); }
.org-node .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.org-node .name { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 5px 0 4px; }
.org-node .desc { font-size: 13.5px; color: var(--ink-3); }
.org-connector { width: 2px; height: 36px; background: linear-gradient(var(--brand-300), var(--line)); }
.org-children { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
.org-branch { display: flex; flex-direction: column; align-items: center; }
.prov { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prov-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .24s ease; }
.prov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prov-card .abbr { font-family: var(--font-display); font-size: 30px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prov-card .full { font-weight: 700; margin-top: 4px; color: var(--ink); }
.prov-card .sm { font-size: 12.5px; color: var(--ink-4); margin-top: 3px; }

/* ---- Process -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 20px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--brand); }
.step .bar { height: 3px; background: var(--line); border-radius: 3px; margin: 12px 0 16px; overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width 1s ease; }
.step h3 { font-size: 18px; margin-bottom: 7px; }
.step p { color: var(--ink-3); font-size: 14.5px; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .2s ease; }
.faq-item.open { border-color: var(--brand-300); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; width: 100%; background: none; border: 0; text-align: left; color: var(--ink); }
.faq-q .chev { flex: none; width: 22px; height: 22px; transition: transform .25s ease; color: var(--ink-4); }
.faq-item.open .chev { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--ink-3); font-size: 15px; }

/* ---- CTA band (photo + overlay) ------------------------------------------ */
.cta { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #182a63, #101a3f); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 340px at 82% 30%, rgba(23,201,214,.3), transparent 60%); }
.cta .wrap { position: relative; z-index: 2; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta p { color: #c2cdec; font-size: 18px; max-width: 600px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ic { width: 46px; height: 46px; flex: none; }
.contact-info .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-4); font-weight: 700; }
.contact-info .v { font-weight: 650; font-size: 15.5px; color: var(--ink); }
.contact-info .v a:hover { color: var(--brand-700); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13.5px; font-weight: 650; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-300); background: #fff; box-shadow: 0 0 0 4px rgba(44,95,224,.12); }
.field textarea { resize: vertical; min-height: 108px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--ink-4); margin-top: 4px; }
.form-success { display: none; background: #e8f7f0; border: 1px solid #9ae0c2; color: #0d7a52; padding: 13px 15px; border-radius: 10px; font-weight: 600; font-size: 14.5px; margin-top: 8px; }
.form-success.show { display: block; }

/* ---- Footer --------------------------------------------------------------- */
.footer { background: #0b1226; color: #97a3c0; padding: 62px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 15px; font-weight: 700; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14.5px; transition: color .15s ease; }
.footer a:hover { color: #7fe3ec; }
.footer .blurb { font-size: 14.5px; max-width: 320px; margin-bottom: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: 13px; color: #6b7699; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .2s ease, transform .2s ease, color .2s ease; }
.footer-bottom .socials a:hover { background: var(--grad-btn); color: #fff; transform: translateY(-2px); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* Footer legal row + disclaimer */
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px; }
.legal-links a { font-size: 13.5px; color: #b9c6e8; padding: 5px 11px; border-radius: 8px; }
.legal-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #b9c6e8; }
.footer-mail svg { width: 16px; height: 16px; }
.footer-mail:hover { color: #7fe3ec; }
.footer-bottom .footer-note { color: #6b7699; font-size: 12px; max-width: 560px; margin: 0; }
.footer-bottom .footer-note a { color: #97a3c0; text-decoration: underline; }

/* Long-form legal / policy pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16.5px; margin: 20px 0 6px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; line-height: 1.62; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; padding-left: 4px; }
.legal ul li { position: relative; padding-left: 20px; margin-bottom: 7px; list-style: none; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal a { color: var(--brand-700); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal .updated { display: inline-block; font-size: 13px; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 8px; }
.legal .callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 14px; color: var(--ink-2); }

/* ---- Interactive: Plan builder ------------------------------------------- */
.planner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.planner-form { display: flex; flex-direction: column; gap: 22px; }
.pf-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.pf-hint { color: var(--ink-4); font-weight: 500; font-size: 13px; }
.pf-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-opt { padding: 11px 18px; border: 1px solid var(--line); background: #fff; border-radius: 11px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: all .16s ease; }
.pf-opt:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pf-opt.active { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(44,95,224,.6); }
.pf-chip { padding: 10px 15px 10px 13px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 9px; transition: all .16s ease; }
.pf-chip .box { width: 17px; height: 17px; border-radius: 6px; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; transition: all .16s ease; }
.pf-chip .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .12s ease; }
.pf-chip:hover { border-color: var(--brand-300); }
.pf-chip.active { color: var(--brand-700); background: var(--bg-tint); border-color: var(--brand-300); }
.pf-chip.active .box { background: var(--brand); border-color: var(--brand); }
.pf-chip.active .box svg { opacity: 1; }
.planner-result { background: linear-gradient(162deg, #16295f, #0c1533); border-radius: var(--radius); padding: 26px; color: #fff; display: flex; flex-direction: column; }
.pr-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #8fd0ff; font-weight: 700; }
.pr-name { font-family: var(--font-display); font-size: 23px; font-weight: 700; margin: 6px 0 4px; transition: opacity .2s ease; }
.pr-sub { font-size: 13.5px; color: #b9c6e8; margin-bottom: 18px; }
.pr-meter-top { display: flex; justify-content: space-between; font-size: 12.5px; color: #b9c6e8; margin-bottom: 7px; }
.pr-meter { height: 8px; background: rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.pr-meter i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, #17c9d6, #7ea2f5); border-radius: 8px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.pr-list { flex: 1; margin-bottom: 18px; }
.pr-list li { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; font-size: 14px; color: #d3ddf4; }
.pr-list svg { width: 17px; height: 17px; color: #5be0c2; flex: none; margin-top: 3px; }
.pr-note { font-size: 12px; color: #8ea6d8; margin-top: 12px; text-align: center; }

/* ---- Interactive: Health check quiz -------------------------------------- */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.quiz-progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .3s ease; }
.quiz-q { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 23px); color: var(--ink); margin-bottom: 22px; text-align: center; }
.quiz-opts { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; }
.quiz-opt { padding: 15px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; text-align: left; transition: all .15s ease; font-size: 15.5px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }
.quiz-opt:hover { border-color: var(--brand-300); background: var(--bg-tint); color: var(--brand-700); transform: translateY(-1px); }
.quiz-opt .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.quiz-opt:hover .dot { border-color: var(--brand); }
.quiz-count { text-align: center; color: var(--ink-4); font-size: 13px; margin-top: 18px; }
.quiz-result { text-align: center; }
.gauge { position: relative; width: 176px; height: 176px; margin: 0 auto 6px; }
.gauge svg { transform: rotate(-90deg); }
.gauge .track { stroke: var(--line); }
.gauge .fill { stroke: url(#gaugegrad); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1); }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--ink); }
.quiz-verdict { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 4px 0 6px; }
.quiz-verdict.low { color: #d84a4a; } .quiz-verdict.mid { color: #d98a1a; } .quiz-verdict.high { color: #17a06b; }
.quiz-sub { color: var(--ink-3); font-size: 15px; max-width: 460px; margin: 0 auto 22px; }
.quiz-recs { max-width: 480px; margin: 0 auto 24px; text-align: left; }
.quiz-recs .rt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-4); margin-bottom: 8px; }
.quiz-recs li { display: flex; gap: 11px; padding: 9px 0; color: var(--ink-2); font-size: 15px; border-bottom: 1px solid var(--line-2); }
.quiz-recs li:last-child { border-bottom: 0; }
.quiz-recs svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.quiz-restart { background: none; border: 0; color: var(--ink-3); font-weight: 600; margin-top: 16px; text-decoration: underline; font-size: 14px; }
.quiz-restart:hover { color: var(--brand-700); }

/* ---- Reveal --------------------------------------------------------------- */
.reveal { transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .panel-inner { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .planner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .org-children { grid-template-columns: 1fr; gap: 14px; }
  .statband { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}
@media (max-width: 640px) {
  .nav-right .btn-primary { display: none; }
  .section { padding: 68px 0; }
  .cols-4, .cols-3, .cols-2, .steps, .prov, .form-row, .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 116px 0 64px; }
  .float-stat { left: 12px; bottom: 12px; }
  .hero-badge { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================================
   Multi-page components (v6)
   ========================================================================== */

/* Subpage banner */
.pagehead { position: relative; overflow: hidden; padding: 108px 0 40px; background: radial-gradient(900px 460px at 88% -20%, #e8f0ff 0%, transparent 60%), linear-gradient(180deg, #f7faff, #fff); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--ink-4); font-weight: 600; margin-bottom: 12px; }
.crumb a:hover { color: var(--brand-700); }
.crumb span { color: var(--brand); }
.pagehead h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; max-width: 900px; }
.pagehead p { color: var(--ink-3); font-size: 17px; max-width: 720px; margin-top: 10px; }
.pagehead .ph-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Compact overview grid (home services / product categories) */
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-xs); transition: transform .16s ease, box-shadow .2s ease, border-color .16s ease; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5e0f2; }
.mini-card .ic { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.mini-card .ic svg { width: 21px; height: 21px; }
.mini-card h3 { font-size: 15.5px; margin-bottom: 3px; }
.mini-card p { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.mini-card .go { color: var(--brand); }

/* Detailed service rows (services page) */
.srow { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.srow:first-child { border-top: 0; }
.srow-side .ic { width: 56px; height: 56px; border-radius: 15px; margin-bottom: 16px; }
.srow-side .ic svg { width: 26px; height: 26px; }
.srow-side h2 { font-size: 24px; margin-bottom: 10px; }
.srow-side .lede { color: var(--ink-3); font-size: 15px; }
.srow-side .kbadge { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-700); background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.spec-grid.three { grid-template-columns: repeat(3, 1fr); }
.spec { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); font-size: 14.5px; border-bottom: 1px solid var(--line-2); }
.spec svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.srow-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }

/* Product cards with real images */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .18s ease, box-shadow .22s ease; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard-img { aspect-ratio: 4/3; overflow: hidden; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 16.5px; margin-bottom: 5px; }
.pcard-body p { font-size: 13.5px; color: var(--ink-3); flex: 1; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.pcard-foot .price { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--brand-700); }
.pcard-foot .lnk { font-size: 13px; font-weight: 700; color: var(--brand-700); }

/* Resources / document library */
.docgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .16s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc-thumb { aspect-ratio: 1/1; overflow: hidden; background: #eef2f8; border-bottom: 1px solid var(--line); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-body .kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.doc-body h3 { font-size: 15px; }
.doc-actions { display: flex; gap: 10px; margin-top: 10px; }
.doc-actions a { font-size: 13px; font-weight: 650; color: var(--brand-700); display: inline-flex; align-items: center; gap: 5px; }
.doc-actions a:hover { text-decoration: underline; }
.doc-feature { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; background: linear-gradient(135deg,#0f1f4d,#0b1533); color: #fff; border-radius: 18px; padding: 26px; margin-bottom: 30px; }
.doc-feature img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.doc-feature h2 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.doc-feature p { color: #b9c6e8; font-size: 15px; margin-bottom: 16px; }

/* Wide 2-col info (about, contact) */
.info2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8,14,30,.86); display: none; align-items: center; justify-content: center; padding: 32px; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 90vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; }

/* Compact stat strip variant */
.section-head.wide { max-width: none; }

@media (max-width: 980px) {
  .mini { grid-template-columns: repeat(2, 1fr); }
  .srow { grid-template-columns: 1fr; gap: 20px; }
  .spec-grid, .spec-grid.three { grid-template-columns: 1fr; }
  .docgrid { grid-template-columns: repeat(2, 1fr); }
  .cols-5, .cols-6 { grid-template-columns: repeat(3, 1fr); }
  .info2 { grid-template-columns: 1fr; gap: 32px; }
  .doc-feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mini, .docgrid, .cols-5, .cols-6 { grid-template-columns: 1fr; }
  .pagehead { padding: 108px 0 40px; }
}

/* Pagehead 2-column with contact card (fills the banner width) */
.pagehead-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 44px; align-items: center; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.ph-card-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.ph-line { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.ph-line:last-of-type { border-bottom: 0; }
.ph-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--icon-tint); color: var(--icon-glyph); border: 1px solid var(--icon-tint-bd); }
.ph-ic svg { width: 19px; height: 19px; }
.ph-line b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.ph-line small { color: var(--ink-3); font-size: 12.5px; }
.ph-line:hover b { color: var(--brand-700); }
@media (max-width: 900px) { .pagehead-grid { grid-template-columns: 1fr; gap: 28px; } .ph-card { max-width: 460px; } }

/* Consistent product illustration tiles (one designed set, not stock photos) */
.pcard-illus { aspect-ratio: 4/3; position: relative; display: grid; place-items: center; color: #bfe0ff; background: radial-gradient(120% 120% at 68% 18%, rgba(60,122,230,.32), transparent 60%), linear-gradient(155deg, #18295c, #0c1533); border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard-illus::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(120% 95% at 50% 30%, #000, transparent 74%); mask-image: radial-gradient(120% 95% at 50% 30%, #000, transparent 74%); }
.pcard-illus svg { width: 64px; height: 64px; position: relative; z-index: 1; filter: drop-shadow(0 8px 14px rgba(0,0,0,.32)); transition: transform .3s ease; }
.pcard:hover .pcard-illus svg { transform: translateY(-3px) scale(1.05); }
.pi-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); color: #eaf3ff; border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ============================================================================
   v7 — Enterprise restructure: divisions, agile consulting, vendor partners
   ========================================================================== */

/* Collapse the primary nav to the hamburger earlier now that there are more
   top-level items (avoids the links wrapping onto a second row on laptops). */
@media (max-width: 1240px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Division cards — the "lines of business" grid on Home and Solutions */
.divgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.divcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease; position: relative; overflow: hidden; }
.divcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .2s ease; }
.divcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5e0f2; }
.divcard:hover::before { opacity: 1; }
.divcard .ic { width: 50px; height: 50px; border-radius: 13px; margin-bottom: 15px; }
.divcard .ic svg { width: 24px; height: 24px; }
.divcard h3 { font-size: 19px; margin-bottom: 8px; }
.divcard p { font-size: 14px; color: var(--ink-3); line-height: 1.5; flex: 1; }
.divcard .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.divcard .tags span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; }
.divcard .dl { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }
.divcard .dl svg { width: 16px; height: 16px; transition: transform .16s ease; }
.divcard:hover .dl svg { transform: translateX(3px); }

/* Vendor / partner strip — text chips (no third-party logos, licence-clean) */
.partners { border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #f8fbff, #fff); padding: 26px 24px; }
.partners .pt-head { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 18px; }
.partners .pt-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.partner-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; box-shadow: var(--shadow-xs); }
.partner-chip .pd { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
.partner-chip small { font-weight: 600; font-size: 11px; color: var(--ink-4); letter-spacing: .02em; }

/* Numbered value/process timeline (agile page) */
.tl { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.tl-item:first-child { border-top: 0; }
.tl-num { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 18px -8px rgba(44,95,224,.6); }
.tl-item h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.tl-item .meta { margin-top: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); }

/* Metric row (used on agile / strategy) */
.mrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mrow .m { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-xs); }
.mrow .m .mn { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: var(--ink); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mrow .m .ml { color: var(--ink-3); font-size: 14px; margin-top: 6px; }

@media (max-width: 980px) {
  .divgrid { grid-template-columns: repeat(2, 1fr); }
  .mrow { grid-template-columns: 1fr; }
  .partners .pt-row { gap: 8px; }
}
@media (max-width: 640px) {
  .divgrid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .tl-num { width: 38px; height: 38px; font-size: 15px; }
}

/* ============================================================================
   v8 — Premium visual layer (bespoke graphics, glass, depth, motion)
   ========================================================================== */
:root{
  --navy-grad: radial-gradient(120% 120% at 74% 10%, rgba(60,122,230,.55), transparent 55%), linear-gradient(158deg, #17275c 0%, #0c1636 60%, #0a1230 100%);
  --shadow-glow: 0 40px 90px -34px rgba(30,54,140,.55);
  --glass: rgba(255,255,255,.72);
}

/* Richer hero backdrop: faint grid + drifting colour orbs */
.hero{ padding: 128px 0 76px; }
.hero::before{ content:""; position:absolute; inset:0; z-index:0; background-image:linear-gradient(rgba(44,95,224,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(44,95,224,.055) 1px,transparent 1px); background-size:44px 44px; -webkit-mask-image:radial-gradient(980px 560px at 72% 2%, #000 18%, transparent 74%); mask-image:radial-gradient(980px 560px at 72% 2%, #000 18%, transparent 74%); }
.hero .wrap{ position:relative; z-index:2; }
.hero-orb{ position:absolute; z-index:0; border-radius:50%; filter:blur(64px); opacity:.55; pointer-events:none; }
.hero-orb.a{ width:440px; height:440px; right:-70px; top:-130px; background:radial-gradient(circle,#8fe0ff,transparent 70%); animation:orbDrift 19s ease-in-out infinite; }
.hero-orb.b{ width:380px; height:380px; left:-120px; bottom:-150px; background:radial-gradient(circle,#c8d2ff,transparent 70%); animation:orbDrift 24s ease-in-out infinite reverse; }
@keyframes orbDrift{ 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-26px,22px) scale(1.06)} }
.pill{ background:rgba(255,255,255,.82); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.pill .dot{ box-shadow:0 0 0 4px rgba(23,201,214,.18); }

/* Bespoke hero visual panel (holds the SVG constellation) */
.hero-media{ max-width:560px; }
.hero-visual{ position:relative; border-radius:28px; padding:22px; background:var(--navy-grad); border:1px solid rgba(255,255,255,.12); box-shadow:var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.10); overflow:hidden; aspect-ratio:5/4; }
.hero-visual::before{ content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:30px 30px; -webkit-mask-image:radial-gradient(120% 100% at 50% 30%,#000,transparent 72%); mask-image:radial-gradient(120% 100% at 50% 30%,#000,transparent 72%); }
.hero-visual svg{ position:relative; z-index:1; width:100%; height:100%; display:block; }
.hero-visual .vtag{ position:absolute; top:16px; left:18px; z-index:2; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#9fd9ff; }
.float-stat{ background:rgba(255,255,255,.82); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-color:rgba(255,255,255,.7); box-shadow:var(--shadow-lg); }

/* AI-core visual panel (Nimblestride teaser) */
.ai-visual{ position:relative; border-radius:18px; background:var(--navy-grad); overflow:hidden; aspect-ratio:16/10; box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,.1); }
.ai-visual svg{ width:100%; height:100%; display:block; }

/* Premium card polish — soft glass, gradient hover accent, lift + glow */
.card::after,.divcard::after{ }
.card{ transition:transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .2s ease; }
.card:hover{ box-shadow:0 26px 56px -30px rgba(30,54,140,.5); border-color:#cdd9f2; }
.divcard:hover{ box-shadow:0 26px 56px -30px rgba(30,54,140,.5); }
.divcard .ic,.card > .ic{ box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.mini-card:hover .ic,.divcard:hover .ic,.card:hover > .ic{ background:var(--grad); color:#fff; border-color:transparent; }
.pcard-illus{ box-shadow: inset 0 0 60px rgba(60,122,230,.18); }
.pcard:hover .pcard-illus svg{ filter:drop-shadow(0 10px 22px rgba(23,201,214,.5)); }

/* Button shine on primary */
.btn-primary{ position:relative; overflow:hidden; }
.btn-primary::after{ content:""; position:absolute; top:0; left:-140%; width:60%; height:100%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); transform:skewX(-18deg); transition:none; }
.btn-primary:hover::after{ animation:shine .9s ease; }
@keyframes shine{ to{ left:140%; } }

/* Section eyebrow accent + heading gradient option */
.section-head .eyebrow{ font-size:12px; }
.grad-ink{ background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* gentle float for the hero float-stat */
.float-stat{ animation:floaty 6s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

@media (max-width:980px){
  .hero{ padding:104px 0 56px; }
  .hero-media{ max-width:520px; margin:0 auto; }
  .float-stat{ animation:none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-orb,.float-stat{ animation:none !important; }
  .btn-primary:hover::after{ animation:none; }
}

/* ============================================================================
   Careers — job list, application form, admin console
   ========================================================================== */
.job-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.job-empty { text-align: center; color: var(--ink-3); padding: 28px; border: 1px dashed var(--line); border-radius: 14px; }
.job-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-xs); transition: transform .16s ease, box-shadow .2s ease, border-color .16s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5e0f2; }
.job-card h3 { font-size: 18px; margin: 0 0 4px; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); font-size: 13px; }
.job-card .meta b { color: var(--brand-700); font-weight: 650; }
.job-card p { grid-column: 1/2; color: var(--ink-3); font-size: 14px; margin: 6px 0 0; }
.job-card .apply-btn { grid-row: 1/3; }
.job-detail { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.job-detail h4 { font-size: 15px; margin: 12px 0 4px; color: var(--ink); }
.job-detail ul { padding-left: 18px; } .job-detail li { list-style: disc; margin: 3px 0; }

.careers-form .applying-for { background: var(--bg-tint); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 6px; }
.lnk-btn { background: none; border: 0; color: var(--brand-700); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; font: inherit; }
.field-hint { font-size: 12.5px; color: var(--ink-4); margin-top: 5px; }
.radio-row { display: flex; gap: 20px; margin-top: 6px; }
.radio, .chk { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.chk input, .radio input { margin-top: 3px; flex: none; }
.consent { display: grid; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 4px 0 6px; }
.consent .chk span { line-height: 1.5; }
.consent a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }
.equity { border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.equity summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 12px 0; }
.eq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 4px 0 14px; }
.form-error { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #a12525; border: 1px solid #f4c9c9; font-size: 14px; }
.form-error.show { display: block; }
@media (max-width:640px){ .eq-grid { grid-template-columns: 1fr; } .job-card { grid-template-columns: 1fr; } .job-card .apply-btn { grid-row: auto; justify-self: start; } }

/* Admin console */
.admin-bar { margin-bottom: 18px; }
.admin-filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.admin-list { display: grid; gap: 8px; max-height: 70vh; overflow: auto; }
.app-row { text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.app-row:hover, .app-row.active { border-color: var(--brand-300); box-shadow: var(--shadow-xs); }
.app-row .r1 { display: flex; justify-content: space-between; gap: 10px; }
.app-row .nm { font-weight: 650; color: var(--ink); }
.app-row .st { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-700); }
.app-row .r2 { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.admin-detail { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-xs); }
.admin-detail .kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 14px; margin: 12px 0; }
.admin-detail .kv b { color: var(--ink-3); font-weight: 600; }
.admin-detail .events { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width:820px){ .admin-grid { grid-template-columns: 1fr; } }
