.checkout-page {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  background: #13192d;
}
.checkout-box {
  box-sizing: border-box;
  width: min(100% - 2rem, 29rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid #6b829b;
  background: #1d2538;
  color: #f2f4f5;
  font: 0.9375rem/1.55 var(--f-pixel, "Courier New", monospace);
  box-shadow: 0 0.5rem 2rem rgb(8 11 24 / 40%);
  overflow-wrap: anywhere;
}
.checkout-box::backdrop { background: rgb(8 11 24 / 70%); }
.checkout-page .checkout-box { width: min(100%, 29rem); }
.checkout-bar {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1rem;
  border-bottom: 1px solid #65748b;
  color: #d1e9f6;
  font-size: 0.8125rem;
}
.checkout-content { padding: 1rem; }
.checkout-content :is(h1, h2) { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.25; }
.checkout-content p { margin: 0 0 0.8rem; }
.checkout-track { color: #a9e1ef; }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin-top: 1.15rem; }
.checkout-actions a { color: #b5e8f2; text-underline-offset: .25em; }
.checkout-actions a:not(.checkout-primary) { display: inline-flex; min-height: 2.5rem; align-items: center; }
.checkout-actions a[hidden] { display: none; }
.checkout-box :is(button, a):focus-visible { outline: 2px solid #a9e1ef; outline-offset: 3px; }
.checkout-box .checkout-primary {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid #9ec3d5;
  background: #c1e3ee;
  color: #172333;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.checkout-close {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 1.25rem monospace;
  cursor: pointer;
}
