/* ===== ACM Global Tech — light banking site =====
   Clean, people-first SaaS look for credit unions & mid-sized banks.
   Palette: royal blue + cyan/teal gradient, green success, amber alert,
   near-black ink on white with soft blue-tinted shadows. */
:root {
  --white: #FFFFFF;   --rgb-white: 255, 255, 255;
  --blue: #1F4FFF;    --rgb-blue: 31, 79, 255;
  --blue-600: #163FE0;
  --blue-300: #89A2FF;
  --cyan: #19C8D6;    --rgb-cyan: 25, 200, 214;
  --green: #10B981;
  --amber: #F4A62A;

  --ink: #0B1422;
  --body: #56657E;
  --mute: #94A1B5;

  --bg: #FFFFFF;
  --surface: #F4F7FC;
  --line: #E7ECF5;
  --line-2: #DCE3EF;

  --shadow-soft: 0 12px 32px -20px rgba(16, 40, 90, 0.22);
  --shadow-card: 0 22px 50px -28px rgba(16, 40, 90, 0.28);
  --shadow-pop:  0 40px 90px -38px rgba(16, 40, 90, 0.40);

  --grad-text: linear-gradient(100deg, #1F4FFF 0%, #2F7DF0 48%, #19C8D6 100%);
  --grad-blue: linear-gradient(135deg, #2E63FF 0%, #1F4FFF 100%);
  --grad-teal: linear-gradient(135deg, #1F4FFF 0%, #19C8D6 100%);

  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(820px 520px at 78% -5%, rgba(var(--rgb-cyan), 0.10), transparent 60%),
    radial-gradient(760px 620px at 4% 8%, rgba(var(--rgb-blue), 0.07), transparent 55%),
    var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: var(--white); }
:root { accent-color: var(--blue); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-teal); }
.dot.blue { background: var(--blue); } .dot.green { background: var(--green); } .dot.amber { background: var(--amber); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--grad-blue); color: var(--white); box-shadow: 0 14px 30px -12px rgba(var(--rgb-blue), 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(var(--rgb-blue), 0.65); }
.btn-ghost { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 13px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(var(--rgb-white), 0.72); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s;
}
.header.scrolled { background: rgba(var(--rgb-white), 0.92); border-bottom-color: var(--line); box-shadow: var(--shadow-soft); }
.nav-wrap { display: flex; align-items: center; gap: 26px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); }
.logo-mark { display: grid; place-items: center; }
.logo-text { font-size: 1.18rem; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.logo-text strong { font-weight: 800; }
.logo-accent { color: var(--blue); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--body); position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--grad-teal); border-radius: 2px; transition: width .2s ease; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.btn-nav { margin-left: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Section primitives ===== */
.section { position: relative; z-index: 2; padding: 96px 0; }
.section.surface { background: var(--surface); border-block: 1px solid var(--line); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.tag .dot { width: 8px; height: 8px; }
.section-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; letter-spacing: -.8px; max-width: 900px; color: var(--ink); }
.section-lead { font-size: 1.08rem; color: var(--body); max-width: 760px; margin-top: 18px; }

/* ===== Glass / cards ===== */
.glass {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}

/* ===== Hero ===== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.data-flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .14; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--blue); letter-spacing: 1.6px; text-transform: uppercase; font-size: .8rem; margin-bottom: 20px; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -1.6px; color: var(--ink); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); max-width: 520px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.focus-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.focus-label { font-size: .72rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mute); margin-right: 4px; }
.chip { font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-soft); }

/* ===== Hero dashboard mockup ===== */
.dashboard {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-pop); padding: 18px; display: grid; gap: 14px;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; background: #0E1B33; color: var(--white); border-radius: 14px; padding: 14px 18px; }
.dash-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem; }
.dash-pill { font-size: .76rem; font-weight: 600; color: #C7D2EA; background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 999px; }
.dash-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-soft); }
.dash-deploy { display: flex; align-items: center; gap: 12px; }
.dash-check { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(16,185,129,.7); }
.dash-deploy strong { display: block; color: var(--ink); font-size: .95rem; }
.dash-deploy span { font-size: .82rem; color: var(--mute); }
.dash-mini-label { font-size: .82rem; color: var(--mute); }
.dash-num { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1.2; }
.delta { font-size: .82rem; font-weight: 700; }
.delta.up { color: var(--green); }
.dash-chart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.dash-chart-head strong { color: var(--ink); font-size: .95rem; }
.dash-chart-head span { font-size: .78rem; color: var(--mute); }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 96px; }
.bar-pair { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.bar-pair i { width: 9px; border-radius: 4px 4px 0 0; height: var(--h); background: var(--grad-blue); }
.bar-pair i.lt { background: #BFD0FF; }
.bars-x { display: flex; gap: 12px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: .68rem; color: var(--mute); }
.dash-activity > strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.dash-activity ul { list-style: none; display: grid; gap: 11px; }
.dash-activity li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--body); }
.dash-activity li span { margin-left: auto; color: var(--mute); font-variant-numeric: tabular-nums; }

