/*
 * DOARDS compact redesign layer
 * Loaded after the legacy styles so pages can be migrated without removing
 * the old theme yet.
 */

:root {
  --ui-ink: #17263d;
  --ui-muted: #657287;
  --ui-green: #087e6c;
  --ui-line: #e4e8ed;
  --ui-radius: 18px;
  --ui-container: 1325px;
  --ui-header-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ui-ink);
  font-size: 15px;
  line-height: 1.55;
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--ui-container);
  }
}

/* Compact global type scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.025em;
}

.s-70,
.s-68,
.s-66,
.s-64,
.s-62,
.s-60,
.s-58,
.s-56,
.s-54,
.s-52 {
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.s-50,
.s-48,
.s-46,
.s-45,
.s-44,
.s-42 {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  line-height: 1.13;
}

.s-40,
.s-38,
.s-36,
.s-34,
.s-32 {
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.18;
}

.s-30,
.s-28,
.s-26 {
  font-size: clamp(1.3rem, 1.7vw, 1.5rem);
  line-height: 1.22;
}

.s-24,
.s-22 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.s-21,
.s-20,
.p-xl,
.p-lg {
  font-size: 1rem;
  line-height: 1.55;
}

.txt-block p,
.content-section p,
.section-title p {
  font-size: 0.92rem;
  line-height: 1.58;
}

.section-id {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

/* Language selector styled to match the floating cookie control. */
.floating-selector {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 1054;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.selector-header {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px 5px 9px;
  border: 1px solid rgba(0, 106, 95, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #006a5f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.floating-selector:hover .selector-header,
.floating-selector:focus-within .selector-header {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.selector-header img,
.selector-options img {
  width: 14px !important;
  height: 14px;
  margin-right: 6px !important;
  border-radius: 50%;
  object-fit: cover;
}

/* Invisible bridge over the gap between the pill and the menu, so moving the
   pointer up to the menu doesn't drop :hover. */
.floating-selector::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  display: none;
  width: 100%;
  min-width: 130px;
  height: 8px;
}

.floating-selector:hover::before,
.floating-selector.open::before {
  display: block;
}

.selector-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: flex;
  visibility: hidden;
  opacity: 0;
  /* Close after a short grace period so a slightly off pointer path doesn't
     snap the menu shut. */
  transition:
    opacity 0.15s ease 0.2s,
    visibility 0s linear 0.35s;
  min-width: 130px;
  max-height: min(60vh, 300px);
  overflow-y: auto;
  flex-direction: column;
  padding: 4px;
  border: 1px solid rgba(0, 106, 95, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(13, 31, 50, 0.14);
}

.selector-options div {
  display: flex;
  align-items: center;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--ui-ink, #17263d);
  font-size: 12px;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.selector-options div:hover,
.selector-options div:focus-visible {
  background: #e7f5f2;
  color: #006a5f;
}

.floating-selector:hover .selector-options,
.floating-selector:focus-within .selector-options,
.floating-selector.open .selector-options {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

@media (max-width: 480px) {
  .floating-selector {
    right: 10px;
    bottom: 10px;
  }
}

/* Footer: compact, Apple-like type scale (px so it doesn't grow with the root size). */
#footer-3 {
  font-size: 12px;
  padding-bottom: 58px;
  padding-top: 44px;
}

#footer-3 .footer-info,
#footer-3 .footer-links {
  margin-bottom: 22px;
}

#footer-3 .footer-logo {
  max-height: 24px;
  width: auto;
}

/* The Trustpilot badge is an iframe; scale it to match the smaller footer. */
#footer-3 .footer-trustpilot-widget {
  margin-bottom: -10px;
  margin-top: 12px;
  transform: scale(0.8);
  transform-origin: left top;
}

#footer-3 h6 {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 10px;
}

#footer-3 .foo-links li p,
#footer-3 .footer-mail-link {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 7px;
}

#footer-3 .foo-links a,
#footer-3 .footer-mail-link a {
  color: #424245;
}

#footer-3 .foo-links a:hover,
#footer-3 .footer-mail-link a:hover {
  color: var(--ui-green);
  text-decoration: underline;
}

#footer-3 .footer-socials {
  margin-top: 6px;
}

