/* Shared desktop component width */
:root {
  --an-component-desktop-width: 1140px;
}

/* Professional AI-tech 404 page */
.an-error-404-section {
  min-height: clamp(470px, 70vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.an-error-404-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(2.3rem, 5vw, 4.4rem) clamp(0.4rem, 2.2vw, 1.2rem);
  isolation: isolate;
  overflow: hidden !important;
}

.an-error-404-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.an-error-404-code {
  font-family: "EB Garamond", serif;
  font-size: clamp(4.3rem, 11vw, 8rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-left: 0.08em;
  background: linear-gradient(130deg, #432c8b 0%, #5f8ef0 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.an-error-404-status {
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7691;
}

.an-error-404-title {
  font-size: clamp(1.95rem, 5.1vw, 3.05rem);
  line-height: 1.08;
  font-weight: 700;
  color: #1f2430;
}

.an-error-404-description {
  font-size: clamp(1.02rem, 2.35vw, 1.17rem);
  line-height: 1.72;
  color: #4e5568;
}

.an-error-404-home-btn {
  min-width: 225px;
  box-shadow: 0 12px 24px rgba(67, 44, 139, 0.18);
}

.an-error-404-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(67, 44, 139, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(67, 44, 139, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    ellipse 88% 78% at 50% 50%,
    rgba(0, 0, 0, 1) 56%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.32) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    ellipse 88% 78% at 50% 50%,
    rgba(0, 0, 0, 1) 56%,
    rgba(0, 0, 0, 0.72) 74%,
    rgba(0, 0, 0, 0.32) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.an-error-404-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(67, 44, 139, 0) 0%,
    rgba(67, 44, 139, 0.09) 48%,
    rgba(67, 44, 139, 0) 100%
  );
  transform: translateX(0);
}

.an-error-404-ambient {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
}

.an-error-404-ambient--left {
  width: clamp(180px, 23vw, 300px);
  height: clamp(180px, 23vw, 300px);
  top: -16%;
  left: -8%;
  background: radial-gradient(circle, rgba(91, 144, 236, 0.23), rgba(91, 144, 236, 0));
}

.an-error-404-ambient--right {
  width: clamp(220px, 27vw, 360px);
  height: clamp(220px, 27vw, 360px);
  right: -12%;
  bottom: -26%;
  background: radial-gradient(circle, rgba(96, 76, 165, 0.24), rgba(96, 76, 165, 0));
}

@media (min-width: 992px) {
  .site-main > section > .container,
  .site-main > div > .container,
  .site-main > section.container,
  .site-main > div.container {
    max-width: var(--an-component-desktop-width);
  }

  .an-component-text-width {
    max-width: 900px;
    margin-inline: auto;
  }
}

/* Benefits Split Block */
.benefits-split {
  background-color: var(--bs-secondary);
}

.benefits-split-right {
  position: relative;
  background-color: var(--bs-primary);
}

.benefits-split-wrapper {
  background: none;
}

@media (min-width: 992px) {
  .benefits-split-wrapper {
    background: linear-gradient(
      to right,
      var(--bs-secondary) 0%,
      var(--bs-secondary) 50%,
      var(--bs-primary) 50%,
      var(--bs-primary) 100%
    );
  }

  .benefits-split-right {
    background-color: transparent;
  }

  .benefits-split-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    right: -1px;
    height: 100%;
    background-color: var(--bs-primary);
    /* If any of these values change, you need to update the JavaScript code in benefits-split.php */
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 7% 100%);
  }

  .benefits-split-left-item {
    padding-right: var(--bs-diagonal-offset, 0px);
  }

  .benefits-split-right-item {
    margin-left: var(--bs-diagonal-offset, 0px);
  }
}

/* Hero waitlist email input: single field, responsive min-height */
.hero-email-input {
  min-height: 56px;
}

/* Company overview cards: keep portrait images natural (less zoom/crop). */
.company-overview-section .company-overview-card-image {
  width: 100%;
  height: clamp(220px, 20vw, 280px);
  object-fit: contain;
  object-position: center center;
  background-color: #f7f7fb;
}