/* ===== Metrics ===== */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.metric-card { padding: 30px; }
.metric-head { display: flex; align-items: center; justify-content: space-between; }
.metric-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.metric-eyebrow.teal { color: var(--cyan); }
.metric-eyebrow.blue { color: var(--blue); }
.hdots { display: inline-flex; gap: 6px; }
.hdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.hdots i.on.teal { background: var(--cyan); } .hdots i.on.blue { background: var(--blue); }
.metric-title { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--ink); margin: 8px 0 20px; letter-spacing: -.5px; }
.metric-hero { position: relative; background: linear-gradient(180deg, #F7FAFF, #EFF5FF); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 56px; overflow: hidden; }
.mh-main { display: flex; flex-direction: column; }
.mh-label { font-size: .95rem; color: var(--body); }
.mh-big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1.1; letter-spacing: -1px; }
.mh-yoy { position: absolute; top: 22px; right: 22px; text-align: right; }
.mh-yoy span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.mh-yoy strong { font-family: var(--display); font-size: 1.2rem; }
.mh-yoy .up { color: var(--green); } .mh-yoy .teal-t { color: var(--cyan); }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58px; }
.metric-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mini-stat { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-soft); }
.mini-stat > span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mute); }
.mini-stat > strong { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 1.4rem; color: var(--ink); margin: 4px 0 10px; }
.mini-stat .d { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; }
.mini-stat .d.green { background: var(--green); } .mini-stat .d.blue { background: var(--blue); }
.mini-stat .bar { display: block; height: 6px; border-radius: 999px; background: var(--line); position: relative; }
.mini-stat .bar::after { content: ''; position: absolute; inset: 0; width: var(--v); border-radius: 999px; }
.mini-stat .bar.green::after { background: var(--green); }
.mini-stat .bar.blue::after { background: var(--blue); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-p { margin-top: 16px; color: var(--body); }
.bullets { list-style: none; display: grid; gap: 16px; margin: 26px 0 0; }
.bullets li { position: relative; padding-left: 26px; color: var(--body); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-teal); }
.bullets strong { color: var(--ink); }
.quote-card { display: flex; gap: 20px; padding: 24px; margin-top: 34px; border-left: 3px solid; border-image: var(--grad-teal) 1; align-items: center; }
.quote-avatar { flex: 0 0 96px; width: 96px; height: 120px; object-fit: cover; border-radius: 12px; }
.quote-card blockquote { font-style: italic; color: var(--body); font-size: 1.02rem; }
.quote-card figcaption { margin-top: 12px; }
.quote-card figcaption strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.quote-card figcaption span { font-size: .76rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mute); }
.pillars { list-style: none; display: grid; }
.pillar { padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillar:first-child { padding-top: 6px; }
.pillar:last-child { border-bottom: 0; }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.pillar p { font-size: .96rem; color: var(--body); }
.results-card { margin-top: 12px; padding: 12px; position: relative; }
.results-media { height: 190px; border-radius: 12px; background-size: cover; background-position: center; }
.results-label { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--white); background: rgba(11,20,34,.55); backdrop-filter: blur(6px); padding: 7px 13px; border-radius: 999px; }

/* ===== What We Do (solutions) ===== */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.sol-card { padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--blue-300); }
.sol-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--rgb-blue), .08); color: var(--blue); font-size: 1rem; margin-bottom: 14px; }
.sol-card h3 { font-family: var(--display); font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; }
.sol-card p { font-size: .94rem; color: var(--body); }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.prod-card { padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--blue-300); }
.prod-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.prod-head h3 { font-family: var(--display); font-size: 1.12rem; color: var(--ink); }
.cat { font-size: .66rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.cat.blue { color: var(--blue); } .cat.teal { color: var(--cyan); }
.prod-card > p { font-size: .92rem; color: var(--body); margin: 12px 0 18px; }
.prod-stat { margin-top: auto; }
.prod-stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--ink); line-height: 1; }
.prod-stat span { font-size: .8rem; color: var(--mute); }
.prod-stat.ring-stat { display: flex; align-items: center; justify-content: space-between; }
.ring { width: 52px; height: 52px; }
.spark.sm { width: 100%; height: 38px; margin-top: 14px; }
.blocks { display: flex; align-items: flex-end; gap: 7px; height: 40px; margin-top: 14px; }
.blocks i { flex: 1; height: var(--h); min-height: 22%; border-radius: 4px; background: var(--grad-blue); opacity: .9; }

/* ===== Flagship banner ===== */
.flagship { margin-top: 34px; padding: 34px 36px; background: linear-gradient(135deg, rgba(var(--rgb-blue), .07), rgba(var(--rgb-cyan), .07)); border-color: rgba(var(--rgb-blue), .16); }
.tag-flag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--cyan); background: rgba(var(--rgb-cyan), .12); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.flagship h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ink); margin-bottom: 10px; letter-spacing: -.5px; }
.flagship p { color: var(--body); max-width: 860px; }

