@font-face {
  font-family: Onest;
  src: url("./couture/onest-variable.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("./editorial/lora-variable.woff") format("woff");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("./nav-lora-cyrillic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0400-052F;
}
@font-face {
  font-family: Lora;
  src: url("./nav-lora-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Lora;
  src: url("./nav-lora-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
dialog.me-lead-thanks {
  --thanks-gold: #ffc777;
  --thanks-cream: #fff4ec;
  --thanks-ink: #4d1027;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(90vw, 750px);
  max-width: none;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: clamp(20px, 3vw, 32px);
  background: #410e23;
  color: var(--thanks-cream);
  text-align: start;
  font: 400 16px/1.4 Onest, Arial, sans-serif;
  box-shadow: 0 36px 100px #17040bc9, 0 0 36px #d4547a30;
}
dialog.me-lead-thanks::backdrop {
  background: #240b18d9;
  backdrop-filter: blur(7px);
}
.me-lead-thanks, .me-lead-thanks *, .me-lead-thanks *::before, .me-lead-thanks *::after {
  box-sizing: border-box;
}
.me-lead-thanks .me-lead-thanks-surface {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 17px;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #f2a2b3bf;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 88% 44%, #bf4f7a95, transparent 35%),
    radial-gradient(ellipse at 3% 3%, #ab445d90, transparent 34%),
    radial-gradient(ellipse at 93% 98%, #b0406d98, transparent 31%),
    linear-gradient(144deg, #532036, #360d20 46%, #4c142a);
  box-shadow: inset 0 1px 3px #ffe1cfb5, inset 0 -1px 6px #ffb6c1a8, inset 0 0 38px #ef699133;
}
.me-lead-thanks .me-lead-thanks-heading { z-index: 1; }
.me-lead-thanks h2 {
  margin: 0 0 10px;
  color: var(--thanks-cream);
  font: 400 clamp(38px, 4vw, 56px)/1 Lora, Georgia, serif;
  letter-spacing: -.05em;
}
.me-lead-thanks h2 span, .me-lead-thanks h2 em { display: block; }
.me-lead-thanks h2 em {
  color: var(--thanks-gold);
  font: italic 400 .85em/1.08 Lora, Georgia, serif;
}
.me-lead-thanks p { margin: 0; color: inherit; font: inherit; }
.me-lead-thanks .me-lead-thanks-confirmation { max-width: 33ch; }
.me-lead-thanks .me-lead-thanks-mark {
  position: relative;
  display: block;
  width: 41px;
  aspect-ratio: 1;
  margin-bottom: 9px;
  border: 2px solid #ffd19b;
  border-top-color: #fff4de;
  border-radius: 50%;
  box-shadow: 0 0 14px #faa668a0, inset 0 0 8px #fdaf707a;
}
.me-lead-thanks .me-lead-thanks-mark::after,
.me-lead-thanks .me-lead-envelope-card::after {
  position: absolute;
  top: 31%;
  left: 28%;
  width: 46%;
  height: 28%;
  transform: rotate(-45deg);
  border-bottom: .2rem solid #ffe1ad;
  border-left: .2rem solid #ffe1ad;
  border-radius: 1px;
  content: "";
}
.me-lead-thanks .me-lead-thanks-art {
  position: relative;
  align-self: end;
  justify-self: end;
  width: min(100%, 226px);
  min-width: 0;
  aspect-ratio: 1.18;
  transform: translate(0, 5%) rotate(8deg);
  perspective: 700px;
  filter: drop-shadow(0 20px 25px #200613a6);
}
.me-lead-thanks .me-lead-envelope-back,
.me-lead-thanks .me-lead-envelope-card,
.me-lead-thanks .me-lead-envelope-front {
  position: absolute;
  display: block;
}
.me-lead-thanks .me-lead-envelope-back {
  inset: 32% 4% 9%;
  transform: skewX(-11deg);
  border: 1px solid #ffe2c7dd;
  border-radius: 14%;
  background: linear-gradient(142deg, #fbb894dc 1%, #922754 23%, #861f49 70%, #ff8352);
  box-shadow: 0 0 20px #ff6ea37d, inset 0 0 19px #ff92b855, 0 0 3px 1px #ffcea4;
}
.me-lead-thanks .me-lead-envelope-card {
  z-index: 1;
  inset: 9% 20% 35% 23%;
  transform: rotate(-15deg) skewX(-12deg);
  border: 1px solid #fff2dc;
  border-radius: 13%;
  background: linear-gradient(153deg, #fff1db 1%, #e483a2 17%, #a84366 50%, #76203e 92%);
  box-shadow: inset 0 0 12px #ffe4cb8c, 0 0 19px #ff85af83;
}
.me-lead-thanks .me-lead-envelope-card::after {
  top: 33%;
  left: 31%;
  width: 38%;
  height: 21%;
  border-color: #fff0da;
  border-width: clamp(2px, .5vw, 5px);
  filter: drop-shadow(0 0 8px #ffd3a4bb);
}
.me-lead-thanks .me-lead-envelope-front {
  z-index: 2;
  inset: 35% 4% 9%;
  overflow: hidden;
  transform: skewX(-11deg);
  border: 1px solid #ffd4c6;
  border-radius: 9% 9% 14% 14%;
  clip-path: polygon(0 0, 50% 47%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(34deg, #ffceb2bf, #dd709e4a 43%, transparent 44%),
    linear-gradient(-37deg, #ffe2c6dd, #f183b2a3 42%, transparent 43%),
    linear-gradient(145deg, #d7598cca, #51112fb0 45%, #de6ca4e0);
  box-shadow: inset 0 0 14px #ffbfd9d9, inset 0 -4px 9px #ffae66;
}
.me-lead-thanks .me-lead-envelope-front::before,
.me-lead-thanks .me-lead-envelope-front::after {
  position: absolute;
  top: 0;
  width: 56%;
  height: 1px;
  background: #fff0d9;
  box-shadow: 0 0 8px 2px #ffb0959c;
  content: "";
}
.me-lead-thanks .me-lead-envelope-front::before { left: 0; transform: rotate(28deg); transform-origin: left; }
.me-lead-thanks .me-lead-envelope-front::after { right: 0; transform: rotate(-28deg); transform-origin: right; }
.me-lead-thanks .me-lead-thanks-ribbons {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.me-lead-thanks .me-lead-ribbon {
  position: absolute;
  display: block;
  filter: drop-shadow(0 0 7px #f779b76e);
}
.me-lead-thanks .me-lead-ribbon::before,
.me-lead-thanks .me-lead-ribbon::after {
  position: absolute;
  inset: 0;
  content: "";
}
.me-lead-thanks .me-lead-ribbon-top {
  top: -13%;
  right: -6%;
  width: 52%;
  height: 69%;
}
.me-lead-thanks .me-lead-ribbon-bottom {
  right: -4%;
  bottom: -2%;
  width: 108%;
  height: 31%;
}
.me-lead-thanks .me-lead-ribbon::before {
  border-radius: 50%;
  background: linear-gradient(166deg, transparent 44%, #f990c982 50%, #ffdfaaa6 55%, #a9216566 63%, transparent 72%);
  transform: rotate(-17deg);
}
@supports (clip-path: shape(from 0% 0%, line to 100% 100%, close)) {
  .me-lead-thanks .me-lead-ribbon::before {
    transform: none;
    border-radius: 0;
  }
  .me-lead-thanks .me-lead-ribbon-top::before {
    clip-path: shape(
      from 87% 0%, curve to 43% 49% with 59% 12% / 59% 45%,
      curve to 10% 57% with 28% 53% / 17% 48%,
      curve to 52% 96% with 0% 68% / 27% 88%,
      curve to 24% 68% with 34% 87% / 23% 77%,
      curve to 47% 52% with 17% 54% / 35% 61%,
      curve to 100% 5% with 65% 38% / 71% 19%, close
    );
    background:
      radial-gradient(ellipse at 18% 55%, #fff8d9 1%, #ffae78e8 9%, #e760a971 29%, transparent 47%),
      radial-gradient(ellipse at 68% 28%, #ffe6f791 2%, #db68ad7a 21%, transparent 52%),
      linear-gradient(125deg, #f479c38a 19%, #a2266473 47%, #ffd2f093 67%, #d131775e 86%);
  }
  .me-lead-thanks .me-lead-ribbon-top::after {
    clip-path: shape(
      from 87% 0%, curve to 43% 49% with 59% 12% / 59% 45%,
      curve to 10% 57% with 28% 53% / 17% 48%,
      curve to 52% 96% with 0% 68% / 27% 88%,
      curve to 11% 57.5% with 27% 87% / 1% 68%,
      curve to 43.5% 49.3% with 17% 49% / 28% 54%,
      curve to 88% 0% with 59% 46% / 60% 12%, close
    );
    background: linear-gradient(134deg, #f77db7, #fff2cb 37%, #e997c9 60%, #ff78bb 74%, transparent 94%);
  }
  .me-lead-thanks .me-lead-ribbon-bottom::before {
    clip-path: shape(
      from 0% 63%, curve to 43% 74% with 16% 115% / 29% 96%,
      curve to 100% 26% with 66% 39% / 81% -12%,
      line to 100% 74%, curve to 53% 83% with 84% 43% / 67% 73%,
      curve to 0% 66% with 28% 105% / 17% 114%, close
    );
    background:
      radial-gradient(ellipse at 61% 63%, #fff7cfe3, #ffb3709e 10%, transparent 32%),
      radial-gradient(ellipse at 88% 42%, #ffacf0d9, #e754b190 20%, transparent 38%),
      linear-gradient(169deg, #a71a566e 4%, #ffa5d4aa 41%, #a0276373 62%, #f364b5bf 82%, #ffdcb487);
  }
  .me-lead-thanks .me-lead-ribbon-bottom::after {
    clip-path: shape(
      from 0% 63%, curve to 43% 74% with 16% 115% / 29% 96%,
      curve to 100% 26% with 66% 39% / 81% -12%,
      line to 100% 27%, curve to 43% 75% with 81% -10% / 66% 41%,
      curve to 0% 64% with 29% 97% / 16% 116%, close
    );
    background: linear-gradient(90deg, #ff9cc25c, #ff9bd8c4 26%, #fff3ce 58%, #fff5e4 70%, #ff92c5 88%, #ffd6eb91);
  }
}
.me-lead-thanks .me-lead-thanks-offer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #f4a1b4ad;
  border-radius: 20px;
  background: linear-gradient(132deg, #bc526f72, #68243d93 55%, #e47c9a60);
  box-shadow: inset 0 0 20px #ffc6bf29, inset 0 1px 2px #ffc7c882;
}
.me-lead-thanks .me-lead-thanks-offer p {
  padding-inline-start: 14px;
  border-inline-start: 1px solid #ffc6ae73;
  font-size: .9em;
}
.me-lead-thanks .me-lead-thanks-offer strong {
  display: block;
  margin-top: 2px;
  color: var(--thanks-gold);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.13;
}
.me-lead-thanks .me-lead-thanks-gift {
  position: relative;
  justify-self: center;
  width: clamp(26px, 3.8vw, 40px);
  height: clamp(20px, 3vw, 32px);
  margin-top: 9px;
  border: 2px solid var(--thanks-gold);
  border-radius: 3px;
}
.me-lead-thanks .me-lead-thanks-gift::before,
.me-lead-thanks .me-lead-thanks-gift::after {
  position: absolute;
  content: "";
}
.me-lead-thanks .me-lead-thanks-gift::before {
  inset: -2px -5px auto;
  height: 8px;
  border: 2px solid var(--thanks-gold);
  border-radius: 3px;
}
.me-lead-thanks .me-lead-thanks-gift::after {
  inset: 0 auto 0 50%;
  border-left: 2px solid var(--thanks-gold);
  transform: translateX(-50%);
}
.me-lead-thanks .me-lead-thanks-gift i::before,
.me-lead-thanks .me-lead-thanks-gift i::after {
  position: absolute;
  top: -12px;
  width: 10px;
  height: 11px;
  border: 2px solid var(--thanks-gold);
  border-radius: 50% 50% 0;
  content: "";
}
.me-lead-thanks .me-lead-thanks-gift i::before { right: 50%; transform: rotate(-26deg); }
.me-lead-thanks .me-lead-thanks-gift i::after { left: 50%; transform: rotate(26deg) scaleX(-1); }
.me-lead-thanks .me-lead-thanks-code {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px 12px;
}
.me-lead-thanks .me-lead-thanks-code code {
  padding: .36em .8em;
  border: 1px solid #fff4dc;
  border-radius: 999px;
  background: linear-gradient(153deg, #fff4db, #ffc09c 65%, #ffc477);
  color: var(--thanks-ink);
  font: 850 clamp(21px, 2.6vw, 29px)/1.15 Onest, Arial, sans-serif;
  letter-spacing: .16em;
  text-indent: .16em;
  white-space: nowrap;
  box-shadow: 0 0 20px #f9a279a1, inset 0 0 6px #fff1cb;
}
.me-lead-thanks button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.me-lead-thanks button:focus-visible, .me-lead-thanks a:focus-visible {
  outline: 2px solid #fff2c8;
  outline-offset: 4px;
}
.me-lead-thanks .me-lead-thanks-code button,
.me-lead-thanks .me-lead-thanks-dismiss {
  width: 44px;
  height: 44px;
  padding: 0;
  background: #441b2a8c;
  color: var(--thanks-gold);
}
.me-lead-thanks .me-lead-thanks-code button { border: 1px solid #f6bf87aa; border-radius: 15px; }
.me-lead-thanks .me-lead-thanks-code button i {
  position: relative;
  width: 15px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.me-lead-thanks .me-lead-thanks-code button i::before {
  position: absolute;
  inset: -6px 2px 2px -6px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 3px 0 0;
  content: "";
}
.me-lead-thanks .me-lead-thanks-status {
  grid-column: 1 / -1;
  color: var(--thanks-cream);
  font-size: 13px;
}
.me-lead-thanks .me-lead-thanks-status:empty { display: none; }
.me-lead-thanks .me-lead-thanks-expiry {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 14px;
}
.me-lead-thanks .me-lead-thanks-expiry small { font: inherit; }
.me-lead-thanks .me-lead-thanks-expiry i {
  position: relative;
  width: 23px;
  height: 21px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}
.me-lead-thanks .me-lead-thanks-expiry i::before,
.me-lead-thanks .me-lead-thanks-expiry i::after {
  position: absolute;
  content: "";
}
.me-lead-thanks .me-lead-thanks-expiry i::before { inset: 5px 0 auto; border-top: 1px solid currentColor; }
.me-lead-thanks .me-lead-thanks-expiry i::after { inset: -4px 5px auto; height: 7px; border-inline: 1.5px solid currentColor; }
.me-lead-thanks .me-lead-thanks-actions {
  position: relative;
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.me-lead-thanks .me-lead-thanks-close {
  gap: 15px;
  min-height: 44px;
  padding: .52em 1.35em;
  border: 1px solid #fff1cb;
  border-radius: 999px;
  background: linear-gradient(157deg, #fff5d6, #ffcb82 60%, #ffb45d);
  color: var(--thanks-ink);
  font-weight: 800;
  box-shadow: inset 0 0 6px #fff2c0, 0 0 16px #ffae657a;
}
.me-lead-thanks .me-lead-thanks-close i { font-style: normal; font-size: 1.2em; }
.me-lead-thanks .me-lead-thanks-dismiss {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  color: var(--thanks-cream);
  background: #48182b66;
}
.me-lead-thanks .me-lead-thanks-dismiss i {
  position: relative;
  width: 22px;
  height: 22px;
}
.me-lead-thanks .me-lead-thanks-dismiss i::before,
.me-lead-thanks .me-lead-thanks-dismiss i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  content: "";
}
.me-lead-thanks .me-lead-thanks-dismiss i::before { transform: rotate(45deg); }
.me-lead-thanks .me-lead-thanks-dismiss i::after { transform: rotate(-45deg); }
.me-lead-thanks .me-lead-thanks-close:hover,
.me-lead-thanks .me-lead-thanks-dismiss:hover,
.me-lead-thanks .me-lead-thanks-code button:hover { filter: brightness(1.15); }
@media (max-width: 620px) {
  .me-lead-thanks .me-lead-thanks-surface {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
    padding: 19px;
  }
  .me-lead-thanks h2 { font-size: clamp(31px, 7vw, 43px); }
  .me-lead-thanks .me-lead-thanks-art {
    position: absolute;
    z-index: 0;
    top: 15px;
    right: 63px;
    width: min(21vw, 106px);
    transform: rotate(8deg);
  }
  .me-lead-thanks .me-lead-thanks-mark { margin-bottom: 12px; }
  .me-lead-thanks .me-lead-thanks-offer { grid-template-columns: 34px minmax(0, 1fr); }
  .me-lead-thanks .me-lead-thanks-code {
    grid-column: 2;
    grid-template-columns: max-content max-content;
  }
}
@media (max-width: 360px) {
  .me-lead-thanks .me-lead-thanks-surface { padding: 17px; }
  .me-lead-thanks .me-lead-thanks-offer { gap: 10px; }
}

@media (max-height: 620px) and (min-width: 621px) {
  dialog.me-lead-thanks { width: min(90vw, 680px); }
  .me-lead-thanks .me-lead-thanks-surface { padding: 22px 32px; row-gap: 12px; }
  .me-lead-thanks h2 { font-size: 45px; }
  .me-lead-thanks .me-lead-thanks-art { width: min(100%, 190px); }
  .me-lead-thanks .me-lead-thanks-offer { padding: 11px; }
}
@media (max-width: 620px) {
  .me-lead-thanks .me-lead-ribbon-top { width: 59%; height: 43%; }
  .me-lead-thanks .me-lead-ribbon-bottom { height: 24%; }
}
