/* NotionAce theme layer (Nov 2026 redesign).
   Loaded last on every page. Resets the older styles toward a calmer, enterprise look:
   one grotesk family, solid brand colours (no gradient text), neutral greys, sentence-case labels,
   fewer radii, no decorative glows. Then adds the new components (product mockups, timeline,
   control layers, practice list, industry list). */

:root {
  --ink: #141418;
  --ink-2: #1D1D23;
  --ink-3: #27272F;
  --paper: #FFFFFF;
  --paper-2: #F5F5F7;
  --paper-3: #EBEBEF;
  --text: #141418;
  --text-mute: #55565F;
  --text-faint: #85868F;
  --invert: #F4F4F6;
  --invert-mute: rgba(244, 244, 246, 0.72);
  --invert-faint: rgba(244, 244, 246, 0.5);
  --line: #E4E4E9;
  --line-dark: rgba(244, 244, 246, 0.12);

  --violet: #6A2BD8;          /* from the logo ring, darkened for text contrast */
  --violet-ink: #4E1BAA;
  --violet-soft: #CDBBFF;
  --orange: #E8720C;          /* from the logo, used sparingly */
  --green: #128A4A;
  --wash-violet: #F2EDFD;
  --wash-orange: #FFF2E6;
  --wash-green: #E8F6EE;

  --brand-1: var(--orange);
  --brand-2: var(--violet);
  --brand-3: var(--violet);
  --grad-brand: var(--violet);
  --grad-glow: var(--ink-2);

  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --display: var(--sans);
  --mono: var(--sans);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
}

body { font-size: 17px; letter-spacing: 0; line-height: 1.6; font-feature-settings: "ss01" 0; }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.022em; }
h1, .hero-title { font-weight: 600; letter-spacing: -0.032em; }
h2 { letter-spacing: -0.026em; }
.hero-title { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.04; }
.stat-num, .story-card .result strong, .num, [data-count] { font-variant-numeric: tabular-nums; }
.stat-num { font-weight: 500; }

/* No gradient or coloured single words in headlines */
h1 em, h2 em, h3 em, .grad, .hero-title .grad {
  background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important;
  padding: 0 !important; margin: 0 !important; font-style: normal !important;
}
/* Labels are sentence case, never tracked caps; eyebrows are retired */
.eyebrow { display: none !important; }
.mono, .idx-card .k, .dp-related a .k, .dp-story .head .tag { text-transform: none !important; letter-spacing: 0 !important; }