/* ===== Vision / leadership reflections ===== */
.vision-card { margin-top: 30px; padding: 36px 40px; }
.vision-card p { color: var(--body); max-width: 1000px; }
.vision-card p + p { margin-top: 16px; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.vision-pillar { padding: 28px; }
.vision-pillar h3 { font-family: var(--display); font-size: 1.18rem; color: var(--ink); margin-bottom: 8px; }
.vision-pillar p { font-size: .96rem; color: var(--body); }
.vision-note { margin-top: 22px; font-size: .92rem; color: var(--mute); max-width: 860px; }

/* Source tags + illustrative captions (credibility) */
.kpi-src { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
.kpi-foot { margin-top: 18px; font-size: .74rem; color: var(--mute); text-align: center; }
.illus-note { font-size: .72rem; color: var(--mute); text-align: center; margin-top: 10px; }
.illus-note.metrics-caption { grid-column: 1 / -1; text-align: left; margin: 0 0 6px; }

/* ===== Platform showcase carousel ===== */
.showcase { position: relative; margin-top: 38px; }
.sc-viewport { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none; }
.sc-viewport::-webkit-scrollbar { display: none; }
.sc-slide { flex: 0 0 min(880px, 90%); scroll-snap-align: center; display: flex; flex-direction: column; }
.sc-stage { flex: 1; display: grid; place-items: center; padding: 8px; }
.sc-cap { text-align: center; margin-top: 16px; font-size: .96rem; color: var(--body); }
.sc-cap strong { color: var(--ink); font-family: var(--display); }
.sc-cap em { font-style: normal; font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.sc-arrow { position: absolute; top: 44%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(var(--rgb-white), .92); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .15s, border-color .15s, opacity .15s, color .15s; backdrop-filter: blur(6px); }
.sc-arrow:hover { transform: translateY(-50%) scale(1.06); border-color: var(--blue); color: var(--blue); }
.sc-arrow:disabled { opacity: .3; cursor: default; }
.sc-arrow.prev { left: 10px; } .sc-arrow.next { right: 10px; }
.sc-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.sc-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: background .2s, width .2s; }
.sc-dot.on { width: 26px; border-radius: 999px; background: var(--grad-blue); }

/* device frames */
.mk-browser { width: 100%; max-width: 860px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop); overflow: hidden; }
.mk-bar { display: flex; align-items: center; padding: 12px 16px; background: #0E1B33; }
.mk-d { width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }
.mk-d:nth-child(1) { background: #FF5F57; } .mk-d:nth-child(2) { background: #FEBC2E; } .mk-d:nth-child(3) { background: #28C840; }
.mk-url { margin-left: 12px; font-size: .76rem; color: #9FB0CE; background: rgba(255,255,255,.08); padding: 4px 12px; border-radius: 8px; }
.mk-view { padding: 20px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; }
.mk-top { display: flex; align-items: center; gap: 16px; }
.mk-logo { font-family: var(--display); font-weight: 800; color: var(--white); background: var(--grad-blue); padding: 4px 10px; border-radius: 8px; font-size: .9rem; }
.mk-tabs { display: flex; gap: 16px; }
.mk-tabs i { font-style: normal; font-size: .84rem; color: var(--mute); }
.mk-tabs i.on { color: var(--ink); font-weight: 600; position: relative; }
.mk-tabs i.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--grad-blue); border-radius: 2px; }
.mk-ava { width: 30px; height: 30px; border-radius: 50%; margin-left: auto; background: linear-gradient(135deg, #89A2FF, #19C8D6); }
.mk-ava.sm { width: 26px; height: 26px; margin: 0; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-kpi { background: #F7FAFF; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mk-kpi > span { display: block; font-size: .74rem; color: var(--mute); }
.mk-kpi strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--ink); margin: 2px 0; }
.mk-kpi i { font-style: normal; font-size: .74rem; font-weight: 700; }
.up { color: var(--green); }
.mk-panel { background: #F7FAFF; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mk-panel-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.mk-panel-h strong { color: var(--ink); font-size: .92rem; } .mk-panel-h span { font-size: .74rem; color: var(--mute); }
.mk-rows { display: grid; gap: 10px; }
.mk-row { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--body); }
.mk-row span { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }

/* exchange */
.mk-exch { flex-direction: row; gap: 22px; }
.mk-exch-left { flex: 1.1; }
.mk-pair { display: flex; align-items: center; justify-content: space-between; }
.mk-pair strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.mk-live { font-size: .72rem; color: var(--green); font-weight: 600; }
.mk-rate { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); margin: 8px 0 14px; }
.mk-rate .up { font-size: .9rem; }
.mk-chart { width: 100%; height: 120px; }
.mk-exch-right { flex: .9; background: #F7FAFF; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mk-badge { align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--cyan); background: rgba(var(--rgb-cyan), .12); padding: 5px 10px; border-radius: 999px; }
.mk-field { background: var(--white); border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px; }
.mk-field > span { font-size: .72rem; color: var(--mute); }
.mk-amt { display: flex; align-items: baseline; justify-content: space-between; }
.mk-amt strong { font-family: var(--display); font-size: 1.4rem; color: var(--ink); }
.mk-amt em { font-style: normal; font-size: .8rem; color: var(--mute); }
.mk-swap { align-self: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-blue); color: var(--white); display: grid; place-items: center; font-size: .9rem; }
.mk-meta { display: flex; justify-content: space-between; font-size: .76rem; color: var(--mute); }
.mk-cta { margin-top: 4px; border: 0; border-radius: 11px; padding: 12px; font-weight: 600; color: var(--white); background: var(--grad-blue); cursor: default; }

/* tokenization */
.mk-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-asset { background: #F7FAFF; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.mk-asset-k { font-size: .74rem; color: var(--mute); }
.mk-asset strong { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.mk-tag { font-style: normal; align-self: flex-start; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 999px; margin-top: 4px; }
.mk-tag.green { color: #0A8C61; background: rgba(16,185,129,.12); } .mk-tag.blue { color: var(--blue); background: rgba(var(--rgb-blue), .10); }
.mk-issue .mk-steps { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.mk-step { font-size: .78rem; color: var(--mute); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.mk-step.done { color: #0A8C61; border-color: rgba(16,185,129,.4); background: rgba(16,185,129,.08); }
.mk-step.on { color: var(--white); background: var(--grad-blue); border-color: transparent; }

/* phone */
.mk-phone { position: relative; width: 300px; max-width: 80vw; background: #0E1B33; border-radius: 36px; padding: 12px; box-shadow: var(--shadow-pop); }
.mk-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #0E1B33; border-radius: 0 0 14px 14px; z-index: 2; }
.mk-screen { background: linear-gradient(180deg, #F4F8FF, #FFFFFF); border-radius: 26px; padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 520px; }
.mk-w-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 700; color: var(--ink); }
.mk-w-label { font-size: .76rem; color: var(--mute); }
.mk-w-bal { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--ink); }
.mk-card { position: relative; border-radius: 16px; padding: 18px; min-height: 122px; background: linear-gradient(135deg, #1F4FFF, #19C8D6); color: var(--white); display: flex; flex-direction: column; box-shadow: 0 14px 30px -14px rgba(31,79,255,.7); }
.mk-card-brand { font-family: var(--display); font-weight: 800; }
.mk-chip { width: 30px; height: 22px; border-radius: 5px; background: rgba(255,255,255,.65); margin: 12px 0; }
.mk-card-num { letter-spacing: 2px; font-size: .92rem; }
.mk-card-foot { font-size: .62rem; letter-spacing: 1px; opacity: .85; margin-top: 6px; }
.mk-w-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mk-w-act { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .68rem; color: var(--body); }
.mk-w-act i { font-style: normal; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--rgb-blue), .08); color: var(--blue); font-size: 1rem; }
.mk-w-tx { display: grid; gap: 9px; margin-top: 2px; }
.mk-w-tx .mk-row { font-size: .82rem; }

/* showcase motion — clean, subtle life in the mockups */
.mk-card { animation: mkFloat 6s ease-in-out infinite; }
@keyframes mkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.mk-live { animation: mkPulse 1.8s ease-in-out infinite; }
@keyframes mkPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.mk-step.on { animation: mkGlow 2.2s ease-in-out infinite; }
@keyframes mkGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(31,79,255,.45); } 50% { box-shadow: 0 0 0 7px rgba(31,79,255,0); } }
.mk-browser, .mk-phone { transition: transform .35s ease, box-shadow .35s ease; }
.sc-slide:hover .mk-browser, .sc-slide:hover .mk-phone { transform: translateY(-4px); }

/* fancier scroll-in entrance + coverflow focus (enabled by JS via .sc-anim) */
.sc-anim .sc-slide .sc-stage { opacity: 0; transform: translateY(34px) scale(.94); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.sc-anim .sc-slide .sc-cap { opacity: 0; transform: translateY(12px); transition: opacity .6s ease .12s, transform .6s ease .12s; }
.sc-anim .sc-slide.sc-in .sc-stage, .sc-anim .sc-slide.sc-in .sc-cap { opacity: 1; transform: none; }
.sc-anim .sc-slide .mk-browser, .sc-anim .sc-slide .mk-phone { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, opacity .5s ease, filter .5s ease; }
.sc-anim .sc-slide:not(.active) .mk-browser, .sc-anim .sc-slide:not(.active) .mk-phone { opacity: .5; transform: scale(.9); filter: saturate(.85); }
.sc-anim .sc-slide.active .mk-browser, .sc-anim .sc-slide.active .mk-phone { box-shadow: var(--shadow-pop), 0 0 60px -18px rgba(var(--rgb-blue), .55); }

@media (max-width: 760px) {
  .sc-arrow { display: none; }
  .sc-slide { flex-basis: 88%; }
  .sc-viewport { gap: 16px; padding: 8px 16px; }
  .mk-exch { flex-direction: column; }
  .mk-view { padding: 14px; gap: 12px; min-height: 0; }
  .mk-tabs { display: none; }
  .mk-rate { font-size: 2rem; }
  .mk-kpi strong, .mk-asset strong { font-size: 1.15rem; }
}

/* ===== KPI teaser band ===== */
.kpi-band { position: relative; z-index: 2; background: var(--surface); border-block: 1px solid var(--line); padding: 30px 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 6px 18px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-num { font-family: var(--display); font-weight: 800; font-size: 1.85rem; letter-spacing: -.5px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi-label { font-size: .82rem; color: var(--mute); }
.kpi .spark.sm { height: 26px; margin-top: 6px; }
.blocks.mini { height: 26px; gap: 5px; margin-top: 6px; }

/* ===== Chip radio groups (form tabs) ===== */
.chips-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-radio span { display: inline-block; font-size: .88rem; font-weight: 600; color: var(--body); background: #FAFCFF; border: 1px solid var(--line-2); padding: 9px 15px; border-radius: 999px; transition: border-color .15s, color .15s, background .15s, box-shadow .15s; }
.chip-radio:hover span { border-color: var(--blue-300); color: var(--ink); }
.chip-radio input:checked + span { color: var(--white); background: var(--grad-blue); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(var(--rgb-blue), .6); }
.chip-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--rgb-blue), .25); }

/* ===== ACM Ventures ===== */
.ventures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0 28px; }
.vent-card { padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--blue-300); }
.vent-card h3 { font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.vent-card p { font-size: .94rem; color: var(--body); }

/* ===== Insights ===== */
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 34px; }
.insight-col { padding: 26px; }
.insight-kind { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.insight-kind.blue { color: var(--blue); } .insight-kind.teal { color: var(--cyan); }
.insight-list { list-style: none; display: grid; gap: 14px; }
.insight-list li { font-size: .96rem; color: var(--ink); line-height: 1.45; }
.insight-col .insight-title { font-family: var(--display); font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 8px; }
.insight-body { font-size: .92rem; color: var(--body); line-height: 1.55; margin: 0 0 14px; }
.insight-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 18px; margin: 4px 0 16px; }
.insight-stats li { font-size: .85rem; color: var(--body); line-height: 1.3; }
.insight-stats strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--blue); font-weight: 800; margin-bottom: 2px; }
.insight-note { font-size: .74rem; font-style: italic; color: var(--mute); line-height: 1.45; margin: 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.insight-col.case { border-color: rgba(var(--rgb-blue), 0.3); }
.soon { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--mute); background: var(--surface); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 999px; margin-right: 8px; vertical-align: middle; }

/* ===== Floating background ===== */
.bg-floaties { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-floaties span { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .45; will-change: transform; }
.bg-floaties span:nth-child(1) { width: 360px; height: 360px; left: -60px; top: 10%; background: radial-gradient(circle, rgba(var(--rgb-blue), .26), transparent 70%); animation: drift1 22s ease-in-out infinite; }
.bg-floaties span:nth-child(2) { width: 300px; height: 300px; right: -40px; top: 32%; background: radial-gradient(circle, rgba(var(--rgb-cyan), .24), transparent 70%); animation: drift2 26s ease-in-out infinite; }
.bg-floaties span:nth-child(3) { width: 420px; height: 420px; left: 16%; top: 56%; background: radial-gradient(circle, rgba(var(--rgb-blue), .17), transparent 70%); animation: drift1 30s ease-in-out infinite reverse; }
.bg-floaties span:nth-child(4) { width: 280px; height: 280px; right: 10%; top: 76%; background: radial-gradient(circle, rgba(var(--rgb-cyan), .2), transparent 70%); animation: drift2 24s ease-in-out infinite; }
.bg-floaties span:nth-child(5) { width: 240px; height: 240px; left: 42%; top: 92%; background: radial-gradient(circle, rgba(var(--rgb-blue), .15), transparent 70%); animation: drift1 28s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(42px, -30px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-38px, 28px); } }

/* ===== Process ===== */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.process-steps li { display: flex; gap: 16px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.process-steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--white); background: var(--grad-blue); box-shadow: 0 10px 22px -10px rgba(var(--rgb-blue), .6); }
.process-steps h4 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.process-steps p { font-size: .92rem; color: var(--body); }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.why-card { padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--blue-300); }
.why-card h4 { font-family: var(--display); font-size: 1.06rem; margin-bottom: 8px; color: var(--blue); }
.why-card p { font-size: .92rem; color: var(--body); }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.team-card { display: flex; gap: 22px; padding: 26px; align-items: center; }
.team-photo { flex: 0 0 120px; width: 120px; height: 140px; object-fit: cover; border-radius: 14px; }
.team-initials { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--white); background: var(--grad-teal); }
.team-body h3 { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.team-role { color: var(--blue); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.team-body p { font-size: .94rem; color: var(--body); }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 13px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; align-items: baseline; font-size: 1.05rem; color: var(--body); }
.contact-list strong { flex: 0 0 70px; color: var(--blue); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-list a:hover { color: var(--ink); }
.creed-tagline { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-top: 22px; }
.contact-form { padding: 34px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field[hidden] { display: none; }
.field span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px;
  background: #FAFCFF; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--rgb-blue), 0.14); }
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; padding: 12px 16px; background: rgba(16,185,129,.10); border: 1px solid rgba(16,185,129,.3); border-radius: 11px; color: #0A8C61; font-weight: 600; font-size: .92rem; }
.form-cta-hint { margin: 0 0 14px; padding: 11px 14px; background: rgba(var(--rgb-blue), .07); border-left: 3px solid var(--blue); border-radius: 8px; color: var(--blue-600); font-size: .9rem; line-height: 1.45; }
.form-alt { margin-top: 14px; font-size: .88rem; color: var(--mute); }
.form-alt a { color: var(--blue); font-weight: 600; }
.contact-form.cta-focus { box-shadow: 0 0 0 2px rgba(var(--rgb-blue), 0.45), var(--shadow-card); transition: box-shadow .3s ease; }

/* ===== Footer ===== */
.footer { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 24px; color: var(--body); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.logo-footer { margin-bottom: 6px; }
.footer-tag { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 14px 0 8px; }
.footer-meta, .footer-partners { font-size: .85rem; color: var(--mute); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-partners { margin-top: 8px; }
.copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mute); text-align: center; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(var(--rgb-white), 0.98); backdrop-filter: blur(16px); padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { max-width: none; }
  .metrics, .about-grid, .contact-inner, .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .solutions-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .ventures-grid, .insights-grid, .vision-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 124px 0 64px; }
  .section { padding: 64px 0; }
  .solutions-grid, .products-grid, .why-grid, .process-steps, .field-row, .metric-foot { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .quote-card, .team-card { flex-direction: column; text-align: center; align-items: center; }
  .contact-form, .metric-card { padding: 24px; }
}
/* ===== Mobile polish ===== */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .kpi-grid { grid-template-columns: 1fr; gap: 16px; }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .kpi:last-child { border-bottom: 0; }
  .hero { padding: 116px 0 56px; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); letter-spacing: -1px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .mh-big { font-size: 2.05rem; }
  .section-title { font-size: clamp(1.55rem, 6.6vw, 2rem); }
  .flagship, .vision-card { padding: 24px; }
  .ventures-grid, .insights-grid { grid-template-columns: 1fr; }
  .chip-radio span { font-size: .84rem; padding: 8px 13px; }
  .quote-avatar { width: 120px; height: 140px; }
  .prod-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat { white-space: normal; }
  .prod-card, .sol-card, .vent-card { min-width: 0; }
}

@media (max-width: 400px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .bg-floaties span, .mk-card, .mk-live, .mk-step.on { animation: none; }
}

/* ============================================================
   Multi-page: mega-menu, multi-column footer, page templates
   ============================================================ */

/* ----- Mega-menu header (don't re-declare display; mobile hamburger keeps display:none) ----- */
.nav { gap: 2px; align-items: center; }
.nav-group { position: relative; }
.nav-group::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nav-top { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 500; color: var(--body); padding: 10px 14px; border-radius: 10px; }
.nav-top:hover, .nav-top.active { color: var(--ink); }
.nav-top .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .2s; }
.nav-group:hover .nav-top .caret, .nav-group.open .nav-top .caret { transform: rotate(225deg) translateY(-2px); }
.nav-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
.nav-group:hover .nav-panel, .nav-group.open .nav-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-panel a { padding: 9px 12px; border-radius: 9px; font-size: .9rem; font-weight: 500; color: var(--body); white-space: nowrap; }
.nav-panel a::after { content: none; }
.nav-panel a:hover { background: var(--surface); color: var(--ink); }
.nav-panel .nav-all { margin-top: 5px; border-top: 1px solid var(--line); padding-top: 11px; color: var(--blue); font-weight: 600; }

/* ----- Breadcrumbs ----- */
.crumbs { position: relative; z-index: 2; padding: 92px 0 0; font-size: .82rem; color: var(--mute); }
.crumbs a { color: var(--mute); } .crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumb-sep { margin: 0 8px; opacity: .5; }

/* ----- Page hero (subpages) ----- */
.page-hero { position: relative; z-index: 2; padding: 40px 0 18px; }
.crumbs + main .page-hero { padding-top: 22px; }
.page-lead-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.06; letter-spacing: -1.2px; color: var(--ink); max-width: 16ch; }
.page-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); max-width: 640px; margin: 20px 0 26px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ----- CTA band ----- */
.cta-band { background: linear-gradient(135deg, rgba(var(--rgb-blue), .06), rgba(var(--rgb-cyan), .06)); border-block: 1px solid var(--line); text-align: center; }
.cta-band .section-lead { margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 22px; }

/* ----- FAQ ----- */
.faq-list { display: grid; gap: 14px; margin-top: 30px; }
.faq-item { padding: 22px 24px; }
.faq-item h3 { font-family: var(--display); font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.faq-item p { color: var(--body); }

/* ----- Multi-column footer ----- */
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); gap: 30px; }
.footer-brand { max-width: 320px; }
.footer-brand .footer-contact { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--display); font-size: .92rem; color: var(--ink); margin-bottom: 4px; }
.footer-col h4 a { color: var(--ink); }
.footer-col a { font-size: .88rem; color: var(--mute); }
.footer-col a:hover { color: var(--blue); }

