/* ============================================================
   Uncommon Christian Network — stylesheet module: support
   The /support page ("Signal and Impact"), ported from the approved
   redesign, plus the Stripe embedded-checkout overlay.
   Load order (header.php): base, layout, home, live, media-hub, who,
   footer, support, pages.
   ============================================================ */

/* ---------- The redesign's two faces, self-hosted ----------
   The design calls DM Sans + Fraunces from Google Fonts. Our CSP is
   `font-src 'self'`, so a remote font silently fails to load — the files are
   served from our own origin instead, exactly as Inter/Sora/Bebas already are.
   Both are variable fonts: one file covers the whole weight range. */
@font-face{
  font-family:'DM Sans';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'DM Sans';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Fraunces';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(../fonts/fraunces-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Fraunces';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(../fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Page tokens ----------
   The design file's own values, kept verbatim and scoped to this page's
   sections so nothing leaks into the rest of the site. */
.spx-hero,.spx-promise,.spx-impact,.spx-giving,.spx-destinations,.spx-stories,.spx-accountable{
  --p1:#9667ad;
  --p2:#af80c5;
  --p3:#7a568c;
  --p4:#60466c;
  --p5:#322637;
  --pg:#080711;
  --ink:#f7f3fa;
  --dim:#b8afc2;
  --amber:#efb252;
  --edge:rgba(175,128,197,.34);
  --sans:'DM Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --serif:Fraunces,Georgia,serif;
  font-family:var(--sans);
  color:var(--ink);
}
.spx-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.spx-hero h1,.spx-promise h2,.spx-impact h2,.spx-giving h2,.spx-destinations h2,
.spx-stories h2,.spx-destinations h3,.spx-stories h3,.spx-accountable strong{
  font-family:var(--serif);font-weight:600}
.spx-hero p,.spx-impact p,.spx-giving p,.spx-destinations p,.spx-stories p{
  color:var(--dim);line-height:1.6}
.spx-panel{border:1px solid var(--edge);border-radius:22px;
  background:linear-gradient(145deg,rgba(23,20,35,.97),rgba(11,10,18,.97));
  box-shadow:0 28px 80px rgba(0,0,0,.3)}
.spx-eyebrow{margin:0;color:var(--p2);font-size:.68rem;font-weight:700;
  letter-spacing:.17em;text-transform:uppercase}

/* ---------- Hero ---------- */
.spx-hero{position:relative;aspect-ratio:1774/887;min-height:665px;display:grid;align-items:center;
  background:var(--pg)}
.spx-hero-art,.spx-hero-shade{position:absolute;inset:0;width:100%;height:100%;
  object-fit:contain;background:#080711}
.spx-hero-shade{background:
  linear-gradient(90deg,rgba(6,5,13,.96) 0%,rgba(6,5,13,.76) 34%,rgba(6,5,13,.12) 66%,rgba(6,5,13,.04)),
  linear-gradient(0deg,var(--pg),transparent 20%)}
.spx-hero-copy{position:relative;z-index:1;padding-bottom:36px}
.spx-hero h1{max-width:700px;margin:0 0 28px;font-size:clamp(3.7rem,6vw,6.3rem);
  line-height:.96;letter-spacing:-.045em;color:var(--ink)}
.spx-hero p{max-width:530px;margin:0;font-size:1.08rem}

/* ---------- The promise: the page's one light panel ---------- */
.spx-promise{position:relative;z-index:2;display:grid;grid-template-columns:110px 1.5fr .65fr;
  align-items:center;gap:30px;margin-top:-46px;padding:30px 42px;border-radius:20px;
  background:#f3eff0;color:#201723;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.spx-promise-mark{display:grid;place-items:center;width:92px;height:92px;
  border:1px solid rgba(96,70,108,.25);border-radius:50%;color:var(--p3);
  box-shadow:inset 0 0 0 12px rgba(150,103,173,.06)}
.spx-promise-mark svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.spx-promise h2{margin:0;font-size:2.15rem;line-height:1.08;color:#201723}
.spx-promise h2 span{color:var(--p3)}
.spx-promise p{margin:0;padding-left:28px;border-left:1px solid #c9bdc8;color:#3b303e;line-height:1.6}

/* ---------- Your support at work ---------- */
.spx-impact{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:24px 0}
.spx-impact article{position:relative;min-height:410px;overflow:hidden;
  border:1px solid var(--edge);border-radius:18px;background:#100e1a}
.spx-impact article>img,.spx-fade{position:absolute;inset:0;width:100%;height:100%;
  object-fit:contain;object-position:center bottom;background:#100e1a}
.spx-fade{background:linear-gradient(180deg,rgba(12,10,21,.95),rgba(12,10,21,.52) 52%,rgba(12,10,21,.08))}
.spx-impact-copy{position:relative;z-index:1;padding:28px}
.spx-impact-head{display:flex;align-items:center;gap:13px;margin-bottom:.75rem}
.spx-impact-ico{display:block;flex:none;color:var(--p2)}
.spx-impact-ico svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.spx-impact h2{margin:0;font-size:1.55rem;line-height:1.15;color:var(--ink)}
.spx-impact p{min-height:88px;margin:0;font-size:.88rem}
.spx-impact strong{display:block;margin-top:44px;font-size:3rem;line-height:1;color:var(--ink)}
.spx-impact small{display:block;margin-top:.35rem;color:#dfd4e5;font-size:.82rem;line-height:1.4}

/* ---------- Giving: where it goes · the chooser · the summary ---------- */
.spx-giving{display:grid;grid-template-columns:.8fr 1.1fr .82fr;padding:0;overflow:hidden}
.spx-where,.spx-chooser,.spx-summary{padding:34px;min-width:0}
.spx-giving>*+*{border-left:1px solid rgba(255,255,255,.1)}
.spx-where h2{margin:0 0 .7rem;font-size:1.65rem;line-height:1.2;color:var(--ink)}
.spx-where p{margin:0 0 1.1rem;font-size:.86rem}
.spx-where ul,.spx-destinations ul{margin:0;padding:0;list-style:none;
  color:var(--dim);font-size:.84rem;line-height:1.9}
.spx-where li:before,.spx-destinations li:before{content:"\2713";margin-right:9px;color:var(--p2)}
.spx-assurance{display:flex;gap:12px;margin:32px 0 0;padding:16px;border:1px solid var(--p3);
  border-radius:10px;color:#dfd4e5;font-size:.76rem;line-height:1.5}
.spx-assurance>span:first-child{flex:none;color:var(--p2)}
.spx-assurance svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round}

.spx-tabs{display:grid;grid-template-columns:1fr 1fr}
.spx-tabs button,.spx-amounts button,.spx-give{border:1px solid rgba(255,255,255,.12);
  background:#181626;color:#fff;padding:13px;cursor:pointer;font:inherit}
.spx-tabs button:first-child{border-radius:8px 0 0 8px}
.spx-tabs button:last-child{border-radius:0 8px 8px 0}
.spx-tabs .active,.spx-amounts .active,.spx-give{background:linear-gradient(135deg,#7139c7,var(--p1))}
.spx-tabs button[disabled]{opacity:.45;cursor:not-allowed}
.spx-chooser h3{margin:24px 0 14px;font-family:var(--sans);font-size:1rem;font-weight:700;color:var(--ink)}
.spx-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.spx-amounts button{border-radius:8px;font-weight:700}
.spx-or{display:flex;align-items:center;gap:14px;margin:16px 0;color:var(--dim);
  font-size:.7rem;text-transform:uppercase}
.spx-or:before,.spx-or:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.1)}
.spx-field{display:flex;align-items:center;gap:10px;margin-top:10px;padding:13px;
  border:1px solid rgba(255,255,255,.14);border-radius:8px;color:var(--dim)}
.spx-field:focus-within{border-color:var(--p2)}
.spx-field svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.spx-field input{width:100%;min-width:0;border:0;outline:0;background:none;color:#fff;font:inherit}
.spx-field input::placeholder{color:#7c7488}
.spx-note{display:flex;align-items:center;gap:10px;margin:14px 0 0;color:var(--dim);
  font-size:.72rem;line-height:1.5}
.spx-note>span:first-child{flex:none;color:var(--amber)}
.spx-note svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round}
.spx-off{margin:0;color:var(--dim);font-size:.9rem;line-height:1.6}
.spx-off strong{color:var(--ink)}

.spx-summary{margin:16px;border:1px solid var(--p3);border-radius:16px;
  background:linear-gradient(150deg,rgba(70,39,83,.88),rgba(24,18,35,.96))}
.spx-price{display:flex;align-items:flex-end;gap:10px;margin:.65rem 0 1.1rem}
.spx-price strong{font-size:2.8rem;line-height:1;color:var(--ink)}
.spx-price span{padding-bottom:8px;color:var(--dim);font-size:.9rem}
.spx-summary dl{margin:0}
.spx-summary dl div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.1);font-size:.78rem}
.spx-summary dt{color:var(--dim)}
.spx-summary dd{margin:0;text-align:right;font-weight:600;color:var(--ink)}
.spx-goes{align-items:flex-start}
.spx-goes dd{display:flex;align-items:center;gap:6px}
.spx-goes a{color:var(--ink);text-decoration:none}
.spx-goes a:hover{color:var(--p2);text-decoration:underline}
.spx-goes svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--p2);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.spx-total{display:flex;justify-content:space-between;align-items:baseline;
  margin:16px 0 18px;color:#fff;font-size:.9rem;font-weight:600}
.spx-give{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;
  border:0;border-radius:9px;font-weight:700}
.spx-give:hover{filter:brightness(1.08)}
.spx-give[disabled]{opacity:.55;cursor:default;filter:none}
.spx-give svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.spx-status{margin:10px 0 0;min-height:1.2em;color:var(--p2);font-size:.76rem;text-align:center}
.spx-status.is-error{color:#ff9a9a}
.spx-summary>small{display:block;margin-top:18px;text-align:center;color:var(--dim);
  font-size:.74rem;line-height:1.6}

/* ---------- Choose where your gift goes ---------- */
.spx-destinations,.spx-stories{padding-top:55px}
.spx-destinations>h2,.spx-stories>h2{display:flex;align-items:center;gap:24px;justify-content:center;
  margin:0 0 1.4rem;font-size:2rem;color:var(--ink)}
.spx-destinations>h2 span,.spx-stories>h2 span{height:1px;flex:1;
  background:linear-gradient(90deg,transparent,var(--p3))}
.spx-destinations>h2 span:last-child,.spx-stories>h2 span:last-child{transform:scaleX(-1)}
.spx-destination-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:15px}
.spx-destination-grid article{padding:28px 30px 24px 116px;border:1px solid var(--p3);
  border-radius:16px;background:#11101b;cursor:pointer}
.spx-destination-grid article:focus-visible{outline:2px solid var(--p2);outline-offset:3px}
.spx-destination-grid .selected{box-shadow:inset 3px 0 var(--p1)}
.spx-round-ico{position:absolute;margin-left:-86px;display:grid;place-items:center;
  width:64px;height:64px;border:1px solid var(--p3);border-radius:50%;color:var(--p2)}
.spx-round-ico svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round}
.spx-destination-grid h3{margin:0 0 .45rem;font-size:1.4rem;color:var(--ink)}
.spx-destination-grid p{margin:0 0 .8rem;font-size:.84rem}
.spx-or-badge{position:absolute;z-index:2;left:50%;top:50%;display:grid;place-items:center;
  width:38px;height:38px;transform:translate(-50%,-50%);border:1px solid var(--p3);
  border-radius:50%;background:var(--pg);color:var(--dim);font-size:.78rem;font-weight:400}

/* ---------- Real stories ---------- */
.spx-story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.spx-story-grid article{display:grid;grid-template-columns:42% 58%;min-height:245px;
  overflow:hidden;border:1px solid var(--edge);border-radius:15px;background:#11101a}
.spx-story-grid img{width:100%;height:100%;align-self:stretch;object-fit:cover;background:#080711}
.spx-story-grid article>div{padding:22px}
.spx-story-grid h3{margin:0 0 .5rem;font-size:1.2rem;color:var(--ink)}
.spx-story-grid p,.spx-story-grid blockquote{margin:0 0 14px;color:var(--dim);
  font-size:.76rem;line-height:1.55}
.spx-story-grid blockquote{color:#e4d9e8}
.spx-story-grid small{display:flex;align-items:center;gap:5px;color:var(--p2);font-size:.74rem}
.spx-story-grid small svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Accountability ---------- */
.spx-accountable{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;
  margin-top:25px;margin-bottom:70px;padding:24px 28px;border:1px solid var(--edge);
  border-radius:16px;background:#14111e}
.spx-accountable>span:first-child{display:grid;place-items:center;width:58px;height:58px;
  border:1px solid var(--p2);border-radius:50%;color:var(--p2)}
.spx-accountable>span:first-child svg{width:28px;height:28px;fill:none;stroke:currentColor;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.spx-accountable p{margin:0;color:var(--dim);font-size:.8rem;line-height:1.65}
.spx-accountable p strong{color:#fff;font-size:1.15rem}
.spx-accountable p a{color:var(--p2);text-decoration:underline;text-underline-offset:2px}
.spx-accountable-link{color:var(--amber);font-weight:700;text-decoration:none;
  font-size:.8rem;white-space:nowrap}
.spx-accountable-link:hover{text-decoration:underline}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .spx-shell{width:min(100% - 28px,700px)}
  .spx-hero{aspect-ratio:auto;min-height:590px}
  .spx-hero-art{object-fit:cover;object-position:center}
  .spx-hero-shade{background:linear-gradient(90deg,rgba(6,5,13,.88),rgba(6,5,13,.45)),
    linear-gradient(0deg,var(--pg),transparent 25%)}
  .spx-hero h1{font-size:clamp(3.2rem,12vw,5rem)}
  .spx-promise{grid-template-columns:auto 1fr}
  .spx-promise p{grid-column:1/-1;padding:18px 0 0;border:0;border-top:1px solid #c9bdc8}
  .spx-impact,.spx-giving,.spx-destination-grid,.spx-story-grid{grid-template-columns:1fr}
  .spx-giving>*+*{border-left:0;border-top:1px solid rgba(255,255,255,.1)}
  .spx-impact p{min-height:0}
  .spx-destination-grid article{padding-left:116px}
  .spx-story-grid article{grid-template-columns:35% 65%}
  .spx-accountable{grid-template-columns:auto 1fr}
  .spx-accountable-link{grid-column:1/-1}
}
@media (max-width:560px){
  .spx-promise{padding:24px}
  .spx-promise-mark{width:68px;height:68px}
  .spx-promise-mark svg{width:34px;height:34px}
  .spx-promise h2{font-size:1.55rem}
  .spx-where,.spx-chooser,.spx-summary{padding:24px}
  .spx-summary{margin:10px}
  .spx-destination-grid article{padding:22px}
  .spx-round-ico{position:static;margin:0 0 18px}
  .spx-story-grid article{grid-template-columns:1fr}
  .spx-story-grid img{max-height:330px}
  .spx-accountable{grid-template-columns:1fr}
  .spx-accountable>span:first-child{display:none}
}

/* ---------- Kept from the previous page ---------- */
/* The home page's schedule strip is the only other user of this container. */
.date-strip,.duration-strip{display:flex;gap:.5rem;flex-wrap:wrap}

/* ---------- Embedded checkout overlay (unchanged) ---------- */
/* iOS Safari ignores overflow:hidden on <body>; position:fixed is what
   actually stops the page scrolling behind the checkout overlay. */
body.checkout-open{overflow:hidden;position:fixed;width:100%}
.checkout-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px}
.checkout-backdrop{position:absolute;inset:0;background:rgba(6,8,12,.7);backdrop-filter:blur(4px)}
.checkout-dialog{position:relative;width:100%;max-width:640px;max-height:92vh;overflow:auto;
  background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.5)}
.checkout-close{position:absolute;top:8px;right:12px;z-index:2;background:rgba(0,0,0,.06);border:0;
  width:32px;height:32px;border-radius:50%;font-size:1.4rem;line-height:1;color:#333;cursor:pointer}
.checkout-close:hover{background:rgba(0,0,0,.12)}
#checkout{min-height:60px;padding:6px}
.checkout-loading{display:grid;place-items:center;min-height:230px}
.checkout-spinner{width:34px;height:34px;border-radius:50%;
  border:3px solid rgba(0,0,0,.14);border-top-color:#635bff;animation:ckspin .7s linear infinite}
@keyframes ckspin{to{transform:rotate(360deg)}}