@media (min-width: 768px) {
  .hero-email-input {
    min-height: 70px;
  }
}

/* Condensed waiting-list form: button inside input shell */
.waiting-list-condensed-field {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.waiting-list-condensed-description {
  max-width: 900px;
  margin-inline: auto;
}

.waiting-list-condensed-input {
  min-height: 70px;
  font-size: 1.125rem;
  line-height: 1.35;
  padding-left: 1rem;
  padding-right: 13.25rem;
}

.waiting-list-condensed-input::placeholder {
  font-size: 1.125rem;
  color: #566170;
  opacity: 1;
}

.waiting-list-condensed-submit {
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* Press download center link: clean, professional CTA strip */
.download-center-card-link-wrap {
  display: block;
  width: 100%;
  border: 1px solid rgba(67, 44, 139, 0.24);
  box-shadow: 0 6px 16px rgba(21, 30, 54, 0.06);
  transition: border-color 0.2s ease;
}

.download-center-card-link {
  color: var(--bs-primary);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  padding: 1.05rem 1.25rem;
  border-radius: 1rem;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.download-center-card-link-text {
  margin-right: 0.75rem;
}

.download-center-card-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(107, 85, 177, 0.12);
  flex-shrink: 0;
}

.download-center-card-link:hover,
.download-center-card-link:focus-visible {
  color: var(--bs-primary-hover);
  background-color: rgba(107, 85, 177, 0.06);
}

.download-center-card-link-wrap:hover,
.download-center-card-link-wrap:focus-within {
  border-color: rgba(67, 44, 139, 0.4);
}

.download-center-card-link:focus-visible {
  outline: 2px solid rgba(67, 44, 139, 0.24);
  outline-offset: 2px;
}

/* Multi Media Center preview block */
.multimedia-center-section .multimedia-center-grid {
  margin-bottom: 0;
  justify-content: center;
}

.multimedia-center-item {
  background-color: #ffffff;
  border: 1px solid rgba(67, 44, 139, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.multimedia-center-item:hover,
.multimedia-center-item:focus-visible {
  border-color: rgba(67, 44, 139, 0.32);
  box-shadow: 0 10px 22px rgba(21, 30, 54, 0.08);
}

.multimedia-center-thumb {
  background-color: #f4f4f4;
  background-image:
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    ),
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    );
  background-size: 16px 16px;
  background-position:
    0 0,
    8px 8px;
}

.multimedia-center-item-title {
  display: block;
  color: #1f2430;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.72rem 0.85rem 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multimedia-center-empty {
  background-color: #ffffff;
  border: 1px dashed rgba(67, 44, 139, 0.2);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.multimedia-center-cta .btn {
  min-width: 220px;
}

.multimedia-center-cta {
  display: flex;
  justify-content: center;
}

/* Download documents: professional table */
.download-documents-table-wrap {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(67, 44, 139, 0.14);
  border-radius: 0;
  overflow: hidden;
}

.download-documents-table {
  width: 100%;
  margin-bottom: 0;
}

.download-documents-table thead th {
  background-color: #f7f5fd;
  color: #3d3458;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(67, 44, 139, 0.14);
  padding: 0.85rem 1rem;
}

.download-documents-table tbody td {
  padding: 0.9rem 1rem;
  border-color: rgba(31, 36, 48, 0.09);
  vertical-align: middle;
}

.download-documents-table tbody tr:last-child td {
  border-bottom-width: 0;
}

.download-documents-name {
  display: block;
  color: #1f2430;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-grid-option-row {
  min-width: 0;
  gap: 0.8rem;
}

.download-grid-file-title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-grid-option-meta {
  flex: 0 0 auto;
}

.download-documents-alt-row td {
  background-color: rgba(107, 85, 177, 0.02);
}

.download-documents-download-btn {
  white-space: nowrap;
}

.download-thumbnail {
  background-color: #f4f4f4 !important;
  background-image:
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    ),
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    ) !important;
  background-size: 16px 16px !important;
  background-position:
    0 0,
    8px 8px !important;
}

.download-thumbnail-preview-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.download-thumbnail-preview-btn:focus-visible {
  outline: 2px solid rgba(67, 44, 139, 0.42);
  outline-offset: -2px;
}

.download-thumbnail-preview-hint {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: rgba(23, 28, 40, 0.7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.download-preview-modal .modal-content {
  border: 0;
  border-radius: 0.9rem;
}

.download-preview-modal .modal-body {
  padding: 1.2rem;
  background-color: #f4f4f4;
  background-image:
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    ),
    linear-gradient(
      45deg,
      rgba(24, 32, 51, 0.08) 25%,
      transparent 25%,
      transparent 75%,
      rgba(24, 32, 51, 0.08) 75%
    );
  background-size: 16px 16px;
  background-position:
    0 0,
    8px 8px;
}

.download-preview-modal-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 760px);
  margin-inline: auto;
  border-radius: 0.5rem;
}

.download-preview-modal .modal-footer {
  gap: 0.7rem;
}

.download-preview-modal-caption {
  max-width: 70%;
}

/* Contact Page Form */
.contact-form-card {
  background-color: #ffffff;
}

.contact-form-grid .form-label {
  font-weight: 600;
  color: #1f2430;
  margin-bottom: 0.45rem;
}

.contact-form-grid .form-control {
  min-height: 50px;
  border-radius: 0.75rem;
  border-color: rgba(34, 40, 58, 0.15);
}

.contact-form-grid .form-control:focus {
  border-color: rgba(67, 44, 139, 0.36);
  box-shadow: 0 0 0 0.2rem rgba(67, 44, 139, 0.12);
}

.contact-form-grid .contact-form-textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-grid .form-check {
  padding-left: 1.7rem;
}

.contact-form-grid .form-check-input {
  margin-left: -1.7rem;
  margin-top: 0.25rem;
}

.contact-form-grid .contact-form-submit {
  min-height: 50px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .multimedia-center-item-title {
    font-size: 0.89rem;
    padding: 0.6rem 0.72rem 0.74rem;
  }

  .multimedia-center-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .download-center-card-link {
    padding: 0.95rem 1rem;
    font-size: 1rem;
  }

  .download-center-card-link-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .waiting-list-condensed-input {
    min-height: 62px;
    font-size: 1rem;
    padding-right: 11rem;
  }

  .waiting-list-condensed-input::placeholder {
    font-size: 1rem;
  }

  .waiting-list-condensed-submit {
    min-height: 46px;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
  }

  .contact-form-grid .contact-form-textarea {
    min-height: 160px;
  }
}