@media (max-width: 1100px) {
  .nav.open { padding: 14px 24px 20px; }
  .nav.open .nav-group { width: 100%; }
  .nav.open .nav-group::after { display: none; }
  .nav.open .nav-top { width: 100%; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.open .nav-panel { position: static; transform: none; opacity: 1; box-shadow: none; border: 0; min-width: 0; padding: 6px 0 10px 12px; display: none; }
  .nav.open .nav-group.open .nav-panel { display: grid; visibility: visible; }
  .nav.open .nav-panel a { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- Client login + resources nav + responsive footer ----- */
.nav-login { font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-login:hover { color: var(--blue); }
.copyright a { color: var(--mute); } .copyright a:hover { color: var(--blue); }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 480px; }
.footer-login { color: var(--blue); font-weight: 600; font-size: .9rem; }
@media (max-width: 1100px) { .nav-login { display: none; } }

/* ----- Embedded product demo ----- */
.demo-embed .sc-stage { display: grid; place-items: center; padding: 10px; margin-top: 30px; }

/* ----- Enterprise trust strip (under subpage heroes) ----- */
.trust-strip { position: relative; z-index: 2; background: var(--surface); border-block: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 15px 24px; justify-content: center; }
.trust-strip span { position: relative; font-size: .82rem; font-weight: 600; color: var(--body); padding-left: 22px; }
.trust-strip span::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 15px; height: 15px; font-size: .6rem; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }

/* ----- Ecosystem partner banner ----- */
.partners-band { position: relative; z-index: 2; padding: 72px 0; text-align: center; background: linear-gradient(180deg, var(--white), var(--surface)); border-top: 1px solid var(--line); }
.partners-band .tag { justify-content: center; }
.partners-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink); letter-spacing: -.6px; }
.partners-lead { font-size: 1.05rem; color: var(--body); max-width: 720px; margin: 16px auto 0; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 36px auto 0; }
.partner-card { display: block; padding: 30px; text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--blue-300); }
.partner-mark { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--ink); letter-spacing: -1px; margin-bottom: 6px; }
.partner-card p { color: var(--body); font-size: .96rem; margin: 10px 0 16px; }
.partner-link { font-weight: 600; color: var(--blue); }
@media (max-width: 640px) { .partners-grid { grid-template-columns: 1fr; } }