#footer-3 .footer-socials a {
  color: #6e6e73;
  margin-right: 10px;
}

#footer-3 .footer-socials [class*="flaticon-"]:before,
#footer-3 .footer-socials [class*="flaticon-"]:after {
  font-size: 15px;
}

#footer-3 hr {
  margin: 4px 0 14px;
}

#footer-3 .footer-copyright p {
  color: #6e6e73;
  font-size: 12px;
}

/* Shorter sections and tighter common spacing */
.py-100 {
  padding-bottom: 68px;
  padding-top: 68px;
}
.pt-100 {
  padding-top: 68px;
}
.pb-100 {
  padding-bottom: 68px;
}
.py-80 {
  padding-bottom: 58px;
  padding-top: 58px;
}
.pt-80 {
  padding-top: 58px;
}
.pb-80 {
  padding-bottom: 58px;
}
.mb-80 {
  margin-bottom: 48px;
}
.mb-70 {
  margin-bottom: 42px;
}
.mt-50 {
  margin-top: 34px;
}

/* Apple-like pill buttons across the site */
.btn,
a.btn,
button.btn,
.btn.r-02,
.btn.r-04,
.btn.r-06,
.btn.r-08,
.btn.r-10,
.btn.r-12,
.btn.r-14,
.btn.r-16,
.btn.r-18,
.btn.r-20,
.btn.r-22,
.btn.r-24,
.btn.r-30,
.btn.r-32,
.btn.r-34,
.btn.r-36 {
  border-radius: 999px;
  font-size: 0.84rem;
  line-height: 1;
  min-height: 42px;
  padding: 0.8rem 1.25rem;
}

.btns-group {
  gap: 10px;
}

/* Cards and content sections stay square; only controls use pill rounding. */
.bc-3-wrapper,
.banner-13-wrapper,
.industry-card,
.feature-media-card,
.fbox-2,
.product-feature-tabs__nav,
.product-feature-tabs__panel,
.product-benefits__grid article {
  border-radius: 0 !important;
}

/* Homepage: compact opening hero */
#hero-10 {
  min-height: 0;
  padding-bottom: 42px;
  padding-top: 116px;
}

#hero-10 .hero-10-txt h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.85rem);
  margin-bottom: 12px;
}

#hero-10 .hero-10-txt h2 {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 12px !important;
}

#hero-10 .hero-3-img {
  margin: 0 auto;
  max-width: 580px;
}

#hero-10 .col-md-6[style] {
  margin-top: 34px !important;
}

/* Homepage industry picture grid */
.industry-showcase {
  background: #fff;
  padding: 14px 14px;
}

.industry-showcase__heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.industry-showcase__heading h2 {
  color: var(--ui-ink);
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  margin: 0;
}

.industry-showcase__heading p {
  color: var(--ui-muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 390px;
}

.industry-showcase__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-card {
  background: #111;
  border-radius: 0;
  color: #fff;
  display: block;
  height: clamp(330px, 34vw, 470px);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.industry-card::after {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 28, 0.75) 0%,
    rgba(8, 16, 28, 0.12) 47%,
    rgba(8, 16, 28, 0.3) 100%
  );
  content: "";
  inset: 0;
  position: absolute;
  transition: background 0.45s ease;
  z-index: -1;
}

.industry-card__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.005);
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
  width: 100%;
  z-index: -2;
}

.industry-card__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 28px;
  text-align: center;
}

.industry-card__eyebrow {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.industry-card h3 {
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 650;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.25);
}

.industry-card__link {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #15243b;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 6px;
  margin-top: auto;
  min-height: 38px;
  padding: 0 17px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.industry-card:hover .industry-card__image,
.industry-card:focus-visible .industry-card__image {
  transform: scale(1.045);
}

.industry-card:hover::after,
.industry-card:focus-visible::after {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 28, 0.82) 0%,
    rgba(8, 16, 28, 0.08) 54%,
    rgba(8, 16, 28, 0.25) 100%
  );
}

.industry-card:hover .industry-card__link,
.industry-card:focus-visible .industry-card__link {
  background: var(--ui-green);
  color: #fff;
  transform: translateY(-2px);
}

