/* ============================================================
   MailArchiva brand tokens
   ============================================================ */

:root {
  --ma-ink: #212529;
  --ma-red: #ae4037;
  --ma-blue: #2071b8;
  --ma-grey: #939393;
  --ma-blue-dark: #175a96;
  --ma-red-dark: #8f352d;
  --ma-bg: #f7f8fa;
  --ma-border: #e9ecef;
}

body {
  color: var(--ma-ink);
}

/* ============================================================
   Modern button system
   ============================================================ */

.btn {
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border-radius: .75rem;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08);
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, filter .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(16,24,40,.18), 0 4px 10px -4px rgba(16,24,40,.08);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(16,24,40,.12);
}

.btn:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px rgba(32,113,184,.25), 0 10px 20px -6px rgba(16,24,40,.15);
}

.btn icon:empty {
  display: none;
}

.btn icon, .btn .buttonicon, .btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1em;
  color: inherit;
}

/* Primary: brand gradient */

.btn-primary {
  background-image: linear-gradient(135deg, #2f8bd6 0%, #2071b8 55%, #175a96 100%);
  background-color: #2071b8;
  border-color: transparent;
  color: #fff;
}

.btn-primary:hover {
  border-color: transparent;
  filter: brightness(1.06) saturate(1.05);
}

/* Dark: sleek charcoal gradient */

.btn-dark {
  background-image: linear-gradient(135deg, #303a47 0%, #171c23 100%);
  background-color: #171c23;
  border-color: transparent;
  color: #fff;
}

.btn-dark:hover {
  border-color: transparent;
  filter: brightness(1.08);
}

/* Secondary: soft, light outline-style */

.btn-secondary {
  background-color: #ffffff;
  background-image: none;
  border-color: #d0d5dd;
  color: #344054;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.btn-secondary:hover {
  background-color: #f2f4f7;
  border-color: #c2c8d0;
  color: #1d2939;
  filter: none;
}

/* Brand-specific variants when used on buttons */

.btn.bg-enterprise {
  background-image: linear-gradient(135deg, #b0554b 0%, #8f352d 100%);
  background-color: #8f352d;
  border-color: transparent;
  color: #fff;
}

.btn.bg-enterprise:hover {
  border-color: transparent;
  filter: brightness(1.06);
}

.btn.bg-cloud {
  background-image: linear-gradient(135deg, #2f8bd6 0%, #1b5fa8 100%);
  background-color: #1b5fa8;
  border-color: transparent;
  color: #fff;
}

.btn.bg-cloud:hover {
  border-color: transparent;
  filter: brightness(1.06);
}

.btn.bg-msp {
  background-image: linear-gradient(135deg, #6d7683 0%, #4b5563 100%);
  background-color: #4b5563;
  border-color: transparent;
  color: #fff;
}

.btn.bg-msp:hover {
  border-color: transparent;
  filter: brightness(1.06);
}

.btn.bg-dark {
  background-image: linear-gradient(135deg, #303a47 0%, #171c23 100%);
  background-color: #171c23;
  border-color: transparent;
  color: #fff;
}

.btn.bg-dark:hover {
  border-color: transparent;
  filter: brightness(1.08);
}

/* Flat grey utility button (neutral / informational CTAs) */

.btn.btn-grey {
  background-image: none;
  background-color: var(--ma-grey);
  border-color: transparent;
  color: #fff;
}

.btn.btn-grey:hover {
  border-color: transparent;
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

.bullet-icon {
  margin: 10px;
  /*color: var(--bs-gray-100);*/
  /*background: var(--bs-dark);*/
}

.carousel-inner {
  padding: 1em;
}

.card {
  /*margin: 0 0.5em;*/
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}

.carousel-control-prev, .carousel-control-next {
  background-color: #e1e1e1;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }
}

@media (min-width: 768px) {
  .carousel-inner {
    display: flex;
  }
}

.card .img-wrapper {
  max-width: 100%;
  height: 13em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  max-height: 100%;
}

@media (max-width: 767px) {
  .card .img-wrapper {
    height: 17em;
  }
}

.pic {
  text-align: center;
  /*max-width: 600px;*/
  border-radius: .25rem!important;
  box-shadow: none !important;
}

.normalpic {
  text-align: center;
  border-radius: .25rem!important;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
  margin-bottom: 15px;
  margin-right: auto!important;
  margin-left: auto!important;
  display: block!important;
}

.panel {
  /*margin-top: 10px;*/
  background: #ffffff;
  border-radius: .25rem!important;
}

.panel.hero-panel {
  box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .20) !important;
}

/* Make the hero screenshot container invisible so only the
   browser frame (the screenshot's own chrome) is visible */

.panel.hero-panel.hero-panel-clean {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.browser-frame {
  margin: 0 0 1.25rem;
  border: 1px solid var(--ma-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 32px -24px rgba(16, 24, 40, .22);
}

.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem .9rem;
  background: #f4f5f7;
  border-bottom: 1px solid var(--ma-border);
}

.browser-dots {
  display: flex;
  gap: .45rem;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ma-grey);
}

.browser-dot:nth-child(1) {
  background: var(--ma-red);
}

.browser-dot:nth-child(2) {
  background: var(--ma-grey);
}

.browser-dot:nth-child(3) {
  background: var(--ma-blue);
}

.browser-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  max-width: 230px;
  padding: .22rem .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ma-border);
  color: #667085;
  font-size: .72rem;
  white-space: nowrap;
}

.browser-frame .pic {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   Hero screenshot — blended into the page
   ============================================================ */

.hero-panel-clean {
  position: relative;
}

/* Soft brand glow behind the app UI */

.hero-panel-clean::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -1rem;
  right: -1rem;
  bottom: -3rem;
  z-index: 0;
  background: radial-gradient(58% 62% at 50% 36%, rgba(47, 139, 214, .15), rgba(47, 139, 214, 0) 72%);
  pointer-events: none;
}

.hero-panel-clean > custom-code, .hero-panel-clean .controlpanel {
  position: relative;
  z-index: 1;
}

/* Frame: drop the hard border, keep a soft shadow */

.hero-panel-clean .browser-frame {
  border: 0;
  border-radius: 1.25rem;
  background: transparent;
  box-shadow: 0 34px 70px -34px rgba(16, 24, 40, .38), 0 10px 24px -18px rgba(16, 24, 40, .14);
}

/* Browser bar: slim and translucent so it hugs the page */

.hero-panel-clean .browser-bar {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border-bottom: 0;
}

/* Fade the bottom edge of the screenshot into the page */

.hero-panel-clean .browser-frame .pic {
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
}

.package-shot {
  max-width: 420px;
  border-radius: 1rem;
  box-shadow: 0 20px 40px -24px rgba(16, 24, 40, .30);
}

.logopanel {
  border-radius: .25rem!important;
  margin-top: 20px;
}

.panel {
  border-radius: .25rem!important;
}

.item {
}

.neatbox {
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 10px;
}

.page {
  background-color: #f9fafb !important;
  background-image: linear-gradient(180deg, #eef3f9 0%, #f9fafb 480px) !important;
  background-repeat: no-repeat !important;
}

.brandicon {
  margin-left: 10px !important;
  margin-right: 10px;
  color: var(--ma-blue) !important;
}

.controlpanel {
  border-radius: .25rem!important;
  margin-top: 10px;
  margin-right: 10px;
}

.controlpanel.d-flex .btn {
  margin: 0;
}

.controlpanelpad {
  border-radius: .25rem!important;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 30px;
}

.panelnospace {
  margin-top: 0px;
  background: #ffffff;
  border-radius: .25rem!important;
}

.panelpad {
  margin-top: 0px;
  background: #ffffff;
  border-radius: .25rem!important;
  padding-top: 30px;
}

.brandtitle {
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.borderbox {
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0px solid black;
}

.headerbox {
  margin-bottom: 0px;
  margin-top: 0px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.bg-enterprise {
  background-color: rgb(174,64,55);
}

.bg-cloud {
  background-color: #2071B8;
}

.pic {
  padding: 20px;
}

.bg-msp {
  background-color: #939393;
}

.mail-logo {
  width: 50px;
}

.customer-logo {
  width: 50px;
}

.name {
  white-space: nowrap;
}

.cloud-logo {
  width: 200px;
  text-align: center;
  vertical-align: middle;
  opacity: 0.5;
  /*margin-top: 20px;*/
}

.buttonicon {
  color: #ffffff !important;
  margin-left: 10px !important;
  margin-right: 10px;
}

.specialnote {
  background: #F7F7F7;
  color: #313437;
}

body {
  font-family: 'Inter', sans-serif !important;
  letter-spacing: -0.01em;
}

.monotext {
  font-family: 'JetBrains Mono';
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.03em;
}

h1, h2 {
  font-weight: 500;
}

.btn {
  font-family: 'Inter', sans-serif;
}

.featuretitle {
  font-weight: 400;
}

/* ============================================================
   Inline SVG icon system (Lucide)
   ============================================================ */

svg.icon, svg.bullet-icon, svg.buttonicon {
  display: inline-block;
  flex-shrink: 0;
}

svg.bullet-icon {
  vertical-align: middle;
}

svg.me-2 {
  vertical-align: middle;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ma-ink);
  color: #cbd5e1;
  margin-top: 40px;
}

.site-footer h6 {
  color: #f8fafc;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: .55rem;
}

.site-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .footer-blurb {
  color: #94a3b8;
  font-size: .9375rem;
  max-width: 320px;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: .5rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
}

.site-footer .social-link:hover {
  background: var(--ma-blue);
  color: #ffffff;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.site-footer .footer-bottom p {
  font-size: .875rem;
  color: #64748b;
}

/* ============================================================
   Features page (features.html)
   ============================================================ */

html {
  scroll-behavior: smooth;
}

.features-hero {
  padding: 1.5rem 0 1rem;
}

.features-hero h1 {
  font-weight: 700;
}

.features-hero-sub {
  max-width: 620px;
  color: #667085;
  font-size: 1.0625rem;
}

.features-jump .btn {
  margin: 0;
}

.card.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: .875rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
  transition: box-shadow .25s ease, transform .25s ease;
}

.card.feature-card:hover {
  box-shadow: 0 18px 40px -18px rgba(16, 24, 40, .28);
  transform: translateY(-3px);
}

.card.feature-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.feature-card[id] {
  scroll-margin-top: 96px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  color: #98a2b3;
}

.feature-card .feature-shot {
  height: 160px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #eef0f3;
  background: #f9fafb;
  border-radius: .625rem;
}

.feature-list {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .55rem 0;
  border-bottom: 1px solid #f1f3f5;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list i {
  font-size: 1rem;
  line-height: 1.55;
}

.feature-list div {
  display: flex;
  flex-direction: column;
}

.feature-list strong {
  font-size: .9375rem;
  font-weight: 600;
  color: #1d2939;
}

.feature-list span {
  font-size: .86rem;
  color: #667085;
}

.feature-accent-blue .feature-icon {
  background: rgba(47, 139, 214, .12);
  color: #2071b8;
}

.feature-accent-blue .feature-list i {
  color: #2071b8;
}

.feature-accent-teal .feature-icon {
  background: rgba(13, 148, 136, .12);
  color: #0d9488;
}

.feature-accent-teal .feature-list i {
  color: #0d9488;
}

.feature-accent-indigo .feature-icon {
  background: rgba(99, 102, 241, .12);
  color: #4f46e5;
}

.feature-accent-indigo .feature-list i {
  color: #4f46e5;
}

.feature-accent-purple .feature-icon {
  background: rgba(139, 92, 246, .12);
  color: #7c3aed;
}

.feature-accent-purple .feature-list i {
  color: #7c3aed;
}

.feature-accent-green .feature-icon {
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
}

.feature-accent-green .feature-list i {
  color: #16a34a;
}

.feature-accent-amber .feature-icon {
  background: rgba(217, 119, 6, .12);
  color: #d97706;
}

.feature-accent-amber .feature-list i {
  color: #d97706;
}

.feature-accent-cyan .feature-icon {
  background: rgba(8, 145, 178, .12);
  color: #0891b2;
}

.feature-accent-cyan .feature-list i {
  color: #0891b2;
}

.feature-accent-red .feature-icon {
  background: rgba(176, 85, 75, .12);
  color: #b0554b;
}

.feature-accent-red .feature-list i {
  color: #b0554b;
}

.feature-accent-slate .feature-icon {
  background: rgba(100, 116, 139, .12);
  color: #64748b;
}

.feature-accent-slate .feature-list i {
  color: #64748b;
}

.card.feature-cta {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.feature-cta .btn {
  margin: 0;
}

/* Panel backing wrapping the features hero and grid */

.features-panel {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 1.25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px -4px rgba(16, 24, 40, .10), 0 24px 48px -16px rgba(16, 24, 40, .16);
  margin-bottom: 2rem;
}

@media (max-width: 575.98px) {
  .features-hero {
    padding: 1rem 0 1rem;
  }
}

@media (max-width: 575.98px) {
  .features-panel {
    padding: 1rem;
    border-radius: 1rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* ============================================================
   Homepage single-panel layout (index.html)
   ============================================================ */

.home-panel {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 1.25rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px -4px rgba(16, 24, 40, .10), 0 24px 48px -16px rgba(16, 24, 40, .16);
  margin-bottom: 2rem;
}

.home-panel .features-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem;
  margin-bottom: 0;
}

/* Keep section content inset from the panel edges */

/* Stretch the tinted bands to the panel edges on both sides */

.home-panel .section-band {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.home-panel .section-band > .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 575.98px) {
  .home-panel {
    border-radius: 1rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

@media (max-width: 575.98px) {
  .home-panel .section-band > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* MSP page inside the homepage-style single panel */

/* Stretch the tinted bands to the panel edges on both sides */

.home-panel .msp-section {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.home-panel .msp-section > .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.home-panel .msp-section-alt {
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 2rem, rgba(255, 255, 255, 0) 4.5rem), linear-gradient(180deg, rgba(255, 255, 255, 0) calc(100% - 4.5rem), #ffffff calc(100% - 2rem), #ffffff 100%), radial-gradient(rgba(32, 113, 184, .09) 1px, transparent 1px), radial-gradient(1200px 320px at 50% -15%, rgba(47, 139, 214, .08), transparent 60%), linear-gradient(180deg, #ffffff 0%, #f4f8fc 12%, #ebf0f8 24%, #e3eaf4 36%, #dee7f2 50%, #e3eaf4 64%, #ebf0f8 76%, #f4f8fc 88%, #ffffff 100%);
  background-size: auto, auto, 22px 22px, auto, auto;
}

@media (max-width: 575.98px) {
  .home-panel .msp-section > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   MSP page (msp.html)
   ============================================================ */

.msp-stat, .msp-step {
  border-radius: 1rem;
  transition: box-shadow .25s ease, transform .25s ease;
}

.msp-stat:hover, .msp-step:hover {
  box-shadow: 0 18px 40px -18px rgba(16, 24, 40, .22) !important;
  transform: translateY(-3px);
}

.msp-kicker {
  color: #1d2939;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.msp-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #6d7683 0%, #4b5563 100%);
  background-color: #4b5563;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.msp-integration-logo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: .625rem;
  padding: .55rem .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.msp-integration-logo img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.msp-step {
  border: 1px solid #e5e7eb !important;
}

.msp-integration-logo {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.msp-integration-logo:hover {
  transform: translateY(-2px);
  border-color: #d0d5dd;
  box-shadow: 0 10px 20px -10px rgba(16, 24, 40, .14);
}

#mspFaq .accordion-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: .875rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#mspFaq .accordion-item:last-child {
  margin-bottom: 0;
}

#mspFaq .accordion-item + .accordion-item {
  border-top: 1px solid #e5e7eb;
}

#mspFaq .accordion-item:hover {
  border-color: #d0d5dd;
  box-shadow: 0 12px 24px -12px rgba(16, 24, 40, .14);
}

#mspFaq .accordion-button {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #1d2939;
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}

#mspFaq .accordion-button:not(.collapsed) {
  color: #1d2939;
  background: #f8fafc;
}

#mspFaq .accordion-button:focus {
  border-color: transparent;
  box-shadow: none !important;
}

#mspFaq .accordion-body {
  color: #667085;
  font-size: .9375rem;
  padding: 0 1.25rem 1.25rem;
}

/* ============================================================
   Section bands (MSP page + homepage)
   ============================================================ */

.msp-section, .section-band {
  padding: 4rem 0;
}

.msp-section-alt, .section-band-alt {
  background: #eef2f7;
}

/* Homepage: give the tinted bands inside the panel their own
   personality — soft brand-blue wash + faint blueprint dots */

.home-panel .section-band-alt {
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 2rem, rgba(255, 255, 255, 0) 4.5rem), linear-gradient(180deg, rgba(255, 255, 255, 0) calc(100% - 4.5rem), #ffffff calc(100% - 2rem), #ffffff 100%), radial-gradient(rgba(32, 113, 184, .09) 1px, transparent 1px), radial-gradient(1200px 320px at 50% -15%, rgba(47, 139, 214, .08), transparent 60%), linear-gradient(180deg, #ffffff 0%, #f4f8fc 12%, #ebf0f8 24%, #e3eaf4 36%, #dee7f2 50%, #e3eaf4 64%, #ebf0f8 76%, #f4f8fc 88%, #ffffff 100%);
  background-size: auto, auto, 22px 22px, auto, auto;
}

/* MSP page — same brand wash, dots, glow and edge dissolves, but
   blending into the page background (#f9fafb) instead of a white panel */

.msp-section-alt {
  background-color: #e8eef7;
  background-image: linear-gradient(180deg, #f9fafb 0%, #f9fafb 2rem, rgba(249, 250, 251, 0) 4.5rem), linear-gradient(180deg, rgba(249, 250, 251, 0) calc(100% - 4.5rem), #f9fafb calc(100% - 2rem), #f9fafb 100%), radial-gradient(rgba(32, 113, 184, .09) 1px, transparent 1px), radial-gradient(1200px 320px at 50% -15%, rgba(47, 139, 214, .08), transparent 60%), linear-gradient(180deg, #f9fafb 0%, #f4f8fc 12%, #ebf0f8 24%, #e3eaf4 36%, #dee7f2 50%, #e3eaf4 64%, #ebf0f8 76%, #f4f8fc 88%, #f9fafb 100%);
  background-size: auto, auto, 22px 22px, auto, auto;
}

/* Tighten the vertical rhythm inside the homepage bands so section
   headers don't float high above their content */

.home-panel .section-band {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.home-panel .section-band > .container > .row.py-4 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-panel .section-band .brandtitle {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .home-panel .section-band {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.msp-section-head, .section-band-head {
  margin-bottom: 1.5rem;
}

.msp-section[id], .section-band[id] {
  scroll-margin-top: 96px;
}

/* Content wrappers inside bands must not paint over the band background */

.section-band .panel, .section-band .features-clean {
  background: transparent;
}

@media (max-width: 575.98px) {
  .msp-section, .section-band {
    padding: 2.5rem 0;
  }
}

/* MSP page — mirror the homepage band rhythm */

.msp-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.msp-section > .container > .row.py-4 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.msp-section .brandtitle {
  margin-top: 0;
}

@media (max-width: 575.98px) {
  .msp-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ============================================================
   About page (about.html)
   ============================================================ */

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(47, 139, 214, .1);
  color: #2071b8;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #2071b8;
}

@media (max-width: 575.98px) {
  .stat-number {
    font-size: 1.9rem;
  }
}

/* ============================================================
   Contact page (contact.html)
   ============================================================ */

.feature-list a {
  color: #344054;
  font-weight: 500;
  font-size: .86rem;
  text-decoration: none;
  transition: color .15s ease;
}

.feature-list a:hover {
  color: #2071b8;
  text-decoration: underline;
}

.contact-address {
  color: #667085;
  line-height: 1.8;
  font-size: .9375rem;
}

/* Gradient bands inside the features panel — same treatment as the
   homepage single-panel layout (index.html) */

.features-panel .section-band {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.features-panel .section-band > .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 575.98px) {
  .features-panel .section-band {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .features-panel .section-band > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.features-panel .section-band-alt {
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 2rem, rgba(255, 255, 255, 0) 4.5rem), linear-gradient(180deg, rgba(255, 255, 255, 0) calc(100% - 4.5rem), #ffffff calc(100% - 2rem), #ffffff 100%), radial-gradient(rgba(32, 113, 184, .09) 1px, transparent 1px), radial-gradient(1200px 320px at 50% -15%, rgba(47, 139, 214, .08), transparent 60%), linear-gradient(180deg, #ffffff 0%, #f4f8fc 12%, #ebf0f8 24%, #e3eaf4 36%, #dee7f2 50%, #e3eaf4 64%, #ebf0f8 76%, #f4f8fc 88%, #ffffff 100%);
  background-size: auto, auto, 22px 22px, auto, auto;
}

/* ============================================================
   Partner application page (applypartner.html)
   ============================================================ */

.partner-form .form-label {
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
  margin-bottom: .35rem;
}

.partner-form .form-control, .partner-form .form-select {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: .625rem;
  padding: .6rem .85rem;
  font-size: .9375rem;
  color: #1d2939;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.partner-form .form-control:focus, .partner-form .form-select:focus {
  border-color: #2071b8;
  box-shadow: 0 0 0 4px rgba(47, 139, 214, .15);
}

.partner-form textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.partner-form .btn {
  margin: 0;
}

/* Contact page form (contact.html) */

.contact-form .form-label {
  font-size: .875rem;
  font-weight: 600;
  color: #344054;
  margin-bottom: .35rem;
}

.contact-form .form-control, .contact-form .form-select {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: .625rem;
  padding: .6rem .85rem;
  font-size: .9375rem;
  color: #1d2939;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: #2071b8;
  box-shadow: 0 0 0 4px rgba(47, 139, 214, .15);
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  margin: 0;
}

/* Smart contact form (contact.html) */

.smart-form-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 1.125rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 16px 32px -20px rgba(16, 24, 40, .22);
}

.smart-form-card .card-body {
  padding: 2.25rem;
}

.smart-form-card .about-badge {
  margin-bottom: 1rem;
}

.smart-form-card .features-hero-sub {
  max-width: 460px;
}

.smart-form-card .contact-form .btn {
  margin: 0;
}

@media (max-width: 575.98px) {
  .smart-form-card .card-body {
    padding: 1.5rem;
  }
}

/* ============================================================
   Homepage solution cards ("Choose your preferred solution")
   ============================================================ */

.solution-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 16px 24px -20px rgba(16, 24, 40, .18);
  transition: box-shadow .25s ease, transform .25s ease;
}

.solution-card:hover {
  box-shadow: 0 20px 40px -18px rgba(16, 24, 40, .30);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .solution-card {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card:hover {
    transform: none;
  }
}

.solution-card-header {
  padding: 1.1rem 1.25rem;
}

.solution-card-header.bg-msp {
  background-image: linear-gradient(135deg, #2b3138 0%, #212529 100%);
  background-color: #212529;
}

.solution-card-header.bg-enterprise {
  background-image: linear-gradient(135deg, #c0564b 0%, var(--ma-red) 100%);
  background-color: var(--ma-red);
}

.solution-card-header.bg-cloud {
  background-image: linear-gradient(135deg, #2f8bd6 0%, var(--ma-blue) 100%);
  background-color: var(--ma-blue);
}

.solution-card-title {
  margin: 0;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-card-tag {
  display: block;
  margin-top: .28rem;
  color: rgba(255, 255, 255, .85);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  line-height: 1.4;
}

.solution-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: .86rem;
  line-height: 1.5;
  color: #344054;
}

.solution-features li:last-child {
  border-bottom: 0;
}

.solution-features custom-code {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: .15rem;
}

.solution-features svg {
  width: 1.05em;
  height: 1.05em;
}

.solution-features .brandicon.bullet-icon {
  margin: 0 !important;
  color: #2071b8 !important;
}

.solution-actions {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef0f3;
}

.solution-actions .btn {
  margin: 0;
  width: 100%;
}

.solution-actions .d-flex .btn {
  width: auto;
  flex: 1 1 0;
  min-width: 150px;
}

@media (max-width: 575.98px) {
  .solution-card {
    border-radius: .875rem;
  }
}

/* Flat grey utility for the homepage solution table CTAs */

.solution-actions .btn.btn-grey {
  background-image: none;
  background-color: var(--ma-grey);
  border-color: transparent;
  color: #fff;
}

.solution-actions .btn.btn-grey:hover {
  filter: brightness(1.06);
}

/* MSP solution card CTA in the "Choose your preferred solution" table */

.solution-card .btn.bg-msp {
  background-image: linear-gradient(135deg, #2b3138 0%, #212529 100%);
  background-color: #212529;
  border-color: transparent;
  color: #fff;
}

/* Partner edition cards: two-line feature rows and check icons */

.solution-features div {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.solution-features strong {
  font-size: .875rem;
  font-weight: 600;
  color: #1d2939;
}

.solution-features span {
  font-size: .78rem;
  color: #667085;
}

.solution-features .solution-check {
  color: #2071b8;
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ============================================================
   Homepage hero feature items (modern icon chips)
   ============================================================ */

.features-clean .item {
  padding-left: 1rem;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas: "icon name" "icon description";
  column-gap: 1rem;
  row-gap: .1rem;
  align-items: start;
  min-height: 0;
  margin-bottom: 2.25rem;
}

.features-clean .item custom-code {
  grid-area: icon;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: .75rem;
  background: rgba(47, 139, 214, .1);
}

.features-clean .item .icon {
  float: none;
  margin: 0 !important;
  font-size: 1.45rem;
  color: #2071b8 !important;
}

.features-clean .item .name {
  grid-area: name;
  margin-bottom: 0;
  white-space: normal;
}

.features-clean .item .description {
  grid-area: description;
  white-space: normal;
}

/* Hero feature chips — 2×2 grid, icons close to their labels */

.hero-features .item {
  grid-template-columns: 56px 1fr;
  column-gap: .9rem;
  row-gap: .1rem;
  align-items: center;
  padding-left: 0;
  margin-bottom: 1.35rem;
}

.hero-features .item:last-child {
  margin-bottom: 1.5rem;
}

.hero-features .item custom-code {
  width: 56px;
  height: 56px;
  border-radius: .9rem;
}

.hero-features .item .icon {
  font-size: 1.6rem;
}

.hero-features .item .name {
  margin: 0;
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: #1d2939;
}

.hero-features .item .description {
  margin: 0;
  font-size: .84rem;
  line-height: 1.4;
  color: #667085;
}

/* Breathing room above the two feature rows */

.hero-features .row.features {
  padding-top: 2.25rem;
}

/* ============================================================
   Logo sliders (grayscale → color on hover)
   ============================================================ */

.customer-logo {
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.customer-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

.mail-logo {
  filter: grayscale(1);
  opacity: .75;
  transition: filter .25s ease, opacity .25s ease;
}

.mail-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   Closing CTA band
   ============================================================ */

.cta-band {
  padding: 3.5rem 0 1rem;
}

.cta-panel {
  background: linear-gradient(135deg, var(--ma-blue) 0%, var(--ma-blue-dark) 100%);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .35);
}

.cta-panel h2 {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.cta-panel p {
  max-width: 560px;
  margin: .75rem auto 1.75rem;
  color: rgba(255, 255, 255, .85);
  font-size: 1.0625rem;
}

.cta-panel .btn {
  margin: 0;
}

.cta-panel .btn-light {
  background: #fff;
  color: var(--ma-blue-dark);
  border-color: transparent;
}

.cta-panel .btn-light:hover {
  background: #f0f6fc;
  color: #0f3f68;
}

.cta-panel .btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
}

.cta-panel .btn-outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   Footer brand logo (dark footer)
   ============================================================ */

.site-footer .footer-brand-img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 575.98px) {
  .cta-band {
    padding: 2rem 0 .5rem;
  }
}

@media (max-width: 575.98px) {
  .cta-panel {
    padding: 2.25rem 1.25rem;
    border-radius: 1.125rem;
  }
}

/* ============================================================
   Homepage hero typography
   ============================================================ */

.hero-intro {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.1rem;
  padding: .42rem .95rem;
  border-radius: 999px;
  background: rgba(32, 113, 184, .08);
  border: 1px solid rgba(32, 113, 184, .18);
  color: var(--ma-blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-title {
  text-align: left;
  font-weight: 800;
  font-size: clamp(2.25rem, 4.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-top: 0;
  margin-bottom: 1.1rem;
}

.text-gradient {
  background: linear-gradient(115deg, var(--ma-blue) 20%, var(--ma-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  text-align: left;
  max-width: 470px;
  color: #667085;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero-tagline {
  margin-top: .9rem;
  margin-bottom: 0;
}

/* Secondary hero line — slightly smaller and lighter so the
   primary tagline stays the visual focus */

.hero-intro .hero-tagline {
  font-size: .9375rem;
  color: #98a2b3;
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

/* ============================================================
   Scroll reveal (gated on html.js so content never hides
   if JavaScript fails to load)

   [data-reveal]       -> a single block fades/slides up on scroll
   [data-reveal-item]  -> an individual card/tile inside a
                          [data-reveal-stagger] group
   ============================================================ */

html.js [data-reveal], html.js [data-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}

html.js [data-reveal-item] {
  transform: translateY(12px);
  transition-duration: .5s;
}

html.js [data-reveal].is-visible, html.js [data-reveal-item].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal-item] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Logo slider edge fade
   ============================================================ */

.logo-slider, .mail-logo-slider {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* ============================================================
   Solution card ribbon
   ============================================================ */

.solution-card {
  position: relative;
}

.solution-ribbon {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--ma-ink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  overflow: hidden;
}

/* Periodic sheen sweep across the "Most popular" pill */

.solution-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  animation: ma-ribbon-sweep 3.4s ease-in-out infinite;
}

@keyframes ma-ribbon-sweep {
  0%, 55% {
    left: -70%;
  }
  100% {
    left: 135%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-ribbon::after {
    animation: none;
  }
}

/* ============================================================
   Cloud page — region selector + signup
   ============================================================ */

.cloud-region-signup .cloud-region-select {
  min-width: 250px;
  border-color: #d0d5dd;
  border-radius: .75rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.cloud-region-signup .cloud-signup-btn {
  white-space: nowrap;
}

.cta-panel .cloud-region-signup .cloud-region-select {
  border-color: rgba(255, 255, 255, .55);
}

@media (max-width: 575.98px) {
  .cloud-region-signup {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cloud-region-signup .cloud-region-select, .cloud-region-signup .cloud-signup-btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cloud-region-signup .cloud-region-select {
    min-width: 0;
  }
}

/* ============================================================
   Cloud page (cloud.html) — hero, regions, steps
   ============================================================ */

.cloud-hero .features-hero-sub {
  max-width: 480px;
}

.cloud-hero .cloud-region-signup {
  width: 100%;
}

.cloud-hero .cloud-region-select {
  min-width: 0;
  flex: 1 1 210px;
}

.cloud-hero .cloud-signup-btn {
  flex-shrink: 0;
}

/* Keep the app screenshot naturally proportioned instead of
   stretching across the full hero column */

.cloud-hero .col-lg-7 .browser-frame, .cloud-hero .col-lg-7 .cloud-hero-stats {
  max-width: 480px;
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .cloud-hero .col-lg-7 .browser-frame, .cloud-hero .col-lg-7 .cloud-hero-stats {
    max-width: 580px;
  }
}

.cloud-hero-logos {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f3;
}

.cloud-hero-logos .cloud-logo {
  width: 148px;
  opacity: .5;
}

.cloud-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}

.cloud-hero-stats > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem .85rem;
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  color: #344054;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.cloud-hero-stats i {
  color: #2071b8;
  font-size: 1rem;
}

.cloud-hero-stats span {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .cloud-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Region selection cards */

.cloud-region-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb !important;
  border-radius: 1rem !important;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.cloud-region-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f8bd6 0%, #175a96 100%);
}

.cloud-region-card.feature-accent-red::before {
  background: linear-gradient(90deg, #c0564b 0%, #ae4037 100%);
}

.cloud-region-card:hover {
  transform: translateY(-4px);
  border-color: #d0d5dd !important;
  box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .30) !important;
}

.cloud-region-card .card-body {
  display: flex;
  flex-direction: column;
}

.cloud-region-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cloud-region-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 0;
  font-size: .9rem;
  color: #344054;
}

.cloud-region-list i {
  color: #2071b8;
  font-size: 1.05rem;
}

.cloud-region-card.feature-accent-red .cloud-region-list i {
  color: #b0554b;
}

.cloud-region-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Cloud getting-started steps — brand-blue step numbers */

#cloud-getting-started .msp-step-num {
  background-image: linear-gradient(135deg, #2f8bd6 0%, #175a96 100%);
  background-color: #2071b8;
}

/* ============================================================
   Cloud page — mail systems strip ("Works with...")
   ============================================================ */

.cloud-systems {
  border-top: 1px solid #eef0f3;
}

.cloud-systems-label {
  margin-bottom: 1.5rem;
  color: #98a2b3;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cloud-systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  max-width: 920px;
  margin: 0 auto;
}

.cloud-sys-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: .9rem 1.1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cloud-sys-chip:hover {
  transform: translateY(-2px);
  border-color: #d0d5dd;
  box-shadow: 0 14px 28px -14px rgba(16, 24, 40, .18);
}

.cloud-sys-chip img {
  max-height: 58px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .9;
  transition: filter .25s ease, opacity .25s ease;
}

.cloud-sys-chip:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .cloud-systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Stat counter ("1400+ companies") ---- */

.stat-count {
  color: var(--ma-blue);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Homepage — "Who it's for" section (index.html)
   ============================================================ */

.audience-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 16px 24px -20px rgba(16, 24, 40, .18);
}

.audience-heading {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1d2939;
}

.audience-heading i {
  color: #2071b8;
  font-size: 1.15rem;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.audience-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.audience-list .audience-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: .7rem;
  background: rgba(47, 139, 214, .1);
  color: #2071b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.audience-list div {
  display: flex;
  flex-direction: column;
}

.audience-list strong {
  font-size: .95rem;
  font-weight: 600;
  color: #1d2939;
}

.audience-list .audience-desc {
  font-size: .855rem;
  color: #667085;
  line-height: 1.5;
  margin-top: .15rem;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: .86rem;
  font-weight: 500;
  color: #344054;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.industry-chip i {
  color: #2071b8;
  font-size: .95rem;
}

.industry-chip:hover {
  border-color: #d0d5dd;
  background: #ffffff;
}

@media (max-width: 575.98px) {
  .audience-card {
    padding: 1.25rem;
  }
}

/* ============================================================
   Homepage — eDiscovery 3-step workflow (index.html)
   ============================================================ */

.ediscovery-steps-list {
  max-width: 560px;
  margin: 1.6rem auto 0;
  text-align: left;
}

/* Give the CTA below the steps a little breathing room */

.ediscovery-steps-list + .controlpanel {
  margin-top: 30px;
}

.ediscovery-steps-list .ediscovery-step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-bottom: 1.75rem;
}

.ediscovery-steps-list .ediscovery-step-item:last-child {
  padding-bottom: 0;
}

/* Vertical connector between the numbered circles */

.ediscovery-steps-list .ediscovery-step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: #cdd5df;
}

/* Brand-coloured numbered circles — one palette colour per step */

.ediscovery-steps-list .ediscovery-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #212529;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ediscovery-steps-list .ediscovery-step-item:nth-child(2) .ediscovery-step-num {
  background: #ae4037;
}

.ediscovery-steps-list .ediscovery-step-item:nth-child(3) .ediscovery-step-num {
  background: #2071b8;
}

.ediscovery-step-body {
  padding-top: .2rem;
}

.ediscovery-step-title {
  margin: 0 0 .3rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1d2939;
}

.ediscovery-step-text {
  margin: 0;
  font-size: .925rem;
  line-height: 1.55;
  color: #667085;
}

/* Steps reveal one by one, top to bottom, as they scroll into view.
   Each step slides up a little further than the last, so the cascade
   reads clearly as a sequence. Reveal is intentionally slow so the
   1 → 2 → 3 order is easy to follow. */

html.js .ediscovery-steps-list .ediscovery-step-item[data-reveal-item] {
  transform: translateY(24px);
  transition-duration: .7s;
}

html.js .ediscovery-steps-list .ediscovery-step-item[data-reveal-item]:nth-child(2) {
  transform: translateY(32px);
}

html.js .ediscovery-steps-list .ediscovery-step-item[data-reveal-item]:nth-child(3) {
  transform: translateY(40px);
}

html.js .ediscovery-steps-list .ediscovery-step-item[data-reveal-item].is-visible {
  transform: none;
}