/* ----- Dark monochrome partner banner (real Hanzo/Lux marks) ----- */
.partners-band { background: #0a0a0a; padding: 84px 0; border-block: 1px solid #1b1c22; }
.partners-band .partners-title { color: #fff; }
.partners-band .partners-lead { color: #9aa6b8; }
.partners-grid { grid-template-columns: 1fr 1fr; max-width: 900px; }
.partner-card { padding: 34px; background: #14151b; border: 1px solid #262833; border-radius: 20px; box-shadow: none; }
.partner-card:hover { transform: translateY(-5px); border-color: #3a3e4d; background: #181a21; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); }
.partner-logo { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.partner-mark-svg { flex: 0 0 auto; width: 46px; height: 46px; }
.partner-name { font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: #fff; letter-spacing: -1px; }
.partner-card p { color: #aab3c2; font-size: .96rem; margin: 0; }

/* ===== Powerful hero: rotating word + proof bar ===== */
.hero-rotate { display: inline-block; transition: opacity .28s ease, transform .28s ease; }
.hero-rotate.swap { opacity: 0; transform: translateY(-0.25em); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }
.hero-proof-item { display: flex; flex-direction: column; }
.hero-proof-item strong { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero-proof-item span { font-size: .82rem; color: var(--mute); margin-top: 4px; max-width: 160px; }

/* ===== Footer CTA band ===== */
.footer-cta { background: var(--grad-teal); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 24px; flex-wrap: wrap; }
.footer-cta-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; letter-spacing: -.5px; }
.footer-cta-copy p { color: rgba(255,255,255,.9); margin-top: 8px; max-width: 560px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); }
.footer-cta .btn-primary:hover { background: #fff; transform: translateY(-2px); }
.footer-cta .btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.footer-cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ===== Footer newsletter + badges ===== */
.footer-news { margin: 18px 0; }
.footer-news label { display: block; font-size: .82rem; font-weight: 600; color: var(--body); margin-bottom: 8px; }
.footer-news-row { display: flex; gap: 8px; max-width: 360px; }
.footer-news-row input { flex: 1; min-width: 0; font-family: var(--font); font-size: .9rem; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--white); color: var(--ink); }
.footer-news-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--rgb-blue), .18); }
.footer-news-row .btn { padding: 11px 16px; }
.footer-news-note { font-size: .82rem; color: var(--blue); margin-top: 8px; font-weight: 600; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 22px 24px 0; }
.footer-badges span { font-size: .76rem; font-weight: 600; color: var(--body); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }

/* ===== ACM AI assistant (Hanzo-powered) ===== */
.ai-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.ai-launcher { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: .92rem; color: #fff; background: var(--grad-blue); padding: 13px 18px; border-radius: 999px; box-shadow: 0 16px 36px -12px rgba(var(--rgb-blue), .6); transition: transform .15s ease, box-shadow .2s ease; }
.ai-launcher:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(var(--rgb-blue), .7); }
.ai-assistant.open .ai-launcher { display: none; }
.ai-panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-pop); overflow: hidden; }
.ai-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #0E1B33; color: #fff; }
.ai-title { font-family: var(--display); font-weight: 700; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.ai-title em { font-style: normal; font-weight: 400; font-size: .76rem; color: #9FB0CE; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: aiPulse 1.8s ease-in-out infinite; }
@keyframes aiPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(25,200,214,.6); } 50% { box-shadow: 0 0 0 6px rgba(25,200,214,0); } }
.ai-close { background: none; border: 0; color: #9FB0CE; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ai-close:hover { color: #fff; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 85%; font-size: .9rem; line-height: 1.5; padding: 10px 13px; border-radius: 14px; }
.ai-msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 4px; }
.ai-msg.user { align-self: flex-end; background: var(--grad-blue); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.thinking { color: var(--mute); letter-spacing: 2px; }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; }
.ai-suggest button { font-family: var(--font); font-size: .78rem; color: var(--blue); background: rgba(var(--rgb-blue), .08); border: 1px solid rgba(var(--rgb-blue), .2); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.ai-suggest button:hover { background: rgba(var(--rgb-blue), .14); }
.ai-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.ai-input input { flex: 1; min-width: 0; font-family: var(--font); font-size: .92rem; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); }
.ai-input input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--rgb-blue), .18); }
.ai-input button { flex: 0 0 auto; width: 42px; border: 0; border-radius: 12px; background: var(--grad-blue); color: #fff; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 600px) { .ai-launcher span { display: none; } .ai-launcher { padding: 14px; } .footer-cta-inner { padding: 40px 18px; } }

/* --- "ACM" wordmark: hover-revealed "Global Tech" + condensed header --- */
.nav-wrap{ height: 60px; }
.logo-text{ white-space: nowrap; }
.logo-suffix{
  display: inline-block; max-width: 0; opacity: 0; overflow: hidden;
  transform: translateX(-3px); vertical-align: bottom;
  transition: max-width .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease, transform .4s ease, margin-left .4s ease;
}
.logo:hover .logo-suffix, .logo:focus-visible .logo-suffix{
  max-width: 9em; opacity: 1; transform: none; margin-left: .34em;
}
/* footer keeps the full wordmark */
.logo-footer .logo-suffix{ max-width: 9em; opacity: 1; margin-left: .34em; }

/* ----- Solutions mega-panel (Industries + Capabilities nested) ----- */
.nav-panel.mega { min-width: 600px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 14px; padding: 16px; }
.nav-col { display: grid; gap: 2px; align-content: start; }
.nav-panel .nav-col-head { padding: 8px 12px 5px; font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.nav-panel .nav-col-head:hover { background: transparent; color: var(--blue); }
@media (max-width: 1100px) { .nav.open .nav-panel.mega { grid-template-columns: 1fr; min-width: 0; padding: 6px 0 10px 12px; } }
/* sub-700: collapse dark partner-band cards to one column (overrides the 2-col rule) */
@media (max-width: 700px) { .partners-band .partners-grid { grid-template-columns: 1fr; } }

/* ----- AI panel hidden fix + AI integrations strip ----- */
.ai-panel[hidden] { display: none; }
.integrations-band { position: relative; z-index: 2; padding: 30px 0; background: var(--white); border-top: 1px solid var(--line); }
.integrations-eyebrow { text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.integrations-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 16px; }
.integrations-row span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); opacity: .5; transition: opacity .2s; }
.integrations-row span:hover { opacity: 1; }