.industry-card:focus-visible {
  outline: 3px solid rgba(8, 126, 108, 0.45);
  outline-offset: 3px;
}

/* Homepage centered product spotlight, inspired by compact product launches. */
.home-product-spotlight {
  background: #f5f5f7;
  overflow: hidden;
  padding: 52px 0 0;
  text-align: center;
}

.home-product-spotlight__copy {
  margin: 0 auto;
  max-width: 720px;
}

.home-product-spotlight__copy h2 {
  color: var(--ui-ink);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 5px 0 10px;
}

.home-product-spotlight__copy p {
  color: var(--ui-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 590px;
}

.home-product-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.home-product-spotlight__media {
  height: 300px;
  margin: 25px auto 0;
  max-width: 900px;
  overflow: hidden;
}

.home-product-spotlight__media img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 880px;
  width: 100%;
}

/* Homepage DISI feature */
.home-disi-section {
  background: #fff;
  padding: 64px 0;
}

.home-disi-section__copy {
  max-width: 510px;
}

.home-disi-section__copy h2 {
  margin: 6px 0 12px;
}

.home-disi-section__copy p {
  color: var(--ui-muted);
  max-width: 480px;
}

.home-disi-section__media {
  height: 370px;
  overflow: hidden;
}

.home-disi-section__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Dedicated features page photographic grid */
.features-catalog-hero {
  background: #f5f5f7;
  margin-top: 80px;
  padding: 40px 0 0;
  text-align: center;
}

.features-catalog-hero__copy {
  margin: 0 auto;
  max-width: 680px;
}

