.hno-cochlea-popup[hidden] {
  display: none !important;
}

.hno-cochlea-popup,
.hno-cochlea-popup *,
.hno-cochlea-popup *::before,
.hno-cochlea-popup *::after {
  box-sizing: border-box;
}

.hno-cochlea-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 29, 39, 0.68);
  opacity: 0;
  overflow: auto;
  overscroll-behavior: contain;
  transition: opacity 180ms ease;
}

.hno-cochlea-popup.is-open {
  opacity: 1;
}

.hno-cochlea-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 51.37% 48.63%;
  width: min(1024px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  background: #f8fbfd;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(7, 26, 39, 0.3);
  color: #202a31;
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.hno-cochlea-popup.is-open .hno-cochlea-popup__dialog {
  transform: translateY(0);
}

.hno-cochlea-popup__media {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #e9f4fb;
}

.hno-cochlea-popup__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76.2% center;
}

.hno-cochlea-popup__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 50px 42px 54px;
}

.hno-cochlea-popup__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #19728d;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hno-cochlea-popup__kicker::before {
  width: 34px;
  height: 1.5px;
  flex: 0 0 34px;
  background: currentColor;
  content: "";
}

.hno-cochlea-popup__content h2 {
  margin: 0 0 18px;
  color: #151d21;
  font-size: 2.18rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.hno-cochlea-popup__lead {
  margin: 0 0 20px;
  color: #52606a;
  font-size: 1.0625rem;
  font-weight: 750;
  line-height: 1.38;
}

.hno-cochlea-popup__copy {
  margin: 0;
  color: #65737d;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.48;
  max-width: 440px;
}

.hno-cochlea-popup__copy + .hno-cochlea-popup__copy {
  margin-top: 10px;
}

.hno-cochlea-popup__cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 202px;
  height: 46px;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 22px 0 24px;
  background: #25849d;
  color: #fff;
  font-size: 0.975rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 150ms ease, transform 150ms ease;
}

.hno-cochlea-popup__cta:hover {
  background: #176b82;
  transform: translateY(-1px);
}

.hno-cochlea-popup__cta:focus-visible,
.hno-cochlea-popup__dialog:focus-visible {
  outline: 2px solid #25849d;
  outline-offset: 2px;
}

.hno-cochlea-popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #52606a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: color 150ms ease, opacity 150ms ease;
}

.hno-cochlea-popup__close:hover {
  color: #151d21;
}

.hno-cochlea-popup__close:focus,
.hno-cochlea-popup__close:focus-visible {
  outline: none;
  color: #151d21;
}

.hno-cochlea-popup__close span {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.hno-cochlea-popup__close span::before,
.hno-cochlea-popup__close span::after {
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.75px;
  background: currentColor;
  content: "";
  border-radius: 1px;
}

.hno-cochlea-popup__close span::before {
  transform: rotate(45deg);
}

.hno-cochlea-popup__close span::after {
  transform: rotate(-45deg);
}

body.hno-cochlea-popup-lock {
  overflow: hidden !important;
}

@media (max-width: 1000px) and (min-width: 741px) {
  .hno-cochlea-popup {
    padding: 20px;
  }

  .hno-cochlea-popup__dialog {
    grid-template-columns: 46% 54%;
    width: min(760px, 100%);
    max-height: calc(100dvh - 36px);
  }

  .hno-cochlea-popup__media img {
    object-position: 76.5% center;
  }

  .hno-cochlea-popup__content {
    padding: 34px 28px 32px 30px;
  }

  .hno-cochlea-popup__kicker {
    font-size: 0.75rem;
    gap: 12px;
    margin-bottom: 14px;
  }

  .hno-cochlea-popup__content h2 {
    font-size: 1.75rem;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .hno-cochlea-popup__lead {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .hno-cochlea-popup__copy {
    font-size: 0.825rem;
    line-height: 1.45;
  }

  .hno-cochlea-popup__cta {
    min-width: 180px;
    height: 44px;
    min-height: 44px;
    margin-top: 20px;
    padding: 0 18px 0 20px;
    font-size: 0.92rem;
  }

  .hno-cochlea-popup__close {
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 740px) {
  .hno-cochlea-popup {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .hno-cochlea-popup__dialog {
    display: flex;
    flex-direction: column;
    width: min(480px, 100%);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 4px;
  }

  .hno-cochlea-popup__media {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    min-height: 0;
    flex-shrink: 0;
  }

  .hno-cochlea-popup__media img {
    object-position: 74% center;
  }

  .hno-cochlea-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    color: #151d21;
  }

  .hno-cochlea-popup__content {
    padding: 22px 20px 24px;
  }

  .hno-cochlea-popup__kicker {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .hno-cochlea-popup__kicker::before {
    width: 24px;
    flex-basis: 24px;
  }

  .hno-cochlea-popup__content h2 {
    font-size: 1.6rem;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hno-cochlea-popup__lead {
    font-size: 0.94rem;
    line-height: 1.34;
    margin-bottom: 14px;
  }

  .hno-cochlea-popup__copy {
    font-size: 0.85rem;
    line-height: 1.44;
  }

  .hno-cochlea-popup__cta {
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .hno-cochlea-popup__content {
    padding: 18px 16px 20px;
  }

  .hno-cochlea-popup__content h2 {
    font-size: 1.4rem;
  }

  .hno-cochlea-popup__lead {
    font-size: 0.88rem;
  }

  .hno-cochlea-popup__copy {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hno-cochlea-popup,
  .hno-cochlea-popup__dialog,
  .hno-cochlea-popup__cta,
  .hno-cochlea-popup__close {
    transition: none;
  }
}
