:root {
  color-scheme: light;
  --ink: #102938;
  --muted: #526571;
  --line: #d9e5e9;
  --brand: #087f79;
  --action: #20bbb0;
  --navy: #0b1826;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; isolation: isolate; background: var(--navy); color: var(--ink); font: 16px/1.65 Rubik, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--navy) url("./shots/midnight-waves.webp") no-repeat center / cover; }
a { color: var(--brand); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.pay-top { width: 100%; padding: 22px max(24px, calc((100% - 1280px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #0b1826e6; border-bottom: 1px solid #29414d; }
.pay-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #fff; }
.pay-brand .wordmark { display: block; width: 284px; max-width: 100%; height: auto; }
.pay-language { display: flex; align-items: center; gap: 10px; color: #d4e1e8; font-size: 14px; }
select { min-height: 44px; padding: 6px 12px; background: var(--navy); color: #f6f9fa; border: 1px solid #3b666f; border-radius: 8px; }
.pay-top :focus-visible, .pay-footer > a:focus-visible, .pay-footer .site-information :focus-visible { outline-color: #69ddd3; }
.pay-card { width: min(640px, calc(100% - 40px)); margin: 56px auto 24px; padding: clamp(24px, 4vw, 36px); background: #f7fbfc; border: 1px solid #96d1d2; border-radius: 16px; box-shadow: 0 24px 64px #00000033; }
h1 { margin: 0 0 10px; font-size: clamp(27px, 3vw, 34px); line-height: 1.25; letter-spacing: -.02em; }
p { margin: 12px 0; }
.pay-card p { margin-block: 16px; }
.pay-intro, .pay-note { color: var(--muted); }
.pay-note { font-size: 15px; }
.pay-notice { padding: 8px 12px; border: 1px solid #dec1a5; border-radius: 6px; background: #faf3ea; font-size: 14px; }
.pay-price { margin-bottom: 0; }
.pay-price bdi { font-size: 42px; font-weight: 750; }
.pay-field { display: grid; gap: 6px; margin: 24px 0; }
.pay-field label { font-weight: 650; }
input { width: 120px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f0f4f6; color: var(--ink); }
input:disabled { color: var(--muted); opacity: 1; }
button { width: 100%; min-height: 56px; padding: 12px 18px; border: 1px solid transparent; border-radius: 8px; background: var(--action); color: #06252b; font-size: 17px; font-weight: 700; }
button:hover:enabled { background: #35c9be; }
button:disabled { cursor: default; opacity: .55; }
.pay-secondary { background: white; border-color: var(--line); }
#payStatus { overflow-wrap: anywhere; }
.pay-support { padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.pay-support [dir="ltr"] { display: inline-block; overflow-wrap: anywhere; }
.pay-footer { display: flex; justify-content: center; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 8px 20px 32px; font-size: 14px; }
.pay-footer .site-information { display: contents; }
.pay-footer > a, .pay-footer .site-information button, .pay-footer .site-information a {
  display: inline-flex; align-items: center; min-height: 44px; width: auto; padding: 8px 0;
  border: 0; border-radius: 0; background: transparent; color: #d4e1e8;
  font: inherit; text-decoration: underline; text-underline-offset: 4px;
}
.pay-footer a:hover, .pay-footer .site-information button:hover { background: transparent; color: #69ddd3; }
@media (max-width: 600px) {
  .pay-top { padding: 16px 20px; gap: 16px; }
  .pay-brand .wordmark { width: 184px; }
  .pay-language label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pay-language select { max-width: 120px; }
  .pay-card { width: calc(100% - 32px); margin-top: 28px; padding: 24px; border-radius: 12px; }
  .pay-footer { gap: 4px 20px; }
}