/* Flat, calm backgrounds */
.hero, .page-hero, .idx-hero, .contact-hero, .dp-hero { background: #fff !important; }
.tabs-art, .dp-section.dark .dp-story, .glow-frame, .zt-frame { background: var(--ink-2) !important; }
.cta-band, .dp-cta > .wrap { background: var(--ink) !important; }
.cta-band::before { display: none; }
.grain::after { display: none; }
.float-card { animation: none !important; }
.dp-c::before, .dp-story::before, .step::before { display: none !important; }

/* Buttons and links */
.btn { border-radius: var(--radius-sm); font-weight: 600; font-size: 15.5px; padding: 13px 22px; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-ink); box-shadow: none; transform: none; }
.nav-links a.btn-primary { color: #fff; }
.dark .btn-primary, .cta-band .btn-primary, .dp-cta .btn-primary, .nav.on-dark .btn-primary { background: #fff; color: var(--ink); }
.nav.on-dark .nav-links a.btn-primary { color: var(--ink); }
.link-arrow { color: var(--violet); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(106, 43, 216, 0.35); transition: text-decoration-color .2s; }
.link-arrow:hover { text-decoration-color: currentColor; }
.dark .link-arrow { color: var(--violet-soft); text-decoration-color: rgba(205, 187, 255, 0.4); }
.nav-links a.active::after { background: var(--violet); }

/* Breadcrumbs as quiet text */
.dp-breadcrumb { background: none !important; border: 0 !important; padding: 0 !important; font-size: 15px; margin-bottom: 22px; }
.dp-hero h1, .idx-hero h1, .page-hero h1, .contact-hero h1 { font-weight: 600 !important; letter-spacing: -0.032em !important; }

/* Cards: one hierarchy, hairline borders, no lift */
.card:hover, .dp-c:hover, .dp-related a:hover, .ind-card:hover, .story-card:hover, .svc-card:hover, .idx-card:hover, .step:hover { transform: none !important; }
.dp-c:hover, .dp-related a:hover { border-color: #CFC3F2; box-shadow: none; }
.dp-c .ic, .svc-ic, .float-card .ic { background: var(--wash-violet); color: var(--violet); }
.dp-c:hover .ic { background: var(--wash-violet); color: var(--violet); transform: none; }
.dp-tabs .tab[aria-selected="true"] .tic, .dp-tabs .tab-panel .pic { background: var(--violet) !important; box-shadow: none !important; }
.dp-story .head .tag { background: var(--wash-violet); }
.dp-section:not(.dark) .dp-story { background: var(--paper-2); border-color: var(--line); }
.tab .bar { background: var(--violet-soft); }
.mini-list li::before { background: var(--orange); }
.wordwall span.accent.lit { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.logo-tile .dot { display: none; }
.tags span { border-radius: 6px; }

/* Nav mega menu: no number badges */
.mega-item { grid-template-columns: 1fr; }
.mega-item .mk { display: none; }
.mega-head .mono { font-size: 14px; font-weight: 600; color: var(--text); }
.mega-item .new { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--orange); }

/* Footer */
footer.site .foot-certs span { border-radius: 6px; }

/* ---------- Home: platform row (replaces the marquee) ---------- */
.platforms { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.platforms .wrap { display: flex; align-items: center; gap: 20px 44px; flex-wrap: wrap; justify-content: space-between; }
.platforms p { color: var(--text-mute); font-size: 15px; max-width: 22ch; line-height: 1.45; }
.platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.platforms li { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: #3A3B44; display: flex; align-items: center; gap: 10px; }
.platforms li img { height: 30px; width: auto; }

/* ---------- Section heads (new pages) ---------- */
.sh { max-width: 760px; margin-bottom: 52px; }
.sh h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.1; }
.sh p { color: var(--text-mute); font-size: clamp(17px, 1.35vw, 19px); margin-top: 16px; max-width: 60ch; }
.dark .sh p { color: var(--invert-mute); }
.sh-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 52px; }
.sh-row .sh { margin-bottom: 0; }
.kicker { display: block; font-size: 15px; font-weight: 600; color: var(--violet); margin-bottom: 14px; }
.dark .kicker { color: var(--violet-soft); }
.grey { background: var(--paper-2); }

/* ---------- Product showcase (home + solutions) ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.showcase .tablist { margin-top: 0; gap: 10px; width: 100%; }
.showcase .tab { width: 100%; display: block; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text); }
.showcase .tab:hover:not([aria-selected="true"]) { background: #fff; border-color: #CFC3F2; }
.showcase .tab[aria-selected="true"] { background: #fff; color: var(--text); border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.showcase .tab strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.showcase .tab span.d { display: block; font-size: 15.5px; color: var(--text-mute); margin-top: 4px; line-height: 1.5; }
.showcase .tab .bar { height: 3px; background: var(--violet); }
.showcase .tab-panels { position: relative; }
.showcase .tab-panel.active { animation: none; }
.showcase .more { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; }
/* Stage: the photo is the frame and stays readable; the product card sits off its lower-right
   corner, partly outside the frame, so faces and the scene are never covered. */
.stage { position: relative; padding: 0 64px 64px 0; }
.stage > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 35%; border-radius: 22px; background: var(--paper-3); }
.stage > .ui { position: absolute; right: 0; bottom: 0; width: min(54%, 340px); font-size: 12.5px; box-shadow: 0 28px 56px -24px rgba(10, 10, 20, 0.45); }
.stage > .ui .ui-h { padding: 11px 14px; } .stage > .ui .ui-h b { font-size: 13.5px; } .stage > .ui .ui-h small { font-size: 11.5px; }
.stage > .ui .ui-b { padding: 12px 14px; } .stage > .ui .ui-foot { padding: 11px 14px; }
.stage > .ui .ui-checks { gap: 5px; margin-top: 10px; } .stage > .ui .ui-checks li { padding: 6px 10px; }
.stage > .ui .ui-f { gap: 6px 12px; } .stage > .ui .ui-f div span { font-size: 11px; }
.stage > .ui .ui-btn { padding: 6px 11px; font-size: 12px; }
.stage > .ui .ui-chat > .ui-msg:last-child { display: none; }
.stage > .ui .ui-msg { padding: 8px 11px; }
.stage > .ui .ui-card { padding: 10px; gap: 4px; }
.ui-note { position: absolute; left: 16px; top: 14px; font-size: 12px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
@media (max-width: 640px) {
  .stage { padding: 0; }
  .stage > .ui { position: relative; width: 92%; margin: -72px auto 0; right: auto; bottom: auto; }
  .ui-note { position: static; display: block; margin-top: 10px; color: var(--text-faint); text-shadow: none; text-align: center; }
}
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } }

/* Product UI mockups (HTML, not screenshots) */
.ui { width: 100%; max-width: 440px; background: #fff; color: var(--text); border-radius: 16px; border: 1px solid rgba(20, 20, 24, 0.08); box-shadow: 0 30px 60px -30px rgba(10, 10, 20, 0.55); font-size: 14.5px; line-height: 1.45; overflow: hidden; }
.ui-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ui-h b { font-size: 15px; font-weight: 600; }
.ui-h small { color: var(--text-faint); font-size: 13px; }
.ui-b { padding: 16px 18px; }
.ui-f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ui-f div span { display: block; font-size: 12.5px; color: var(--text-faint); }
.ui-f div b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-f div span.ui-conf, .ui-conf { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 600; color: var(--green); }
.ui-checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ui-checks li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--paper-2); }
.ui-checks li em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-faint); }
.ui-checks li.ok em { color: var(--green); }
.ui-checks li.warn em { color: var(--orange); }
.ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); background: #FAFAFB; }
.ui-foot .st { font-weight: 600; color: var(--green); }
.ui-btn { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--violet); color: #fff; font-weight: 600; font-size: 13.5px; }
.ui-btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.ui-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--wash-green); color: var(--green); }
.ui-pill.v { background: var(--wash-violet); color: var(--violet); }
.ui-pill.o { background: var(--wash-orange); color: #B4560A; }
.ui-bar { height: 8px; border-radius: 99px; background: var(--paper-3); overflow: hidden; margin-top: 8px; }
.ui-bar i { display: block; height: 100%; background: var(--violet); border-radius: 99px; }
.ui-chat { display: grid; gap: 10px; }
.ui-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; }
.ui-msg.me { justify-self: end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.ui-msg.ai { background: var(--paper-2); border-bottom-left-radius: 4px; }
.ui-msg .cite { display: block; margin-top: 6px; font-size: 12px; color: var(--text-faint); }
.ui-card { margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.ui-card .row { display: flex; justify-content: space-between; gap: 10px; }
.ui-card .row span { color: var(--text-mute); }
.ui-card .row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ui-actions { display: flex; gap: 8px; margin-top: 4px; }
.ui-ladder { display: grid; gap: 6px; margin-top: 12px; }
.ui-ladder div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; font-size: 13px; padding: 7px 10px; border-radius: 8px; }
.ui-ladder div span { color: var(--text-mute); font-variant-numeric: tabular-nums; }
.ui-ladder div.on { background: var(--wash-violet); }
.ui-ladder div.on b { color: var(--violet); }

/* Sequential "checking" motion: rows settle one by one when the mockup is shown.
   Rows are fully visible by default; the animation is only an enhancement. */
@keyframes seqIn { from { opacity: .18; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.seq.go > * { animation: seqIn .45s ease both; }
.seq.go > *:nth-child(2) { animation-delay: .35s; }
.seq.go > *:nth-child(3) { animation-delay: .7s; }
.seq.go > *:nth-child(4) { animation-delay: 1.05s; }
.seq.go > *:nth-child(5) { animation-delay: 1.4s; }
.seq.go > *:nth-child(6) { animation-delay: 1.75s; }
@media (prefers-reduced-motion: reduce) { .seq.go > * { animation: none !important; } }

/* ---------- Timeline (How we engage) ---------- */
.tl-wrap { position: relative; }
.steps.tl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.steps.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.tl .step { background: none !important; border: 0 !important; border-radius: 0; padding: 0 22px 0 0; box-shadow: none !important; overflow: visible; position: relative; }
.tl .step::after { content: ''; position: absolute; left: 0; top: 11px; height: 2px; width: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; }
.tl .step.lit::after { transform: scaleX(1); }
.tl .dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .4s, background .4s; }
.tl .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .4s; }
.tl .step.lit .dot { border-color: var(--violet); }
.tl .step.lit .dot::after { background: var(--violet); }
.tl .when { display: block; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--text-faint); }
.tl h3 { font-size: 22px; margin: 6px 0 10px; }
.tl p { color: var(--text-mute); font-size: 16px; line-height: 1.55; }
.tl .out { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.tl .out b { display: block; font-size: 13px; color: var(--text-faint); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 1100px) { .steps.tl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 640px) {
  .steps.tl { grid-template-columns: 1fr; row-gap: 28px; padding-left: 40px; }
  .steps.tl::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl .step { padding: 0; }
  .tl .step::after { display: none; }
  .tl .dot { position: absolute; left: -40px; top: 0; }
  .tl .when { margin-top: 0; }
}

/* ---------- Control layers (Security) ---------- */
.layers { border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(18px, 2.4vw, 28px); }
.layers .lh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 18px; color: var(--invert-mute); font-size: 14.5px; }
.layers .lh b { color: #fff; font-size: 16px; font-weight: 600; }
.layer { display: grid; grid-template-columns: 34px minmax(0, 0.8fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: center; padding: 16px 14px; border-radius: 14px; border: 1px solid transparent; transition: background .4s, border-color .4s; }
.layer + .layer { margin-top: 6px; }
.layer .li { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(205, 187, 255, 0.12); color: var(--violet-soft); }
.layer .li svg { width: 18px; height: 18px; }
.layer b { color: #fff; font-weight: 600; font-size: 16.5px; }
.layer > span:not(.li) { color: var(--invert-mute); font-size: 14.5px; line-height: 1.45; }
.layer i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--invert-faint); white-space: nowrap; transition: color .4s; }
.layers.lit .layer { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.layers.lit .layer i { color: #7BE0A6; }
.layers.lit .layer:nth-child(3) { transition-delay: .25s; } .layers.lit .layer:nth-child(3) i { transition-delay: .25s; }
.layers.lit .layer:nth-child(4) { transition-delay: .5s; } .layers.lit .layer:nth-child(4) i { transition-delay: .5s; }
.layers.lit .layer:nth-child(5) { transition-delay: .75s; } .layers.lit .layer:nth-child(5) i { transition-delay: .75s; }
.layers.lit .layer:nth-child(6) { transition-delay: 1s; } .layers.lit .layer:nth-child(6) i { transition-delay: 1s; }
@media (max-width: 640px) { .layer { grid-template-columns: 34px 1fr auto; row-gap: 4px; } .layer > span:not(.li) { grid-column: 2 / 4; grid-row: 2; } .layer .li { grid-row: 1 / 3; align-self: start; } .layers .lh { flex-wrap: wrap; } }

/* ---------- Industry list ---------- */
.ind-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.ind-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.ind-list a:hover { background: var(--paper-2); }
.ind-list a b { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.ind-list a span { grid-column: 1; color: var(--text-mute); font-size: 16px; line-height: 1.5; }
.ind-list a svg { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 20px; height: 20px; color: var(--text-faint); transition: color .2s, transform .2s; }
.ind-list a:hover svg { color: var(--violet); transform: translateX(3px); }
@media (max-width: 760px) { .ind-list { grid-template-columns: 1fr; } }

/* ---------- Practice list (Solutions index) ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) 24px; gap: 20px 36px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
.practice:first-child { border-top: 1px solid var(--line-dark); }
.practice h3 { font-size: 23px; color: #fff; }
.practice p { color: var(--invert-mute); font-size: 16.5px; line-height: 1.6; }
.practice .plat { color: var(--invert-faint); font-size: 15px; line-height: 1.6; }
.practice svg { width: 22px; height: 22px; color: var(--invert-faint); margin-top: 4px; transition: color .2s, transform .2s; }
.practice:hover svg { color: #fff; transform: translateX(3px); }
.practice:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 900px) { .practice { grid-template-columns: 1fr 24px; } .practice p, .practice .plat { grid-column: 1; } .practice svg { grid-row: 1; grid-column: 2; } }

/* ---------- Product cards (Solutions index) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s; }
.prod:hover { border-color: #CFC3F2; }
.prod .shot { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 30px 26px; height: 410px; display: flex; align-items: center; justify-content: center; }
.prod .shot .ui { width: 100%; max-width: 340px; font-size: 12.5px; box-shadow: 0 18px 36px -22px rgba(10, 10, 20, 0.35); }
.prod .shot .ui-h { padding: 11px 14px; } .prod .shot .ui-h b { font-size: 13.5px; } .prod .shot .ui-h small { font-size: 11.5px; }
.prod .shot .ui-b { padding: 12px 14px; } .prod .shot .ui-foot { padding: 10px 14px; }
.prod .shot .ui-f { gap: 6px 12px; } .prod .shot .ui-f div span { font-size: 11px; }
.prod .shot .ui-checks { gap: 5px; margin-top: 10px; } .prod .shot .ui-checks li { padding: 6px 10px; }
.prod .shot .ui-checks li:nth-child(n+4) { display: none; }
.prod .shot .ui-b > div[style], .prod .shot .ui-bar { display: none !important; }
.prod .shot .ui-chat > .ui-msg:last-child { display: none; }
.prod .shot .ui-msg { padding: 8px 11px; } .prod .shot .ui-card { padding: 10px; gap: 4px; }
.prod .shot .ui-btn { padding: 6px 11px; font-size: 12px; }
.prod .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod h3 { font-size: 23px; }
.prod p { color: var(--text-mute); font-size: 16.5px; }
.prod .body ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15.5px; }
.prod .body ul li { padding-left: 18px; position: relative; }
.prod .body ul li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.prod .link-arrow { margin-top: auto; padding-top: 14px; }
@media (max-width: 1040px) { .prod-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Product detail pages ---------- */
.pd-hero { padding: calc(var(--nav-h) + clamp(36px, 5vw, 64px)) 0 clamp(56px, 6vw, 88px); }
.pd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.pd-hero h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.032em; max-width: 16ch; }
.pd-hero .lede { margin-top: 20px; }
.pd-hero .hero-ctas { margin-top: 30px; }
.pd-hero .facts { display: flex; gap: 20px 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-hero .facts div b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pd-hero .facts div span { font-size: 14.5px; color: var(--text-mute); }
@media (max-width: 960px) { .pd-hero-grid { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; counter-reset: f; }
.flow > div { position: relative; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.dark .flow > div { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.flow > div b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.flow > div span { color: var(--text-mute); font-size: 15.5px; line-height: 1.55; display: block; }
.dark .flow > div b { color: #fff; }
.dark .flow > div span { color: var(--invert-mute); }
.flow > div small { display: block; font-size: 13px; font-weight: 600; color: var(--violet); margin-bottom: 10px; }
.dark .flow > div small { color: var(--violet-soft); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feat > div { background: #fff; padding: 28px; }
.feat h4 { font-size: 19px; margin-bottom: 8px; }
.feat p { color: var(--text-mute); font-size: 16px; line-height: 1.6; }
.feat .fi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--wash-violet); color: var(--violet); margin-bottom: 16px; }
.feat .fi svg { width: 21px; height: 21px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } }

.compare-t { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-t th, .compare-t td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-t thead th { font-size: 14.5px; color: var(--text-mute); font-weight: 600; background: var(--paper-2); }
.compare-t tbody th { font-weight: 600; width: 22%; }
.compare-t td.after { color: var(--text); }
.compare-t td.before { color: var(--text-mute); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.table-scroll .compare-t tr:last-child > * { border-bottom: 0; }

.targets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.targets > div { padding: 26px 24px 0 0; }
.targets > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.targets b { display: block; font-size: clamp(34px, 3.4vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.targets span { display: block; margin-top: 10px; color: var(--invert-mute); font-size: 15.5px; }
.targets-note { margin-top: 22px; color: var(--invert-faint); font-size: 14px; }
@media (max-width: 860px) { .targets { grid-template-columns: 1fr 1fr; row-gap: 24px; } .targets > div:nth-child(3) { padding-left: 0; border-left: 0; } }

.plan { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.plan > div { padding: 26px; }
.plan > div + div { border-left: 1px solid var(--line); }
.plan small { display: block; font-size: 14px; font-weight: 600; color: var(--violet); }
.plan b { display: block; font-size: 20px; font-weight: 600; margin: 6px 0 10px; }
.plan ul { margin: 0; padding: 0 0 0 18px; color: var(--text-mute); font-size: 15.5px; display: grid; gap: 6px; }
@media (max-width: 900px) { .plan { grid-template-columns: 1fr 1fr; } .plan > div:nth-child(3) { border-left: 0; } .plan > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .plan { grid-template-columns: 1fr; } .plan > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page polish pass (about, contact, stories, index and detail pages) ---------- */
.contact-main { background: var(--paper-2) !important; }
.contact-main .contact-card { border: 1px solid var(--line); }
.page-hero .lede, .idx-hero .lede, .contact-hero .lede { margin-top: 20px; }
.page-hero .hero-ctas, .idx-hero .hero-ctas { margin-top: 30px; }
.dp-cta h2 { margin-top: 0 !important; }
.dp-hero .chips span, .idx-hero .chips span { border-radius: 6px; }
.case-meta h3 { margin-top: 0; }
.track .n { display: none; }

/* Industry list on dark sections (about page) */
.dark .ind-list { border-top-color: var(--line-dark); }
.dark .ind-list a { border-bottom-color: var(--line-dark); }
.dark .ind-list a:hover { background: rgba(255, 255, 255, 0.04); }
.dark .ind-list a b { color: #fff; }
.dark .ind-list a span { color: var(--invert-mute); }
.dark .ind-list a svg { color: var(--invert-faint); }
.dark .ind-list a:hover svg { color: #fff; }

/* Insights: sentence-case labels, flat colours */
.toc h4, .bl-bar-title, .bl-badge, .viz-kicker, .flow-txt, .tl-inset-label, .ready-banner, .alert .al-pill, .sc-k, .rt-date span, .rt-pill, .guide-why .lbl { text-transform: none !important; letter-spacing: 0 !important; }
.bl-hero { background: #fff !important; }
.t-ebs::before { background: #4E1BAA !important; }
.t-db::before { background: #B4560A !important; }
.t-cloud::before { background: #1F4E8C !important; }
.t-ai::before { background: #2E2A3A !important; }
.bl-topic::after { display: none !important; }
.bl-suggest { background: var(--paper-2) !important; border-color: var(--line) !important; }
.viz { background: #fff !important; }
.flow-bar, .alert::before, .alert .al-ic, .rt-date { background: var(--violet) !important; }
.alert.info, .alert.tip { background: var(--wash-violet) !important; }
.gs.fit, .ready-item.is-done { background: #fff !important; }
.retire::after { display: none !important; }

/* ---------- Insights topic tiles: calm white cards, colour only in the icon chip ---------- */
.bl-topic { color: var(--text) !important; background: #fff !important; border: 1px solid var(--line); min-height: 172px !important; box-shadow: none !important; transform: none !important; }
.bl-topic::before { display: none !important; }
a.bl-topic:hover { border-color: #CFC3F2; }
.bl-topic-ic { background: var(--wash-violet) !important; border: 0 !important; color: var(--violet) !important; width: 46px !important; height: 46px !important; border-radius: 12px !important; }
.bl-topic.t-db .bl-topic-ic { background: var(--wash-orange) !important; color: #B4560A !important; }
.bl-topic.soon .bl-topic-ic { background: var(--paper-2) !important; color: var(--text-faint) !important; }
.bl-topic-name { font-weight: 600 !important; font-size: 21px !important; }
.bl-topic-count { color: var(--text-mute) !important; }
.bl-topic.soon { filter: none !important; opacity: 1 !important; background: var(--paper-2) !important; }
.bl-topic.soon .bl-topic-name { color: var(--text-mute); }

/* ---------- Article takeaways: not a sequence, so a check mark instead of 01, 02 ---------- */
.num-list li { padding-left: 56px !important; }
.num-list li::before {
  content: '' !important; width: 24px; height: 24px; left: 18px !important; top: 21px !important; border-radius: 50%;
  -webkit-text-fill-color: initial !important; background: var(--wash-violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A2BD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}
.takeaway li::before { content: '' !important; width: 22px; height: 3px; border-radius: 2px; background: var(--violet-soft); margin-bottom: 14px; }

/* Pills in mockup footers stay on one line */
.ui-pill { white-space: nowrap; }
.ui-foot { flex-wrap: wrap; row-gap: 6px; }
.ui-foot:has(> .ui-pill:first-child) { justify-content: flex-start; gap: 6px; }
.stage > .ui .ui-pill { font-size: 11.5px; padding: 3px 8px; }

/* =====================================================================
   v3 (Nov 2026, round 3): richer heroes, pill buttons, tinted panels,
   services accordion, logo strip, rounded footer.
   ===================================================================== */
:root { --tint: #F6F2FE; --tint-2: #FFF5EC; --r-xl: 32px; }
.btn { border-radius: 999px; padding: 13px 24px; }
.btn .ico { width: 26px; height: 26px; margin: -6px -14px -6px 4px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, 0.18); }
.btn-ghost .ico { background: var(--wash-violet); color: var(--violet); }
.btn .ico svg { width: 13px; height: 13px; }
.tint { background: var(--tint); }

/* Hero panel with photo collage */
.hx { padding: calc(var(--nav-h) + 14px) 16px 0; }
.hx-panel { max-width: 1400px; margin: 0 auto; border-radius: var(--r-xl); background: linear-gradient(135deg, #F2ECFF 0%, #F9F6FF 48%, #FFF3E6 100%); padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 64px); position: relative; overflow: hidden; }
.hx-grid { max-width: calc(var(--maxw) - 2 * var(--pad-x)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid rgba(106, 43, 216, 0.14); font-size: 14px; color: var(--text-mute); margin-bottom: 22px; }
.hx-tag i { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); display: inline-grid; place-items: center; }
.hx-tag i::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hx-tag a { color: var(--text-mute); } .hx-tag a:hover { color: var(--violet); }
.hx-tag b { color: var(--text); font-weight: 600; }
.hx h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -0.032em; max-width: 19ch; }
.hx .lede { margin-top: 20px; color: #4A4B55; }
.hx .hero-ctas { margin-top: 30px; }
.hx-proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(20, 20, 24, 0.08); }
.hx-proof div b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hx-proof div span { font-size: 14px; color: var(--text-mute); }
.hx-proof img { height: 46px; width: auto; border-radius: 10px; background: #fff; padding: 4px; }

.collage { position: relative; height: clamp(420px, 40vw, 540px); }
.collage .c-main { position: absolute; right: 0; top: 0; width: 64%; height: 86%; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(40, 20, 90, 0.45); }
.collage .c-sub { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 48px -30px rgba(40, 20, 90, 0.45); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage .c-stat { position: absolute; left: 6%; top: 8%; width: 168px; padding: 18px; border-radius: 20px; background: var(--violet); color: #fff; box-shadow: 0 24px 40px -24px rgba(106, 43, 216, 0.7); }
.collage .c-stat b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.collage .c-stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, 0.86); }
.collage .c-stat.o { background: var(--orange); box-shadow: 0 24px 40px -24px rgba(232, 114, 12, 0.7); }
.collage .c-card { position: absolute; right: -8px; bottom: 6%; width: 230px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 24px 48px -24px rgba(20, 20, 40, 0.35); font-size: 13.5px; }
.collage .c-card b { display: block; font-size: 14px; margin-bottom: 8px; }
.collage .c-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.collage .c-card li { display: flex; align-items: center; gap: 8px; color: var(--text-mute); }
.collage .c-card li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--wash-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128A4A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
@media (max-width: 960px) {
  .hx-grid { grid-template-columns: 1fr; }
  .collage { height: 440px; max-width: 560px; }
}
@media (max-width: 560px) {
  .hx { padding-left: 10px; padding-right: 10px; }
  .collage { height: 360px; }
  .collage .c-stat { width: 136px; padding: 14px; } .collage .c-stat b { font-size: 30px; }
  .collage .c-card { width: 190px; right: 0; }
}

/* Logo strip */
.logos { padding: 34px 0 10px; }
.logos .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.logos p { font-size: 15px; color: var(--text-mute); }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.logos li { height: 72px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 17px; color: #2D2E36; }
.logos li img { height: 40px; width: auto; }
.logos li img.partner { height: 34px; }
.logos li .wm { font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.logos li .wm small { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-faint); letter-spacing: 0; margin-top: -2px; }

/* Services accordion (exclusive <details name>) */
.acc { border-top: 1px solid var(--line); }
.dark .acc { border-top-color: var(--line-dark); }
.acc details { border-bottom: 1px solid var(--line); }
.dark .acc details { border-bottom-color: var(--line-dark); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 44px; gap: 24px; align-items: center; padding: 26px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; transition: color .2s; }
.acc summary .s { color: var(--text-mute); font-size: 16px; }
.dark .acc summary .s { color: var(--invert-mute); }
.acc summary .chev { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s, background .2s, border-color .2s; }
.dark .acc summary .chev { border-color: var(--line-dark); }
.acc summary .chev svg { width: 16px; height: 16px; }
.acc summary:hover .t { color: var(--violet); }
.dark .acc summary:hover .t { color: var(--violet-soft); }
.acc details[open] summary .t { color: var(--violet); }
.dark .acc details[open] summary .t { color: var(--violet-soft); }
.acc details[open] summary .chev { transform: rotate(180deg); background: var(--violet); border-color: var(--violet); color: #fff; }
.acc .b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 40px; padding: 0 0 32px; align-items: start; }
.acc .b .pic { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-3); }
.acc .b .pic img { width: 100%; height: 100%; object-fit: cover; }
.acc .b p { color: var(--text-mute); font-size: 17px; line-height: 1.65; }
.dark .acc .b p { color: var(--invert-mute); }
.acc .b ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.acc .b li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; }
.acc .b li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--wash-violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A2BD8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dark .acc .b li { color: var(--invert); }
.acc .b .btn { margin-top: 24px; }
@media (max-width: 860px) { .acc summary { grid-template-columns: 1fr 44px; } .acc summary .s { grid-column: 1; grid-row: 2; } .acc summary .chev { grid-row: 1 / 3; grid-column: 2; } .acc .b { grid-template-columns: 1fr; } .acc .b .pic { order: -1; } .acc .b ul { grid-template-columns: 1fr; } }

/* Offering cards (service hubs): white cards on tint */
.offers { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.offer .oi { width: 48px; height: 48px; border-radius: 14px; background: var(--violet); color: #fff; display: grid; place-items: center; }
.offer:nth-child(3n+2) .oi { background: var(--orange); }
.offer:nth-child(3n+3) .oi { background: var(--ink); }
.offer .oi svg { width: 24px; height: 24px; }
.offer h3 { font-size: 23px; margin-top: 6px; }
.offer p { color: var(--text-mute); font-size: 16.5px; }
.offer ul { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.offer li { position: relative; padding-left: 18px; font-size: 15.5px; }
.offer li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
@media (max-width: 1000px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .offers { grid-template-columns: 1fr; } }

/* Rounded footer card */
footer.site { margin: 16px; border-radius: var(--r-xl); border-top: 0 !important; }
@media (max-width: 560px) { footer.site { margin: 10px; } }

/* Mega menu: services as five columns with their offerings */
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 24px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col-h { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.mega-col-h span { display: block; font-weight: 400; font-size: 13.5px; color: var(--text-mute); margin-top: 2px; }
.mega-col-h:hover { background: var(--paper-2); }
.mega-col > a:not(.mega-col-h) { padding: 6px 12px; font-size: 15px; color: var(--text-mute); border-radius: 8px; }
.mega-col > a:not(.mega-col-h):hover { color: var(--violet); background: var(--paper-2); }
.mega-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .mega-cols { grid-template-columns: repeat(3, 1fr); } }

/* Home: network canvas inside the hero panel, behind the content */
.hx-panel .hero-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, #000 75%); }
.hx-panel .hx-grid { position: relative; z-index: 1; }

/* Product pages: hero becomes the same tinted rounded panel */
.pd-hero { margin: calc(var(--nav-h) + 14px) 16px 0; padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 5vw, 72px); border-radius: var(--r-xl); background: linear-gradient(135deg, #F2ECFF 0%, #F9F6FF 48%, #FFF3E6 100%); }
.pd-hero .dp-breadcrumb { display: inline-flex; padding: 6px 14px !important; border-radius: 999px; background: #fff !important; border: 1px solid rgba(106, 43, 216, 0.14) !important; }
.pd-hero .facts { border-top-color: rgba(20, 20, 24, 0.08); }
@media (max-width: 560px) { .pd-hero { margin-left: 10px; margin-right: 10px; } }

/* Phones: stat chip sits in the free space left of the main photo, not over it */
@media (max-width: 560px) {
  .collage .c-main { width: 66%; }
  .collage .c-stat { left: 0; top: 4%; width: 112px; padding: 12px; border-radius: 16px; }
  .collage .c-stat b { font-size: 26px; }
  .collage .c-stat span { font-size: 12.5px; }
}

/* ===== Mega menu v2: rail + offerings + feature card ===== */
.mega { border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15, 15, 40, .28); }
.mega-inner { padding: 22px var(--pad-x) 26px; }
.mx { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.mx-rail { display: flex; flex-direction: column; gap: 4px; padding-right: 24px; border-right: 1px solid var(--line); }
.mx-tab { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; transition: background .15s; }
.mx-tab b { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.mx-tab small { display: block; white-space: nowrap; font-size: 13.5px; color: var(--text-mute); margin-top: 1px; line-height: 1.35; }
.mx-tab.on { background: var(--paper-2); }
.mx-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--text); border: 1px solid var(--line); transition: background .15s, color .15s, border-color .15s; }
.mx-ic svg { width: 20px; height: 20px; }
.mx-tab.on .mx-ic { background: var(--violet); border-color: var(--violet); color: #fff; }
.mx-all { margin-top: 8px; padding: 10px 14px; font-weight: 700; font-size: 15px; color: var(--violet); }
.mx-panel { display: none; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
.mx-panel.on { display: grid; animation: mxIn .25s ease; }
@keyframes mxIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
.mx-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.mx-subs a { padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.mx-subs a:hover { background: var(--paper-2); border-color: var(--line); }
.mx-subs b { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); }
.mx-subs small { display: block; font-size: 14px; color: var(--text-mute); margin-top: 3px; line-height: 1.4; }
.mx-feat { position: relative; border-radius: 18px; overflow: hidden; height: 260px; align-self: start; display: flex; align-items: flex-end; color: #fff; }
.mx-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mx-feat::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 10, 25, 0) 35%, rgba(10, 10, 25, .82)); }
.mx-feat span { position: relative; z-index: 2; padding: 18px; display: block; }
.mx-feat small { display: block; font-size: 13px; color: rgba(255, 255, 255, .8); }
.mx-feat b { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; }
.mx-feat:hover img { transform: scale(1.04); }
.mx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mx-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .15s, background .15s; }
.mx-card:hover { border-color: #CFC3F2; background: var(--paper-2); }
.mx-card .mx-ic { margin-bottom: 8px; }
.mx-card:hover .mx-ic { background: var(--violet); border-color: var(--violet); color: #fff; }
.mx-card b { font-size: 16px; font-weight: 700; color: var(--text); }
.mx-card small { font-size: 14px; color: var(--text-mute); line-height: 1.4; }
.mx-ind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 14px; }
.mx-ind a { padding: 12px 14px; border-radius: 12px; transition: background .15s; }
.mx-ind a:hover { background: var(--paper-2); }
.mx-ind b { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); }
.mx-ind small { display: block; font-size: 13.5px; color: var(--text-mute); margin-top: 2px; }
.mx-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-mute); }
.mx-foot a { font-weight: 700; color: var(--violet); font-size: 15px; }
.mx-feat b, .mx-feat small { color: #fff !important; }
@media (max-width: 1200px) { .mx { grid-template-columns: 260px minmax(0, 1fr); } .mx-panel { grid-template-columns: minmax(0, 1fr) 220px; } }

.mx-subs { grid-auto-rows: min-content; }
.mx-panel .mx-subs::after { content: ''; }
.nav.on-dark .mega { background: #fff; color: var(--text); border-top-color: var(--line); }

/* Mega menu v3: full-height feature panel, footer bar */
.mega:has(.mx) .mega-inner { padding-top: 0; padding-bottom: 0; }
.mx { align-items: stretch; gap: 0; grid-template-columns: 320px minmax(0, 1fr); }
.mx-rail { padding: 22px 24px 22px 0; }
.mx-panels { display: flex; }
.mx-panel { flex: 1; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; align-items: stretch; }
.mx-subs { padding: 22px 24px; }
.mx-feat { height: auto; min-height: 0; align-self: stretch; border-radius: 0; display: flex; flex-direction: column; background: #F3F1FA; color: var(--text); border-left: 1px solid var(--line); }
.mx-feat::after { display: none; }
.mx-feat-img { display: block; position: relative; flex: 1 1 auto; min-height: 170px; overflow: hidden; }
.mx-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mx-feat:hover .mx-feat-img img { transform: scale(1.04); }
.mx-feat-t { display: block; padding: 18px 22px 22px; }
.mx-feat-t b { display: block; font-size: 17px; font-weight: 700; color: var(--text) !important; }
.mx-feat-t small { display: block; font-size: 14px; color: var(--text-mute) !important; margin-top: 4px; line-height: 1.45; }
.mx-feat-t em { display: inline-block; margin-top: 12px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--violet); }
.mx-bar { display: flex; align-items: center; gap: 24px; margin: 0 calc(-1 * var(--pad-x)); padding: 14px var(--pad-x); background: var(--paper-2); border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-mute); }
.mx-bar span { flex: 1; } .mx-bar b { color: var(--text); font-weight: 700; margin-right: 4px; }
.mx-bar a { font-weight: 700; color: var(--violet); font-size: 15px; }
.mx-feat { align-items: stretch; }
.mx-feat-img { width: 100%; padding: 0 !important; }
.mx-feat-t { padding: 18px 22px 22px !important; }
.mx-bar { margin: 0; padding: 14px 20px; }

/* ===== Mega menu v4: floating card (final) ===== */
.mega { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 10px var(--pad-x) 0; }
.mega .mega-inner { max-width: 1180px; margin: 0 auto; padding: 14px !important; background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(15, 15, 40, .35), 0 8px 24px -12px rgba(15, 15, 40, .12); color: var(--text); }
.mx { grid-template-columns: 300px minmax(0, 1fr) !important; gap: 8px !important; align-items: stretch; }
.mx-rail { padding: 8px !important; border-right: 1px solid var(--line); gap: 2px; }
.mx-tab { padding: 12px; border-radius: 14px; }
.mx-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px -6px rgba(15, 15, 40, .25); border: 1px solid var(--line); }
.mx-panel { grid-template-columns: minmax(0, 1fr) 340px !important; gap: 14px !important; padding: 8px 0 0 8px; }
.mx-subs { padding: 4px !important; grid-template-columns: 1fr !important; gap: 2px !important; }
.mx-subs a { padding: 12px 14px; display: block; }
.mx-feat { position: relative !important; display: block !important; height: auto !important; min-height: 330px; border-radius: 18px !important; overflow: hidden; border: 0 !important; background: #222 !important; }
.mx-feat img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mx-feat::after { display: block !important; content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 10, 25, 0) 40%, rgba(10, 10, 25, .85)) !important; }
.mx-feat-t { position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px !important; }
.mx-feat-t b { color: #fff !important; font-size: 18px !important; }
.mx-feat-t small { color: rgba(255, 255, 255, .82) !important; }
.mx-go { position: absolute !important; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255, 255, 255, .35); transition: background .2s, color .2s; }
.mx-go svg { width: 16px; height: 16px; }
.mx-feat:hover .mx-go { background: #fff; color: var(--text); }
.mx-bar { margin: 12px 0 0 !important; padding: 14px 18px !important; border: 0 !important; border-radius: 14px; background: var(--paper-2); }
.mega:not(:has(.mx)) .mega-inner { padding: 20px !important; }
.mx-foot { margin-top: 14px; padding: 14px 4px 2px; }
@media (max-width: 1200px) { .mx { grid-template-columns: 260px minmax(0, 1fr) !important; } .mx-panel { grid-template-columns: minmax(0, 1fr) 260px !important; } }

/* Solutions and Industries menus: icon list + switching photo card */
.mx.mx2 { grid-template-columns: minmax(0, 1fr) 340px !important; gap: 14px !important; }
.mx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; align-content: start; padding: 8px; }
.mx-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; transition: background .15s; }
.mx-item b { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.mx-item small { display: block; font-size: 14px; color: var(--text-mute); margin-top: 2px; line-height: 1.4; }
.mx-item.on { background: var(--paper-2); }
.mx-item.on .mx-ic { background: var(--violet); border-color: var(--violet); color: #fff; }
.mx2 .mx-panels { display: block; position: relative; min-height: 300px; }
.mx2 .mx-panel { display: none !important; padding: 0; position: absolute !important; inset: 0; }
.mx2 .mx-panel.on { display: block !important; }
.mx-grid.two .mx-item { padding: 12px 14px; }
.mx2 .mx-feat { min-height: 0 !important; }
.mx2 .mx-panels { min-height: 280px; }
.mx-grid:not(.two) { grid-template-columns: 1fr; }

/* ===== Monochrome chrome: violet only on the primary "Talk to us" button ===== */
.nav-links a.active::after { background: #111114 !important; }
.nav-links a.active { color: #111114; }
.mx-tab.on .mx-ic, .mx-item.on .mx-ic, .mx-card:hover .mx-ic { background: #111114 !important; border-color: #111114 !important; color: #fff !important; }
.mx-ic { box-shadow: none !important; }
.mx-all, .mx-bar a, .mx-foot a, .mega-head .mega-all { color: #111114 !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mx-feat-t em { color: #111114 !important; }
.mx-card:hover { border-color: #C9CAD0 !important; }
.mega .mega-item:hover, .mx-subs a:hover { background: #F5F5F6; }
footer.site a:hover { color: #fff; }
.nav-cta.btn-primary, .nav .btn-primary { background: #4B2BD6; }

/* ===== Menus v5: larger text, Google Sans, compact two-column cards ===== */
.nav, .nav a, .mega, .mega * { font-family: 'Google Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
.nav-links a { font-size: 16px; }
.mx-tab b, .mx-item b, .mx-subs b { font-size: 17.5px !important; font-weight: 500 !important; letter-spacing: -0.01em; }
.mx-tab small, .mx-item small, .mx-subs small { font-size: 15px !important; }
.mx-feat-t b { font-size: 20px !important; font-weight: 500 !important; }
.mx-feat-t small { font-size: 15px !important; }
.mx-bar { font-size: 15.5px; } .mx-bar a { font-size: 16px; }
/* Solutions: narrow card anchored under its nav item, list + photo */
.mega[data-for="solutions"] .mega-inner { max-width: 880px; }
.mega[data-for="solutions"] .mx.mx2 { grid-template-columns: minmax(0, 1fr) 360px !important; }
.mega[data-for="solutions"] .mx-grid { grid-template-columns: 1fr !important; gap: 4px; }
.mega[data-for="solutions"] .mx-item { padding: 14px 16px; }
.mega[data-for="solutions"] .mx2 .mx-panels { min-height: 340px; }
/* Industries: two columns list + photo stays, a bit narrower */
.mega[data-for="industries"] .mega-inner { max-width: 1080px; }

/* Mobile drawer: backdrop-filter on .nav makes it the containing block for the fixed drawer, collapsing it. Drop the blur while open. */
.nav.drawer-open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; transform: none !important; }
.nav.drawer-open .nav-drawer { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--nav-h)); z-index: 200; background: #fff; overflow-y: auto; font-family: 'Google Sans', system-ui, sans-serif; }
.nav-drawer > a, .nav-drawer summary { font-size: 19px; }
.nav-drawer details a { font-size: 17px; }
