body {
  margin: 0 !important;
}

@media (min-width: 1101px) {
  body #qodef-page-mobile-header {
    display: none !important;
  }

  body #qodef-page-header {
    display: block !important;
    height: 86px;
    min-height: 88px;
  }

  body #qodef-page-header-inner,
  body #qodef-page-wrapper.qodef-content-grid-1100 #qodef-page-header-inner.qodef-content-grid {
    width: min(1600px, calc(100vw - clamp(32px, 4vw, 96px))) !important;
    max-width: 1600px !important;
    height: 100% !important;
    padding: 0 !important;
  }

  body #qodef-page-header .qodef-header-inner {
    display: grid !important;
    grid-template-columns: minmax(148px, 1fr) max-content minmax(148px, 1fr);
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    height: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  body #qodef-page-header .qodef-header-logo-link {
    justify-self: start;
    display: inline-flex !important;
    align-items: center;
    width: clamp(148px, 10.5vw, 184px) !important;
    min-width: clamp(148px, 10.5vw, 184px) !important;
    max-width: 184px !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    overflow: visible;
  }

  body #qodef-page-header .qodef-header-logo-link img {
    width: clamp(148px, 10.5vw, 184px) !important;
    max-width: 184px !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain;
  }

  body #qodef-page-header .qodef-header-navigation {
    display: inline-flex !important;
    justify-self: center;
    align-items: center;
    gap: clamp(18px, 1.5vw, 30px);
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }

  body #qodef-page-header .qodef-header-nav-item,
  body #qodef-page-header .qodef-header-demo-link {
    align-items: center;
    flex: 0 0 auto;
    min-height: 40px;
    min-width: max-content;
    font-size: clamp(13.5px, 0.82vw, 15px);
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1;
  }

  body #qodef-page-header .qodef-header-actions {
    display: inline-flex !important;
    justify-self: end;
    align-items: center;
    gap: clamp(12px, 1vw, 18px);
    min-width: max-content;
    padding-left: 0;
  }

  body #qodef-page-header .qodef-header-login-button {
    min-height: 40px;
    padding: 0 clamp(15px, 1.15vw, 20px);
  }
}

@media (min-width: 1101px) and (max-width: 1240px) {
  body #qodef-page-header-inner,
  body #qodef-page-wrapper.qodef-content-grid-1100 #qodef-page-header-inner.qodef-content-grid {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  body #qodef-page-header .qodef-header-inner {
    grid-template-columns: minmax(136px, 1fr) max-content minmax(136px, 1fr);
    gap: clamp(12px, 1.35vw, 18px);
  }

  body #qodef-page-header .qodef-header-logo-link {
    width: clamp(136px, 11.2vw, 148px) !important;
    min-width: clamp(136px, 11.2vw, 148px) !important;
    max-width: 148px !important;
  }

  body #qodef-page-header .qodef-header-logo-link img {
    width: clamp(136px, 11.2vw, 148px) !important;
    max-width: 148px !important;
  }

  body #qodef-page-header .qodef-header-navigation {
    gap: clamp(12px, 1.25vw, 16px);
  }

  body #qodef-page-header .qodef-header-nav-item,
  body #qodef-page-header .qodef-header-demo-link {
    min-height: 40px;
    font-size: clamp(12.5px, 1vw, 13.25px);
  }

  body #qodef-page-header .qodef-header-actions {
    gap: 10px;
  }

  body #qodef-page-header .qodef-header-login-button {
    min-height: 40px;
    padding: 0 14px;
  }
}

@media (max-width: 1100px) {
  body #qodef-page-header {
    display: none !important;
  }

  body #qodef-page-mobile-header {
    display: block !important;
  }
}

.deon-hero-scroll-controls {
  display: grid !important;
  position: relative !important;
  z-index: 8 !important;
  grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  align-items: center !important;
  gap: 14px !important;
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  margin-top: 24px !important;
}

.deon-hero-scroll-controls > button {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  place-items: center !important;
  appearance: none !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  padding: 0 !important;
  color: #071429 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(7, 20, 41, 0.18) !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 38px rgba(7, 20, 41, 0.12) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.deon-hero-scroll-controls > button svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.deon-hero-slide-nav {
  display: grid !important;
  gap: 12px !important;
  min-width: 0 !important;
  pointer-events: auto !important;
}

.deon-hero-slide-nav-meta {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0 !important;
  color: #071429 !important;
  font-family: Syne, Arial, sans-serif !important;
  line-height: 1.1 !important;
}

