/* Gateflow conversion checkout: transparent prices, one focused decision at a time. */
.checkout-page.checkout-v2-body {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(105, 92, 255, .2), transparent 30rem),
    radial-gradient(circle at 88% 92%, rgba(14, 181, 153, .12), transparent 27rem),
    #171925;
}

.checkout-v2-body .public-topbar,
.checkout-v2-body .public-footer,
.checkout-v2-body .cookie-banner {
  display: none;
}

.premium-checkout,
.embedded-checkout-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 14px;
}

.checkout-dialog {
  width: min(100%, 1080px);
  max-height: min(760px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.checkout-dialog__topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 14px 8px 17px;
  border-bottom: 1px solid #e8eaf1;
  background: #fff;
}

.checkout-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
}

.checkout-brand .official-brand-logo {
  position: relative;
  display: block;
  width: 140px;
  height: auto;
  aspect-ratio: 992 / 213;
  overflow: hidden;
}

.checkout-brand .official-brand-logo img {
  position: absolute;
  display: block;
  max-width: none;
  width: 154.839%;
  height: auto;
  left: -23.69%;
  top: -169.95%;
  pointer-events: none;
}

.checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #667086;
  font-size: .72rem;
  font-weight: 800;
}

.checkout-secure i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16b991;
  box-shadow: 0 0 0 4px rgba(22, 185, 145, .12);
}

.checkout-close {
  width: 34px;
  height: 34px;
  display: grid;
  justify-self: end;
  place-items: center;
  border-radius: 10px;
  color: #7a8191;
  font-size: 1.45rem;
  line-height: 1;
}

.checkout-close:hover,
.checkout-close:focus-visible {
  background: #f0f1f6;
  color: #252a3f;
  outline: none;
}

