.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  margin-bottom: -72px;
}

.timed-lead-banner {
  left: 24px !important;
  right: auto !important;
}

.override-modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(7, 22, 30, .78);
  backdrop-filter: blur(8px);
}

.override-modal-backdrop[hidden] {
  display: none;
}

.override-modal {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid rgba(20, 52, 58, .16);
  padding: 42px 38px 34px;
  color: #14343a;
  background: #f8f5ee;
  box-shadow: 0 30px 90px rgba(4, 22, 28, .35);
}

.override-modal-close,
.timed-callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(20, 52, 58, .25);
  color: #14343a;
  background: transparent;
  font-size: 25px;
  line-height: 1;
}

.override-kicker {
  margin: 0;
  color: #a66e43;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.override-modal h2 {
  max-width: 470px;
  margin: 17px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.override-description {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(20, 52, 58, .72);
  font-size: 14px;
  line-height: 1.65;
}

.override-field {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}

.override-field span,
.override-methods legend {
  color: rgba(20, 52, 58, .62);
  font-size: 11px;
}

.override-field input {
  width: 100%;
  border: 1px solid rgba(20, 52, 58, .28);
  border-radius: 0;
  padding: 13px 14px;
  color: #14343a;
  background: transparent;
  font-size: 16px;
}

.override-methods {
  margin: 23px 0 0;
  border: 0;
  padding: 0;
}

.override-method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.override-method {
  border: 1px solid rgba(20, 52, 58, .28);
  padding: 10px 15px;
  color: #14343a;
  background: transparent;
  font-size: 13px;
}

.override-method.is-active {
  color: #f8f5ee;
  border-color: #14343a;
  background: #14343a;
}

.override-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: rgba(20, 52, 58, .68);
  font-size: 12px;
  line-height: 1.5;
}

.override-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #14343a;
}

.override-consent a,
#site-cookie-banner a {
  color: inherit;
  text-decoration: underline;
}

.override-submit,
.timed-callback-action {
  width: 100%;
  margin-top: 24px;
  border: 1px solid #14343a;
  padding: 14px 18px;
  color: #f8f5ee;
  background: #14343a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.override-submit:disabled {
  cursor: wait;
  opacity: .55;
}

.override-form-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #a34d44;
  font-size: 12px;
}

.override-success {
  display: grid;
  gap: 10px;
  padding: 48px 0 30px;
  text-align: center;
}

.override-success strong {
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
}

.override-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

#site-cookie-banner {
  position: fixed;
  z-index: 110;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 1100px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  border: 1px solid rgba(243, 238, 229, .24);
  padding: 14px 16px 14px 20px;
  color: #f8f5ee;
  background: #0a1a2b;
  box-shadow: 0 18px 45px rgba(4, 22, 28, .3);
}

#site-cookie-banner p {
  margin: 0;
  color: rgba(248, 245, 238, .76);
  font-size: 12px;
  line-height: 1.5;
}

#site-cookie-banner > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}

#site-cookie-banner button {
  border: 1px solid #e7c7a2;
  padding: 10px 15px;
  color: #0a1a2b;
  background: #e7c7a2;
  font-size: 11px;
  font-weight: 700;
}

#timed-callback-banner {
  position: fixed;
  z-index: 105;
  bottom: 24px;
  right: 24px;
  width: min(340px, calc(100vw - 48px));
  border: 1px solid rgba(231, 199, 162, .45);
  padding: 25px 24px 22px;
  color: #f8f5ee;
  background: #0a1a2b;
  box-shadow: 0 18px 55px rgba(4, 22, 28, .3);
  animation: override-slide-in .45s ease both;
}

#timed-callback-banner p {
  margin: 0 0 8px;
  color: #e7c7a2;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#timed-callback-banner strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

#timed-callback-banner .timed-callback-action {
  margin-top: 18px;
  color: #0a1a2b;
  background: #e7c7a2;
  animation: override-button-in .35s .3s ease both;
  transition: transform .18s ease;
}

#timed-callback-banner .timed-callback-action:hover,
#smart-layout-banner .smart-layout-action:hover {
  transform: scale(1.03);
}