/* --- Hero differentiator pillars (2x2, each links out) --- */
.hero-pillars{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:22px 0 4px; max-width:660px; }
.hpill{ display:block; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:rgba(var(--rgb-white),.55); transition:border-color .2s, transform .2s, box-shadow .2s; }
a.hpill:hover{ border-color:var(--blue); transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.hpill>strong{ display:block; font-family:var(--display); font-size:.95rem; font-weight:700; color:var(--ink); }
.hpill>span{ display:block; font-size:.82rem; color:var(--mute); margin-top:3px; line-height:1.45; }
.hpill span a{ color:var(--blue); font-weight:600; }
@media(max-width:760px){ .hero-pillars{ grid-template-columns:1fr; max-width:none; } }

/* --- Clickable doc/section cards + link cue --- */
a.sol-card{ display:block; transition:border-color .2s, transform .2s, box-shadow .2s; }
a.sol-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-soft); border-color:var(--blue); }
.sol-go{ display:inline-block; margin-top:12px; font-size:.82rem; font-weight:700; color:var(--blue); }

/* ----- Visual polish: hero glow + card top-accent ----- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(620px 320px at 90% -25%, rgba(var(--rgb-cyan), .10), transparent 60%), radial-gradient(520px 360px at -8% 120%, rgba(var(--rgb-blue), .07), transparent 60%); }
.sol-card { position: relative; overflow: hidden; }
.sol-card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sol-card:hover::before { transform: scaleX(1); }

/* --- Balanced card grids ----------------------------------------------------
   Column count is stamped at build time (cols-N) by balanceGrids() so every grid
   tiles into a complete rectangle: 4 -> 2x2, 6 -> 3x2, 8 -> 4x2, 9 -> 3x3,
   10 -> 2x5. flex-wrap + center keeps awkward primes (5/7/11) balanced, never
   stranded left. 3/4-up collapse to 2-up <=980px, all to 1-up <=620px. */
