/* ============================================================
   TOKENS (from design-research/03-design-tokens.md)
   ============================================================ */
:root {
  /* Color */
  --bg: #FFFFFF;
  --surface: #F7F8FA;
  --surface-2: #EFF2F7;
  --ink: #0B1220;
  --ink-muted: #5A6478;
  --ink-soft: #8892A6;
  --brand: #0B3FA3;
  --brand-hover: #072969;
  --brand-soft: #E7EEFB;
  --success: #10B981;
  --success-bg: #ECFDF5;
  --line: #E5E9F0;
  --line-soft: #EEF1F6;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --shadow: 0 4px 12px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 18px 42px rgba(11, 18, 32, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Type */
  --font-heading: 'Nunito Sans', system-ui, -apple-system, Arial, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, Arial, sans-serif;
  --h1: clamp(36px, 5vw, 56px);
  --h2: clamp(30px, 3.5vw, 40px);
  --h3: clamp(24px, 2.4vw, 28px);
  --h4: 22px;
  --h5: 18px;
  --body-lg: 18px;
  --body: 16px;
  --body-sm: 14px;
  --micro: 12px;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Defensive: stops any oversized child (3rd-party widget, wide table, etc.)
     from creating a page-wide horizontal scrollbar. `clip` is safer than
     `hidden` because it doesn't break `position: sticky` on descendants. */
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 var(--s-4);
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1, h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h3, h4, h5 { font-weight: 700; line-height: 1.25; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); line-height: 1.2; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
p { margin: 0 0 var(--s-4); color: var(--ink-muted); }
p.lead { font-size: var(--body-lg); line-height: 1.6; color: var(--ink-muted); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
section {
  padding: var(--s-9) 0;
}
@media (max-width: 720px) {
  section { padding: var(--s-8) 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 48px;
  padding: 0 var(--s-6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-hover);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--lg { height: 52px; padding: 0 var(--s-7); font-size: 16px; }
.btn--white {
  background: #fff;
  color: var(--brand);
}
.btn--white:hover { background: #fff; color: var(--brand-hover); box-shadow: var(--shadow); }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand-mark img {
  height: 54px;
  width: auto;
  display: block;
}
.site-footer .brand-mark img {
  height: 60px;
}
@media (max-width: 540px) {
  .brand-mark img { height: 44px; }
  .site-footer .brand-mark img { height: 50px; }
}
/* Legacy classes kept for backwards-compat (not used after logo swap) */
.brand-mark__dot,
.brand-mark__sub { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--brand); }

/* Nav dropdown (Features mega menu) */
.nav-item--has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.15s ease;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 0;
}
.nav-trigger:hover { color: var(--brand); }
.nav-trigger svg { transition: transform 0.2s ease; color: var(--ink-soft); }
@media (min-width: 961px) {
  .nav-item--has-dropdown:hover .nav-trigger svg,
  .nav-item--has-dropdown:focus-within .nav-trigger svg { transform: rotate(180deg); color: var(--brand); }
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  width: 620px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  height: 16px;
}
@media (min-width: 961px) {
  .nav-item--has-dropdown:hover .nav-dropdown,
  .nav-item--has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}
.nav-dropdown__item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: 10px;
  color: var(--ink);
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
.nav-dropdown__item:hover {
  background: var(--surface);
  color: var(--ink);
}
.nav-dropdown__item-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 8px;
  display: grid; place-items: center;
}
.nav-dropdown__item-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}
.nav-dropdown__item-text span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
  font-weight: 500;
}

.site-header__cta { display: flex; gap: var(--s-3); align-items: center; }
.site-header__cta .btn { height: 42px; padding: 0 var(--s-5); font-size: 14px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle__close { display: none; }
body[data-nav-open] .nav-toggle__open { display: none; }
body[data-nav-open] .nav-toggle__close { display: block; }

/* ============================================================
   MOBILE NAV (<= 960px) — right-side slide-in drawer.
   Desktop layout (>960px) is untouched.
   ============================================================ */
@media (max-width: 960px) {
  /* Disable header backdrop-filter on mobile.
     Reason: `backdrop-filter` creates a containing block for fixed-positioned
     descendants, which would clip the drawer (.nav) to the header's height.
     Removing it lets the drawer be truly viewport-fixed. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* When drawer is open, lift the header (which contains the drawer)
     above the body::before backdrop. */
  body[data-nav-open] .site-header { z-index: 105; }

  /* Hide nav + CTA by default; show toggle */
  .nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Backdrop overlay shown when drawer is open */
  body[data-nav-open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 21, 56, 0.5);
    z-index: 98;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  /* Right-side drawer: contains both NAV and CTA stacked.
     We position .nav as the drawer container and slide .site-header__cta
     to sit pinned at the bottom inside it via fixed positioning. */
  body[data-nav-open] .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(85vw, 360px);
    background: #fff;
    padding: 76px 16px 96px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 28px rgba(8, 21, 56, 0.18);
    z-index: 99;
    animation: navSlideIn 0.28s ease;
  }
  @keyframes navSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  /* Pin CTA inside drawer at the bottom */
  body[data-nav-open] .site-header__cta {
    display: flex;
    position: fixed;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 100;
  }
  body[data-nav-open] .site-header__cta .btn { width: 100%; height: 48px; }

  /* Keep hamburger / close button above the drawer */
  .nav-toggle { z-index: 110; }
  body[data-nav-open] .nav-toggle { position: fixed; top: 12px; right: 12px; background: #fff; }

  /* Nav-item layout for mobile */
  .nav .nav-item--has-dropdown { width: 100%; flex-direction: column; align-items: stretch; }
  .nav > a, .nav-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .nav > a:hover, .nav-trigger:hover,
  .nav > a:active, .nav-trigger:active { background: var(--surface); color: var(--brand); }
  .nav-trigger { justify-content: space-between; }
  .nav-trigger svg { margin-left: auto; transition: transform 0.25s ease; color: var(--ink-muted); flex-shrink: 0; }
  .nav-item--has-dropdown.is-open .nav-trigger { background: var(--brand-soft); color: var(--brand); }
  .nav-item--has-dropdown.is-open .nav-trigger svg { transform: rotate(180deg); color: var(--brand); }

  /* Features dropdown: collapsed by default, opens on tap */
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100%;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-dropdown::before { display: none; }
  .nav-item--has-dropdown.is-open .nav-dropdown {
    max-height: 1500px;
    padding: 6px 6px 6px 18px !important;
    margin-bottom: 4px;
  }
  .nav-dropdown__grid { grid-template-columns: 1fr !important; gap: 2px !important; }
  .nav-dropdown__item {
    padding: 10px 12px !important;
    min-height: 48px;
    border-radius: 8px;
    background: transparent;
  }
  .nav-dropdown__item:hover,
  .nav-dropdown__item:active { background: var(--surface); }
  .nav-dropdown__item-icon { flex-shrink: 0; }
  .nav-dropdown__item-text strong { font-size: 14.5px; }
  .nav-dropdown__item-text span { font-size: 12px; line-height: 1.4; }
}

/* Header height reduced on phones — keeps menu offset accurate (top: 64px in JS panel above) */
@media (max-width: 640px) {
  .site-header__inner { height: 64px; }
  .brand-mark img { height: 40px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(11, 63, 163, 0.06) 0%, transparent 50%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero__copy h1 { margin-bottom: var(--s-5); }
.hero__copy h1 .accent { color: var(--brand); }
.hero__sub {
  font-size: var(--body-lg);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: var(--s-7);
}
.hero__ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: var(--body-sm);
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.hero__trust svg { color: var(--success); }

/* Generic hero image (placeholder + real, drop-in replaceable) */
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  background: var(--surface);
}
.hero-image--phone {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  display: block;
  background: var(--surface);
}

/* Dashboard mockup */
.hero__visual { position: relative; }
.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.dash__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.dash__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.dash__bar span:nth-child(1) { background: #FF5F57; }
.dash__bar span:nth-child(2) { background: #FEBC2E; }
.dash__bar span:nth-child(3) { background: #28C840; }
.dash__bar .url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.dash__body { padding: 20px; display: grid; gap: 14px; }
.dash__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.dash__card {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
}
.dash__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.dash__metric {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.1;
}
.dash__delta {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
}
.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 10px;
}
.dash__chart i {
  flex: 1;
  background: linear-gradient(to top, var(--brand), #5C8EE6);
  border-radius: 4px 4px 0 0;
  display: block;
  opacity: 0.85;
}
.dash__list { display: grid; gap: 10px; }
.dash__list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 13px;
}
.dash__list-item .who { font-weight: 700; color: var(--ink); }
.dash__list-item .tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.tag--green { background: var(--success-bg); color: var(--success); }
.tag--amber { background: #FEF3C7; color: #B45309; }
.tag--blue { background: var(--brand-soft); color: var(--brand); }
.dash__pill {
  position: absolute;
  top: -14px;
  right: -10px;
  background: var(--success);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__sub { max-width: none; }
}

/* ============================================================
   LOGO BAR
   ============================================================ */
.logos {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.logos__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--s-7);
}
.logos__header h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: var(--s-3);
}
.logos__sub {
  font-size: var(--body);
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}
.logos__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7) var(--s-6);
  align-items: center;
  justify-items: center;
}
.logos__row .logo {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos__row .logo img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 800px) {
  .logos__row { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}
@media (max-width: 480px) {
  .logos__row { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .logos__row .logo img { max-width: 110px; max-height: 38px; }
}

/* ============================================================
   TRUST STATS
   ============================================================ */
.trust {
  background: var(--surface);
  padding: var(--s-8) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-4);
  text-align: center;
}
.trust__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.trust__label {
  font-size: var(--body-sm);
  color: var(--ink-muted);
  font-weight: 600;
}
@media (max-width: 720px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}

/* ============================================================
   MODULES
   ============================================================ */
.modules__header {
  max-width: 720px;
  margin-bottom: var(--s-8);
}
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.module:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-soft);
  transform: translateY(-2px);
}
/* Anchor variant: clickable card */
a.module { text-decoration: none; color: inherit; display: block; }
a.module:hover { border-color: var(--brand); }

/* Top-right click affordance arrow (first 6 cards) */
.module__arrow {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
a.module:hover .module__arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translate(3px, -3px);
}

/* 3D icon - glossy gradient treatment for color variants */
.module__icon {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: var(--s-5);
  position: relative;
}
.module[class*="module--"] .module__icon {
  color: #fff;
  box-shadow:
    0 6px 14px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 4px rgba(0,0,0,0.12);
}
.module[class*="module--"] .module__icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.module[class*="module--"] .module__icon svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.22));
}

/* Light tint backgrounds + matching gradient icons (9 variants) */
.module--blue     { background: #eff6ff; }
.module--blue    .module__icon { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }

.module--emerald  { background: #ecfdf5; }
.module--emerald .module__icon { background: linear-gradient(135deg, #34d399, #047857); }

.module--violet   { background: #f5f3ff; }
.module--violet  .module__icon { background: linear-gradient(135deg, #a78bfa, #5b21b6); }

.module--amber    { background: #fffbeb; }
.module--amber   .module__icon { background: linear-gradient(135deg, #fbbf24, #b45309); }

.module--cyan     { background: #ecfeff; }
.module--cyan    .module__icon { background: linear-gradient(135deg, #22d3ee, #0e7490); }

.module--rose     { background: #fff1f2; }
.module--rose    .module__icon { background: linear-gradient(135deg, #fb7185, #9f1239); }

.module--teal     { background: #f0fdfa; }
.module--teal    .module__icon { background: linear-gradient(135deg, #2dd4bf, #0f766e); }

.module--indigo   { background: #eef2ff; }
.module--indigo  .module__icon { background: linear-gradient(135deg, #818cf8, #3730a3); }

.module--fuchsia  { background: #fdf4ff; }
.module--fuchsia .module__icon { background: linear-gradient(135deg, #e879f9, #86198f); }

/* Headings on clickable cards need right-padding so text doesn't overlap arrow */
a.module h3 { padding-right: 44px; }
.module h3 {
  font-size: 20px;
  margin-bottom: var(--s-2);
}
.module p {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.module__list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0;
  display: grid;
  gap: 6px;
}
.module__list li {
  font-size: 14px;
  color: var(--ink-muted);
  padding-left: 22px;
  position: relative;
}
.module__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--success-bg);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}
@media (max-width: 900px) {
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .modules__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPLIANCE (Maharashtra & Mumbai)
   ============================================================ */
.compliance {
  background:
    linear-gradient(180deg, var(--brand-soft) 0%, #F4F7FE 100%);
}
.compliance__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: start;
}
.compliance__intro {
  position: sticky;
  top: 100px;
}
.compliance__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-5);
}
.compliance__intro h2 {
  margin-bottom: var(--s-4);
}
.compliance__intro p {
  font-size: var(--body-lg);
  color: var(--ink-muted);
  line-height: 1.6;
}
.compliance__callout {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--s-5);
  margin-top: var(--s-6);
  border: 1px solid var(--line-soft);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.compliance__callout-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.compliance__callout strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}
.compliance__callout p {
  font-size: var(--body-sm);
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}
.compliance__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.compliance__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.compliance__item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.compliance__item-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.compliance__item-text strong a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--brand-soft); transition: color 0.15s, border-color 0.15s; }
.compliance__item-text strong a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.compliance__item-text strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}
.compliance__item-text span {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}
@media (max-width: 960px) {
  .compliance__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .compliance__intro { position: static; }
}
@media (max-width: 560px) {
  .compliance__items { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY MUMBAI
   ============================================================ */
.why {
  background: var(--surface);
}
.why__header {
  max-width: 720px;
  margin-bottom: var(--s-8);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.why__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--line-soft);
}
.why__card .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
  line-height: 1;
}
.why__card h3 {
  font-size: 20px;
  margin-bottom: var(--s-3);
}
.why__card p { font-size: 15px; margin: 0; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-8);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan--popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transform: translateY(-4px);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.plan__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
}
.plan__price .amt {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.plan__price .per {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 600;
}
.plan__addon {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.plan__base {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: var(--s-5);
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: grid;
  gap: var(--s-3);
  flex-grow: 1;
}
.plan__features li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--success-bg);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}
.plan .btn { width: 100%; }
@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; gap: var(--s-5); }
  .plan--popular { transform: none; }
}
@media (max-width: 640px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--surface);
}
.testimonials__header {
  max-width: 720px;
  margin-bottom: var(--s-7);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
.quote {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.quote__stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  margin-bottom: var(--s-4);
}
.quote__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: var(--s-5);
  flex-grow: 1;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.quote__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.quote__avatar--img { background: transparent; padding: 0; }
.quote__avatar--img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 50%; }
.quote__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.quote__title { font-size: 13px; color: var(--ink-muted); }
@media (max-width: 800px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--brand) 0%, #082E80 100%);
  color: #fff;
  padding: var(--s-9) 0;
  text-align: center;
}
.cta-strip h2 {
  color: #fff;
  max-width: 720px;
  margin: 0 auto var(--s-4);
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--body-lg);
  max-width: 540px;
  margin: 0 auto var(--s-7);
}
.cta-strip__buttons {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-strip__phone {
  margin-top: var(--s-6);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--body-sm);
}
.cta-strip__phone a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A1020;
  color: #9AA3BC;
  padding: var(--s-9) 0 var(--s-6);
  font-size: var(--body-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
.footer__brand .brand-mark { color: #fff; }
.footer__brand .brand-mark__sub { background: rgba(255, 255, 255, 0.1); color: #fff; }
.footer__about {
  margin-top: var(--s-4);
  font-size: 14px;
  line-height: 1.6;
  color: #9AA3BC;
  max-width: 280px;
}
.footer__address {
  margin-top: var(--s-4);
  font-size: 13px;
  line-height: 1.55;
  color: #9AA3BC;
}
.footer__col h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
}
.footer__col a {
  color: #9AA3BC;
  font-size: 14px;
  transition: color 0.15s;
}
.footer__col a:hover { color: #fff; }

/* Address + contact spacing in brand col */
.footer__contact {
  margin-top: var(--s-5) !important;
  font-size: 13px;
  line-height: 1.55;
  color: #9AA3BC;
}

/* Certifications + app badges column */
.footer__col--certs .footer__certs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: var(--s-5);
}
.footer__col--certs .footer__certs img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
}
.footer__app-badges {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer__app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  min-width: 158px;
  transition: transform 0.15s, border-color 0.15s;
}
.footer__app-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.35);
}
.footer__app-badge svg { flex-shrink: 0; }
.footer__app-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer__app-badge__text small {
  font-size: 9px;
  letter-spacing: 0.02em;
  opacity: 0.85;
  text-transform: uppercase;
  font-weight: 500;
}
.footer__app-badge__text strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer__copy { font-size: 13px; color: #6B7390; }
.footer__legal-links {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
  align-items: center;
}
.footer__legal-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.footer__legal-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__socials { display: flex; gap: var(--s-3); }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #9AA3BC;
  display: grid; place-items: center;
  transition: all 0.15s;
}
.footer__socials a:hover {
  background: var(--brand);
  color: #fff;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HEAD (sub-page hero banner, used on non-homepage pages)
   ============================================================ */
.page-head {
  padding: var(--s-9) 0 var(--s-8);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(11, 63, 163, 0.07) 0%, transparent 60%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.page-head__inner {
  max-width: 760px;
  margin: 0 auto;
}
.page-head h1 {
  margin-bottom: var(--s-5);
}
.page-head p {
  font-size: var(--body-lg);
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg);
}
.faq__grid {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--s-3);
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-6);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq__item:hover {
  border-color: var(--brand-soft);
}
.faq__item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--brand);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  content: '\2212';
}
.faq__item p {
  margin-top: var(--s-4);
  margin-bottom: 0;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ============================================================
   COMPARE TABLE (used on pricing & feature pages)
   ============================================================ */
.compare-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: var(--s-7);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare th,
.compare td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  vertical-align: middle;
}
.compare thead th {
  background: var(--surface);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}
.compare thead th.compare__plan {
  text-align: center;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--brand);
}
.compare tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}
.compare tbody td.compare__check {
  text-align: center;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare__check svg {
  display: inline-block;
  color: var(--success);
}
.compare__dash {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
}
.compare__row-group td {
  background: var(--surface-2);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding-top: var(--s-4);
  padding-bottom: var(--s-3);
}

/* ============================================================
   Skip link / accessibility
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ============================================================
   PRODUCT PAGE COMMON
   (used on all page-<module>-software.html pages)
   ============================================================ */
.product-hero {
  padding: var(--s-9) 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(11, 63, 163, 0.06) 0%, transparent 50%),
    var(--bg);
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
}
.product-hero__copy h1 { margin-bottom: var(--s-5); }
.product-hero__sub {
  font-size: var(--body-lg);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: var(--s-6);
}
.product-hero__ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.product-hero__trust {
  display: flex;
  gap: var(--s-5);
  font-size: var(--body-sm);
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.product-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.product-hero__trust svg { color: var(--success); }
@media (max-width: 900px) {
  .product-hero__grid { grid-template-columns: 1fr; }
}

/* Feature block (deeper than homepage modules) */
.feature-block { padding: var(--s-9) 0; }
.feature-block__header {
  max-width: 720px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-soft);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: var(--s-5);
}
.feature-card h3 { font-size: 19px; margin-bottom: var(--s-3); }
.feature-card p { font-size: 15px; margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* Process steps */
.steps { background: var(--surface); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  border: 1px solid var(--line-soft);
}
.step__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
}
.step h4 { font-size: 17px; margin-bottom: var(--s-2); }
.step p { font-size: 14px; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps__grid { grid-template-columns: 1fr; } }

/* Before/After split */
.before-after__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.ba-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
}
.ba-card--before { background: #FFF8F5; border-color: #FDD8C8; }
.ba-card--after { background: var(--success-bg); border-color: #BBEFD5; }
.ba-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-5);
}
.ba-card--before .ba-card__tag { background: #F97316; color: #fff; }
.ba-card--after .ba-card__tag { background: var(--success); color: #fff; }
.ba-card h3 { font-size: 22px; margin-bottom: var(--s-4); }
.ba-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.ba-card li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.ba-card--before li::before {
  content: '\2715';
  position: absolute;
  left: 0; top: 0;
  color: #F97316;
  font-weight: 800;
  font-size: 14px;
}
.ba-card--after li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 16px;
}
@media (max-width: 800px) { .before-after__grid { grid-template-columns: 1fr; } }

/* Generic mockup chrome (browser-window style frame, reusable per product) */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.mock__header {
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.mock__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.mock__body { padding: 18px 20px; }
.mock__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.mock__row:last-child { border-bottom: none; }
.mock__who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.mock__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}
.mock__role {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
}
.mock__action { text-align: right; }
.mini-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
}

/* Phone-style mockup for ESS app page */
.phone-mock {
  width: 320px;
  margin: 0 auto;
  background: #0A1020;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-mock__screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 18;
  position: relative;
}
.phone-mock__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0A1020;
  border-radius: 14px;
  z-index: 5;
}
.phone-mock__app {
  padding: 56px 18px 18px;
  display: grid;
  gap: 12px;
}
.phone-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
}
.phone-card__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.phone-card__val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.phone-card__sub {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.phone-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.phone-action {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.phone-action svg {
  margin: 0 auto 4px;
  color: var(--brand);
}

/* ============================================================
   MOBILE AI FEATURES
   ============================================================ */
.mobile-ai {
  background: linear-gradient(135deg, #0B3FA3 0%, #1a56c9 50%, #2d6cf3 100%);
  color: #fff;
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
/* Decorative blurred orbs */
.mobile-ai__bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 85% 30%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(500px circle at 15% 80%, rgba(45,108,243,0.4), transparent 50%);
}
.mobile-ai .container {
  position: relative;
  z-index: 1;
}
.mobile-ai .eyebrow {
  color: rgba(255,255,255,0.78);
  font-family: var(--font-heading);
}
.mobile-ai h2 {
  color: #fff;
  font-family: var(--font-heading);
}
.mobile-ai .lead {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body);
}
.mobile-ai__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
}
.mobile-ai__copy {
  max-width: 560px;
}
.mobile-ai__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
}

/* Distinct accent card colors */
.mobile-ai__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.mobile-ai__feature::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
}
.mobile-ai__feature--violet { background: rgba(124, 58, 237, 0.18); border-color: rgba(167, 139, 250, 0.35); }
.mobile-ai__feature--violet::before { background: linear-gradient(180deg, #a78bfa, #7c3aed); }

.mobile-ai__feature--rose { background: rgba(244, 63, 94, 0.18); border-color: rgba(251, 113, 133, 0.4); }
.mobile-ai__feature--rose::before { background: linear-gradient(180deg, #fb7185, #f43f5e); }

.mobile-ai__feature--cyan { background: rgba(6, 182, 212, 0.18); border-color: rgba(34, 211, 238, 0.4); }
.mobile-ai__feature--cyan::before { background: linear-gradient(180deg, #22d3ee, #06b6d4); }

.mobile-ai__feature--emerald { background: rgba(16, 185, 129, 0.18); border-color: rgba(52, 211, 153, 0.4); }
.mobile-ai__feature--emerald::before { background: linear-gradient(180deg, #34d399, #10b981); }

.mobile-ai__feature:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.mobile-ai__feature strong {
  display: block;
  font-family: var(--font-heading);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.25;
}
.mobile-ai__feature p {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.55;
}

/* 3D gradient icons, distinct color per card */
.mobile-ai__icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
}
.mobile-ai__icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.mobile-ai__icon svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
.mobile-ai__icon--violet { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); }
.mobile-ai__icon--rose { background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%); }
.mobile-ai__icon--cyan { background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%); }
.mobile-ai__icon--emerald { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }

/* Phone mockup */
.mobile-ai__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 680px;
}
.mobile-ai__phone {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  font-family: var(--font-heading);
}

/* Static chips */
.mobile-ai__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #0a1834;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 36px rgba(8, 21, 56, 0.32);
  white-space: nowrap;
}
.mobile-ai__chip-tick,
.mobile-ai__chip-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
}
.mobile-ai__chip-tick { background: linear-gradient(135deg, #34d399, #059669); }
.mobile-ai__chip-pin { background: linear-gradient(135deg, #fb7185, #e11d48); }
.mobile-ai__chip-rupee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B3FA3, #1a56c9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* Chip positions, static */
.mobile-ai__chip--1 { top: 12%; left: -6%; }
.mobile-ai__chip--2 { top: 46%; right: -14%; }
.mobile-ai__chip--3 { top: 78%; right: -6%; }

@media (max-width: 1100px) {
  .mobile-ai__chip--1 { left: -2%; }
  .mobile-ai__chip--2 { right: -2%; }
  .mobile-ai__chip--3 { right: -2%; }
}
@media (max-width: 900px) {
  .mobile-ai__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .mobile-ai__phone-wrap { min-height: 620px; order: -1; }
  .mobile-ai__phone { width: 280px; }
  .mobile-ai__chip--1 { top: 6%; left: 4%; }
  .mobile-ai__chip--2 { top: 42%; right: 4%; }
  .mobile-ai__chip--3 { top: 76%; right: 4%; }
}
@media (max-width: 600px) {
  .mobile-ai__features { grid-template-columns: 1fr; }
  .mobile-ai__phone { width: 240px; }
  .mobile-ai__phone-wrap { min-height: 540px; }
  .mobile-ai__chip { font-size: 11.5px; padding: 8px 12px; }
  .mobile-ai__chip--1 { top: 4%; left: 2%; }
  .mobile-ai__chip--2 { top: 44%; right: 2%; }
  .mobile-ai__chip--3 { top: 80%; right: 2%; }
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  padding: var(--s-9) 0;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.industries__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.industries__card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-soft);
  transform: translateY(-2px);
}
.industries__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
}
.industries__card h3 {
  font-size: 18px;
  margin-bottom: var(--s-2);
}
.industries__card p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industries__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STRATEGIC PARTNERSHIPS
   ============================================================ */
.partners {
  background: var(--surface);
  padding: var(--s-9) 0;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  max-width: 980px;
  margin: 0 auto;
}
.partners__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
}
.partners__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}
.partners__card h3 {
  font-size: 22px;
  margin: 0;
}
.partners__card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
@media (max-width: 760px) {
  .partners__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INDUSTRY PAGE TEMPLATE (shared by /industries/<slug>/ children)
   ============================================================ */
.ind-page { --ind-accent: var(--brand); --ind-accent-soft: var(--brand-soft); }
.ind-page--manufacturing { --ind-accent: #d97706; --ind-accent-soft: #fef3c7; }
.ind-page--bfsi          { --ind-accent: #1e3a8a; --ind-accent-soft: #dbeafe; }
.ind-page--it            { --ind-accent: #7c3aed; --ind-accent-soft: #ede9fe; }
.ind-page--retail        { --ind-accent: #e11d48; --ind-accent-soft: #ffe4e6; }
.ind-page--logistics     { --ind-accent: #0d9488; --ind-accent-soft: #ccfbf1; }
.ind-page--healthcare    { --ind-accent: #db2777; --ind-accent-soft: #fce7f3; }

.ind-bc { padding: var(--s-5) 0 0; font-size: 14px; color: var(--ink-muted); }
.ind-bc a { color: var(--ink-muted); font-weight: 600; }
.ind-bc a:hover { color: var(--brand); }
.ind-bc span { margin: 0 6px; color: var(--ink-soft); }

/* Hero: split layout (copy left, illustration right) */
.ind-hero { padding: var(--s-7) 0 var(--s-8); background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); position: relative; overflow: hidden; }
.ind-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-7); align-items: center; }
@media (max-width: 900px) { .ind-hero__grid { grid-template-columns: 1fr; gap: var(--s-6); } .ind-hero__visual { order: -1; max-width: 360px; margin: 0 auto; } }
.ind-hero__copy { min-width: 0; }
.ind-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--ind-accent-soft); color: var(--ind-accent); border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--s-4); }
.ind-hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: var(--s-4); }
.ind-hero h1 .ind-accent { color: var(--ind-accent); }
.ind-hero__sub { font-size: 18px; color: var(--ink-muted); margin-bottom: var(--s-5); line-height: 1.6; }
.ind-trust { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.ind-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 700; font-size: 12px; color: var(--ink-muted); }
.ind-trust span svg { color: var(--ind-accent); }
.ind-hero__visual { display: grid; place-items: center; }
.ind-hero__visual svg { width: 100%; max-width: 460px; height: auto; color: var(--ind-accent); }

/* Section heads */
.ind-section { padding: var(--s-8) 0; }
.ind-section--alt { background: var(--surface); }
.ind-section__head { max-width: 760px; margin: 0 auto var(--s-6); text-align: center; }
.ind-section__head .eyebrow { color: var(--ind-accent); }
.ind-section__head h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: var(--s-3); }
.ind-section__head p { font-size: 16px; color: var(--ink-muted); margin: 0; line-height: 1.65; }

/* Pain points grid */
.ind-pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 900px) { .ind-pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-pain-grid { grid-template-columns: 1fr; } }
.ind-pain { background: #fff; border: 1px solid var(--line); border-left: 4px solid #ea580c; border-radius: var(--radius); padding: var(--s-5); }
.ind-pain__icon { width: 36px; height: 36px; border-radius: 10px; background: #fff7ed; color: #ea580c; display: grid; place-items: center; margin-bottom: var(--s-3); }
.ind-pain h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--ink); }
.ind-pain p { font-size: 13.5px; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* Workforce mix */
.ind-workforce { max-width: 880px; margin: 0 auto; }
.ind-bar { display: flex; height: 56px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.06); margin-bottom: var(--s-5); }
.ind-bar__seg { display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 15px; min-width: 0; padding: 0 8px; }
.ind-bar__seg--1 { background: var(--ind-accent); }
.ind-bar__seg--2 { background: color-mix(in srgb, var(--ind-accent) 75%, white); }
.ind-bar__seg--3 { background: color-mix(in srgb, var(--ind-accent) 50%, white); color: var(--ink); }
.ind-bar__seg--4 { background: color-mix(in srgb, var(--ind-accent) 25%, white); color: var(--ink); }
.ind-bar-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 700px) { .ind-bar-legend { grid-template-columns: repeat(2, 1fr); } }
.ind-bar-leg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.ind-bar-leg__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.ind-bar-leg--1 .ind-bar-leg__dot { background: var(--ind-accent); }
.ind-bar-leg--2 .ind-bar-leg__dot { background: color-mix(in srgb, var(--ind-accent) 75%, white); }
.ind-bar-leg--3 .ind-bar-leg__dot { background: color-mix(in srgb, var(--ind-accent) 50%, white); }
.ind-bar-leg--4 .ind-bar-leg__dot { background: color-mix(in srgb, var(--ind-accent) 25%, white); }
.ind-bar-leg strong { font-family: var(--font-heading); font-weight: 800; font-size: 14px; color: var(--ink); display: inline-block; vertical-align: middle; }
.ind-bar-leg p { font-size: 12.5px; color: var(--ink-muted); margin: 6px 0 0; line-height: 1.5; }

/* Solutions grid */
.ind-sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 800px) { .ind-sol-grid { grid-template-columns: 1fr; } }
.ind-sol { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ind-accent); border-radius: var(--radius); padding: var(--s-6); }
.ind-sol__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--ind-accent-soft); color: var(--ind-accent); display: grid; place-items: center; margin-bottom: var(--s-3); }
.ind-sol h4 { font-size: 18px; margin-bottom: var(--s-2); }
.ind-sol > p { font-size: 14.5px; color: var(--ink-muted); margin: 0 0 var(--s-3); line-height: 1.6; }
.ind-sol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ind-sol li { font-size: 13.5px; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.ind-sol li svg { color: var(--ind-accent); flex-shrink: 0; margin-top: 3px; }

/* Compliance pills */
.ind-comp-pills { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; max-width: 880px; margin: 0 auto; }
.ind-comp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; transition: all 0.15s; }
.ind-comp-pill:hover { background: var(--ind-accent-soft); border-color: var(--ind-accent); color: var(--ind-accent); }
.ind-comp-pill svg { color: var(--ind-accent); }

/* Day in the life timeline */
.ind-day { max-width: 760px; margin: 0 auto; position: relative; }
.ind-day::before { content: ""; position: absolute; left: 28px; top: 8px; bottom: 8px; width: 2px; background: var(--ind-accent-soft); }
.ind-day-item { display: flex; gap: var(--s-4); padding: var(--s-3) 0; position: relative; }
.ind-day-time { flex: 0 0 58px; width: 58px; height: 58px; background: var(--ind-accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 11px; text-align: center; line-height: 1.1; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.ind-day-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
.ind-day-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.ind-day-card p { font-size: 14px; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* FAQ */
.ind-faq__list { max-width: 880px; margin: 0 auto; display: grid; gap: var(--s-3); }
.ind-faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ind-faq__item summary { cursor: pointer; padding: var(--s-4) var(--s-5); font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.ind-faq__item summary::-webkit-details-marker { display: none; }
.ind-faq__item summary::after { content: "+"; font-size: 22px; color: var(--ind-accent); transition: transform 0.2s; }
.ind-faq__item[open] summary::after { transform: rotate(45deg); }
.ind-faq__item p { padding: 0 var(--s-5) var(--s-5); margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.65; }
.ind-faq__item a { color: var(--ind-accent); font-weight: 600; text-decoration: underline; }

/* ============================================================
   MOBILE POLISH RULES
   All rules below kick in only on small viewports. Desktop layout
   (above the breakpoint) is unchanged.
   ============================================================ */

/* Reduce container padding on phones */
@media (max-width: 540px) {
  .container { padding-left: 16px; padding-right: 16px; }
}

/* Hero sub paragraph smaller on phone */
@media (max-width: 560px) {
  .hero__sub { font-size: 16px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; }
}

/* Trust stats — wrap nicely on small */
@media (max-width: 500px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

/* Module cards padding tighter on phones */
@media (max-width: 480px) {
  .module { padding: var(--s-5); }
}

/* Pricing: soften popular ring + smaller price when stacked */
@media (max-width: 640px) {
  .plan--popular { box-shadow: 0 0 0 2px var(--brand-soft); }
  .plan__price .amt { font-size: 32px; }
}

/* Compare table on /pricing/ — fade hint for horizontal scroll */
@media (max-width: 720px) {
  .compare-wrap { position: relative; }
  .compare-wrap::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
  }
}

/* Generic mock row — stack on phone */
@media (max-width: 560px) {
  .mock__row { grid-template-columns: 1fr; gap: 6px; }
  .mock__role { font-size: 12px; opacity: 0.8; }
}

/* Mobile-AI section: shrink phone + hide chips on small */
@media (max-width: 600px) {
  .mobile-ai__phone-wrap { min-height: 460px; }
  .mobile-ai__phone { width: 220px; }
}
@media (max-width: 500px) {
  .mobile-ai__chip { display: none; }
  .mobile-ai__phone-wrap { min-height: 420px; }
}

/* Footer bottom row — stack copy and legal links */
@media (max-width: 540px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .footer__legal-links { flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
  .footer__certs { flex-wrap: wrap; }
  .footer__certs img { width: 56px; height: 56px; }
}

/* Footer brand logo smaller on phone */
@media (max-width: 540px) {
  .site-footer .brand-mark img { height: 44px; }
}

/* Maharashtra Compliance hero H1 — lower floor on phones */
@media (max-width: 480px) {
  .mhc-hero h1 { font-size: 28px; }
}

/* Featured-post H2 on /blog/ — smaller on phone */
@media (max-width: 600px) {
  .featured-post h2 { font-size: 22px; }
}

/* CTA strip vertical padding lighter on phone */
@media (max-width: 720px) {
  .cta-strip { padding: var(--s-7) 0; }
}

/* FAQ summary minimum tap target */
@media (max-width: 720px) {
  .faq__item summary,
  .hl-faq__item summary,
  .lwf-faq__item summary,
  .pf-faq__item summary,
  .es-faq__item summary,
  .gr-faq__item summary,
  .tds-faq__item summary,
  .mhc-faq__item summary,
  .ind-faq__item summary {
    min-height: 44px;
  }
}

/* Compliance items 2-col → 1-col earlier */
@media (max-width: 760px) {
  .compliance__items { grid-template-columns: 1fr; }
}

/* Skip-link visible on focus (a11y) */
.skip-link:focus { left: 12px; top: 12px; }