#timed-callback-banner .timed-callback-close {
  top: 8px;
  right: 8px;
  color: #f8f5ee;
  border-color: rgba(248, 245, 238, .3);
}

#smart-layout-banner {
  position: fixed;
  z-index: 104;
  bottom: 124px;
  left: 24px;
  width: min(390px, calc(100vw - 48px));
  border: 1px solid rgba(231, 199, 162, .45);
  padding: 25px 24px 22px;
  color: #f8f5ee;
  background: #0a1a2b;
  box-shadow: 0 18px 55px rgba(4, 22, 28, .3);
  animation: override-slide-in .45s ease both;
}

#smart-layout-banner p {
  margin: 0 0 8px;
  color: #e7c7a2;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#smart-layout-banner strong {
  display: block;
  padding-right: 25px;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

#smart-layout-banner .smart-layout-action {
  width: 100%;
  margin-top: 18px;
  border: 1px solid #e7c7a2;
  padding: 14px 18px;
  color: #0a1a2b;
  background: #e7c7a2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: override-button-in .35s .3s ease both;
  transition: transform .18s ease;
}

#smart-layout-banner .smart-layout-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(248, 245, 238, .3);
  padding: 12px;
  color: #f8f5ee;
  background: transparent;
  font-size: 25px;
  line-height: 1;
  touch-action: manipulation;
}

#timed-callback-banner .timed-callback-close:focus-visible,
#smart-layout-banner .smart-layout-close:focus-visible {
  outline: 2px solid #e7c7a2;
  outline-offset: 2px;
}

#timed-callback-banner .timed-callback-close {
  z-index: 2;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
  touch-action: manipulation;
}

.plan-slide-meta .mono {
  display: none !important;
}

.plan-price-action-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.plan-price-action {
  min-height: 46px;
  border: 1px solid #14343a;
  padding: 13px 22px;
  color: #f8f5ee;
  background: #14343a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, transform .2s;
}

.plan-price-action:hover,
.plan-price-action:focus-visible {
  border-color: #a66e43;
  background: #a66e43;
  transform: translateY(-1px);
}

.plan-price-action:focus-visible {
  outline: 2px solid #a66e43;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .plan-price-action-wrap {
    justify-content: stretch;
  }

  .plan-price-action {
    width: 100%;
  }
}

.override-privacy-page {
  min-height: 100svh;
  max-width: 820px;
  margin: 0 auto;
  padding: 58px 24px 90px;
  color: #14343a;
  background: #f8f5ee;
}

.override-privacy-back {
  display: inline-block;
  margin-bottom: 72px;
  color: #a66e43;
  font-size: 13px;
  text-decoration: none;
}

.override-privacy-page h1 {
  margin: 18px 0 32px;
  font-family: Georgia, serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: .98;
}

.override-privacy-page h2 {
  margin: 36px 0 10px;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
}

.override-privacy-page p:not(.override-kicker) {
  max-width: 700px;
  color: rgba(20, 52, 58, .74);
  font-size: 15px;
  line-height: 1.75;
}

@keyframes override-slide-in {
  from { opacity: 0; transform: translateY(18px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes override-button-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
  .site-header {
    margin-bottom: -72px;
  }

  .hero h1 {
    font-size: 34px !important;
  }

  .override-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .override-modal {
    width: 100%;
    max-height: 94svh;
    overflow-y: auto;
    padding: 38px 20px 26px;
  }

  #site-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 14px;
  }

  #site-cookie-banner > div {
    justify-content: space-between;
    margin-top: 12px;
  }

  #timed-callback-banner {
    right: 16px;
    bottom: 84px;
    left: auto;
    width: auto;
  }

  #smart-layout-banner {
    right: 16px;
    bottom: 190px;
    left: 16px;
    width: auto;
  }
}

body:has(#site-cookie-banner) #timed-callback-banner {
  bottom: 124px;
}

@media (max-width: 620px) {
  body:has(#site-cookie-banner) #timed-callback-banner {
    bottom: 155px;
  }
}