.solutions-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.solutions-grid > * { flex-grow: 1; flex-shrink: 1; }
.solutions-grid.cols-1 > * { flex-basis: 100%; max-width: 100%; }
.solutions-grid.cols-2 > * { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
.solutions-grid.cols-3 > * { flex-basis: calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
.solutions-grid.cols-4 > * { flex-basis: calc((100% - 60px) / 4); max-width: calc((100% - 60px) / 4); }
/* Match the site's grid breakpoints: 3/4-up collapse to 2-up <=1100px, all to 1-up <=600px.
   flex-basis is container-relative (not a px width) so N-per-row holds exactly at every
   viewport with no premature wrapping; justify-content:center balances odd last rows. */
@media (max-width: 1100px) {
  .solutions-grid.cols-3 > *, .solutions-grid.cols-4 > * { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  /* must match the .cols-N specificity (0,2,0) or the base cols-N rule out-ranks this */
  .solutions-grid.cols-1 > *, .solutions-grid.cols-2 > *,
  .solutions-grid.cols-3 > *, .solutions-grid.cols-4 > * { flex-basis: 100%; max-width: 100%; }
}

/* ===== Lead-capture triggers + email-gate modal ===== */
.lead-trigger { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font); font-size: .9rem; font-weight: 700; color: var(--blue); transition: gap .15s ease, color .15s ease; }
.lead-trigger:hover { gap: 9px; color: var(--blue-600); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.lead-modal[hidden] { display: none; }
.lead-overlay { position: absolute; inset: 0; background: rgba(11, 20, 34, 0.55); backdrop-filter: blur(4px); animation: leadFade .2s ease; }
@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
.lead-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 32px; animation: leadPop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes leadPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.lead-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--mute); cursor: pointer; }
.lead-close:hover { color: var(--ink); }
.lead-title { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--ink); margin: 6px 0; letter-spacing: -.4px; }
.lead-sub { font-size: .95rem; color: var(--body); margin-bottom: 18px; line-height: 1.5; }
.lead-form .field { margin-bottom: 12px; }
.lead-note { margin-top: 14px; padding: 12px 14px; background: rgba(var(--rgb-blue), 0.08); border: 1px solid rgba(var(--rgb-blue), 0.3); border-radius: 11px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.lead-fineprint { margin-top: 12px; font-size: .72rem; color: var(--mute); line-height: 1.45; }
@media (max-width: 480px) { .lead-card { padding: 24px 20px; } .lead-form .field-row { grid-template-columns: 1fr; } }

/* ===== Per-page "talk to an expert" CTA band ===== */
.expert-cta { background: var(--surface); border-block: 1px solid var(--line); }
.expert-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 24px; flex-wrap: wrap; }
.expert-cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ink); letter-spacing: -.4px; }
.expert-cta-sub { font-size: .98rem; color: var(--body); margin-top: 8px; max-width: 560px; }
.expert-cta-btn { flex: 0 0 auto; }
@media (max-width: 700px) { .expert-cta-inner { padding: 36px 18px; } }

/* ===== Lead modal qualifiers + proof + resource cards ===== */
.lead-qual { margin-bottom: 0; }
.lead-proof { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.lead-proof span { font-size: .72rem; color: var(--mute); }
.lead-proof strong { color: var(--blue); font-family: var(--display); font-weight: 800; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.res-card { padding: 26px; display: flex; flex-direction: column; }
.res-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.res-card p { font-size: .92rem; color: var(--body); line-height: 1.55; margin-bottom: 16px; flex: 1; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }
