:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #ecf4ff;
  --ink: #0a1220;
  --muted: #5d6b82;
  --muted-2: #8592a8;
  --line: rgba(9, 22, 43, 0.1);
  --brand: #0b63f6;
  --brand-2: #00c2ff;
  --brand-3: #7c3aed;
  --navy: #07111f;
  --navy-2: #0b1c33;
  --success: #04a777;
  --warning: #f59e0b;
  --danger: #d92d20;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 60px rgba(12, 32, 63, 0.12);
  --shadow-strong: 0 24px 90px rgba(6, 19, 39, 0.25);
  --container: 1180px;
  --header-height: 92px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 194, 255, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 42%, #f9fbff 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 850px; text-align: center; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.pt-0 { padding-top: 0 !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(12, 28, 55, 0.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 40px rgba(10, 18, 32, .08); background: rgba(255,255,255,.94); }
.topbar {
  background: linear-gradient(90deg, var(--navy), #0f2a4e);
  color: rgba(255,255,255,.82);
  font-size: .86rem;
}
.topbar__inner { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar a { color: #fff; font-weight: 700; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 999px;
  color: #26354d;
  font-weight: 750;
  font-size: .95rem;
}
.nav-link:hover,
.nav-link.is-active { background: rgba(11, 99, 246, .09); color: var(--brand); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-46%) translateY(10px);
  width: min(760px, calc(100vw - 40px));
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
  padding: 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-46%) translateY(0); }
.mega-menu__intro {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, #07111f, #102a4d);
  color: #fff;
}
.mega-menu__intro strong { display: block; font-size: 1.2rem; line-height: 1.2; margin: 8px 0; }
.mega-menu__intro p { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: .93rem; }
.mega-menu__intro a { color: #fff; font-weight: 800; }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-menu__grid a { padding: 10px 12px; border-radius: 14px; background: #f4f8ff; color: #24344e; font-weight: 750; font-size: .9rem; }
.mega-menu__grid a:hover { background: #e7f0ff; color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 34px rgba(11, 99, 246, .25);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 42px rgba(11, 99, 246, .32); }
.btn--secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: 0 10px 28px rgba(10, 18, 32, .06); }
.btn--light { color: var(--navy); background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn--ghost-light:hover { color: #fff; background: rgba(255,255,255,.14); }
.btn--full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 128px) 0 76px;
}
.hero::before,
.page-hero::before,
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 15%, rgba(0, 194, 255, .26), transparent 24rem),
    radial-gradient(circle at 18% 18%, rgba(124, 58, 237, .16), transparent 28rem);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: clamp(30px, 6vw, 74px); align-items: center; }
.hero h1,
.page-hero h1,
.product-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: .96;
  letter-spacing: -.075em;
  color: var(--ink);
}
.product-hero h1 { font-size: clamp(2.2rem, 4.7vw, 4.6rem); }
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); }
.lead,
.page-hero p,
.hero-copy p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
  max-width: 720px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.center-actions { justify-content: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px rgba(11, 99, 246, .1);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; }
.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(10, 18, 32, .05);
}
.hero-stats dt { font-size: 1.55rem; line-height: 1; font-weight: 950; color: var(--ink); }
.hero-stats dd { margin: 5px 0 0; color: var(--muted); font-weight: 650; font-size: .9rem; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.dashboard-shell {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(7,17,31,.98), rgba(12,42,80,.95));
  box-shadow: var(--shadow-strong);
  padding: 18px;
  color: #fff;
  overflow: hidden;
}
.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.42), transparent 68%);
}
.dash-top { position: relative; display: flex; gap: 8px; padding: 12px 10px 20px; }
.dash-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.26); }
.dash-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dash-card {
  min-height: 138px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.dash-card--wide { grid-column: span 2; min-height: 188px; }
.dash-card strong { display: block; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; margin-top: 10px; }
.dash-card small,
.dash-label { color: rgba(255,255,255,.7); font-weight: 700; }
.mini-chart { display: flex; align-items: end; gap: 9px; height: 74px; margin-top: 22px; }
.mini-chart i { flex: 1; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); min-height: 24%; }
.mini-chart i:nth-child(2) { min-height: 55%; }
.mini-chart i:nth-child(3) { min-height: 34%; }
.mini-chart i:nth-child(4) { min-height: 82%; }
.mini-chart i:nth-child(5) { min-height: 64%; }
.dash-list p { margin: 13px 0 0; color: rgba(255,255,255,.82); }
.dash-list b { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--success); }
.accent-card { background: linear-gradient(145deg, rgba(11,99,246,.95), rgba(0,194,255,.78)); }
.orbit { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orbit--one { width: 110px; height: 110px; top: 40px; right: 6px; background: linear-gradient(135deg, #fff, rgba(0,194,255,.38)); opacity: .5; animation: float 6s ease-in-out infinite; }
.orbit--two { width: 72px; height: 72px; bottom: 52px; left: 8px; background: linear-gradient(135deg, rgba(124,58,237,.7), rgba(0,194,255,.45)); animation: float 7s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.section { padding: clamp(70px, 9vw, 118px) 0; }
.section--tight { padding: 34px 0; }
.section--soft { background: linear-gradient(180deg, #eef6ff, #f8fbff); }
.section--dark { background: radial-gradient(circle at 70% 10%, rgba(0,194,255,.2), transparent 30rem), linear-gradient(145deg, var(--navy), #0d2443); color: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--dark .section-heading p,
.section--dark p { color: rgba(255,255,255,.72); }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(10,18,32,.05);
}
.logo-strip span { color: var(--muted); font-weight: 800; }
.logo-strip strong { padding: 8px 12px; border-radius: 999px; background: #f1f6ff; color: #25344f; font-size: .92rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid--all { grid-template-columns: repeat(3, 1fr); }
.product-card,
.service-card,
.value-card,
.content-block,
.story-card,
.decision-card,
.contact-card,
.contact-form,
.note-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(12, 32, 63, .07);
}
.product-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.16), transparent 70%);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11,99,246,.28); }
.product-card h2,
.product-card h3 { margin: 18px 0 10px; font-size: 1.28rem; line-height: 1.18; letter-spacing: -.03em; }
.product-card--large h2 { font-size: 1.42rem; }
.product-card p { color: var(--muted); margin: 0 0 18px; }
.product-card__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.product-card__top > span { color: var(--muted); font-weight: 800; font-size: .82rem; text-align: right; max-width: 150px; }
.icon-badge {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 24px rgba(11,99,246,.22);
}
.icon-badge--small { width: 46px; height: 46px; border-radius: 15px; }
.icon-badge--large { width: 74px; height: 74px; border-radius: 24px; }
.icon { width: 24px; height: 24px; }
.icon-badge--large .icon { width: 34px; height: 34px; }
.mini-list,
.feature-list,
.module-list,
.footer-list { list-style: none; padding: 0; margin: 0; }
.mini-list { display: grid; gap: 8px; margin-top: auto; }
.mini-list li,
.module-list li {
  position: relative;
  padding-left: 18px;
  color: #26354d;
  font-weight: 700;
  font-size: .94rem;
}
.mini-list li::before,
.module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--brand); font-weight: 900; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.split-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); gap: clamp(30px, 6vw, 76px); align-items: center; }
.split-grid--reverse { grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr); }
.panel-stack { display: grid; gap: 16px; }
.glass-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.glass-card--light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.glass-card h3 { margin: 10px 0; font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
.feature-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.feature-row span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px; background: rgba(255,255,255,.12); color: var(--brand-2); }
.feature-row strong { display: block; font-size: 1.05rem; color: #fff; }
.feature-row p { margin: 4px 0 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.check-grid div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.check-grid b { display: block; color: var(--brand-2); font-size: 1.25rem; }
.check-grid span { color: rgba(255,255,255,.84); font-weight: 800; }
.section:not(.section--dark) .check-grid div { background: #fff; border-color: var(--line); }
.section:not(.section--dark) .check-grid span { color: var(--ink); }
.check-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps { display: grid; gap: 14px; }
.step { position: relative; padding: 24px 24px 24px 84px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(12, 32, 63, .07); }
.step span { position: absolute; left: 22px; top: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #eaf3ff; color: var(--brand); font-weight: 950; }
.step h3 { margin: 0 0 5px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }
.section--dark .step { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--dark .step span { background: rgba(255,255,255,.12); color: #fff; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { padding: 24px; }
.value-card span { display: inline-grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.value-card h3,
.service-card h3,
.service-card h2,
.content-block h2 { margin: 0 0 10px; line-height: 1.12; letter-spacing: -.03em; }
.value-card p,
.service-card p,
.content-block p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 24px; }
.service-card--large { min-height: 280px; }
.service-grid--large .service-card h2 { font-size: 1.42rem; }

.cta-band { position: relative; overflow: hidden; background: radial-gradient(circle at 18% 22%, rgba(0,194,255,.25), transparent 28rem), linear-gradient(135deg, #07111f, #102a4d); color: #fff; padding: clamp(54px, 7vw, 78px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin: 8px 0 0; max-width: 720px; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.055em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero,
.product-hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 126px) 0; }
.page-hero .container,
.product-hero .container { position: relative; }
.page-hero p { margin: 18px auto 0; }
.breadcrumb-link { display: inline-flex; margin-bottom: 22px; color: var(--brand); font-weight: 850; }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 6vw, 76px); align-items: center; }
.product-hero__panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product-hero__panel h2 { font-size: 1.65rem; line-height: 1.1; letter-spacing: -.035em; margin: 22px 0 10px; }
.product-hero__panel p { color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: #28415f;
  font-weight: 800;
  font-size: .88rem;
}
.three-col-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.content-block { padding: 28px; }
.content-block--accent { background: linear-gradient(145deg, #07111f, #102a4d); color: #fff; }
.content-block--accent p,
.content-block--accent li { color: rgba(255,255,255,.84); }
.module-list { display: grid; gap: 10px; margin-top: 20px; }
.feature-list { display: grid; gap: 13px; margin: 18px 0 0; }
.feature-list li { position: relative; padding-left: 28px; color: var(--muted); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 5px rgba(0,194,255,.12);
}
.feature-list--checked li::before { content: "✓"; width: 18px; height: 18px; top: .2em; display: grid; place-items: center; color: #fff; font-size: .7rem; background: var(--success); box-shadow: none; }
.solution-map { position: relative; min-height: 420px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff, #eef6ff); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 30px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 12px; }
.solution-map::before { content: ""; position: absolute; inset: 34px; border: 1px dashed rgba(11,99,246,.25); border-radius: 50%; }
.map-node { position: relative; z-index: 1; padding: 12px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 850; color: #26354d; box-shadow: 0 8px 22px rgba(12,32,63,.06); }
.map-node.is-main { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); transform: scale(1.08); }
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0; box-shadow: 0 10px 28px rgba(12,32,63,.05); overflow: hidden; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 900; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.story-card { padding: 18px; display: grid; gap: 12px; background: linear-gradient(145deg, #fff, #eef6ff); }
.story-metric { padding: 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); }
.story-metric strong { display: block; font-size: 1.1rem; color: var(--brand); }
.story-metric span { color: var(--muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.decision-card { padding: 30px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); color: #fff; }
.decision-card h3 { font-size: 1.8rem; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 14px; }
.decision-card .feature-list li { color: rgba(255,255,255,.8); }
.decision-card .feature-list li::before { background: var(--brand-2); }

.search-box {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 850;
  color: #26354d;
}
.search-box input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12,32,63,.06);
  outline: none;
}
.search-box input:focus { border-color: rgba(11,99,246,.45); box-shadow: 0 0 0 5px rgba(11,99,246,.1); }
.empty-state { text-align: center; color: var(--muted); font-weight: 800; padding: 34px; }

.contact-grid { display: grid; grid-template-columns: 390px 1fr; gap: clamp(26px, 5vw, 54px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card,
.note-card { padding: 24px; }
.contact-card span { display: inline-grid; color: var(--brand); margin-bottom: 14px; }
.contact-card h2 { font-size: 1.1rem; margin: 0 0 8px; }
.contact-card a,
.contact-card address { color: var(--muted); font-style: normal; font-weight: 700; }
.note-card { background: linear-gradient(145deg, #07111f, #102a4d); color: #fff; }
.note-card p { margin: 8px 0 0; color: rgba(255,255,255,.75); }
.contact-form { padding: clamp(24px, 4vw, 38px); }
.form-header h2 { margin: 8px 0 8px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.05; letter-spacing: -.045em; }
.form-header p { margin: 0 0 22px; color: var(--muted); }
.form-header code { background: #eef6ff; padding: 2px 6px; border-radius: 7px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: #26354d; font-weight: 850; margin-bottom: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(11,99,246,.45); box-shadow: 0 0 0 5px rgba(11,99,246,.1); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-weight: 700 !important; color: var(--muted) !important; }
.consent input { width: 18px; margin-top: 4px; }
.hp-field { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; border-radius: 16px; margin: 0 0 16px; font-weight: 800; background: #eef6ff; color: #24344e; }
.form-alert--success { background: rgba(4,167,119,.1); color: #047857; }
.form-alert--error { background: rgba(217,45,32,.1); color: var(--danger); }

.site-footer { background: #07111f; color: #fff; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.1fr .7fr .9fr; gap: 34px; }
.footer-brand p { color: rgba(255,255,255,.72); max-width: 380px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.site-footer h2 { font-size: 1rem; margin: 0 0 16px; color: rgba(255,255,255,.92); }
.footer-list { display: grid; gap: 10px; }
.footer-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-list a,
.site-footer address,
.site-footer address a { color: rgba(255,255,255,.7); font-style: normal; }
.footer-list a:hover,
.site-footer address a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.56); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 14px 30px rgba(11,99,246,.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .hero-grid,
  .product-hero__grid,
  .split-grid,
  .split-grid--reverse,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .product-grid,
  .product-grid--all,
  .service-grid,
  .three-col-layout { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .topbar { display: none; }
  .nav-wrap { min-height: 72px; }
  .nav-toggle { display: block; z-index: 120; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-list { display: grid; gap: 4px; align-items: stretch; }
  .nav-link { width: 100%; border-radius: 14px; }
  .nav-cta { width: 100%; }
  .mega-menu { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; display: none; margin-top: 6px; grid-template-columns: 1fr; padding: 10px; }
  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu { transform: none; display: grid; }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1, .page-hero h1, .product-hero h1 { letter-spacing: -.055em; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding-top: 58px; }
  .hero-actions,
  .cta-actions,
  .footer-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; margin-top: 14px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card--wide { grid-column: auto; }
  .product-grid,
  .product-grid--all,
  .service-grid,
  .three-col-layout,
  .value-grid,
  .footer-grid,
  .form-row,
  .check-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .cta-band__inner,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logo-strip { border-radius: 24px; justify-content: flex-start; }
  .page-hero, .product-hero { padding: 62px 0; }
  .story-card, .contact-form { border-radius: 22px; }
  .footer-list.two-col { grid-template-columns: 1fr; }
  .solution-map { min-height: 360px; }
}

/* v3 refinements requested after Mac preview review */
.brand img {
  width: 258px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(10,18,32,.08));
}
.footer-brand img {
  width: 190px;
  height: auto;
  max-height: none;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.nav-wrap { min-height: 88px; }
.hero h1,
.page-hero h1,
.product-hero h1 {
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
.section-heading h2,
.cta-band h2,
.form-header h2,
.service-card h2,
.service-card h3,
.content-block h2,
.product-card h2,
.product-card h3,
.product-hero__panel h2 {
  letter-spacing: -0.018em;
}
.service-card .icon-badge,
.value-card .icon,
.content-block .icon-badge { margin-bottom: 20px; }
.service-card h2,
.service-card h3 { margin-top: 4px; }
.icon-badge {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
  border-radius: 21px;
}
.icon-badge--small { width: 54px; height: 54px; border-radius: 17px; }
.icon-badge--large { width: 86px; height: 86px; border-radius: 28px; }
.icon { width: 29px; height: 29px; }
.icon-badge--large .icon { width: 42px; height: 42px; }
.product-card__top { align-items: center; }
.product-card__top > span { max-width: 180px; }

.has-mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}
.mega-menu {
  top: 100%;
  z-index: 250;
  transform: translateX(-46%) translateY(12px);
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-46%) translateY(0);
}
.mega-menu__intro {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, #07111f, #102a4d);
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mega-menu__intro:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(7,17,31,.2); }
.mega-menu__intro strong { display: block; font-size: 1.2rem; line-height: 1.2; margin: 8px 0; }
.mega-menu__intro p { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: .93rem; }
.mega-menu__intro em { color: #fff; font-weight: 900; font-style: normal; }
.mega-menu__grid a { position: relative; z-index: 2; min-height: 42px; display: flex; align-items: center; }

.page-hero--split { padding: clamp(70px, 8vw, 112px) 0; }
.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.page-hero--split .container { max-width: var(--container); text-align: left; }
.page-hero--split p { margin-left: 0; margin-right: 0; }
.page-hero__visual {
  position: relative;
  padding: 10px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.product-hero__panel--visual {
  padding: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
}
.product-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(12,32,63,.12);
}
.product-hero__summary-card {
  position: relative;
  margin: -34px 12px 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(12,32,63,.12);
  display: flex;
  gap: 16px;
  align-items: center;
}
.product-hero__summary-card h2 { margin: 0 0 6px; }
.product-hero__summary-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.product-hero__panel--visual .chip-row { padding: 0 10px 10px; }
.section--details { background: linear-gradient(180deg, #f1f7ff, #ffffff); }
.source-details {
  display: grid;
  gap: 24px;
}
.source-details__intro,
.source-details__closing,
.source-group {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(12,32,63,.06);
  padding: clamp(22px, 3.2vw, 34px);
}
.source-details__intro h2 { margin: 8px 0 18px; font-size: clamp(1.8rem, 3.5vw, 3.1rem); line-height: 1.05; letter-spacing: -0.02em; }
.source-details__intro p,
.source-details__closing p { color: var(--muted); margin: 12px 0 0; }
.source-details__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.source-group h3 { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.02em; }
.module-list--two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-product-card][hidden] { display: none !important; }
.search-box input { -webkit-appearance: none; appearance: none; }
.search-box__meta { color: var(--muted); font-size: .9rem; font-weight: 750; margin-top: 4px; }

@media (max-width: 1080px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__visual { max-width: 620px; }
  .product-hero__panel--visual { max-width: 620px; }
  .source-details__groups { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .brand img { width: 214px; max-height: 64px; }
  .nav-wrap { min-height: 78px; }
  .main-nav.is-open .mega-menu { display: grid; }
  .has-mega.is-open .mega-menu { transform: none; }
  .mega-menu { top: auto; }
}
@media (max-width: 680px) {
  .hero h1, .page-hero h1, .product-hero h1 { letter-spacing: -0.012em; line-height: 1.08; }
  .module-list--two-col { grid-template-columns: 1fr; }
  .product-hero__summary-card { display: grid; margin: -24px 8px 0; }
  .icon-badge { width: 60px; height: 60px; flex-basis: 60px; }
}
/* readability override: remove cramped headline tracking */
.hero h1,
.page-hero h1,
.product-hero h1 { letter-spacing: 0; line-height: 1.08; }

/* v3 home hero illustration */
.hero-visual--image {
  min-height: clamp(440px, 48vw, 620px);
  align-items: center;
}
.hero-illustration {
  width: min(100%, 640px);
  height: auto;
  display: block;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}
.hero-floating-card {
  position: absolute;
  width: min(260px, 52vw);
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(12,32,63,.16);
  backdrop-filter: blur(14px);
}
.hero-floating-card strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.1; }
.hero-floating-card span { display: block; color: var(--muted); font-weight: 700; font-size: .86rem; margin-top: 6px; }
.hero-floating-card--top { right: 0; top: 42px; }
.hero-floating-card--bottom { left: 0; bottom: 46px; }
@media (max-width: 680px) {
  .hero-floating-card { position: relative; inset: auto; width: 100%; margin-top: 12px; }
  .hero-illustration { border-radius: 26px; }
}

/* v4 refinement pass: exact logo, neutral hero placeholders, clearer buttons and larger icons */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand { padding: 5px 0; }
.brand img {
  width: auto;
  height: 76px;
  max-width: 172px;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(10,18,32,.08));
}
.nav-wrap { min-height: 96px; }

.btn {
  min-height: 50px;
  padding: 13px 22px;
  line-height: 1.1;
}
.nav-cta {
  min-height: 44px;
  padding: 11px 18px;
}
.hero-actions,
.cta-actions,
.footer-actions {
  align-items: center;
}
.hero-actions { margin: 34px 0 0; }
.section-heading--left > .btn,
.section-heading--left .btn { margin-top: 22px; }
.center.mt-32 { display: flex; justify-content: center; }
.cta-band__inner { align-items: center; }
.cta-actions {
  justify-content: flex-end;
  flex: 0 0 auto;
}
.cta-actions .btn { min-width: 164px; }
.product-card,
.service-card { display: flex; flex-direction: column; }
.product-card .text-link,
.service-card .text-link {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
}
.contact-form .btn--full {
  width: auto;
  min-width: 190px;
  align-self: flex-start;
}

.icon-badge {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
  border-radius: 24px;
}
.icon-badge--small {
  width: 62px;
  height: 62px;
  border-radius: 19px;
}
.icon-badge--large {
  width: 98px;
  height: 98px;
  border-radius: 31px;
}
.icon { width: 34px; height: 34px; }
.icon-badge--small .icon { width: 30px; height: 30px; }
.icon-badge--large .icon { width: 50px; height: 50px; }
.value-card span .icon,
.contact-card span .icon,
.feature-row span .icon { width: 36px; height: 36px; }
.product-card__top > span { max-width: 170px; }

.hero-visual--image { min-height: auto; }
.hero-illustration,
.page-hero__visual img,
.product-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.hero-illustration {
  border-radius: 32px;
}
.page-hero__visual,
.product-hero__panel--visual {
  padding: 12px;
  background: rgba(255,255,255,.82);
}
.page-hero__visual img,
.product-illustration { border-radius: 26px; }
.product-hero__panel--visual { max-width: 470px; justify-self: end; }
.product-hero__summary-card { align-items: flex-start; }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-links a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.social-icon { width: 20px; height: 20px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-legal a {
  color: rgba(255,255,255,.72);
  font-weight: 750;
}
.footer-legal a:hover { color: #fff; }
.legal-content {
  max-width: 930px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.legal-content h2 {
  margin: 30px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}
.legal-content p { color: var(--muted); }
.legal-content a { color: var(--brand); font-weight: 850; }

@media (max-width: 1080px) {
  .product-hero__panel--visual { justify-self: start; }
}
@media (max-width: 880px) {
  .brand img { height: 60px; max-width: 138px; }
  .nav-wrap { min-height: 78px; }
  .main-nav { top: 84px; }
}
@media (max-width: 680px) {
  .brand img { height: 54px; max-width: 124px; }
  .hero-actions,
  .cta-actions,
  .footer-actions { align-items: stretch; }
  .contact-form .btn--full { width: 100%; }
  .icon-badge { width: 68px; height: 68px; flex-basis: 68px; }
  .icon { width: 31px; height: 31px; }
  .footer-legal { flex-direction: column; gap: 10px; }
  .page-hero__visual,
  .product-hero__panel--visual { max-width: 100%; }
}


/* v6 home hero alignment fix
   Keeps the right-side hero image aligned with the headline instead of dropping too low. */
.hero--home {
  padding: clamp(52px, 6.5vw, 88px) 0 clamp(48px, 5vw, 72px);
}
.hero--home .hero-grid {
  align-items: start;
  grid-template-columns: minmax(0, .98fr) minmax(420px, .92fr);
  gap: clamp(28px, 5vw, 64px);
}
.hero--home .hero-copy {
  padding-top: clamp(22px, 3vw, 42px);
}
.hero--home h1 {
  max-width: 740px;
  font-size: clamp(2.95rem, 5.15vw, 4.95rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero--home .lead {
  max-width: 650px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}
.hero--home .hero-actions {
  margin: 24px 0 0;
}
.hero--home .hero-stats {
  margin-top: 26px;
}
.hero--home .hero-visual--image {
  min-height: 0;
  padding-top: clamp(64px, 7.4vw, 112px);
  align-items: start;
  justify-items: center;
}
.hero--home .hero-illustration {
  width: min(100%, 620px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 30px;
}

/* Keep split-page hero images better balanced on About, Services, Contact and product pages. */
.page-hero--split {
  padding: clamp(58px, 7vw, 94px) 0;
}
.page-hero__grid,
.product-hero__grid {
  align-items: start;
}
.page-hero__visual {
  align-self: start;
  margin-top: clamp(18px, 3.8vw, 54px);
}
.page-hero__visual img,
.product-illustration {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-hero__panel--visual {
  align-self: start;
}

@media (min-width: 1180px) and (max-width: 1500px) {
  .hero--home h1 {
    font-size: clamp(3rem, 4.75vw, 4.55rem);
  }
  .hero--home .hero-visual--image {
    padding-top: clamp(56px, 6.6vw, 98px);
  }
}
@media (max-width: 1080px) {
  .hero--home .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  }
  .hero--home .hero-visual--image {
    padding-top: clamp(42px, 6vw, 78px);
  }
}
@media (max-width: 980px) {
  .hero--home {
    padding: 56px 0 62px;
  }
  .hero--home .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero--home .hero-copy {
    padding-top: 0;
  }
  .hero--home .hero-visual--image {
    max-width: 680px;
    margin: 0 auto;
    padding-top: 12px;
  }
  .hero--home h1 {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }
  .page-hero__visual {
    margin-top: 10px;
  }
}
@media (max-width: 680px) {
  .hero--home h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
    line-height: 1.06;
  }
  .hero--home .hero-stats {
    display: none;
  }
  .hero--home .hero-illustration {
    border-radius: 24px;
  }
}

/* v7 mobile navigation repair: compact drawer and controlled product submenu */
.mega-toggle {
  display: none;
}

@media (max-width: 880px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    position: relative;
    z-index: 1200;
  }

  .main-nav {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: 88px !important;
    z-index: 1100 !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 104px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 18px !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, .985) !important;
    border: 1px solid rgba(9, 22, 43, .11) !important;
    box-shadow: 0 24px 90px rgba(6, 19, 39, .26) !important;
  }

  .main-nav.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-list {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .nav-item {
    width: 100% !important;
  }

  .nav-link {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: flex-start !important;
    padding: 13px 16px !important;
    border-radius: 16px !important;
    line-height: 1.2 !important;
    background: #f3f7ff;
  }

  .nav-link.is-active {
    background: #e8f0ff !important;
  }

  .has-mega {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    gap: 8px !important;
    align-items: start !important;
  }

  .has-mega::after {
    display: none !important;
    content: none !important;
  }

  .has-mega > .nav-link {
    grid-column: 1 / 2 !important;
  }

  .mega-toggle {
    grid-column: 2 / 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #eef5ff !important;
    color: #0b63f6 !important;
    cursor: pointer !important;
    box-shadow: inset 0 0 0 1px rgba(11, 99, 246, .08) !important;
  }

  .mega-toggle span {
    width: 10px !important;
    height: 10px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform .18s ease !important;
  }

  .has-mega.is-open .mega-toggle span {
    transform: translateY(2px) rotate(225deg) !important;
  }

  .mega-menu,
  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu,
  .has-mega.is-open .mega-menu,
  .main-nav.is-open .mega-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    margin: 2px 0 0 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    border: 1px solid rgba(9, 22, 43, .08) !important;
    background: #f8fbff !important;
    padding: 12px !important;
    gap: 12px !important;
    pointer-events: auto !important;
  }

  .main-nav.is-open .has-mega:not(.is-open) .mega-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .main-nav.is-open .has-mega.is-open .mega-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mega-menu__intro {
    display: block !important;
    padding: 14px !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #07111f, #102a4d) !important;
    color: #fff !important;
  }

  .mega-menu__intro .eyebrow,
  .mega-menu__intro p {
    display: none !important;
  }

  .mega-menu__intro strong {
    margin: 0 !important;
    font-size: .98rem !important;
    line-height: 1.2 !important;
  }

  .mega-menu__intro em {
    display: inline-flex !important;
    margin-top: 6px !important;
    color: #fff !important;
    font-size: .86rem !important;
    font-style: normal !important;
  }

  .mega-menu__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .mega-menu__grid a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 10px 11px !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: #edf4ff !important;
    color: #22324b !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .nav-cta {
    width: 100% !important;
    margin: 2px 0 0 !important;
  }
}

@media (max-width: 420px) {
  .main-nav {
    left: 10px !important;
    right: 10px !important;
    top: 82px !important;
    max-height: calc(100dvh - 94px) !important;
    padding: 14px !important;
    border-radius: 22px !important;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr !important;
  }
}