.deon-hero-slide-nav-meta span {
  flex: 0 0 auto !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.deon-hero-slide-nav-meta strong {
  min-width: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.deon-hero-slide-dots {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.deon-hero-slide-dots button {
  display: flex !important;
  align-items: center !important;
  appearance: none !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.deon-hero-slide-dots button span {
  display: block !important;
  width: 100% !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(7, 20, 41, 0.22) !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.deon-hero-slide-dots button[aria-selected="true"] span {
  background: linear-gradient(90deg, #28f0d0 0%, #42a7f4 48%, #f6b43b 100%) !important;
  box-shadow: 0 0 0 5px rgba(66, 167, 244, 0.14), 0 0 18px rgba(66, 167, 244, 0.34) !important;
  transform: scale(1.18) !important;
}

.deon-hero-slide-proof article.is-active {
  border-color: rgba(66, 167, 244, 0.58) !important;
  box-shadow: 0 30px 76px rgba(5, 15, 30, 0.18), inset 0 1px rgba(255, 255, 255, 0.88) !important;
  transform: translateY(-4px) !important;
}

/* Capabilities matrix: keep the Deon card language, but compose module tiles intentionally. */
.deon-module-section--polished .deon-section-heading {
  max-width: 860px;
}

.deon-module-section--polished .deon-module-matrix {
  display: grid !important;
  align-items: stretch !important;
  width: min(calc(100% - clamp(32px, 3.8vw, 68px)), 1560px) !important;
  max-width: 1560px !important;
  margin: clamp(30px, 3.4vw, 48px) auto 0 !important;
  gap: clamp(16px, 1.6vw, 26px) !important;
}

.deon-module-section--polished .deon-module-card {
  display: grid !important;
  align-content: start !important;
  gap: clamp(18px, 1.65vw, 26px) !important;
  min-height: 0 !important;
  padding: clamp(24px, 2.05vw, 34px) !important;
}

.deon-module-section--polished .deon-module-card h3 {
  max-width: 92% !important;
  margin: 0 !important;
  font-size: clamp(23px, 1.42vw, 30px) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

.deon-module-section--polished .deon-module-card div {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  align-content: flex-start !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

.deon-module-section--polished .deon-module-card .deon-surface-chip {
  min-height: 30px !important;
  padding: 7px 10px 6px !important;
  color: rgba(7, 20, 41, 0.78) !important;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(250, 253, 255, 0.76)) padding-box,
    linear-gradient(100deg, rgba(40, 240, 208, 0.7), rgba(66, 167, 244, 0.6), rgba(111, 92, 246, 0.48), rgba(246, 180, 59, 0.42)) border-box !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(7, 20, 41, 0.035) !important;
  font-size: clamp(10px, 0.64vw, 11.5px) !important;
  letter-spacing: 0.075em !important;
  line-height: 1.15 !important;
  transition:
    transform 0.24s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.24s ease,
    color 0.24s ease !important;
}

.deon-module-section--polished .deon-module-card:hover .deon-surface-chip {
  color: #071429 !important;
  box-shadow: 0 14px 30px rgba(66, 167, 244, 0.08) !important;
}

.deon-module-section--polished .deon-module-card .deon-surface-chip:hover {
  transform: translateY(-2px) !important;
}

@media (min-width: 1181px) {
  .deon-module-section--polished .deon-module-matrix {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  .deon-module-section--polished .deon-module-card {
    grid-column: span 4;
  }

  .deon-module-section--polished .deon-module-matrix--count-7 > .deon-module-card:nth-child(-n + 4) {
    grid-column: span 3;
  }

  .deon-module-section--polished .deon-module-matrix--count-7 > .deon-module-card:nth-child(n + 5) {
    grid-column: span 4;
  }
}

@media (min-width: 681px) and (max-width: 1180px) {
  .deon-module-section--polished .deon-module-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(calc(100% - 40px), 900px) !important;
    gap: clamp(16px, 2.2vw, 22px) !important;
  }

  .deon-module-section--polished .deon-module-matrix--count-3 > .deon-module-card:last-child,
  .deon-module-section--polished .deon-module-matrix--count-5 > .deon-module-card:last-child,
  .deon-module-section--polished .deon-module-matrix--count-7 > .deon-module-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .deon-module-section--polished .deon-module-matrix {
    grid-template-columns: minmax(0, 1fr) !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    gap: 16px !important;
  }

  .deon-module-section--polished .deon-module-card {
    padding: 22px !important;
  }

  .deon-module-section--polished .deon-module-card h3 {
    max-width: 100% !important;
    font-size: clamp(22px, 7vw, 28px) !important;
  }

  .deon-module-section--polished .deon-module-card .deon-surface-chip {
    min-height: 29px !important;
    padding: 7px 9px 6px !important;
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deon-module-section--polished .deon-module-card,
  .deon-module-section--polished .deon-module-card::before,
  .deon-module-section--polished .deon-module-card .deon-surface-chip {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }

  .deon-module-section--polished .deon-module-card:hover,
  .deon-module-section--polished .deon-module-card .deon-surface-chip:hover {
    transform: none !important;
  }
}

@media (max-width: 680px) {
  .deon-hero-scroll-controls {
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .deon-hero-scroll-controls > button {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }
}

#qodef-page-footer {
  background:
    radial-gradient(circle at 82% 4%, rgba(92, 194, 237, 0.08), transparent 24%),
    linear-gradient(180deg, #171717 0%, #101010 100%);
}

#qodef-page-footer #qodef-page-footer-top-area {
  padding: clamp(34px, 4vw, 50px) 0 28px !important;
}

#qodef-page-footer #qodef-page-footer-top-area-inner.qodef-content-grid,
#qodef-page-footer #qodef-page-footer-bottom-area-inner.qodef-content-grid {
  width: min(1180px, calc(100vw - clamp(40px, 6vw, 104px))) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#qodef-page-footer .deon-footer-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(34px, 4.8vw, 68px);
  align-items: start;
}

#qodef-page-footer .deon-footer-brand {
  max-width: 340px;
}

#qodef-page-footer .deon-footer-brand img {
  width: clamp(116px, 9vw, 142px);
  margin-bottom: 14px;
}

#qodef-page-footer .deon-footer-brand p {
  max-width: 310px;
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
}

#qodef-page-footer .deon-footer-address {
  max-width: 260px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
}

#qodef-page-footer .deon-footer-columns {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

#qodef-page-footer .deon-footer-column {
  gap: 6px;
}

#qodef-page-footer .deon-footer-column h2 {
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.17em;
}

#qodef-page-footer .deon-footer-column a,
#qodef-page-footer .deon-footer-cookie-button {
  min-height: 22px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

#qodef-page-footer #qodef-page-footer-bottom-area {
  padding: 14px 0 !important;
}

