:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #202c33;
  background: #f4f6f7;
  line-height: 1.5;
  --blue: #285d83;
  --border: #c9d2d7;
  --muted: #4b5c65;
}
* { box-sizing: border-box; }
body { margin: 0; }
.layout { width: min(100% - 2rem, 43rem); margin: 0 auto; }
.mast, footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.mast { padding: 1.4rem .1rem 1.1rem; }
.mast .brand { color: #172d3b; font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.mast > :last-child, footer { font-size: .9rem; }
.panel { padding: clamp(1.25rem, 5vw, 2.8rem); border: 1px solid #dae1e5; border-radius: .85rem; background: #fff; }
h1 { margin: 0; font-size: clamp(1.65rem, 4.5vw, 2.2rem); line-height: 1.14; letter-spacing: -.035em; }
.lead { margin: .5rem 0 1.5rem; color: var(--muted); }
a { color: var(--blue); text-underline-offset: .16em; }
a:hover { color: #163e5a; }
form { margin: 0; }
.section { border: 0; min-width: 0; margin: 1.55rem 0 0; padding: 0; }
legend { width: 100%; margin-bottom: .7rem; padding: .65rem 0 0; border-top: 1px solid #d9e0e3; font-size: 1.09rem; font-weight: 700; letter-spacing: -.018em; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem 1rem; }
.field { display: grid; gap: .27rem; font-size: .91rem; font-weight: 600; }
.field select, .field input { width: 100%; min-width: 0; min-height: 2.8rem; border: 1px solid #899aa5; background-color: #fff; color: #172b38; border-radius: .34rem; padding: .55rem .65rem; font: inherit; font-size: 1rem; font-weight: 400; }
.field select { text-overflow: ellipsis; }
.full { grid-column: 1 / -1; }
.caption { color: var(--muted); font-size: .875rem; }
a.caption { display: inline-block; margin-top: .38rem; color: var(--blue); }
.method { display: grid; grid-template-columns: 1.2rem minmax(0,1fr) auto; align-items: center; gap: .7rem; min-height: 4.2rem; padding: .62rem .84rem; border-radius: .45rem; border: 1px solid var(--border); cursor: pointer; }
.method + .method { margin-top: .5rem; }
.method input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--blue); }
.method span { display: grid; }
.method b { font-size: 1.04rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.method small { color: var(--muted); font-size: .86rem; }
.method:has(:checked) { background: #f1f7fb; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.before-submit { color: var(--muted); font-size: .92rem; margin: 1rem 0 .8rem; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: .2em; width: 100%; min-height: 3.05rem; padding: .7rem 1rem; font: inherit; font-weight: 700; line-height: 1.3; background: var(--blue); border: 1px solid var(--blue); border-radius: .4rem; color: #fff; cursor: pointer; text-decoration: none; text-align: center; }
.primary:hover { background: #1c4765; border-color: #1c4765; color: #fff; }
.primary span[aria-hidden] { margin-left: .35rem; }
.button-choice { display: none; }
form:has(input[name=payment_method]:checked) .button-default { display: none; }
form:has(input[value=transfer]:checked) .transfer-label,
form:has(input[value=paypal]:checked) .paypal-label { display: inline; }
.details { margin: 1rem 0 1.25rem; padding: .1rem .9rem; border: 1px solid #cbd6dd; background: #f5f8fa; border-radius: .45rem; }
.detail { padding: .48rem 0; }
.detail + .detail { border-top: 1px solid #d9e0e3; }
.detail dt { color: var(--muted); font-size: .82rem; }
.detail dd { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.detail [data-copy-text] { font-weight: 650; overflow-wrap: anywhere; user-select: all; }
.copy { min-width: 3.5rem; padding: .22rem .36rem; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: .85rem; font-weight: 650; text-decoration: underline; text-underline-offset: .13em; cursor: pointer; }
.copy[hidden] { display: none; }
.alert { padding: .65rem .8rem; border-left: 3px solid #ac642b; background: #fff5e8; }
:focus-visible { outline: 3px solid #2474a7; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
footer { padding: .85rem .1rem 1.5rem; justify-content: flex-start; }
@media(max-width: 31rem) {
  :root { background: #fff; }
  .layout { width: 100%; }
  .mast { padding: .85rem 1rem; border-bottom: 1px solid #dce2e6; }
  .panel { padding: 1.2rem 1rem; border: 0; }
  .field-grid { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .section { margin-top: 1.15rem; }
  .method { padding: .62rem; column-gap: .5rem; }
  .details { padding: .05rem .7rem; }
  footer { padding: .8rem 1rem 1.25rem; border-top: 1px solid #dce2e6; }
}
