@font-face {
  font-family: "DM Sans";
  src: url("/assets/checkout-dm-sans.woff2") format("woff2");
  font-display: swap;
}
.pc-page {
  margin: 0;
  min-height: 100dvh;
  background: #f6f3fa;
  color: #30253d;
  font:
    16px/1.7 "DM Sans",
    sans-serif;
}
.pc-page * {
  box-sizing: border-box;
}
.pc-header {
  padding: 28px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid #e4dceb;
  background: #fcfaff;
}
.pc-brand {
  display: inline-block;
}
.pc-brand img {
  display: block;
  width: 176px;
  height: auto;
}
.pc-shell {
  width: min(920px, calc(100% - 44px));
  margin: 40px auto 64px;
  padding: clamp(26px, 5vw, 60px);
  border: 1px solid #dfd3eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 64px #4530520c;
  overflow-wrap: anywhere;
}
.pc-shell > a:first-child {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
}
.pc-shell > p:first-of-type {
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid #dfd3eb;
  border-radius: 100px;
  background: #f6f1fc;
  color: #62418f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.pc-shell h1,
.pc-shell h2 {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-weight: 400;
  color: #30253d;
}
.pc-shell h1 {
  margin: 22px 0 26px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.pc-shell h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.pc-shell p {
  color: #624e70;
}
.pc-shell a {
  color: #62418f;
  text-underline-offset: 4px;
}
.pc-page a:focus-visible,
.pc-page button:focus-visible {
  outline: 3px solid #7653aa;
  outline-offset: 5px;
}
.pc-shell .notice,
.pc-next-step {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #dfd3eb;
  border-radius: 16px;
  background: #faf7fe;
  margin: 24px 0;
}
.pc-shell .notice p,
.pc-next-step p {
  margin: 0 0 12px;
  font-size: 14px;
}
.pc-shell .notice p:last-child,
.pc-next-step p:last-child {
  margin-bottom: 0;
}
.pc-next-step {
  background: #f1eafa;
  border-color: #cfbde2;
}
.pc-next-step h2:not(:first-child) {
  margin-top: 28px;
}
.pc-shell .handoff-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 20px 0;
  margin: 28px 0;
  border-block: 1px solid #dfd3eb;
}
.handoff-steps li {
  color: #624e70;
  font-size: 13px;
}
.handoff-steps span {
  display: block;
  margin-bottom: 6px;
  color: #62418f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.pc-shell form {
  display: inline-block;
  margin: 6px 10px 6px 0;
  max-width: 100%;
}
.pc-shell button {
  cursor: pointer;
  font:
    500 14px/1.5 "DM Sans",
    sans-serif;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 20px;
  border: 1px solid #7653aa;
  border-radius: 10px;
  background: #7653aa;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.pc-shell button:hover {
  background: #62418f;
  border-color: #62418f;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.pc-shell p[role="alert"] {
  padding: 16px 20px;
  border: 1px solid #e1c99e;
  border-radius: 12px;
  background: #fff4df;
  color: #6a4e0c;
}
@media (max-width: 540px) {
  .pc-header {
    padding: 22px;
  }
  .pc-brand img {
    width: 154px;
  }
  .pc-shell {
    margin-top: 22px;
    border-radius: 20px;
  }
  .pc-shell .handoff-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pc-shell form,
  .pc-shell form button {
    width: 100%;
    margin-right: 0;
  }
}

.pc-shell [data-transak-handoff] button:disabled {
  cursor: wait;
  opacity: 0.75;
}
.pc-shell [data-handoff-status]:empty {
  display: none;
}
.pc-shell [data-handoff-status] {
  margin-top: 16px;
}