/* Feature cards track: horizontal-only scrolling across all breakpoints */
.feature-cards-blocks .feature-cards-track {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  /* Keep horizontal strip behavior without trapping vertical page scroll. */
  overscroll-behavior-y: auto;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

/* Professional mobile layout system (desktop stays unchanged) */
@media (max-width: 991px) {
  :root {
    --an-mobile-gutter: clamp(1rem, 4vw, 1.5rem);
    --an-mobile-section-y: clamp(2.75rem, 9vw, 4rem);
    --an-mobile-card-radius: 1rem;
    --an-mobile-card-padding: clamp(1rem, 2.8vw, 1.35rem);
    --an-mobile-gap: clamp(0.9rem, 2.8vw, 1.35rem);
  }

  .site-main .container {
    padding-left: var(--an-mobile-gutter);
    padding-right: var(--an-mobile-gutter);
  }

  .an-error-404-shell {
    border-radius: 0;
    padding: 1.85rem 0.25rem;
  }

  .an-error-404-status {
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  .an-error-404-grid {
    inset: 0;
    opacity: 0.32;
  }

  .site-main section.py-5,
  .site-main .container.py-5,
  .site-main .container-fluid.py-5 {
    padding-top: var(--an-mobile-section-y) !important;
    padding-bottom: var(--an-mobile-section-y) !important;
  }

  .site-main h1,
  .site-main .h1,
  .site-main h1.display-1,
  .site-main h1.display-2,
  .site-main h1.display-3,
  .site-main h1.display-4,
  .site-main h1.display-5,
  .site-main h1.display-6 {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
    line-height: 1.12 !important;
  }

  .site-main h2,
  .site-main .h2,
  .site-main h2.display-1,
  .site-main h2.display-2,
  .site-main h2.display-3,
  .site-main h2.display-4,
  .site-main h2.display-5,
  .site-main h2.display-6 {
    font-size: clamp(1.65rem, 6.6vw, 2.2rem) !important;
    line-height: 1.18 !important;
  }

  .site-main .display-4 {
    font-size: clamp(1.95rem, 7.2vw, 2.45rem) !important;
    line-height: 1.14 !important;
  }

  .site-main .display-5 {
    font-size: clamp(1.6rem, 6vw, 2.08rem) !important;
    line-height: 1.18 !important;
  }

  .site-main .lead {
    font-size: 1.04rem !important;
    line-height: 1.65 !important;
  }

  .site-main .row {
    row-gap: var(--an-mobile-gap);
  }

  .site-main .card {
    border-radius: var(--an-mobile-card-radius);
  }

  .site-main .card-body {
    padding: var(--an-mobile-card-padding);
  }

  .site-main .btn {
    min-height: 44px;
  }

  .site-main .btn.btn-lg {
    min-height: 48px;
    padding: 0.65rem 1.1rem;
    font-size: 1rem;
  }

  .hero-blocks {
    margin-bottom: 0 !important;
  }

  .hero-blocks .pe-lg-4 {
    padding-right: 0 !important;
  }

  .hero-blocks .hero-blocks-media-col img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 0 !important;
  }

  .hero-blocks form.row.g-3 {
    row-gap: 0.85rem !important;
  }

  .hero-blocks .small.text-body {
    margin-top: 0.85rem !important;
  }

  .feature-cards-blocks.py-5 {
    padding-top: 1.6rem !important;
    padding-bottom: 1.6rem !important;
  }

  .feature-cards-blocks .row {
    row-gap: 0.55rem !important;
  }

  .feature-cards-blocks .feature-cards-track {
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 0.55rem !important;
    padding-bottom: 0.1rem;
  }

  .feature-cards-blocks .feature-cards-item {
    width: min(292px, 83vw) !important;
    scroll-snap-align: start;
  }

  .feature-cards-blocks .card-body {
    padding: 0.82rem !important;
  }

  .feature-cards-blocks h3.h4 {
    margin-bottom: 0.35rem !important;
  }

  .feature-cards-blocks p.mb-4 {
    margin-bottom: 0.6rem !important;
    line-height: 1.5;
  }

  .feature-cards-blocks .feature-cards-intro > h5 {
    margin-bottom: 0.22rem !important;
  }

  .feature-cards-blocks .feature-cards-intro > h2 {
    margin-bottom: 0.34rem !important;
  }

  .feature-cards-blocks .feature-cards-intro > p {
    margin-bottom: 0.2rem !important;
  }

  .feature-cards-blocks .feature-cards-cards-col {
    margin-top: -0.28rem;
  }

  .feature-cards-blocks .card-body > .mb-4 {
    margin-bottom: 0.6rem !important;
  }

  .feature-cards-blocks .feature-cards-mobile-hint {
    margin-top: 0.45rem !important;
  }

  .feature-cards-blocks .btn {
    width: 100%;
  }

  .homepage-product-section .row {
    row-gap: 1.35rem !important;
  }

  .homepage-product-section .col-lg-6:first-child img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin-inline: auto;
  }

  .homepage-tile-section .card-body.p-4.p-lg-5 {
    padding: 1.25rem !important;
  }

  .homepage-tile-section .col-12.col-md-5 img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
  }

  .homepage-card-grid-section .row.g-4 {
    row-gap: 1rem !important;
  }

  .homepage-card-grid-section .card-img-top {
    aspect-ratio: 16 / 10;
    max-height: none;
    object-fit: cover;
  }

  .homepage-card-grid-section .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .homepage-card-grid-section .btn {
    width: 100%;
    margin-top: auto;
  }

  .homepage-carousel-section .carousel-item {
    border-radius: var(--an-mobile-card-radius);
    overflow: hidden;
  }

  .homepage-carousel-section .carousel-item .row {
    row-gap: 0 !important;
  }

  .homepage-carousel-section .carousel-item .p-2.p-md-4 {
    padding: 1.1rem !important;
  }

  .homepage-carousel-section .carousel-item img {
    width: 100%;
    min-height: 230px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 0 !important;
  }

  .homepage-carousel-section .homepage-carousel-media {
    position: relative;
  }

  .homepage-carousel-section .homepage-carousel-mobile-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.78rem 0.9rem;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .homepage-carousel-section .homepage-carousel-mobile-overlay h3 {
    color: #1f2430;
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    line-height: 1.24;
  }

  .homepage-carousel-section .homepage-carousel-mobile-overlay p {
    color: rgba(20, 24, 34, 0.92);
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .homepage-carousel-section .homepage-carousel-mobile-overlay a {
    font-size: 0.88rem;
  }

  .homepage-carousel-section .carousel-indicators {
    margin-top: 0.9rem !important;
  }

  .product-info-carousel-section .position-relative.px-5,
  .product-margined-carousel-section .position-relative.px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-info-carousel-section .carousel-control-prev,
  .product-info-carousel-section .carousel-control-next,
  .product-margined-carousel-section .carousel-control-prev,
  .product-margined-carousel-section .carousel-control-next {
    display: none !important;
  }

  .product-info-carousel-section .carousel-item > .p-4,
  .product-margined-carousel-section .carousel-item .col-md-5.p-4 {
    padding: 1.1rem !important;
  }

  .product-info-carousel-section .carousel-item img,
  .product-margined-carousel-section .carousel-item img {
    width: 100%;
    max-height: 230px !important;
    object-fit: cover;
  }

  .product-margined-carousel-section .carousel-item .row.g-0 {
    row-gap: 0 !important;
  }

  .product-info-carousel-section .carousel-indicators {
    margin-top: 0.75rem !important;
  }

  .product-tabs-section .nav-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    overflow-x: auto;
    gap: 0;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-tabs-section .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tabs-section .nav-tabs .nav-item {
    flex: 0 0 auto;
  }

  .product-tabs-section .nav-tabs .nav-link {
    white-space: nowrap;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0;
    background: transparent !important;
    padding: 0.58rem 0.95rem !important;
    color: #2f3344 !important;
  }

  .product-tabs-section .nav-tabs .nav-link.active {
    background: transparent !important;
    color: var(--bs-primary) !important;
    border-bottom-color: var(--bs-primary) !important;
  }

  .product-tabs-section .tab-content .row {
    row-gap: 1rem !important;
  }

  .product-components-section .text-center.mb-5 {
    margin-bottom: 1.85rem !important;
  }

  .product-components-section .row.g-4 {
    row-gap: 1rem !important;
  }

  .product-components-section .text-center.h-100.p-4 {
    padding: 1rem !important;
  }

  .product-components-section .component-icon {
    width: 64px !important;
    height: 64px !important;
  }

  .product-info-cards-section.py-5 {
    padding-top: 1.3rem !important;
    padding-bottom: 1.3rem !important;
  }

  .product-info-cards-section + .product-info-cards-section.py-5 {
    padding-top: 0.4rem !important;
  }

  .product-info-cards-section .row.align-items-center.g-0 {
    row-gap: 0.45rem;
  }

  .product-info-cards-section .col-12.col-md-6 .p-4.p-md-5 {
    padding: 0.9rem !important;
  }

  .product-info-cards-section .img-fluid.rounded-3 {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
  }

  .product-link-image-tiles-section .row {
    row-gap: 0.85rem !important;
  }

  .product-showcase-picture-section .row.mb-5 {
    margin-bottom: 1.8rem !important;
  }

  .product-showcase-picture-section .row.align-items-center {
    row-gap: 1.2rem !important;
  }

  .product-showcase-picture-section .img-fluid.rounded {
    width: 100%;
    border-radius: var(--an-mobile-card-radius) !important;
  }

  .product-benefits-split-section .text-center.mb-5 {
    margin-bottom: 1.8rem !important;
    padding-inline: 0.5rem;
  }

  .product-benefits-split-section .benefits-split-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-benefits-split-section .benefits-split .col-12 {
    padding: 1.1rem !important;
  }

  .product-benefits-split-section .benefits-split-right .ps-lg-5 {
    padding-left: 0 !important;
  }

  .product-benefits-split-section .benefits-split-right-item {
    margin-left: 0 !important;
  }

  .selling-points .row.align-items-center {
    row-gap: 1.25rem;
  }

  .selling-points .d-flex.mb-4 {
    margin-bottom: 0.95rem !important;
  }

  .selling-points .me-3.flex-shrink-0 img {
    width: 24px;
    height: 24px;
  }

  .product-icon-hero-section .icon-hero-strip {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.72rem !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.12rem 0.05rem 0.42rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-icon-hero-section .icon-hero-strip::-webkit-scrollbar {
    display: none;
  }

  .product-icon-hero-section p.text-center.text-body.mb-5 {
    margin-bottom: 1.45rem !important;
  }

  .product-icon-hero-section .icon-hero-item {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 0.1rem;
    scroll-snap-align: center;
    cursor: pointer;
    outline: none;
  }

  .product-icon-hero-section .icon-hero-item .icon-hero-label {
    display: none;
  }

  .product-icon-hero-section .icon-hero-item > .rounded-circle {
    width: 3.05rem !important;
    height: 3.05rem !important;
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }

  .product-icon-hero-section .icon-hero-item.is-active > .rounded-circle,
  .product-icon-hero-section .icon-hero-item:focus-visible > .rounded-circle {
    transform: translateY(-1px);
    box-shadow:
      0 0 0 2px rgba(67, 44, 139, 0.2),
      0 8px 16px rgba(19, 24, 37, 0.12);
    border-color: rgba(67, 44, 139, 0.35) !important;
  }

  .product-icon-hero-section .icon-hero-mobile-caption {
    min-height: 1.55em;
    margin-top: 0.3rem !important;
    padding-inline: 0.5rem;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.45;
    color: #2f3344;
  }

  .product-icon-hero-section .icon-hero-mobile-cta {
    margin-top: 0.28rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: fit-content;
    margin-inline: auto;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-primary);
    text-decoration: none !important;
  }

  .product-icon-hero-section .icon-hero-mobile-cta:hover,
  .product-icon-hero-section .icon-hero-mobile-cta:focus-visible {
    color: #2f2667;
    text-decoration: none !important;
  }

  .product-icon-hero-section .icon-hero-mobile-cta i {
    font-size: 0.98rem;
    transition: transform 0.2s ease;
  }

  .product-icon-hero-section .icon-hero-mobile-cta:hover i,
  .product-icon-hero-section .icon-hero-mobile-cta:focus-visible i {
    transform: translateX(2px);
  }

  .product-icon-marquee-section .d-flex.flex-nowrap.align-items-center.gap-4.pe-4.flex-shrink-0 {
    gap: 0.85rem !important;
  }

  .product-icon-marquee-section .border.rounded-3.bg-white.d-flex.align-items-center.justify-content-center.overflow-hidden.flex-shrink-0 {
    width: 60px !important;
    height: 60px !important;
  }

  .product-icon-marquee-section .border.rounded-3.bg-white.d-flex.align-items-center.justify-content-center.overflow-hidden.flex-shrink-0 img {
    max-width: 46px !important;
    max-height: 46px !important;
  }

  .product-icon-marquee-section .small.text-body {
    font-size: 0.8rem !important;
    text-align: center;
  }

  .tariff-section .row.mb-5,
  .tariff-pricing-section .row.mb-5 {
    margin-bottom: 1.8rem !important;
  }

  .tariff-section .card,
  .tariff-pricing-section .card {
    border: 1px solid rgba(67, 44, 139, 0.24) !important;
  }

  .tariff-section .card-body,
  .tariff-pricing-section .card-body {
    padding: 1.15rem !important;
  }

  .tariff-features ul li {
    padding-left: 1.7rem;
    padding-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
  }

  .tariff-features ul li::before {
    width: 1.2rem;
    height: 1.2rem;
  }

  .price-calculator-block .card-body.p-4.p-lg-5 {
    padding: 1.2rem !important;
  }

  .price-calculator-block .form-control.form-control-lg {
    min-height: 48px;
  }

  .price-calculator-block .d-flex.justify-content-between.align-items-center {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .price-calculator-block .display-5 {
    font-size: clamp(1.6rem, 7vw, 2.05rem) !important;
  }

  .function-overview-block .table th,
  .function-overview-block .table td {
    padding: 0.58rem 0.62rem !important;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .download-center-card .col-lg-6.px-4.py-4 {
    padding: 1.15rem !important;
  }

  .download-center-card .img-fluid {
    max-height: 250px;
    object-fit: cover;
  }

  .download-center-card .row.g-0.align-items-center,
  .featured-post-section .rounded-4.bg-white.shadow-bottom.shadow-sm,
  .press-news-grid-section .card {
    overflow: hidden;
  }

  .download-center-card .col-lg-6,
  .featured-post-section .row.g-4.align-items-center > .col-lg-6,
  .press-news-grid-section .card,
  .press-news-grid-section .card-body {
    min-width: 0;
  }

  .press-news-grid-section .card-title,
  .press-news-grid-section .card-text,
  .press-news-grid-section .card-title a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .featured-post-section .col-lg-6.pe-5 {
    padding-right: 0 !important;
  }

  .featured-post-section .p-4 {
    padding: 1.1rem !important;
  }

  .featured-post-section .btn.btn-primary.btn-lg {
    width: 100%;
    padding-inline: 1rem !important;
  }

  .press-news-grid-section .row.g-4.mb-5 {
    row-gap: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .press-news-grid-section .pagination,
  .download-center-page-section .pagination,
  .download-documents-section .pagination {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .press-news-grid-section .page-link,
  .download-center-page-section .page-link,
  .download-documents-section .page-link {
    padding: 0.45rem 0.7rem;
  }

  .download-center-page-section .download-section {
    margin-bottom: 2.2rem !important;
  }

  .download-center-page-section .download-grid-list {
    row-gap: 1.2rem !important;
  }

  .download-center-page-section .download-grid-option-row {
    align-items: flex-start !important;
    gap: 0.55rem;
  }

  .download-center-page-section .download-grid-option-meta {
    gap: 0.45rem 0.65rem !important;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .download-documents-section .download-documents-table th,
  .download-documents-section .download-documents-table td {
    padding: 0.62rem 0.72rem !important;
  }

  .download-documents-section .download-documents-name {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .company-overview-section .text-center.mb-5 {
    margin-bottom: 1.8rem !important;
  }

  .company-overview-section .row.g-3 {
    row-gap: 0.95rem !important;
  }

  .company-overview-section .company-overview-card-image {
    height: 210px !important;
  }

  .company-overview-section .card-body.text-left {
    padding: 1rem;
  }

  .company-overview-section .btn.btn-outline-primary {
    width: 100%;
  }

  .company-overview-section .modal-body.px-4.mx-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .company-quote-section .display-1 svg {
    width: 62px;
    height: 62px;
  }

  .company-quote-section .blockquote .fs-3 {
    font-size: 1.28rem !important;
    line-height: 1.5 !important;
  }

  .company-quote-section .lead.fs-5 {
    font-size: 1.02rem !important;
  }

  .waiting-list-condensed-section .waiting-list-condensed-description {
    max-width: 100%;
    margin-bottom: 1.15rem !important;
  }

  .waiting-list-condensed-section .waiting-list-condensed-field {
    max-width: 100%;
  }

  .waiting-list-condensed-section .waiting-list-condensed-submit {
    min-width: 154px;
  }

  .waiting-list-condensed-section .form-check {
    max-width: 100% !important;
    padding-right: 0.15rem;
  }

  .waiting-list-condensed-section .form-check-label {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .site-footer {
    text-align: center;
  }

  .site-footer .row.align-items-start {
    justify-content: center;
    row-gap: 1.25rem;
  }

  .site-footer .row.align-items-start > [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .row.align-items-start > [class*="col-"] > * {
    width: 100%;
    max-width: 34rem;
  }

  .site-footer .col-lg-7.d-flex.flex-column.justify-content-between {
    height: auto !important;
    justify-content: flex-start !important;
    gap: 1rem;
  }

  .site-footer nav[aria-label="Footer Navigation"] {
    justify-content: center !important;
    width: 100%;
  }

  .site-footer .menu-footer {
    justify-content: center;
    align-items: center;
  }

  .site-footer .menu-footer > li > a {
    text-align: center;
  }

  .site-footer .d-flex.flex-column.align-items-lg-end {
    align-items: center !important;
  }

  .site-footer .d-flex.gap-3.mb-3 {
    justify-content: center;
  }

  .site-footer p.small.text-muted.text-lg-end {
    text-align: center !important;
  }

  .site-footer .form-check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin: 0.1rem 0 0;
    padding-left: 0;
    text-align: left;
  }

  .site-footer .form-check-input {
    position: static;
    float: none;
    margin-left: 0;
    margin-top: 0.2rem;
    flex: 0 0 auto;
  }

  .site-footer .form-check-label {
    max-width: 31rem;
    line-height: 1.45;
  }

}

body.error404 {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .site-main .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-main section.py-5,
  .site-main .container.py-5,
  .site-main .container-fluid.py-5 {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
  }

  .hero-email-input {
    min-height: 58px;
  }

  .waiting-list-condensed-input {
    min-height: 60px;
    padding-right: 9.75rem;
  }

  .waiting-list-condensed-submit {
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
  }

  .homepage-carousel-section .carousel-item img,
  .download-center-card .img-fluid {
    max-height: 255px;
  }

  .feature-cards-blocks.py-5 {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
  }

  .feature-cards-blocks .feature-cards-item {
    width: min(276px, 81vw) !important;
  }

  .feature-cards-blocks .card-body {
    padding: 0.78rem !important;
  }

  .feature-cards-blocks .feature-cards-intro > p {
    margin-bottom: 0.1rem !important;
  }

  .feature-cards-blocks .feature-cards-cards-col {
    margin-top: -0.35rem;
  }

  .product-link-image-tiles-section .col-6 {
    width: 100%;
  }

  .download-center-page-section .download-grid-option-row {
    flex-direction: column;
  }

  .featured-post-section .row.g-4.align-items-center > .col-lg-6,
  .download-center-card .row.g-0.align-items-center > .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .press-news-grid-section .row.g-4.mb-5 > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }

  .download-center-page-section .download-grid-option-meta {
    justify-content: flex-start;
  }

  .download-documents-section .download-documents-table th,
  .download-documents-section .download-documents-table td {
    white-space: nowrap;
  }

  .download-documents-section .download-documents-table th:first-child,
  .download-documents-section .download-documents-table td:first-child {
    min-width: 220px;
    white-space: normal;
  }

  .download-documents-section .download-documents-download-btn {
    font-size: 0.8rem;
    padding: 0.36rem 0.6rem;
  }
}

/* Shared dot indicators */
.an-shared-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.38rem;
}

.an-shared-dot {
  width: 8px !important;
  height: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: rgba(67, 44, 139, 0.3) !important;
  opacity: 1 !important;
  transition:
    width 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.an-shared-dot.active,
.an-shared-dot[aria-current="true"] {
  width: 18px !important;
  background-color: var(--bs-primary) !important;
}

@media (max-width: 1199px) {
  .homepage-carousel-section .carousel-control-prev,
  .homepage-carousel-section .carousel-control-next,
  .feature-cards-blocks [id$="-next"],
  .feature-cards-blocks [id$="-prev"] {
    display: none !important;
  }

  .homepage-carousel-section .carousel-mobile-hint,
  .feature-cards-blocks .feature-cards-mobile-hint {
    font-size: 0.84rem;
    line-height: 1.45;
    opacity: 0.82;
    letter-spacing: 0.01em;
  }

  .feature-cards-blocks .feature-cards-mobile-indicators {
    margin-top: 0.35rem;
    margin-bottom: 0;
  }
}
