:root {
  color-scheme: light;
  --ink: #10221c;
  --muted: #60716a;
  --paper: #f2f7f4;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(16, 34, 28, 0.12);
  --green: #176b51;
  --green-dark: #0f4938;
  --mint: #bdebd6;
  --cream: #fff5d6;
  --danger: #a93838;
  --shadow: 0 30px 80px rgba(24, 63, 50, 0.13);
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(189, 235, 214, 0.64), transparent 32rem),
    radial-gradient(circle at 90% 84%, rgba(255, 231, 157, 0.45), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.34;
}

.ambient-one { top: -10rem; right: 8%; background: var(--mint); }
.ambient-two { bottom: -12rem; left: 8%; background: #ffe69b; }

.site-header,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 86px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--green);
  border-radius: 12px 12px 12px 4px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.live-badge,
.secure-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
}

.live-badge span {
  width: 8px;
  height: 8px;
  background: #2aae70;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(42,174,112,.12);
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 52px auto 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 5.55rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.055em;
}

.lead {
  max-width: 650px;
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.72;
}

.trust-list { display: grid; gap: 13px; }
.trust-list > div { display: flex; align-items: center; gap: 11px; color: #344b43; font-size: .92rem; }
.trust-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: var(--green); background: #dff4e9; border-radius: 10px; font-size: .62rem; font-weight: 850; letter-spacing: .04em; }

.checkout-card,
.status-card,
.legal-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.checkout-card { border-radius: 30px; padding: clamp(26px, 4vw, 42px); }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.card-topline h2 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.75rem); letter-spacing: -.03em; }
.mini-label { margin-bottom: 7px; font-size: .67rem; }
.secure-chip { color: var(--muted); padding: 7px 10px; font-size: .66rem; letter-spacing: .1em; }

.field-group { display: grid; gap: 9px; margin-bottom: 22px; }
.field-group > span,
.field-group label > span { font-size: .82rem; font-weight: 750; }
.field-group small { color: var(--muted); font-size: .73rem; line-height: 1.45; }

input {
  width: 100%;
  min-height: 52px;
  color: var(--ink);
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 15px;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

input:focus { border-color: rgba(23,107,81,.55); box-shadow: 0 0 0 4px rgba(23,107,81,.1); }

.amount-control { position: relative; display: block; }
.amount-control .currency-symbol,
.amount-control .currency-suffix { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--green); font-weight: 850; }
.amount-control .currency-symbol { left: 18px; font-size: 1.28rem; }
.amount-control .currency-suffix { right: 18px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.amount-control input { min-height: 68px; padding: 0 56px 0 45px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }

.quick-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: -10px 0 24px; }
.quick-amounts button { min-height: 35px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.62); font: inherit; font-size: .72rem; font-weight: 750; cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.quick-amounts button:hover,
.quick-amounts button.active { color: var(--green-dark); border-color: rgba(23,107,81,.3); background: #e7f5ed; }

.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.no-code-chip { padding: 5px 8px; border-radius: 999px; color: var(--green-dark); background: #e7f5ed; font-size: .61rem; font-weight: 800; letter-spacing: .03em; }

.consent-row { display: flex; align-items: flex-start; gap: 11px; margin: 3px 0 18px; color: var(--muted); font-size: .76rem; line-height: 1.52; }
.consent-row input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.pay-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 15px;
  padding: 0 20px;
  color: white;
  background: var(--green);
  box-shadow: 0 13px 25px rgba(23,107,81,.22);
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, background .18s, opacity .18s;
}

.pay-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.pay-button:disabled { cursor: wait; opacity: .68; transform: none; }
.fine-print { margin: 17px 4px 0; color: var(--muted); font-size: .69rem; line-height: 1.55; text-align: center; }
.form-message { display: none; margin: -4px 0 15px; padding: 11px 13px; border-radius: 12px; font-size: .78rem; line-height: 1.45; }
.form-message.error { display: block; color: var(--danger); background: #fff0f0; }
.form-message.success { display: block; color: var(--green-dark); background: #e9f8f0; }

.total-row { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 15px; color: var(--muted); font-size: .76rem; }
.total-row strong { color: var(--ink); font-size: 1.12rem; letter-spacing: -.025em; }
.provider-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(246,249,245,.72); }
.provider-note p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.provider-note strong { color: #344b43; }
.provider-lock { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 999px; color: var(--green); background: #dff4e9; font-weight: 900; }

footer { min-height: 84px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--green); }

.status-page,
.legal-page { display: grid; place-items: center; padding: 30px; }
.status-card { width: min(540px, 100%); border-radius: 30px; padding: 48px; text-align: center; }
.status-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 999px; font-size: 1.8rem; font-weight: 800; }
.status-icon.pending { color: #765f16; background: var(--cream); }
.status-icon.completed { color: var(--green); background: #ddf5e9; }
.status-icon.expired,
.status-icon.failed { color: var(--danger); background: #fff0f0; }
.status-card h1 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-weight: 500; letter-spacing: -.04em; }
.status-card p { color: var(--muted); line-height: 1.65; }
.status-details { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin: 26px 0; padding: 18px; background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 16px; text-align: left; font-size: .78rem; }
.status-details span { color: var(--muted); }
.status-details strong { text-align: right; overflow-wrap: anywhere; }
.secondary-button { display: inline-flex; width: auto; min-height: 46px; margin-top: 16px; padding-inline: 22px; }

.legal-card { width: min(760px, 100%); border-radius: 28px; padding: clamp(28px, 6vw, 58px); }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--green); font-size: .83rem; font-weight: 700; text-decoration: none; }
.legal-card h1 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; }
.legal-card h2 { margin: 30px 0 8px; font-size: 1rem; }
.legal-card p { color: var(--muted); line-height: 1.72; }

@media (max-width: 850px) {
  .page-shell { grid-template-columns: 1fr; margin-top: 30px; }
  .intro h1 { max-width: 760px; }
  .checkout-card { max-width: 560px; width: 100%; margin-inline: auto; }
}

@media (max-width: 560px) {
  .site-header,
  footer,
  .page-shell { width: min(100% - 26px, 1160px); }
  .site-header { min-height: 74px; }
  .brand > span:last-child { display: none; }
  .page-shell { margin-top: 24px; gap: 38px; }
  .intro h1 { font-size: 2.85rem; }
  .lead { margin-top: 22px; }
  .checkout-card { padding: 24px 20px; border-radius: 24px; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding-block: 20px; }
  .status-card { padding: 36px 22px; }
  .status-card h1 { font-size: 1.85rem; }
}