.features-catalog-hero__copy h1 {
  color: var(--ui-ink);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.features-catalog-hero__copy p {
  color: var(--ui-muted);
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0 auto;
  max-width: 590px;
}

.features-catalog-hero__media {
  height: 245px;
  margin: 24px auto 0;
  max-width: 850px;
  overflow: hidden;
}

.features-catalog-hero__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Videos keep their aspect ratio instead of the cropped image strip. */
.features-catalog-hero__media.features-catalog-hero__media--video {
  height: auto;
  max-width: 620px;
}

.features-catalog-hero__media--video video {
  display: block;
  width: 100%;
}

.feature-catalog-section {
  padding: 58px 0;
}

.feature-catalog-section--all {
  padding-top: 42px;
}

.feature-catalog-section + .feature-catalog-section {
  border-top: 1px solid var(--ui-line);
  padding-top: 0;
}

.feature-catalog-section__title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feature-catalog-section__title h2 {
  color: var(--ui-ink);
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  margin: 0;
}

.feature-media-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-media-grid--industries {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-media-grid--overlay {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-media-card {
  background: #f5f5f7;
  color: var(--ui-ink);
  display: block;
  overflow: hidden;
}

.feature-media-card__image {
  display: block;
  height: 220px;
  overflow: hidden;
}

.feature-media-grid--industries .feature-media-card__image {
  height: 310px;
}

.feature-media-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
  width: 100%;
}

.feature-media-card__body {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px 17px;
}

.feature-media-card__title {
  color: var(--ui-ink);
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.feature-media-card__arrow {
  align-items: center;
  background: var(--ui-green);
  border-radius: 999px;
  color: #fff;
  display: flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  transition: transform 0.25s ease;
  width: 34px;
}

.feature-media-card:hover .feature-media-card__image img,
.feature-media-card:focus-visible .feature-media-card__image img {
  transform: scale(1.045);
}

.feature-media-card:hover .feature-media-card__arrow,
.feature-media-card:focus-visible .feature-media-card__arrow {
  transform: translateX(3px);
}

.feature-media-card--overlay {
  background: #101a28;
  color: #fff;
  height: 265px;
  isolation: isolate;
  position: relative;
}

.feature-media-card--overlay::after {
  background: linear-gradient(
    180deg,
    rgba(5, 12, 22, 0.62),
    rgba(5, 12, 22, 0.92)
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.feature-media-card--overlay .feature-media-card__image {
  height: 100%;
  inset: 0;
  position: absolute;
  z-index: -2;
}

.feature-media-card--overlay .feature-media-card__body {
  align-items: center;
  color: #fff;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 22px;
  position: relative;
  text-align: center;
}

.feature-media-card--overlay .feature-media-card__title {
  color: #fff;
  font-size: 1.32rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.feature-media-card--overlay .feature-media-card__arrow {
  margin-top: 11px;
}

.feature-hub-page #features-2 {
  padding: 34px 0 62px;
}

.feature-hub-page #features-2 .section-title {
  display: none;
}

.legacy-feature-hub-grid {
  display: none !important;
}

/* Header: Apple-like full-width menu panels (large main links, small grouped links). */
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel__label {
  color: #6e6e73;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 10px;
}

.nav-panel a {
  color: #333336;
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-panel__group--main a {
  color: #1d1d1f;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 6px 0;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--ui-green);
}

@media (min-width: 992px) {
  /* Let the panels span the fixed header instead of the centered logo/menu row. */
  .wsmainwp {
    position: static;
  }

  /* Compact three-part header: logo left, menu centered, login + signup right.
     Sizes are in px because the theme scales rem to 115.6% above 1200px. */
  .white-menu .wsmainfull,
  .white-menu.white-scroll .wsmainfull.scroll {
    padding: 0;
  }

  .wsmainwp {
    align-items: center;
    display: flex;
    height: var(--ui-header-height);
  }

  .desktoplogo,
  .header-actions {
    flex: 1 1 0;
  }

  .desktoplogo {
    line-height: 1;
  }

  .desktoplogo img {
    max-height: 26px;
  }

  .wsmenu {
    float: none;
  }

  .wsmenu > .wsmenu-list {
    display: flex;
  }

  .wsmenu > .wsmenu-list > li > a.h-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: var(--ui-header-height);
    margin: 0;
    padding: 0 12px;
  }

  .wsmenu > .wsmenu-list > li.nav-mega > a.h-link {
    padding-right: 24px;
  }

  .wsmenu > .wsmenu-list > li > a .wsarrow:after {
    margin: -2px 0 0;
    right: 10px;
    top: 50%;
  }

  .header-actions {
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    gap: 18px;
    justify-content: flex-end;
  }

  .header-actions__login {
    color: #353f4f;
    font-size: 13px;
    font-weight: 500;
  }

  .header-actions__login:hover {
    color: var(--ui-green);
  }

  .header-actions .btn {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    min-height: 32px;
    padding: 0 16px;
  }

  .features-catalog-hero {
    margin-top: var(--ui-header-height);
  }

  .nav-panel__label {
    font-size: 12px;
  }

  .nav-panel a {
    font-size: 13px;
    font-weight: 500;
  }

  .nav-panel__group--main a {
    font-size: 20px;
    font-weight: 650;
  }

  .wsmenu > .wsmenu-list > li > .wsmegamenu.nav-panel {
    background: #fafafc;
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 32px -28px rgba(0, 0, 0, 0.25);
    left: 0;
    max-height: calc(100vh - var(--ui-header-height));
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 34px 0 52px;
    right: 0;
    top: 100%;
    transform: translateY(-6px);
    transition:
      opacity 0.22s ease,
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.3s;
    visibility: hidden;
    width: 100%;
  }

  /* Invisible bridge so the pointer can travel from the top link into the panel. */
  .wsmenu > .wsmenu-list > li > .wsmegamenu.nav-panel::before {
    bottom: 100%;
    content: "";
    height: 16px;
    left: 0;
    position: absolute;
    right: 0;
  }

  .wsmenu > .wsmenu-list > li.nav-mega:hover > .wsmegamenu.nav-panel,
  .wsmenu
    > .wsmenu-list
    > li.nav-mega:has(:focus-visible)
    > .wsmegamenu.nav-panel {
    opacity: 1;
    transform: none;
    transition-delay: 0.06s;
    visibility: visible;
  }

  .nav-panel__inner {
    display: grid;
    gap: 28px 40px;
    grid-template-columns: minmax(210px, 1.3fr) repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--ui-container);
    padding: 0 15px;
  }

  .nav-panel__group {
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity 0.25s ease,
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-mega:hover .nav-panel__group,
  .nav-mega:has(:focus-visible) .nav-panel__group {
    opacity: 1;
    transform: none;
  }

  .nav-mega:hover .nav-panel__group:nth-child(2) {
    transition-delay: 0.04s;
  }
  .nav-mega:hover .nav-panel__group:nth-child(3) {
    transition-delay: 0.08s;
  }
  .nav-mega:hover .nav-panel__group:nth-child(4) {
    transition-delay: 0.12s;
  }
  .nav-mega:hover .nav-panel__group:nth-child(5) {
    transition-delay: 0.16s;
  }

  /* Blur the page behind an open panel, like apple.com. */
  .header-wrapper::after {
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    background: rgba(232, 232, 237, 0.4);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
    visibility: hidden;
    z-index: -1;
  }

  .header-wrapper:has(.nav-mega:hover)::after,
  .header-wrapper:has(.nav-mega :focus-visible)::after {
    opacity: 1;
    transition-delay: 0.06s;
    visibility: visible;
  }

  .header-wrapper:has(.nav-mega:hover) .wsmainfull,
  .header-wrapper:has(.nav-mega :focus-visible) .wsmainfull {
    background-color: #fafafc !important;
    box-shadow: none;
  }
}

@media (max-width: 991px) {
  .wsmenu > .wsmenu-list > li > .wsmegamenu.nav-panel {
    background: #fafafc;
    padding: 8px 0 14px;
    top: 0;
    width: 100%;
  }

  .nav-panel__group {
    padding: 12px 20px 4px;
  }

  .nav-panel__label {
    margin-bottom: 4px;
  }

  .nav-panel a {
    display: block;
    font-size: 0.95rem;
    padding: 7px 0;
  }

  .nav-panel__group--main a {
    font-size: 1.15rem;
  }
}

/* Recommended solutions: Apple-like slideshow of image cards. */
.rec-gallery {
  --rec-gap: 16px;
  --rec-slide: calc(100cqw - 2 * var(--rec-gap) - 40px);
  --rec-interval: 6s;
  background: #f5f5f7;
  overflow: hidden;
  padding: 60px 0 44px;
}

.rec-gallery__head {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.rec-gallery__head h2 {
  color: var(--ui-ink);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  margin: 0;
}

.rec-gallery__all {
  color: var(--ui-green);
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  padding-bottom: 4px;
}

.rec-gallery__all::after {
  content: "\203A";
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.25s ease;
}

.rec-gallery__all:hover::after {
  transform: translateX(3px);
}

.rec-gallery__viewport {
  container-type: inline-size;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rec-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.rec-gallery__track {
  display: flex;
  gap: var(--rec-gap);
  list-style: none;
  margin: 0;
  padding: 0 calc((100cqw - var(--rec-slide)) / 2);
}

.rec-gallery__slide {
  flex: 0 0 var(--rec-slide);
  scroll-snap-align: center;
}

/* Once the script runs, the track is moved with transforms and loops endlessly. */
.rec-gallery.is-ready .rec-gallery__viewport {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.rec-gallery.is-ready .rec-gallery__track {
  padding: 0;
  transition: transform 0.8s cubic-bezier(0.45, 0, 0.2, 1);
  will-change: transform;
}

.rec-gallery.is-dragging .rec-gallery__track {
  transition: none;
}

.rec-card {
  aspect-ratio: 4 / 3;
  background: #1d1d1f;
  color: #fff;
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  -webkit-user-drag: none;
  user-select: none;
}

.rec-card:hover {
  color: #006a5f !important;
}

/* Dark overlay */
.rec-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* change 0.25 to control darkness */
  pointer-events: none;
}

.rec-card__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
  width: 100%;
  z-index: -2;
  -webkit-user-drag: none;
}

.rec-card__label {
  align-items: center;
  display: flex;
  font-size: clamp(0.9rem, 1.25vw, 1.15rem);
  font-weight: 600;
  gap: 7px;
  letter-spacing: -0.01em;
  line-height: 1;
  position: absolute;
  right: 20px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  top: 18px;
  z-index: 2;
}

.rec-card__label img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0, 0, 0, 0.3));
  height: 0.86em;
  width: auto;
}

.rec-card__footer {
  align-items: center;
  bottom: 0;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  left: 0;
  padding: 18px 20px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.rec-card__title {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.rec-card__cta {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #1d1d1f;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 500;
  min-height: 36px;
  padding: 0 17px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}

.rec-card:hover .rec-card__image,
.rec-card:focus-visible .rec-card__image {
  transform: scale(1.035);
}

.rec-card:hover .rec-card__cta,
.rec-card:focus-visible .rec-card__cta {
  background: var(--ui-green);
  color: #fff;
}

.rec-card:focus-visible {
  outline: 3px solid rgba(8, 126, 108, 0.55);
  outline-offset: -3px;
}

.rec-gallery__controls {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 26px auto 0;
  max-width: var(--ui-container);
  min-height: 36px;
  padding: 0 15px;
  position: relative;
}

.rec-gallery__controls[hidden] {
  display: none;
}

.rec-gallery__dots {
  align-items: center;
  display: flex;
  gap: 6px;
}

.rec-gallery__dot {
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  padding: 10px 4px;
}

.rec-gallery__dot span {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
  transition:
    width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.25s ease;
  width: 8px;
}

.rec-gallery__dot:hover span {
  background: rgba(0, 0, 0, 0.5);
}

.rec-gallery__dot.is-active span {
  background: rgba(0, 0, 0, 0.18);
  width: 34px;
}

.rec-gallery__dot.is-active span::after {
  animation: rec-gallery-progress var(--rec-interval) linear forwards;
  background: #1d1d1f;
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
  transform-origin: left center;
}

.rec-gallery.is-paused .rec-gallery__dot.is-active span::after {
  animation-play-state: paused;
}

/* Autoplay switched off: show the active dot as a solid pill. */
.rec-gallery.is-manual .rec-gallery__dot.is-active span::after {
  animation: none;
}

@keyframes rec-gallery-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.rec-gallery__toggle {
  align-items: center;
  background: rgba(0, 0, 0, 0.07);
  border: 0;
  border-radius: 50%;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
  width: 36px;
}

.rec-gallery__toggle:hover {
  background: rgba(0, 0, 0, 0.12);
}

.rec-gallery__toggle svg {
  fill: currentColor;
  height: 14px;
  width: 14px;
}

.rec-gallery__icon-play,
.rec-gallery.is-manual .rec-gallery__icon-pause {
  display: none;
}

.rec-gallery.is-manual .rec-gallery__icon-play {
  display: block;
}

.rec-gallery__dot:focus-visible,
.rec-gallery__toggle:focus-visible {
  outline: 2px solid var(--ui-green);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .rec-gallery {
    --rec-slide: 64cqw;
  }
  .rec-card {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1200px) {
  .rec-gallery {
    --rec-slide: min(calc((100cqw - 4 * var(--rec-gap)) / 3), 1000px);
  }
}

/* The booking-page tab layout, shared by every feature page that uses tabs. */
.product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__desktop {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__nav {
  align-content: start;
  border: 1px solid var(--ui-line);
  /*box-shadow: 0 10px 35px rgba(31, 59, 82, 0.055);*/
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 7px;
}

.product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__tab {
  /*border-bottom: 1px solid #edf1f3;*/
  display: flex;
  font-size: 0.71rem;
  justify-content: space-between;
  line-height: 1.3;
  min-height: 57px;
  padding: 18px 11px;
  text-align: left;
}

.product-feature-tabs:not(.product-page-tabs)
  .product-feature-tabs__tab::after {
  content: none;
  display: none !important;
}

.product-page-tabs .product-tab-arrow {
  display: none !important;
}

.product-page-tabs .product-feature-tabs__tab {
  grid-template-columns: 30px minmax(0, 1fr);
}

.product-feature-tabs:not(.product-page-tabs)
  .product-feature-tabs__tab:last-child {
  border-bottom: 0;
}

.product-feature-tabs:not(.product-page-tabs)
  .product-feature-tabs__tab.is-active {
  /*box-shadow: inset 3px 0 0 var(--ui-green);*/
}

.product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__panel {
  /*box-shadow: 0 10px 35px rgba(31, 59, 82, .055);*/
  margin-top: 0;
}

.product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__media {
  min-height: 370px;
}

/* Wrapper added by custom.js; only takes part in layout on phones. */
.product-feature-tabs__scroller {
  display: contents;
}

.product-feature-tabs__scroll {
  display: none;
}

@media (max-width: 991px) {
  .industry-card {
    height: 340px;
  }
  #hero-10 {
    padding-bottom: 34px;
    padding-top: 105px;
  }
  .feature-media-card__image {
    height: 190px;
  }
  .feature-media-grid--industries .feature-media-card__image {
    height: 260px;
  }
  .product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__desktop {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .py-100 {
    padding-bottom: 52px;
    padding-top: 52px;
  }
  .pt-100 {
    padding-top: 52px;
  }
  .pb-100 {
    padding-bottom: 52px;
  }
  #hero-10 {
    padding-bottom: 30px;
    padding-top: 92px;
  }
  #hero-10 .col-md-6[style] {
    margin-top: 22px !important;
  }
  .industry-showcase {
    padding: 50px 0;
  }
  .industry-showcase__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .industry-showcase__grid {
    grid-template-columns: 1fr;
  }
  .industry-card {
    height: 330px;
  }
  .industry-card__content {
    padding: 27px 20px;
  }
  .home-product-spotlight {
    padding-top: 44px;
  }
  .home-product-spotlight__media {
    height: 220px;
  }
  .home-disi-section {
    padding: 50px 0;
  }
  .home-disi-section__media {
    height: 280px;
    margin-top: 24px;
  }
  .features-catalog-hero {
    margin-top: 60px;
    padding-top: 34px;
  }
  .features-catalog-hero__media {
    height: 200px;
  }
  .feature-media-grid,
  .feature-media-grid--industries {
    grid-template-columns: 1fr;
  }
  .feature-media-grid--overlay {
    grid-template-columns: 1fr;
  }
  .feature-media-card__image,
  .feature-media-grid--industries .feature-media-card__image {
    height: 230px;
  }
  .feature-media-card--overlay {
    height: 245px;
  }
  .product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__desktop {
    display: block;
  }
  .product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__mobile {
    display: none;
  }
  .product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__nav {
    display: flex;
    margin-bottom: 12px;
    overflow-x: auto;
    padding: 7px;
    scroll-snap-type: x mandatory;
  }
  .product-feature-tabs:not(.product-page-tabs) .product-feature-tabs__tab {
    border-bottom: 0;
    flex: 0 0 180px;
    min-height: 52px;
    scroll-snap-align: start;
  }
  .product-feature-tabs__scroller {
    display: block;
    position: relative;
  }
  .product-feature-tabs__scroller .product-feature-tabs__nav {
    scroll-padding-inline: 44px;
    scrollbar-width: none;
  }
  .product-feature-tabs__scroller .product-feature-tabs__nav::-webkit-scrollbar {
    display: none;
  }
  .product-feature-tabs__scroll {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ui-line);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(17, 36, 63, 0.16);
    color: var(--ui-green);
    display: flex;
    height: 32px;
    justify-content: center;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s ease;
    width: 32px;
    z-index: 2;
  }
  .product-feature-tabs__scroll svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 18px;
  }
  .product-feature-tabs__scroll--prev {
    left: 6px;
  }
  .product-feature-tabs__scroll--next {
    right: 6px;
  }
  .product-feature-tabs__scroller::before,
  .product-feature-tabs__scroller::after {
    bottom: 1px;
    content: "";
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 1px;
    transition: opacity 0.2s ease;
    width: 56px;
    z-index: 1;
  }
  .product-feature-tabs__scroller::before {
    background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0));
    left: 1px;
  }
  .product-feature-tabs__scroller::after {
    background: linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0));
    right: 1px;
  }
  .product-feature-tabs__scroller.can-scroll-prev::before,
  .product-feature-tabs__scroller.can-scroll-next::after {
    opacity: 1;
  }
  .product-feature-tabs__scroller.can-scroll-prev .product-feature-tabs__scroll--prev,
  .product-feature-tabs__scroller.can-scroll-next .product-feature-tabs__scroll--next {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .industry-card__image,
  .industry-card__link {
    transition: none;
  }
  .rec-gallery.is-ready .rec-gallery__track {
    transition-duration: 0.2s;
  }
  .rec-card__image,
  .nav-panel__group {
    transition: none;
  }
}