.checkout-dialog__body {
  height: min(664px, calc(100dvh - 124px));
  display: grid;
  grid-template-columns: minmax(390px, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

.checkout-order,
.checkout-payment {
  min-width: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.checkout-order {
  padding: 24px 26px;
  background:
    radial-gradient(circle at 90% 5%, rgba(104, 92, 255, .3), transparent 16rem),
    linear-gradient(150deg, #181c34, #252849);
  color: #fff;
}

.checkout-eyebrow {
  color: #7066ff;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.checkout-order > .checkout-eyebrow {
  color: #aaa4ff;
}

.checkout-order h1,
.checkout-payment h2,
.checkout-order p {
  margin: 0;
}

.checkout-order h1 {
  margin-top: 7px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -.035em;
}

.checkout-order__prompt {
  margin-top: 5px !important;
  color: #aeb4cb;
  font-size: .76rem;
}

.checkout-plan-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.checkout-plan-pill {
  position: relative;
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: #dfe2f2;
  font-size: .68rem;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.checkout-plan-pill__head,
.checkout-plan-pill__price {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.checkout-plan-pill__head > strong {
  overflow: hidden;
  color: #f8f9ff;
  font-size: .68rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-plan-pill__head > b {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(101, 220, 187, .12);
  color: #83e2c9;
  font-size: .43rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.checkout-plan-pill__price {
  justify-content: flex-start;
  line-height: 1;
}

.checkout-plan-pill__price > strong {
  color: #fff;
  font-size: 1.13rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.checkout-plan-pill__price > small {
  color: #b9bfd3;
  font-size: .52rem;
}

.checkout-plan-pill__proof {
  overflow: hidden;
  color: #aeb5ca;
  font-size: .48rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-plan-pill__proof s {
  color: #d4d8e6;
}

.checkout-plan-pill.is-best-value:not(.is-selected) {
  border-color: rgba(142, 130, 255, .62);
  background: linear-gradient(145deg, rgba(105, 92, 255, .18), rgba(255, 255, 255, .055));
}

.checkout-plan-pill:hover,
.checkout-plan-pill:focus-visible {
  border-color: #958cff;
  background: rgba(112, 100, 255, .17);
  transform: translateY(-1px);
  outline: none;
}

.checkout-plan-pill.is-selected {
  border-color: #8c82ff;
  background: linear-gradient(135deg, #6d60fb, #584be1);
  color: #fff;
  box-shadow: 0 10px 28px rgba(75, 63, 205, .34), inset 0 0 0 1px rgba(255, 255, 255, .13);
}

.checkout-plan-pill.is-selected .checkout-plan-pill__head > b {
  background: #fff;
  color: #5146d2;
}

.checkout-plan-pill.is-selected .checkout-plan-pill__price > small,
.checkout-plan-pill.is-selected .checkout-plan-pill__proof {
  color: rgba(255, 255, 255, .82);
}

.checkout-plan-pills--locked .checkout-plan-pill {
  cursor: default;
}

.checkout-plan-pills--locked .checkout-plan-pill:not(.is-selected) {
  opacity: .68;
}

.checkout-plan-pills--locked .checkout-plan-pill:hover {
  transform: none;
}

.checkout-plan-select-label,
.checkout-plan-select {
  display: none;
}

.checkout-order__product {
  margin-top: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.checkout-order__product > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #cbd0e3;
  font-size: .82rem;
  font-weight: 800;
}

.checkout-best-value {
  padding: 4px 6px;
  border-radius: 999px;
  background: #e9fff8;
  color: #08785f;
  font-size: .44rem;
  letter-spacing: .065em;
}

.checkout-order__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px !important;
}

.checkout-order__price strong {
  color: #fff;
  font-size: clamp(1.7rem, 3.3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.checkout-order__price small,
.checkout-order__saving {
  color: #b7bdd2;
  font-size: .7rem;
}

.checkout-order__saving {
  margin-top: 7px !important;
  line-height: 1.4;
}

.checkout-order__saving strong {
  color: #8fe6d0;
}

.checkout-order__details {
  margin: 10px 0 0;
}

.checkout-order__details > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  color: #bdc2d7;
  font-size: .68rem;
}

.checkout-order__details dt,
.checkout-order__details dd {
  margin: 0;
}

.checkout-order__details dd {
  color: #fff;
  text-align: right;
}

.checkout-order__details dd strong {
  color: #83e1c9;
}

.checkout-order__details .checkout-order__total {
  margin-top: 3px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #fff;
  font-size: .79rem;
  font-weight: 850;
}

.checkout-order__total dd {
  font-size: 1rem;
}

.checkout-order__benefits {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  color: #bdc3d8;
  font-size: .67rem;
}

.checkout-order__benefits li::before {
  content: "\2713";
  margin-right: 7px;
  color: #66d9bd;
  font-weight: 900;
}

.checkout-payment {
  padding: 25px 30px 20px;
  background: #fff;
  color: #1a1f33;
}

.checkout-payment__heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.checkout-payment__heading p {
  margin: 6px 0 0;
  color: #727b90;
  font-size: .79rem;
}

.checkout-payment__heading .checkout-session-note {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 7px;
  background: #f1f0ff;
  color: #56509c;
  font-size: .62rem;
}

.checkout-payment__heading .checkout-eyebrow i {
  padding-inline: 4px;
  color: #a0a6b6;
  font-style: normal;
}

.checkout-identity,
.premium-purchase-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-identity__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.checkout-identity__choices button {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid #dfe3ed;
  border-radius: 11px;
  background: #fff;
  color: #24293d;
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
}

.checkout-identity__choices button small {
  padding: 3px 5px;
  border-radius: 999px;
  background: #e7faf4;
  color: #08775e;
  font-size: .43rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.checkout-identity__choices button:hover,
.checkout-identity__choices button:focus-visible {
  border-color: #8b81ff;
  outline: 3px solid rgba(101, 92, 255, .11);
}

.checkout-identity__choices button.is-selected {
  border-color: #665bf2;
  background: #f3f1ff;
  color: #312b80;
  box-shadow: inset 0 0 0 1px #665bf2;
}

.checkout-choice-mark {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #665bf2, #12b79c);
  color: #fff;
  font-size: .69rem;
  font-weight: 900;
}

.checkout-identity__panel {
  padding-top: 2px;
}

.checkout-inline-form {
  display: grid;
  gap: 10px;
}

.checkout-panel-intro {
  margin: 0;
  color: #697289;
  font-size: .79rem;
}

.checkout-inline-form > label:not(.checkout-legal-check),
.checkout-field-grid label {
  display: grid;
  gap: 5px;
  color: #343b52;
  font-size: .72rem;
  font-weight: 800;
}

.checkout-inline-form input,
.checkout-inline-form select {
  width: 100%;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid #d8dce8;
  border-radius: 9px;
  background: #fff;
  color: #171b2d;
  font: inherit;
}

.checkout-inline-form input:focus,
.checkout-inline-form select:focus {
  border-color: #665bf2;
  outline: 3px solid rgba(101, 92, 255, .12);
}

.checkout-inline-form label small {
  color: #7b8396;
  font-size: .63rem;
  font-weight: 500;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-field-grid--address {
  grid-template-columns: minmax(0, 1.45fr) minmax(115px, .55fr);
}

.checkout-guest-details {
  margin: -1px 0;
  color: #626b80;
  font-size: .65rem;
}

.checkout-guest-details summary {
  width: fit-content;
  color: #5148d9;
  cursor: pointer;
  font-weight: 800;
}

.checkout-guest-details p {
  margin: 5px 0 0;
  line-height: 1.4;
}

.checkout-legal-check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  color: #697187;
  font-size: .62rem;
  line-height: 1.38;
}

.checkout-legal-check input {
  width: 16px;
  min-height: 16px;
  margin: 1px 0 0;
}

.checkout-legal-check a,
.checkout-existing-login {
  color: #5148d9;
  font-weight: 800;
}

.checkout-existing-login {
  text-align: center;
  font-size: .7rem;
}

.checkout-inline-notice {
  margin: 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #fff4d9;
  color: #755a22;
  font-size: .72rem;
  line-height: 1.45;
}

.premium-purchase-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: .7rem .9rem;
  border-radius: 10px;
  background: linear-gradient(110deg, #574ce6, #7460ff);
  box-shadow: 0 10px 24px rgba(78, 65, 210, .22);
}

.premium-purchase-button:hover {
  background: linear-gradient(110deg, #4d42d8, #6753ef);
}

.premium-purchase-button > strong {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  white-space: nowrap;
}

.premium-purchase-button.is-loading,
.premium-purchase-button.is-loading:disabled {
  cursor: progress;
  opacity: .92;
}

.premium-purchase-button.is-loading [data-checkout-label]::before {
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 7px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  vertical-align: -2px;
  animation: checkout-spin .75s linear infinite;
}

.premium-purchase-account {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e0e3ec;
  border-radius: 11px;
  background: #f8f9fc;
}

.premium-purchase-account__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #665bf2, #13b89c);
  color: #fff;
  font-weight: 900;
}

.premium-purchase-account__copy,
.premium-purchase-account__copy > * {
  min-width: 0;
  display: block;
}

.premium-purchase-account__copy small {
  color: #838a9b;
  font-size: .51rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.premium-purchase-account__copy strong,
.premium-purchase-account__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-purchase-account__copy strong { font-size: .75rem; }
.premium-purchase-account__copy span { color: #747c90; font-size: .67rem; }

.premium-purchase-account__ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #08775e;
  font-size: .63rem;
  font-weight: 850;
}

.premium-purchase-account__ready i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16b991;
}

.premium-purchase-status {
  min-height: .72rem;
  color: #5b51dc;
  font-size: .62rem;
  font-weight: 750;
}

.premium-purchase-disclosure {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #656e83;
  font-size: .61rem;
  line-height: 1.4;
}

.premium-purchase-disclosure--recurring {
  border: 1px solid #e2e3f1;
  background: #f7f7fc;
}

.premium-purchase-disclosure--one-time {
  border: 1px solid #cee9e1;
  background: #f1faf7;
}

.premium-purchase-disclosure strong { color: #252a3d; }

.checkout-provider-note {
  display: flex;
  gap: 7px;
  margin: 9px 0 0;
  color: #7a8294;
  font-size: .6rem;
  line-height: 1.4;
}

.checkout-dialog__legal {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 7px 14px;
  border-top: 1px solid #e8eaf1;
  background: #fbfbfd;
}

.checkout-dialog__legal a {
  color: #747c8e;
  font-size: .6rem;
}

.checkout-dialog__legal a:hover,
.checkout-dialog__legal a:focus-visible {
  color: #5148d9;
  text-decoration: underline;
}

/* Stripe embedded payment uses the same dialog and order summary frame. */
.embedded-checkout-container {
  min-height: 405px;
}

.embedded-checkout-status,
.embedded-checkout-cancel {
  margin: 9px 0 0;
  color: #70798d;
  text-align: center;
  font-size: .68rem;
}

.embedded-checkout-cancel a {
  color: #5148d9;
  font-weight: 800;
}

@media (max-width: 760px) {
  .premium-checkout,
  .embedded-checkout-page {
    display: block;
    padding: 0;
  }

  .checkout-dialog {
    width: 100%;
    max-height: none;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .checkout-dialog__body {
    height: auto;
    min-height: calc(100dvh - 96px);
    display: block;
    overflow: visible;
  }

  .checkout-order,
  .checkout-payment {
    overflow: visible;
  }

  .checkout-order {
    padding: 22px 20px;
  }

  .checkout-payment {
    padding: 24px 20px;
  }

  .checkout-order__details > div:not(.checkout-order__total),
  .checkout-order__benefits { display: none; }

  .checkout-order__details .checkout-order__total {
    margin-top: 2px;
  }
  .checkout-order__product { margin-top: 14px; }
}

@media (max-width: 480px) {
  .checkout-dialog__topbar {
    grid-template-columns: 1fr auto;
  }

  .checkout-secure { display: none; }

  .checkout-identity__choices button {
    min-height: 44px;
    padding: 6px;
  }

  .checkout-choice-mark {
    width: 22px;
    height: 22px;
  }

  .checkout-field-grid,
  .checkout-field-grid--address {
    grid-template-columns: 1fr;
  }

  .checkout-plan-pill {
    min-height: 88px;
    padding: 9px;
  }

  .checkout-plan-pill__head > b { font-size: .39rem; }
  .checkout-plan-pill__proof { font-size: .44rem; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .checkout-order,
  .checkout-payment {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .checkout-order__product { margin-top: 13px; padding-block: 10px; }
  .checkout-identity,
  .premium-purchase-form { margin-top: 13px; }
  .checkout-plan-pill { min-height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-purchase-button.is-loading [data-checkout-label]::before { animation: none; }
}

@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

/* Compact conversion pass: remove repeated order blocks and keep the next action obvious. */
.checkout-dialog { width: min(100%, 1120px); }
.checkout-dialog__body { grid-template-columns: minmax(410px, .92fr) minmax(0, 1.08fr); }
.checkout-order { padding: 21px 24px; }
.checkout-payment { padding: 22px 28px 18px; }
.checkout-plan-pills { margin-top: 13px; gap: 8px; }
.checkout-plan-pill { min-height: 84px; padding: 9px 10px; }
.checkout-selected-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}
.checkout-selected-summary > span { min-width: 0; display: grid; gap: 2px; }
.checkout-selected-summary small { color: #9ca4bd; font-size: .46rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.checkout-selected-summary strong { color: #fff; font-size: .8rem; }
.checkout-selected-summary em { overflow: hidden; color: #b9c0d5; font-size: .59rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.checkout-selected-summary .checkout-order__total { justify-items: end; }
.checkout-selected-summary .checkout-order__total strong { font-size: 1rem; }
.checkout-selected-summary > p { grid-column: 1/-1; margin: 0; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.1); color: #b9c0d5; font-size: .59rem; line-height: 1.4; }
.checkout-selected-summary > p strong { color: #8fe6d0; font-size: inherit; }
.checkout-order__benefits { margin-top: 9px; }
.checkout-identity,.premium-purchase-form { margin-top: 15px; }
.checkout-identity__choices button { min-height: 46px; }
.checkout-identity__choices button strong { white-space: nowrap; }
.checkout-inline-form input:user-invalid,.checkout-inline-form select:user-invalid { border-color: #d94c66; background: #fff9fa; }
.checkout-inline-form input:user-invalid:focus,.checkout-inline-form select:user-invalid:focus { outline-color: rgba(217,76,102,.13); }
.checkout-trust-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.checkout-trust-row span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #e1e4ed; border-radius: 999px; background: #fafbfc; color: #687187; font-size: .54rem; font-weight: 750; }
.checkout-trust-row span:before { width: 5px; height: 5px; border-radius: 50%; background: #16b991; content: ""; }
.checkout-plan-pills--locked .checkout-plan-pill:not(.is-selected) { opacity: .82; }

@media (max-width: 760px) {
  .checkout-dialog__body { display: block; }
  .checkout-order,.checkout-payment { padding: 18px 16px; }
  .checkout-order__benefits { display: none; }
  .checkout-selected-summary { margin-top: 11px; }
  .premium-purchase-button { position: sticky; bottom: 8px; z-index: 4; }
  .checkout-dialog__legal { position: relative; }
}

@media (max-width: 430px) {
  .checkout-plan-pills { gap: 6px; }
  .checkout-plan-pill { min-height: 82px; padding: 8px; }
  .checkout-plan-pill__head { display: grid; gap: 3px; }
  .checkout-plan-pill__head > b { width: fit-content; }
  .checkout-plan-pill__price > strong { font-size: 1rem; }
  .checkout-identity__choices { gap: 5px; }
  .checkout-identity__choices button { min-height: 50px; flex-wrap: wrap; gap: 4px; }
  .checkout-identity__choices button small { display: none; }
  .checkout-trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .checkout-trust-row span:last-child { grid-column: 1/-1; }
}
