:root {
  color-scheme: light;
  font: 100%/1.5 system-ui, sans-serif;
  color: #16243b;
  background: #f0f3f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 32rem); margin: clamp(1.5rem, 8vh, 5rem) auto 2rem; }
header, .line, .method { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
header { padding: 0 .25rem; margin-bottom: 1.25rem; }
.brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; }
.test { color: #405170; font-size: .875rem; font-weight: 650; }
.checkout { background: #fff; border: 1px solid #d9e0ec; border-radius: 1.25rem; padding: clamp(1rem, 5vw, 2rem); }
h1, h2, dd, p { margin: 0; }
h1 { font-size: clamp(1.375rem, 5vw, 1.875rem); letter-spacing: -.035em; line-height: 1.15; }
h2 { font-size: 1rem; }
dl { margin: 1.5rem 0; background: #f4f6fb; padding: .25rem 1rem; border-radius: .75rem; }
.line { padding: .7rem 0; }
.line + .line { border-top: 1px solid #d9e0ec; }
dd { text-align: right; font-variant-numeric: tabular-nums; }
dd, .total { font-weight: 700; }
.total dd { font-size: 1.25rem; }
.methods { display: grid; gap: .5rem; }
h2 + .methods, .primary + .methods, form + .methods, .result + .method { margin-top: .75rem; }
button, .method {
  width: 100%; min-height: 3rem; font: inherit; font-weight: 650; padding: .55rem .85rem;
  border-radius: .6rem; cursor: pointer; text-decoration: none;
}
.method { color: #16243b; background: #fff; border: 1px solid #aebbd1; text-align: left; }
.method:hover { background: #eef2fa; }
.primary { color: #fff; background: #2147b3; border: 1px solid #2147b3; }
.primary:hover { background: #183892; }
:focus-visible { outline: 3px solid #305cdf; outline-offset: 3px; }
.result { display: grid; gap: .25rem; }
.result p, footer, .intro, .sbp p { color: #465773; }
.intro { margin: 1rem 0; }
.sbp { display: grid; justify-items: center; gap: .75rem; text-align: center; }
.qr { display: block; max-width: 100%; height: auto; border: 1px solid #d9e0ec; border-radius: .75rem; }
.refresh { display: grid; align-items: center; min-height: 2.75rem; color: #2147b3; }
.error { color: #982031; margin-bottom: .75rem; }
footer { font-size: .875rem; text-align: center; margin-top: 1rem; overflow-wrap: anywhere; }
footer span { font-variant-numeric: tabular-nums; }
