.tlc-lp {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.tlc-lp[hidden] {
  display: none !important;
}

.tlc-lp__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 70, 71, 0.72);
}

.tlc-lp__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #f5f4ed;
  color: #114647;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 70, 71, 0.28);
  outline: none;
}

.tlc-lp.is-open .tlc-lp__dialog,
.tlc-lp.is-open .tlc-lp__backdrop {
  animation: tlc-lp-in 0.28s ease-out;
}

.tlc-lp__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 244, 237, 0.92);
  color: #004647;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tlc-lp__close:hover,
.tlc-lp__close:focus-visible {
  background: #ffffff;
  outline: 2px solid #004647;
  outline-offset: 2px;
}

.tlc-lp__body {
  padding: 28px 36px 34px;
  text-align: center;
}

.tlc-lp__logo {
  display: block;
  width: 170px;
  height: auto;
  margin: 12px auto 8px;
}

.tlc-lp__title {
  margin: 0 0 10px;
  color: #004647;
  font-family: "Balboa", "balboa", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
}

.tlc-lp__text {
  margin: 0 auto 22px;
  max-width: 34em;
  color: #114647;
  font-family: "Balboa", "balboa", sans-serif;
  font-weight: 200;
  font-size: 18px;
  line-height: 1.4;
}

.tlc-lp__text a {
  color: #004647;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tlc-lp__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tlc-lp__cta {
  display: inline-block;
  min-width: 129px;
  padding: 7px 24px;
  background: var(--main-brand-colour, #004647);
  border: 0.5px solid #114647;
  border-radius: 7px;
  color: #fff;
  font-family: "Balboa", "balboa", sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.tlc-lp__cta:hover,
.tlc-lp__cta:focus-visible {
  background: transparent;
  color: var(--main-brand-colour, #004647);
  outline: 0;
}

.tlc-lp__cta:focus-visible {
  box-shadow: 0 0 0 2px #f5f4ed, 0 0 0 4px #004647;
}

.tlc-lp__secondary {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 8px;
  color: #114647;
  font-family: "Balboa", "balboa", sans-serif;
  font-weight: 200;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tlc-lp__secondary:hover,
.tlc-lp__secondary:focus-visible {
  color: #004647;
}

@keyframes tlc-lp-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .tlc-lp {
    padding: 12px;
    align-items: flex-end;
  }

  .tlc-lp__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 12px;
  }

  .tlc-lp__body {
    padding: 18px 18px 24px;
  }

  .tlc-lp__logo {
    width: 140px;
    margin-top: 8px;
  }

  .tlc-lp__title {
    font-size: 26px;
  }

  .tlc-lp__text {
    font-size: 16px;
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tlc-lp.is-open .tlc-lp__dialog,
  .tlc-lp.is-open .tlc-lp__backdrop {
    animation: none;
  }
}
