*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #0c0c10;
}

body {
  font: 14px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #18181b;
  background: transparent;
}

/* Same page as the editor: the card hugs the form, like transparent. */

.ck-view {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100vh;
  padding: 28px 32px;
  background-size: cover;
  background-position: center;
}

.ck-view.is-boot,
.ck-view[hidden] {
  display: none !important;
}

.ck-view.is-colour {
  background-color: #7eafdc;
}

.ck-view.is-image.is-empty {
  background-image: linear-gradient(135deg, #6d28d9, #db2777 55%, #f59e0b);
}

.ck-view.is-clear {
  background-color: #ececef;
}

.ck-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 12, 0.42);
}

.ck-shot {
  --ck-bg: #ffffff;
  --ck-fg: #18181b;
  --ck-soft: #52525b;
  --ck-mute: #71717a;
  --ck-line: #ececef;
  --ck-panel: #f7f7f8;
  --ck-field: #ffffff;
  --ck-field-line: #dcdce0;
  --ck-placeholder: #a1a1aa;

  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ck-bg);
  color: var(--ck-fg);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 14px 36px rgba(9, 9, 12, 0.22);
}

.ck-shot:not(.is-clear) {
  max-width: 960px;
  margin: auto;
}

.ck-shot.is-dark {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.5);

  --ck-bg: #050507;
  --ck-fg: #f4f4f5;
  --ck-soft: #c4c4cc;
  --ck-mute: #8f8f9a;
  --ck-line: rgba(255, 255, 255, 0.1);
  --ck-panel: rgba(255, 255, 255, 0.045);
  --ck-field: rgba(255, 255, 255, 0.035);
  --ck-field-line: rgba(255, 255, 255, 0.14);
  --ck-placeholder: #74747f;
}

.ck-shot.is-clear {
  max-width: 960px;
  margin: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.ck-shot.is-clear .ck-body {
  padding: 0;
}

.ck-shot.is-clear .ck-form.is-box .ck-field input {
  background: transparent;
}

.ck-shot.is-clear.on-dark {
  --ck-fg: #ffffff;
  --ck-soft: #dcdce2;
  --ck-mute: #b4b4be;
  --ck-line: rgba(255, 255, 255, 0.22);
  --ck-field: rgba(255, 255, 255, 0.1);
  --ck-field-line: rgba(255, 255, 255, 0.32);
  --ck-placeholder: rgba(255, 255, 255, 0.6);
}

.ck-shot.is-clear.on-light {
  --ck-line: rgba(15, 23, 42, 0.16);
  --ck-field-line: rgba(15, 23, 42, 0.24);
}

.ck-bar {
  height: 4px;
}

.ck-bar.is-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.ck-body {
  padding: 20px 22px 22px;
}

.ck-hero {
  position: relative;
  flex: 0 0 auto;
  height: 188px;
  overflow: hidden;
}

.ck-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ck-shot.is-clear .ck-hero {
  height: 168px;
  margin: 0 0 20px;
  border-radius: 14px;
}

.ck-head {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ck-line);
}

.ck-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ck-logo {
  max-width: 280px;
  max-height: 72px;
  object-fit: contain;
}

.ck-studio {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ck-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-content: start;
}

.ck-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ck-summary-label {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ck-mute);
}

.ck-summary {
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.ck-summary.is-panel {
  background: var(--ck-panel);
  border-color: var(--ck-line);
}

.ck-summary.is-line {
  background: transparent;
  border-color: var(--ck-line);
}

.ck-summary.is-flat {
  background: transparent;
  border-color: transparent;
}

.ck-shot.is-clear .ck-summary.is-panel {
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
  --ck-fg: #18181b;
  --ck-soft: #52525b;
  --ck-mute: #71717a;
  --ck-line: #e4e4e7;
}

.ck-shot.is-clear.on-dark .ck-summary.is-panel {
  background: rgba(9, 9, 12, 0.78);
  color: #f4f4f5;
  --ck-fg: #f4f4f5;
  --ck-soft: #c4c4cc;
  --ck-mute: #8f8f9a;
  --ck-line: rgba(255, 255, 255, 0.16);
}

.ck-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ck-line);
}

.ck-line b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.ck-line em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ck-mute);
}

.ck-row {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--ck-soft);
}

.ck-row.is-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--ck-line);
  font-size: 14px;
  color: var(--ck-fg);
}

.ck-row.is-total b {
  font-weight: 700;
}