#qodef-page-footer .deon-footer-bottom-row {
  min-height: 24px;
}

#qodef-page-footer .legal {
  font-size: 11px;
  line-height: 1.3;
}

#qodef-page-footer .deon-footer-legal {
  gap: 14px;
}

#qodef-page-footer .deon-footer-legal a {
  font-size: 10px;
  letter-spacing: 0.12em;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

@media (max-width: 980px) {
  #qodef-page-footer #qodef-page-footer-top-area {
    padding: 36px 0 26px !important;
  }

  #qodef-page-footer #qodef-page-footer-top-area-inner.qodef-content-grid,
  #qodef-page-footer #qodef-page-footer-bottom-area-inner.qodef-content-grid {
    width: min(760px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
  }

  #qodef-page-footer .deon-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #qodef-page-footer .deon-footer-columns {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 680px) {
  #qodef-page-footer #qodef-page-footer-top-area {
    padding: 32px 0 24px !important;
  }

  #qodef-page-footer #qodef-page-footer-top-area-inner.qodef-content-grid,
  #qodef-page-footer #qodef-page-footer-bottom-area-inner.qodef-content-grid {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  #qodef-page-footer .deon-footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
  }

  #qodef-page-footer .deon-footer-column:last-child {
    grid-column: 1 / -1;
  }

  #qodef-page-footer .deon-footer-bottom-row {
    gap: 10px;
  }
}

@media (max-width: 460px) {
  #qodef-page-footer .deon-footer-columns {
    grid-template-columns: 1fr;
  }

  #qodef-page-footer .deon-footer-column:last-child {
    grid-column: auto;
  }
}

@media (min-width: 981px) {
  .deon-investor-hero-grid {
    width: min(calc(100% - clamp(52px, 6vw, 112px)), 1420px) !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 0.98fr) !important;
    align-items: center !important;
    gap: clamp(48px, 5vw, 88px) !important;
  }

  .deon-investor-media {
    display: grid !important;
    place-items: center !important;
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    justify-self: center !important;
    align-self: center !important;
  }

  .deon-investor-video {
    width: 100% !important;
    max-width: 680px !important;
  }
}

@media (min-width: 1540px) {
  .deon-investor-hero-grid {
    width: min(calc(100% - 132px), 1500px) !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1fr) !important;
    gap: clamp(64px, 5.5vw, 104px) !important;
  }

  .deon-investor-media,
  .deon-investor-video {
    max-width: 730px !important;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .deon-investor-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr) !important;
    gap: clamp(34px, 4vw, 56px) !important;
  }

  .deon-investor-media {
    width: min(100%, 580px) !important;
    max-width: 580px !important;
  }
}

@media (max-width: 980px) {
  .deon-investor-media {
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    justify-self: center !important;
  }
}

@media (max-width: 680px) {
  .deon-investor-hero .qodef-content-grid,
  .deon-investor-hero-grid,
  .deon-investor-copy {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
  }

  .deon-investor-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .deon-investor-copy h1 {
    max-width: 100% !important;
    font-size: clamp(30px, 7.9vw, 36px) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance;
  }

  .deon-investor-copy > p:not(.deon-eyebrow) {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
    overflow-wrap: anywhere !important;
  }
}
