/* Hyde Foundation – Donation box (Moneris Checkout). Copied from the live donate page. */
.hyde-donate{
  --hd-purple:#7400B8;
  --hd-purple-dark:#55008A;
  --hd-plum:#2B0B45;
  --hd-lilac:#F5EBFC;
  --hd-marigold:#F5A524;
  --hd-muted:#6B5C78;
  --hd-error:#C0262D;
  font-family:inherit;
  color:var(--hd-plum);
  max-width:1120px;
  margin:0 auto;
  padding:24px 16px 64px;
  box-sizing:border-box;
}
.hyde-donate *,.hyde-donate *::before,.hyde-donate *::after{box-sizing:border-box}
.hyde-donate [hidden]{display:none!important}

.hyde-donate .hd-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(24px,5vw,72px);
  align-items:center;
}

/* ---------- left: message ---------- */
.hyde-donate .hd-title{
  font-family:"Baloo 2",system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(2.2rem,4.6vw,3.6rem);
  line-height:1.02;
  letter-spacing:-0.02em;
  margin:0 0 18px;
  color:var(--hd-plum);
}
.hyde-donate .hd-lead{
  font-size:1.08rem;
  line-height:1.65;
  color:var(--hd-muted);
  max-width:38ch;
  margin:0 0 28px;
}
.hyde-donate .hd-lead a{color:var(--hd-purple)}
.hyde-donate .hd-promise{
  list-style:none;margin:0;padding:0;
  display:grid;gap:12px;
}
.hyde-donate .hd-promise li{
  display:flex;gap:12px;align-items:flex-start;
  font-size:.98rem;line-height:1.5;color:var(--hd-plum);
}
.hyde-donate .hd-promise svg{flex:0 0 22px;margin-top:1px}

/* ---------- right: the pledge slip ---------- */
.hyde-donate .hd-slip{
  position:relative;
  background:var(--hd-lilac);
  border-radius:36px 36px 36px 8px;
  padding:clamp(24px,4vw,44px);
  overflow:hidden;
}
.hyde-donate .hd-slip::before{
  content:"";
  position:absolute;right:-90px;top:-90px;
  width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(245,165,36,.35),rgba(245,165,36,0) 70%);
  pointer-events:none;
}
.hyde-donate .hd-label{
  display:block;
  font-weight:600;font-size:1rem;
  margin:0 0 6px;color:var(--hd-plum);
}

.hyde-donate .hd-amount{
  position:relative;
  display:flex;align-items:baseline;gap:6px;
  border-bottom:4px solid rgba(116,0,184,.18);
  padding-bottom:4px;
  transition:border-color .2s;
}
.hyde-donate .hd-amount:focus-within{border-color:var(--hd-marigold)}
.hyde-donate .hd-currency,
.hyde-donate .hd-input{
  font-family:"Baloo 2",system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(2.6rem,6vw,4rem);
  color:var(--hd-purple);
  line-height:1;
}
.hyde-donate .hd-input{
  flex:1;min-width:0;
  letter-spacing:-0.03em;
  background:transparent;border:0;outline:0;padding:0;margin:0;
  -moz-appearance:textfield;appearance:textfield;
}
.hyde-donate .hd-input::-webkit-outer-spin-button,
.hyde-donate .hd-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hyde-donate .hd-input::placeholder{color:rgba(116,0,184,.25)}
.hyde-donate .hd-input:focus,
.hyde-donate .hd-input:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}

.hyde-donate .hd-edit{
  align-self:center;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;
  background:#fff;color:var(--hd-purple);
  cursor:text;flex:0 0 44px;
}
.hyde-donate .hd-amount:focus-within .hd-edit{background:var(--hd-marigold);color:#fff}
.hyde-donate .hd-hint{
  margin:10px 0 0;font-size:.95rem;color:var(--hd-muted);
}
.hyde-donate .hd-code{
  font-weight:600;font-size:1rem;color:var(--hd-muted);
  align-self:center;
}

.hyde-donate .hd-picks{
  display:flex;flex-wrap:wrap;gap:10px;
  margin:20px 0 6px;
}
.hyde-donate .hd-pick{
  font:inherit;font-weight:600;font-size:1rem;
  padding:10px 20px;border-radius:999px;
  border:2px solid var(--hd-purple);
  background:#fff;color:var(--hd-purple);
  cursor:pointer;
  transition:background .15s,color .15s;
}
.hyde-donate .hd-pick:hover{background:rgba(116,0,184,.08)}
.hyde-donate .hd-pick[aria-pressed="true"]{background:var(--hd-purple);color:#fff}

.hyde-donate .hd-error{
  min-height:1.4em;margin:8px 0 0;
  font-size:.92rem;color:var(--hd-error);
}

.hyde-donate .hd-btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;
  margin-top:14px;
  font-family:"Baloo 2",system-ui,sans-serif;
  font-weight:700;font-size:1.35rem;
  padding:18px 24px;
  border:0;border-radius:999px;
  background:var(--hd-purple);color:#fff;
  cursor:pointer;
  box-shadow:0 6px 0 var(--hd-purple-dark);
  transition:transform .12s,box-shadow .12s,background .15s;
}
.hyde-donate .hd-btn:hover{background:#8410D0}
.hyde-donate .hd-btn:active{transform:translateY(4px);box-shadow:0 2px 0 var(--hd-purple-dark)}
.hyde-donate .hd-btn[disabled]{opacity:.7;cursor:wait}
.hyde-donate .hd-btn svg{flex:0 0 22px}

.hyde-donate .hd-note{
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin:18px 0 0;font-size:.88rem;color:var(--hd-muted);text-align:center;
}

.hyde-donate .hd-checkout{min-height:420px;background:#fff;border-radius:24px;overflow:hidden}
.hyde-donate .hd-result-title{
  font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;
  font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:1.1;margin:0 0 12px;color:var(--hd-plum);
}
.hyde-donate .hd-result-text{font-size:1.05rem;line-height:1.6;color:var(--hd-muted);margin:0 0 8px}

.hyde-donate :focus-visible{outline:3px solid var(--hd-marigold);outline-offset:3px}

@media (max-width:480px){
  .hyde-donate .hd-currency,
  .hyde-donate .hd-input{font-size:2.4rem}
  .hyde-donate .hd-pick{padding:9px 16px}
}
@media (max-width:820px){
  .hyde-donate .hd-wrap{grid-template-columns:1fr}
  .hyde-donate .hd-lead{max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .hyde-donate *{transition:none!important}
}
