[hidden] { display: none !important; }
:root {
  --brand: #95bec5;
  --brand-dark: #4f8a93;
  --ink: #1d2327;
  --muted: #6b7680;
  --line: #dfe4e7;
  --bg: #f6f8f9;
  --error: #b42318;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.card {
  max-width: 560px; margin: 32px auto; background: #fff; border-radius: 20px;
  padding: 36px 32px 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.04);
}
@media (max-width: 600px) { .card { margin: 0; border-radius: 0; padding: 24px 16px; min-height: 100vh; } }
.biz { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.logo { width: 84px; height: 84px; border-radius: 50%; flex: none; }
.biz h1 { margin: 0 0 4px; font-size: 24px; }
.biz a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; }
.biz a:hover { color: var(--brand-dark); }
h2 { font-size: 20px; margin: 4px 0 12px; }
.amount-wrap {
  display: flex; justify-content: center; align-items: baseline; gap: 2px;
  margin: 0 auto 24px; border-bottom: 2px solid var(--line); max-width: 320px; padding-bottom: 4px;
}
.amount-wrap:focus-within { border-color: var(--brand-dark); }
.dollar { font-size: 44px; font-weight: 700; }
#amount { border: 0; outline: 0; font-size: 52px; font-weight: 700; width: 4.2ch; min-width: 2.5ch; max-width: 290px; text-align: left; font-family: inherit; color: var(--ink); padding: 0; }
@media (max-width: 420px) { .dollar { font-size: 36px; } #amount { font-size: 42px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff;
}
.field input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand-dark); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } }
.fee-policy, .method-hint { background: #eef5f6; border-radius: var(--radius); padding: 12px 14px; font-size: 14px; color: #33454a; }
.btn {
  display: block; width: 100%; padding: 15px; border: 0; border-radius: var(--radius);
  background: var(--brand-dark); color: #fff; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: #fff; color: var(--brand-dark); border: 1px solid var(--brand-dark); }
.back { background: none; border: 0; color: var(--brand-dark); font: inherit; font-size: 14px; padding: 0; margin-bottom: 8px; cursor: pointer; }
#payment-element { margin: 16px 0; min-height: 120px; }
.error { color: var(--error); font-size: 14px; min-height: 1em; margin: 8px 0; }
.summary { margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.summary div { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); }
.summary div:first-child { border-top: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .total dt, .summary .total dd { color: var(--ink); font-size: 18px; font-weight: 700; }
.fine { font-size: 13px; color: var(--muted); }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 8px auto 12px; }
#step-done { text-align: center; }
footer { margin-top: 28px; text-align: center; font-size: 13px; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