.ck-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ck-pays {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 1px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.ck-pays.is-panel {
  background: var(--ck-panel);
  border-color: var(--ck-line);
}

.ck-pays.is-line {
  background: transparent;
  border-color: var(--ck-line);
}

.ck-pays.is-flat {
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.ck-pays button {
  flex: 0 0 auto;
  height: 22px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ck-soft);
  cursor: pointer;
}

.ck-pays button.on {
  background: color-mix(in srgb, var(--ck-fg) 10%, var(--ck-field));
  color: var(--ck-fg);
}

.ck-pays.is-flat button.on {
  background: transparent;
}

.ck-shot.is-clear .ck-pays.is-panel {
  background: rgba(255, 255, 255, 0.92);
  --ck-fg: #18181b;
  --ck-soft: #52525b;
  --ck-line: #e4e4e7;
  --ck-field: #ffffff;
}

.ck-shot.is-clear.on-dark .ck-pays.is-panel {
  background: rgba(9, 9, 12, 0.78);
  --ck-fg: #f4f4f5;
  --ck-soft: #c4c4cc;
  --ck-line: rgba(255, 255, 255, 0.16);
  --ck-field: #18181b;
}

.ck-method {
  display: grid;
}

.ck-method-card,
.ck-wallet {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}

.ck-method-card.on,
.ck-wallet.on {
  visibility: visible;
  pointer-events: auto;
}

.ck-method-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ck-wallet {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ck-wallet-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.ck-wallet-btn.on {
  display: inline-flex;
}

.ck-wallet-btn img {
  width: 16px;
  height: 19px;
  object-fit: contain;
}

.ck-wallet-btn svg {
  width: 18px;
  height: 18px;
}

.ck-wallet-btn.is-paypal {
  background: #ffc439;
  color: #003087;
}

.ck-wallet-btn.is-paypal img {
  width: 15px;
  height: 18px;
}

.ck-wallet-btn.is-gpay,
.ck-wallet-btn.is-apple {
  background: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ck-wallet-btn.is-gpay .ck-g-mark {
  width: 18px;
  height: 18px;
}

.ck-wallet-btn.is-apple {
  min-height: 44px;
  border-radius: 6px;
}

.ck-shot.is-dark .ck-wallet-btn.is-gpay,
.ck-shot.is-clear.on-dark .ck-wallet-btn.is-gpay,
.ck-shot.is-dark .ck-wallet-btn.is-apple,
.ck-shot.is-clear.on-dark .ck-wallet-btn.is-apple {
  background: #fff;
  color: #1f1f1f;
  box-shadow: inset 0 0 0 1px rgba(15, 15, 15, 0.16);
}

.ck-apple-pay {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: -apple-system, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ck-apple-pay svg {
  width: 16px;
  height: 20px;
  margin-top: -1px;
}

.ck-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ck-input {
  position: relative;
  display: block;
}

.ck-field.is-bad input::placeholder,
.ck-field.is-bad input::-webkit-input-placeholder {
  color: #e11d48;
  -webkit-text-fill-color: #e11d48;
  opacity: 1;
}

.ck-field span {
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ck-soft);
}

.ck-field input {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid var(--ck-field-line);
  border-radius: 8px;
  background: var(--ck-field);
  font: inherit;
  font-size: 12.5px;
  color: var(--ck-fg);
  outline: none;
}

.ck-field input::placeholder {
  color: var(--ck-placeholder);
}

.ck-field input:focus {
  border-color: color-mix(in srgb, var(--ck-fg) 35%, var(--ck-field-line));
}

.ck-form.is-soft .ck-field input {
  border: 0;
  border-radius: 12px;
  padding: 9px 14px;
  background: color-mix(in srgb, var(--ck-fg) 9%, var(--ck-bg, #fff));
}

.ck-form.is-line .ck-field input {
  border: 0;
  border-bottom: 1px solid var(--ck-field-line);
  border-radius: 0;
  padding: 9px 0;
  background: transparent;
}

.ck-shot.is-clear .ck-form.is-soft .ck-field input {
  background: color-mix(in srgb, var(--ck-fg) 10%, transparent);
}

.ck-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ck-pay {
  margin-top: 5px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: #2563eb;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  color: #fff;
  cursor: pointer;
}

.ck-pay.is-black {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ck-foot {
  flex: 0 0 auto;
  margin: 18px 0 0;
  text-align: left;
  font-size: 10px;
  line-height: 1.35;
  background: none;
}

.ck-foot a {
  color: var(--ck-mute);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ck-foot a:hover {
  color: var(--ck-fg);
}

.ck-thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.ck-thanks h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.04em;
}

.ck-thanks-item {
  margin: 8px 0 0;
}

.ck-thanks-item b {
  display: block;
  font-size: 15px;
}

.ck-thanks-item em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--ck-mute);
}

.ck-done-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #16a34a;
}

.ck-done h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.ck-done-copy,
.ck-done-ref {
  margin: 0;
  color: #52525b;
}

.ck-legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px;
}

.ck-legal a {
  color: #1d4ed8;
}

@media (max-width: 720px) {
  .ck-view {
    align-items: stretch;
    justify-content: flex-start;
    padding: 22px 20px 28px;
  }

  .ck-split {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ck-hero {
    height: 148px;
  }

  .ck-foot {
    text-align: center;
  }

}
