/* MAKEYOURFILE CHECKOUT / shares every font, color and spacing token with v2. */
.upload-button[href] {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.upload-button[href]:hover {
  background: var(--blue-hover);
  box-shadow: 0 5px 15px #3c59e725;
}
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.checkout-root {
  background: #fff;
  min-height: 100vh;
}
.checkout-header .header-inner {
  justify-content: space-between;
  gap: 28px;
}
.checkout-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: var(--muted);
}
.checkout-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1.4;
}
.checkout-progress li:not(:last-child)::after {
  content: "";
  height: 1px;
  width: 39px;
  background: #dfe3ed;
  margin-left: 10px;
}
.progress-number {
  width: 29px;
  height: 29px;
  border: 1px solid #e2e6ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fafbfe;
  font-size: 16px;
  font-weight: 550;
  flex-shrink: 0;
  color: #758095;
}
.progress-done .progress-number {
  background: #ecf7f2;
  border-color: #dfefe7;
  color: #398368;
}
.checkout-progress .progress-active {
  color: var(--blue);
  font-weight: 600;
}
.progress-active .progress-number {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.checkout-progress .progress-upcoming {
  color: #788194;
}
.checkout-progress .progress-short,
.checkout-step-mobile {
  display: none;
}
.checkout-top {
  position: relative;
  text-align: center;
  padding: 35px 0 29px;
}
.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: var(--muted);
  position: absolute;
  left: 0;
  top: 58px;
  line-height: 1.5;
  min-height: 32px;
}
.checkout-back:hover {
  color: var(--blue);
}
.checkout-top h1 {
  font-size: 52px;
  line-height: 1.17;
  font-weight: 700;
  letter-spacing: -2.3px;
  margin: 9px 0 12px;
}
.checkout-top h1 span {
  color: var(--blue);
}
.checkout-top h1:focus {
  outline: none;
}
.checkout-top > p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 38px;
  align-items: start;
  padding-bottom: 55px;
}
.checkout-file {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.file-preview-card {
  padding: 8px;
  border: 1px solid #dbe0ee;
  border-radius: 19px;
  box-shadow:
    0 5px 6px -5px #253b7c0c,
    0 16px 42px -22px #253b7c1a;
  background: white;
  overflow: hidden;
}
.file-ready-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #eef8f3;
  color: #2e715c;
  border-radius: 11px;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 550;
  min-height: 61px;
}
.file-ready-bar > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ready-check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #38896b;
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.file-ready-bar .format-badge {
  background: white;
  color: #4c608e;
  border: 1px solid #dfe9e3;
  font-size: 16px;
  padding: 5px 8px;
}
.file-preview-stage {
  position: relative;
  margin-top: 8px;
  min-height: 474px;
  background: #f4f6fc;
  border: 1px solid #e9edf6;
  border-radius: 10px;
  padding: 29px 24px 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.file-preview-stage::before {
  content: "";
  position: absolute;
  width: 445px;
  height: 445px;
  border: 1px solid #e4e9f7;
  border-radius: 50%;
  pointer-events: none;
}
.preview-expand {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 37px;
  height: 37px;
  border: 1px solid #e0e5f0;
  background: #fff;
  border-radius: 8px;
  color: #7a87a6;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.preview-expand:hover {
  color: var(--blue);
  border-color: #c2cdf4;
}
.preview-art {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.document-preview {
  width: 323px;
  height: 392px;
  background: white;
  border: 1px solid #e1e5ee;
  box-shadow: 0 8px 24px -9px #31447622;
  border-radius: 3px;
  padding: 26px 25px;
  position: relative;
  overflow: hidden;
  color: #283344;
}
.paper-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8ebf2;
  color: #66728a;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.3;
}
.paper-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  color: #354469;
}
.paper-brand-symbol {
  width: 15px;
  height: 15px;
  border: 4px solid #6078b5;
  border-radius: 4px;
  transform: rotate(-8deg);
}
.paper-title {
  font-size: 32px !important;
  line-height: 1.1 !important;
  letter-spacing: -1.2px !important;
  font-weight: 650 !important;
  margin: 21px 0 9px !important;
  max-width: 220px;
}
.paper-subtitle {
  font-size: 16px;
  color: #778197;
  line-height: 1.4;
}
.paper-art {
  height: 103px;
  background: #edf1fb;
  border: 1px solid #e5eafa;
  border-radius: 4px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.paper-art .art-arch {
  position: absolute;
  width: 132px;
  height: 170px;
  border-radius: 80px 80px 0 0;
  border: 23px solid #7286c1;
  left: 95px;
  top: 16px;
  transform: rotate(-22deg);
}
.paper-art .art-disc {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #c7d3ef;
  left: 32px;
  top: -20px;
}
.paper-art .art-block {
  position: absolute;
  width: 73px;
  height: 85px;
  background: #91a7d5;
  left: 52px;
  bottom: -40px;
  transform: rotate(-22deg);
  border-radius: 4px;
}
.paper-art .art-small-disc {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #bfcef1;
  border-radius: 50%;
  right: 22px;
  top: 16px;
}
.paper-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 19px;
}
.paper-lines i {
  display: block;
  height: 4px;
  background: #e8ebf2;
  border-radius: 3px;
}
.paper-lines i:nth-child(2) {
  width: 87%;
}
.paper-lines i:nth-child(3) {
  width: 66%;
}
.paper-footer {
  position: absolute;
  bottom: 18px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  color: #8490a4;
  line-height: 1.3;
}
.preview-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  color: #6b7791;
  line-height: 1.4;
}
.preview-caption .icon {
  width: 16px;
  height: 16px;
}
.preview-file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 15px 19px;
  min-width: 0;
}
.preview-file-icon {
  width: 44px;
  height: 50px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f1f4fb;
  color: #6b80b3;
}
.preview-file-details {
  min-width: 0;
  flex: 1;
}
.preview-file-details h2 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.35px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.preview-file-details p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.file-meta-dot {
  color: #a5afc2;
  margin: 0 1px;
}
.preview-original {
  border-top: 1px solid #e9ecf3;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}
.preview-original .icon {
  color: #8594b1;
}
.file-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 27px;
  padding: 0 8px;
}
.reassurance-icon {
  width: 43px;
  height: 43px;
  border: 1px solid #e6eaf5;
  border-radius: 12px;
  background: #f7f8fc;
  color: #768ab7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.file-reassurance h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin-bottom: 5px;
}
.file-reassurance p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 370px;
}
.checkout-purchase {
  min-width: 0;
}
.plan-offer {
  border: 1px solid #dfe4f7;
  background: #f4f6ff;
  border-radius: 14px;
  padding: 19px 22px 16px;
}
.plan-offer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.plan-offer .eyebrow {
  font-size: 16px;
  letter-spacing: 0.8px;
  color: #5c70ac;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 7px;
}
.plan-offer h2 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.65px;
  font-weight: 620;
}
.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}
.plan-price strong {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1.15;
  color: #2e426f;
}
.plan-price > span {
  font-size: 16px;
  color: #687494;
  margin-top: 5px;
}
.plan-renewal {
  border-top: 1px solid #e1e6f7;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #65718b;
  display: flex;
  align-items: center;
  gap: 9px;
}
.plan-renewal strong {
  font-weight: 550;
  color: #465579;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 19px 1px 23px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  line-height: 1.5;
  color: #505c73;
}
.plan-features .icon {
  margin-top: 2px;
  color: #5d76c2;
}
.payment-card {
  border: 1px solid #dbe0ee;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 5px 6px -5px #253b7c06,
    0 13px 32px -24px #253b7c1c;
}
.payment-card-heading {
  min-height: 69px;
  padding: 17px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fafbfe;
  border-bottom: 1px solid #e7eaf1;
}
.payment-card-heading h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.payment-card-heading h2 > .icon {
  color: #6379ba;
}
.card-brands {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 26px;
  border: 1px solid #e0e5ed;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}
.card-brand svg {
  width: 36px;
  height: 23px;
}
.card-brand-visa {
  font-size: 12px;
  font-style: italic;
  font-weight: 800;
  color: #294493;
  letter-spacing: -0.5px;
}
.card-brand-amex {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: -0.2px;
  background: #4c81b7;
  color: white;
  border-color: #4c81b7;
}
.payment-card-body {
  padding: 21px 23px 22px;
}
.payment-field {
  display: block;
  min-width: 0;
}
.payment-field-label {
  display: block;
  font-size: 17px;
  line-height: 1.4;
  color: #475269;
  margin-bottom: 7px;
  font-weight: 450;
}
.payment-field-label .optional {
  color: #818a9c;
  font-size: 16px;
}
.payment-input-wrap {
  position: relative;
}
.payment-input {
  display: block;
  min-width: 0;
  width: 100%;
  height: 50px;
  border: 1px solid #dce1eb;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font: 400 18px/1.4 var(--font);
  color: var(--ink);
  box-shadow: 0 1px 2px #253b7c03;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1;
  -webkit-text-fill-color: #68738a;
  cursor: default;
}
.payment-input::placeholder {
  color: #778195;
  opacity: 1;
  -webkit-text-fill-color: #778195;
}
.payment-input:disabled {
  background: #fff;
  opacity: 1;
}
.payment-input-wrap > .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca6b9;
}
.payment-input-wrap:has(> .icon) .payment-input {
  padding-right: 42px;
}
.payment-help {
  font-size: 16px;
  line-height: 1.5;
  color: #727d92;
  margin-top: 7px;
}
.payment-fields {
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 0;
  padding: 0;
  margin: 18px 0 0;
  min-width: 0;
}
.payment-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.payment-field-row.name-postal {
  grid-template-columns: 1.38fr 1fr;
}
.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #e7eaf1;
  font-size: 18px;
  line-height: 1.5;
}
.payment-total > span {
  font-weight: 550;
}
.payment-total strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.payment-total strong span {
  font-size: 16px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.checkout-pay-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 55px;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  box-shadow: 0 3px 1px #293bc60a;
  white-space: nowrap;
}
.checkout-pay-button:disabled {
  opacity: 1;
  color: #fff;
  background: var(--blue);
}
.payment-after {
  font-size: 16px;
  color: #737e91;
  line-height: 1.55;
  text-align: center;
  margin-top: 12px;
}
.subscription-disclosure {
  font-size: 16px;
  line-height: 1.7;
  color: #657084;
  margin: 20px 4px 0;
  overflow-wrap: anywhere;
}
.subscription-disclosure a {
  color: #556dab;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.subscription-disclosure a[aria-disabled] {
  cursor: default;
}
.checkout-support {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 21px;
  font-size: 16px;
  color: #727d91;
  line-height: 1.5;
  flex-wrap: wrap;
}
.checkout-support a {
  color: #4e65a0;
}
.checkout-footer {
  border-top: 1px solid #e8ebf3;
  color: #7b8497;
  background: #fbfcff;
}
.checkout-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 23px;
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
}
.checkout-footer-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #6e7890;
}
.checkout-footer-note .icon {
  color: #8796b8;
}
.landscape-preview {
  width: 355px;
  background: white;
  border: 1px solid #dfe5f2;
  box-shadow: 0 8px 24px -9px #31447622;
  border-radius: 6px;
  padding: 12px;
}
.landscape-preview > svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.image-preview-caption {
  font-size: 16px;
  color: #6e7e95;
  padding: 14px 3px 3px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.audio-preview {
  width: 352px;
  background: #fff;
  border: 1px solid #e0e5ee;
  border-radius: 12px;
  box-shadow: 0 8px 24px -9px #31447622;
  padding: 23px;
  overflow: hidden;
}
.album-cover {
  width: 148px;
  height: 148px;
  margin: 0 auto 21px;
  background: #eaf0fd;
  border: 1px solid #e1e8f9;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #677fb8;
}
.album-cover::before,
.album-cover::after {
  content: "";
  position: absolute;
  width: 173px;
  height: 173px;
  border: 17px solid #cedaf4;
  border-radius: 50%;
  left: -72px;
  bottom: -79px;
}
.album-cover::after {
  width: 152px;
  height: 152px;
  left: auto;
  bottom: auto;
  top: -78px;
  right: -75px;
  border-color: #dbe3f7;
  border-width: 25px;
}
.album-cover .icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.3;
  z-index: 1;
}
.audio-preview h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: center;
}
.audio-preview > p {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  margin-top: 3px;
}
.audio-waveform {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-top: 18px;
  overflow: hidden;
}
.audio-waveform i {
  display: block;
  width: 4px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #b3c5eb;
}
.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #7b88a2;
  margin-top: 7px;
}
.video-preview {
  background: #fff;
  padding: 10px;
  border: 1px solid #e0e5ee;
  box-shadow: 0 8px 24px -9px #31447622;
  border-radius: 9px;
  width: 370px;
  position: relative;
}
.video-screen {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
}
.video-screen > svg {
  width: 100%;
  height: auto;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fffdf5e8;
  display: grid;
  place-items: center;
  color: #4d648d;
  box-shadow: 0 4px 16px #20396b16;
}
.video-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px 3px;
  font-size: 16px;
  color: #7b88a2;
}
.video-bottom > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.code-preview {
  width: 364px;
  background: #fff;
  border: 1px solid #dfe5f0;
  box-shadow: 0 8px 24px -9px #31447622;
  border-radius: 9px;
  overflow: hidden;
}
.code-header {
  padding: 13px 15px;
  background: #fafbfe;
  border-bottom: 1px solid #e7ebf2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #62758d;
}
.code-dots {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.code-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7d0e1;
}
.code-preview pre {
  margin: 0;
  padding: 24px 19px;
  font:
    16px/1.85 Consolas,
    "Courier New",
    monospace;
  color: #697891;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-preview .code-tag {
  color: #5d73b4;
}
.code-preview .code-value {
  color: #558b78;
}
.code-preview .code-word {
  color: #47576c;
}
.photo-document {
  padding-top: 26px;
}
.photo-document .paper-title {
  font-size: 27px !important;
}
.paper-photo {
  margin-top: 25px;
  height: 163px;
  overflow: hidden;
  border-radius: 3px;
}
.paper-photo svg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.preview-dialog {
  border: 1px solid #dbe0ee;
  border-radius: 18px;
  width: 640px;
  max-width: calc(100% - 32px);
  padding: 0;
  box-shadow: 0 22px 90px #24366722;
  background: #f7f9fe;
  color: var(--ink);
}
.preview-dialog::backdrop {
  background: #27334c66;
  backdrop-filter: blur(3px);
}
.dialog-header {
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-bottom: 1px solid #e5eaf3;
}
.dialog-header h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}
.dialog-close {
  border: 1px solid #e0e5ee;
  display: grid;
  place-items: center;
  background: white;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #6e7b94;
  cursor: pointer;
  flex-shrink: 0;
}
.dialog-art {
  padding: 38px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.dialog-art .document-preview {
  transform: scale(1.07);
}
.dialog-caption {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #697790;
  padding: 0 20px 23px;
}
@media (min-width: 1600px) {
  .checkout-top h1 {
    font-size: 56px;
  }
  .checkout-top {
    padding-top: 42px;
    padding-bottom: 34px;
  }
  .checkout-back {
    top: 67px;
  }
}
@media (max-width: 1120px) {
  .checkout-top h1 {
    font-size: 48px;
  }
  .checkout-back {
    top: 52px;
  }
  .checkout-layout {
    gap: 25px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .checkout-progress {
    gap: 15px;
  }
  .checkout-progress li:not(:last-child)::after {
    width: 26px;
    margin-left: 5px;
  }
  .file-preview-stage {
    padding-inline: 12px;
  }
  .payment-card-body {
    padding-inline: 20px;
  }
  .payment-card-heading {
    padding-inline: 20px;
  }
  .card-brands {
    gap: 4px;
  }
  .card-brand {
    width: 34px;
  }
  .payment-card-heading h2 {
    font-size: 19px;
    gap: 8px;
  }
  .plan-offer {
    padding-inline: 20px;
  }
  .plan-offer h2 {
    font-size: 23px;
  }
  .plan-price strong {
    font-size: 40px;
  }
  .document-preview {
    width: 290px;
    padding: 23px 23px;
    height: 371px;
  }
  .paper-title {
    font-size: 29px !important;
    margin-top: 19px !important;
  }
  .paper-footer {
    left: 23px;
    right: 23px;
  }
  .paper-art {
    height: 96px;
  }
  .file-preview-stage {
    min-height: 453px;
  }
}
@media (max-width: 980px) {
  .checkout-back {
    position: static;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 9px;
  }
  .checkout-top {
    padding-top: 19px;
  }
  .checkout-top h1 {
    margin-top: 0;
  }
  .checkout-progress {
    gap: 11px;
  }
  .checkout-progress li {
    gap: 7px;
  }
  .checkout-progress li:not(:last-child)::after {
    width: 18px;
  }
  .payment-card-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  .file-ready-bar {
    padding: 14px 12px;
    font-size: 16px;
    gap: 7px;
  }
  .ready-check {
    width: 22px;
    height: 22px;
  }
  .file-ready-bar > span:first-child {
    gap: 8px;
  }
  .preview-file-row {
    padding: 19px 10px;
    gap: 10px;
  }
  .preview-file-details h2 {
    font-size: 17px;
  }
  .preview-file-icon {
    width: 36px;
    height: 44px;
  }
  .payment-field-row.name-postal {
    grid-template-columns: 1fr 1fr;
  }
  .payment-field-row {
    gap: 13px;
  }
  .payment-field-label {
    font-size: 16px;
  }
  .plan-offer h2 {
    font-size: 22px;
  }
  .plan-offer-main {
    gap: 9px;
  }
  .plan-price strong {
    font-size: 37px;
  }
  .plan-price > span {
    font-size: 16px;
  }
  .plan-offer .eyebrow {
    font-size: 16px;
    letter-spacing: 0.4px;
  }
  .document-preview {
    width: 270px;
    padding-inline: 20px;
  }
  .paper-topline {
    font-size: 16px;
  }
  .file-preview-stage {
    padding-inline: 8px;
  }
  .paper-footer {
    left: 20px;
    right: 20px;
  }
  .payment-help {
    font-size: 16px;
  }
}
@media (max-width: 820px) {
  .checkout-header {
    height: auto;
    min-height: 82px;
  }
  .checkout-header .header-inner {
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 18px;
    gap: 18px;
  }
  .checkout-step-mobile {
    display: block;
    color: #74809a;
    font-size: 16px;
  }
  .checkout-progress {
    width: 100%;
    order: 3;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid #eff1f7;
    gap: 8px;
  }
  .checkout-progress li:not(:last-child)::after {
    width: 45px;
    margin-left: 8px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
    gap: 27px;
  }
  .checkout-file {
    position: static;
  }
  .checkout-top {
    max-width: 600px;
    margin-inline: auto;
    padding-bottom: 26px;
  }
  .checkout-top h1 {
    font-size: 45px;
  }
  .checkout-top > p {
    font-size: 19px;
  }
  .file-preview-stage {
    min-height: 310px;
    padding: 21px 20px 44px;
  }
  .file-preview-stage .document-preview {
    width: 285px;
    height: 361px;
    margin: -4px 0 0;
  }
  .file-preview-stage:has(.document-preview) {
    max-height: 283px;
    min-height: 283px;
    align-items: flex-start;
    overflow: hidden;
  }
  .file-preview-stage:has(.document-preview)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(0deg, #f4f6fc 45%, #f4f6fc00);
    z-index: 1;
  }
  .file-preview-stage .preview-caption {
    z-index: 2;
    bottom: 13px;
  }
  .file-preview-stage .document-preview .paper-title {
    font-size: 30px !important;
  }
  .file-preview-stage .document-preview .paper-art {
    height: 96px;
  }
  .preview-expand {
    z-index: 3;
  }
  .preview-file-row {
    padding: 18px 13px;
    gap: 14px;
  }
  .preview-file-details h2 {
    font-size: 18px;
  }
  .preview-file-icon {
    width: 42px;
    height: 47px;
  }
  .preview-original {
    padding-top: 13px;
    padding-bottom: 11px;
  }
  .file-reassurance {
    display: none;
  }
  .plan-offer h2 {
    font-size: 25px;
  }
  .plan-price strong {
    font-size: 44px;
  }
  .plan-offer {
    padding: 19px 22px 16px;
  }
  .payment-card-heading {
    flex-wrap: nowrap;
    padding: 19px 23px;
  }
  .payment-card-heading h2 {
    font-size: 20px;
  }
  .payment-card-body {
    padding: 22px 23px;
  }
  .payment-field-label {
    font-size: 17px;
  }
  .card-brand {
    width: 39px;
  }
  .file-ready-bar {
    font-size: 17px;
    padding: 14px 16px;
  }
  .ready-check {
    width: 25px;
    height: 25px;
  }
  .checkout-footer .container {
    flex-wrap: wrap;
    gap: 11px;
    padding-top: 22px;
    padding-bottom: 23px;
  }
  .audio-preview {
    width: 352px;
    display: grid;
    grid-template-columns: 77px 1fr;
    gap: 0 18px;
    padding: 20px;
  }
  .album-cover {
    width: 77px;
    height: 77px;
    grid-column: 1;
    grid-row: 1/4;
    margin: 0;
  }
  .album-cover .icon {
    width: 33px;
    height: 33px;
  }
  .audio-preview h3 {
    text-align: left;
    font-size: 20px;
    align-self: center;
  }
  .audio-preview > p {
    text-align: left;
  }
  .audio-waveform {
    grid-column: 1/-1;
    margin-top: 23px;
  }
  .audio-time {
    grid-column: 1/-1;
    margin-top: 9px;
  }
  .file-preview-stage:has(.audio-preview) {
    min-height: 303px;
  }
  .file-preview-stage:has(.video-preview) {
    min-height: 300px;
  }
  .file-preview-stage:has(.code-preview) {
    min-height: 345px;
  }
  .code-preview pre {
    line-height: 1.55;
    padding: 20px;
  }
  .plan-features {
    margin: 17px 1px 22px;
  }
}
@media (max-width: 600px) {
  .checkout-header .header-inner {
    padding-top: 19px;
    padding-bottom: 17px;
  }
  .checkout-progress {
    gap: 8px;
    padding-top: 15px;
  }
  .checkout-progress li {
    gap: 7px;
    font-size: 16px;
  }
  .checkout-progress li:not(:last-child)::after {
    width: 22px;
    margin-left: 6px;
  }
  .checkout-progress .progress-long {
    display: none;
  }
  .checkout-progress .progress-short {
    display: inline;
  }
  .progress-number {
    width: 27px;
    height: 27px;
    font-size: 16px;
  }
  .checkout-top {
    padding-top: 15px;
    padding-bottom: 22px;
  }
  .checkout-top h1 {
    font-size: 40px;
    letter-spacing: -1.7px;
    line-height: 1.14;
    margin: 14px 0 11px;
  }
  .checkout-top > p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 315px;
    margin: 0 auto;
  }
  .checkout-back {
    font-size: 16px;
    margin-bottom: 5px;
    min-height: 31px;
  }
  .checkout-layout {
    gap: 24px;
    padding-bottom: 37px;
  }
  .file-preview-card {
    border-radius: 16px;
    padding: 6px;
  }
  .file-ready-bar {
    padding: 12px 12px;
    font-size: 16px;
    gap: 8px;
    min-height: 57px;
  }
  .file-ready-bar > span:first-child {
    gap: 8px;
  }
  .file-ready-bar .format-badge {
    font-size: 16px;
  }
  .ready-check {
    width: 23px;
    height: 23px;
  }
  .file-preview-stage {
    margin-top: 6px;
    padding: 20px 17px 43px;
    min-height: 275px;
  }
  .file-preview-stage:has(.document-preview) {
    min-height: 240px;
    max-height: 240px;
    padding-top: 20px;
  }
  .file-preview-stage .document-preview {
    width: 262px;
    height: 355px;
    padding: 21px 21px;
  }
  .file-preview-stage .document-preview .paper-title {
    font-size: 29px !important;
    margin-top: 17px !important;
  }
  .preview-file-row {
    padding: 17px 10px;
    gap: 12px;
  }
  .preview-file-details h2 {
    font-size: 17px;
  }
  .preview-file-details p {
    font-size: 16px;
    gap: 6px;
  }
  .preview-file-icon {
    width: 36px;
    height: 44px;
  }
  .preview-original {
    font-size: 16px;
    padding: 12px 10px 9px;
    gap: 8px;
  }
  .preview-original .icon {
    width: 18px;
    height: 18px;
  }
  .plan-offer {
    padding: 18px 18px 15px;
    border-radius: 12px;
  }
  .plan-offer-main {
    gap: 12px;
  }
  .plan-offer h2 {
    font-size: 22px;
    letter-spacing: -0.6px;
  }
  .plan-offer .eyebrow {
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
  }
  .plan-price strong {
    font-size: 39px;
    letter-spacing: -1.4px;
  }
  .plan-price > span {
    font-size: 16px;
    margin-top: 4px;
  }
  .plan-renewal {
    font-size: 16px;
    gap: 7px;
    align-items: flex-start;
    line-height: 1.55;
    margin-top: 15px;
    padding-top: 12px;
  }
  .plan-renewal > .icon {
    margin-top: 3px;
  }
  .plan-features {
    margin: 18px 1px 21px;
    gap: 10px;
  }
  .plan-features li {
    font-size: 17px;
    line-height: 1.5;
    gap: 9px;
  }
  .payment-card {
    border-radius: 13px;
  }
  .payment-card-heading {
    padding: 17px 18px;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 64px;
  }
  .payment-card-heading h2 {
    font-size: 19px;
    gap: 9px;
  }
  .payment-card-heading h2 > .icon {
    width: 21px;
    height: 21px;
  }
  .card-brands {
    gap: 4px;
  }
  .card-brand {
    width: 31px;
    height: 23px;
  }
  .card-brand svg {
    width: 30px;
    height: 21px;
  }
  .card-brand-visa {
    font-size: 11px;
  }
  .card-brand-amex {
    font-size: 9px;
  }
  .payment-card-body {
    padding: 20px 18px;
  }
  .payment-input {
    height: 51px;
    font-size: 18px;
    padding-inline: 12px;
  }
  .payment-field-label {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 7px;
  }
  .payment-help {
    font-size: 16px;
    margin-top: 7px;
  }
  .payment-fields {
    margin-top: 18px;
    gap: 17px;
  }
  .payment-field-row {
    gap: 13px;
  }
  .payment-field-row.name-postal {
    grid-template-columns: 1fr;
  }
  .payment-total {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 18px;
  }
  .payment-total strong {
    font-size: 22px;
  }
  .checkout-pay-button {
    font-size: 18px;
    gap: 10px;
    height: 55px;
    margin-top: 15px;
  }
  .payment-after {
    font-size: 16px;
    max-width: 275px;
    margin: 13px auto 0;
    line-height: 1.55;
  }
  .subscription-disclosure {
    font-size: 16px;
    line-height: 1.75;
    margin: 18px 1px 0;
  }
  .checkout-support {
    font-size: 16px;
    gap: 7px;
    margin-top: 20px;
  }
  .checkout-footer .container {
    font-size: 16px;
    gap: 12px;
    display: block;
    padding-top: 20px;
    padding-bottom: 22px;
  }
  .checkout-footer-note {
    margin-top: 10px;
    font-size: 16px;
  }
  .preview-dialog {
    max-width: calc(100% - 26px);
  }
  .dialog-header {
    padding: 17px 17px;
    gap: 10px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-art {
    padding: 30px 13px;
    min-height: 412px;
  }
  .dialog-art .document-preview {
    transform: none;
    width: 280px;
  }
  .dialog-caption {
    font-size: 16px;
    padding-inline: 15px;
  }
  .landscape-preview {
    width: 100%;
    max-width: 355px;
  }
  .video-preview {
    width: 100%;
  }
  .audio-preview {
    width: 100%;
    gap: 0 15px;
    padding: 17px;
  }
  .audio-preview h3 {
    font-size: 18px;
    letter-spacing: -0.3px;
  }
  .audio-preview > p {
    font-size: 16px;
  }
  .album-cover {
    width: 72px;
    height: 72px;
  }
  .file-preview-stage:has(.audio-preview) {
    min-height: 291px;
  }
  .file-preview-stage:has(.video-preview) {
    min-height: 281px;
  }
  .file-preview-stage:has(.code-preview) {
    min-height: 337px;
  }
  .code-preview pre {
    font-size: 16px;
    padding: 18px 15px;
  }
  .code-preview {
    width: 100%;
  }
  .preview-caption {
    font-size: 16px;
  }
  .audio-waveform {
    gap: 3px;
  }
  .image-preview-caption {
    font-size: 16px;
  }
  .paper-footer {
    font-size: 16px;
  }
}
@media (max-width: 365px) {
  .checkout-progress {
    gap: 4px;
  }
  .checkout-progress li {
    gap: 5px;
  }
  .checkout-progress li:not(:last-child)::after {
    width: 9px;
    margin-left: 3px;
  }
  .progress-number {
    width: 25px;
    height: 25px;
  }
  .checkout-step-mobile {
    font-size: 16px;
  }
  .checkout-top h1 {
    font-size: 37px;
  }
  .plan-offer {
    padding-inline: 15px;
  }
  .plan-offer h2 {
    font-size: 21px;
  }
  .plan-price strong {
    font-size: 35px;
  }
  .plan-price > span {
    font-size: 16px;
  }
  .plan-offer .eyebrow {
    font-size: 16px;
  }
  .payment-card-body {
    padding-inline: 15px;
  }
  .payment-card-heading {
    padding-inline: 15px;
  }
  .payment-card-heading h2 {
    font-size: 18px;
  }
  .payment-card-heading .card-brands {
    margin-left: auto;
  }
  .plan-offer-main {
    gap: 10px;
  }
  .checkout-pay-button {
    font-size: 17px;
    gap: 8px;
  }
  .preview-file-icon {
    width: 32px;
  }
  .preview-file-row {
    gap: 9px;
  }
  .checkout-progress .progress-number .icon {
    width: 16px;
    height: 16px;
  }
  .audio-preview {
    grid-template-columns: 63px 1fr;
    gap: 0 10px;
  }
  .album-cover {
    width: 63px;
    height: 63px;
  }
  .audio-waveform {
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .upload-button[href],
  .preview-expand {
    transition: none;
  }
}
@media print {
  .checkout-header,
  .checkout-back,
  .checkout-footer,
  .preview-expand,
  .checkout-support {
    display: none;
  }
  .checkout-top {
    padding-top: 0;
  }
  .checkout-top h1 {
    font-size: 35px;
  }
  .checkout-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .checkout-file {
    position: static;
  }
  .file-preview-card,
  .plan-offer,
  .payment-card {
    break-inside: avoid;
    box-shadow: none;
  }
  .subscription-disclosure {
    font-size: 16px;
  }
  .preview-dialog {
    display: none;
  }
}
/* On smaller screens keep the file visible without pushing the plan below a full page. */
.preview-text-button {
  display: none;
}
@media (max-width: 820px) {
  .file-preview-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 0 16px;
  }
  .file-ready-bar {
    grid-column: 1/-1;
  }
  .file-preview-stage,
  .file-preview-stage:has(.document-preview),
  .file-preview-stage:has(.audio-preview),
  .file-preview-stage:has(.video-preview),
  .file-preview-stage:has(.code-preview) {
    grid-column: 1;
    grid-row: 2;
    width: 130px;
    min-height: 163px;
    max-height: 163px;
    height: 163px;
    padding: 0;
    margin: 9px 0 0;
    align-self: start;
  }
  .file-preview-stage::before,
  .file-preview-stage:has(.document-preview)::after {
    display: none;
  }
  .file-preview-stage .preview-art {
    position: absolute;
    left: 50%;
    top: 13px;
    width: 300px;
    transform: translateX(-50%) scale(0.355);
    transform-origin: top center;
  }
  .file-preview-stage .document-preview {
    width: 285px;
    height: 361px;
    margin: 0;
    flex-shrink: 0;
  }
  .file-preview-stage .preview-caption {
    display: none;
  }
  .file-preview-stage .preview-expand {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 9px;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 7px;
  }
  .file-preview-stage .preview-expand .icon {
    width: 28px;
    height: 28px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 0 1px #e1e6f1;
    border-radius: 5px;
  }
  .file-preview-stage:has(.audio-preview) .preview-art,
  .file-preview-stage:has(.video-preview) .preview-art,
  .file-preview-stage:has(.landscape-preview) .preview-art,
  .file-preview-stage:has(.code-preview) .preview-art {
    top: 31px;
  }
  .file-preview-stage .audio-preview {
    width: 300px;
    display: block;
    padding: 20px;
  }
  .file-preview-stage .album-cover {
    height: 106px;
    width: 106px;
    margin: 0 auto 16px;
  }
  .file-preview-stage .audio-preview h3,
  .file-preview-stage .audio-preview > p {
    text-align: center;
  }
  .file-preview-stage .audio-time {
    display: none;
  }
  .file-preview-stage .audio-waveform {
    gap: 3px;
    height: 37px;
    margin-top: 14px;
  }
  .file-preview-stage .audio-preview .album-cover .icon {
    width: 44px;
    height: 44px;
  }
  .preview-file-row {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    padding: 12px 12px 8px 0;
    margin-top: 7px;
    gap: 0;
  }
  .preview-file-row .preview-file-icon {
    display: none;
  }
  .preview-file-details h2 {
    font-size: 18px;
    line-height: 1.4;
  }
  .preview-file-details p {
    gap: 6px;
    margin-top: 7px;
  }
  .preview-text-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    margin-top: 11px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--blue);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
  }
  .preview-original {
    grid-column: 1/-1;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .file-preview-card {
    grid-template-columns: 111px minmax(0, 1fr);
    column-gap: 12px;
  }
  .file-preview-stage,
  .file-preview-stage:has(.document-preview),
  .file-preview-stage:has(.audio-preview),
  .file-preview-stage:has(.video-preview),
  .file-preview-stage:has(.code-preview) {
    width: 111px;
    height: 148px;
    min-height: 148px;
    max-height: 148px;
  }
  .file-preview-stage .preview-art {
    transform: translateX(-50%) scale(0.31);
    top: 15px;
  }
  .file-preview-stage .document-preview {
    width: 285px;
    height: 361px;
    margin: 0;
  }
  .preview-file-row {
    padding: 10px 6px 6px 0;
    gap: 0;
  }
  .preview-file-details h2 {
    font-size: 17px;
    line-height: 1.4;
  }
  .preview-file-details p {
    line-height: 1.45;
    margin-top: 6px;
    gap: 4px 6px;
  }
  .preview-text-button {
    margin-top: 9px;
  }
  .preview-original {
    margin-top: 9px;
    padding-top: 12px;
  }
}
@media (max-width: 365px) {
  .file-preview-card {
    grid-template-columns: 94px minmax(0, 1fr);
    column-gap: 10px;
  }
  .file-preview-stage,
  .file-preview-stage:has(.document-preview),
  .file-preview-stage:has(.audio-preview),
  .file-preview-stage:has(.video-preview),
  .file-preview-stage:has(.code-preview) {
    width: 94px;
    height: 146px;
    min-height: 146px;
    max-height: 146px;
  }
  .file-preview-stage .preview-art {
    transform: translateX(-50%) scale(0.275);
    top: 22px;
  }
  .preview-file-details h2 {
    font-size: 16px;
  }
  .preview-file-details p {
    font-size: 16px;
    gap: 4px;
  }
  .file-preview-stage .preview-expand {
    padding: 5px;
  }
  .file-preview-stage .preview-expand .icon {
    width: 25px;
    height: 25px;
    padding: 5px;
  }
}

/* v4: concise trial and renewal summary before the payment fields. */
.plan-renewal {
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.plan-renewal > .icon {
  margin-top: 5px;
}
.plan-renewal > span {
  min-width: 0;
}
.plan-renewal-summary {
  display: block;
}
.plan-renewal strong {
  font-weight: 600;
  color: var(--ink);
}
.plan-cancellation {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.plan-cancellation strong {
  color: inherit;
}

/* Private visual preview: preserve the owner design without accepting payment data. */
.checkout-preview-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: #eef2ff;
  color: #354f9c;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid #dfe6fb;
}
.checkout-preview-notice strong {
  font-weight: 650;
}
.checkout-header .brand {
  font-size: 25px;
  letter-spacing: -1px;
}
.checkout-header .brand-mark {
  width: 37px;
  height: 37px;
}
.checkout-header .brand-mark svg {
  width: 31px;
  height: 31px;
}
.payment-input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #8590a5;
  cursor: not-allowed;
  background: #fafbfe;
}
.checkout-pay-button:disabled {
  opacity: 1;
  background: var(--blue);
  color: white;
  cursor: not-allowed;
}
.plan-offer h2 {
  max-width: 260px;
}
@media (max-width: 600px) {
  .checkout-header .brand {
    font-size: 22px;
    gap: 8px;
  }
  .checkout-header .brand-mark {
    width: 32px;
    height: 32px;
  }
  .checkout-step-mobile {
    font-size: 13px;
  }
  .checkout-preview-notice {
    padding: 9px 16px;
    gap: 1px;
    font-size: 12px;
  }
  .checkout-preview-notice strong {
    width: 100%;
  }
  .plan-offer-main {
    align-items: flex-start;
  }
  .plan-offer h2 {
    font-size: 20px;
    max-width: 180px;
  }
  .plan-price {
    flex-shrink: 0;
  }
  .checkout-top h1 {
    font-size: 38px;
  }
  .checkout-top > p {
    font-size: 17px;
  }
  .checkout-footer .container > span:last-child {
    display: block;
    margin-top: 10px;
  }
}
@media (max-width: 365px) {
  .checkout-step-mobile {
    display: none;
  }
  .plan-offer-main {
    gap: 6px;
  }
  .plan-offer h2 {
    font-size: 18px;
  }
  .plan-price strong {
    font-size: 32px;
  }
  .plan-price > span {
    font-size: 13px;
  }
}
