:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f9f5ff;
  background: #100b1d;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 30px 18px;
  background: radial-gradient(ellipse at 12% 0%, #402368, transparent 55%),
              radial-gradient(ellipse at 98% 100%, #222e66, transparent 52%), #100b1d;
}
.brand { font-weight: 750; font-size: 24px; letter-spacing: -.05em; }
.checkout {
  width: min(100%, 480px);
  padding: clamp(20px, 6vw, 34px);
  background: linear-gradient(145deg, #1b1429, #100d18);
  border: 1px solid #70568b;
  border-radius: 18px;
  box-shadow: 0 24px 64px #06030c80;
}
h1 { margin: 0; letter-spacing: -.05em; line-height: 1.15; font-size: clamp(26px, 6vw, 34px); }
header p, .payment-note { color: #cec3df; line-height: 1.5; }
header p { margin: 9px 0 22px; }
.summary { margin: 0 0 24px; padding: 15px; background: #0c0912; border-radius: 11px; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary div + div { margin-top: 10px; }
.summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.summary .total { padding-top: 12px; border-top: 1px solid #453956; font-weight: 700; font-size: 19px; }
button {
  width: 100%; min-height: 48px; border: 0; border-radius: 999px;
  background: linear-gradient(145deg, #fff, #f5e7ff);
  color: #21142c; font: inherit; font-weight: 700; cursor: pointer;
}
button:hover:enabled { background: #e9d4ff; }
button:disabled { opacity: .68; cursor: default; }
button:focus-visible { outline: 2px solid #e0bcff; outline-offset: 4px; }
.payment-note, #status { margin: 13px 0 0; font-size: 13px; }
#status { color: #f0dcff; }
#status:empty { display: none; }
