/* ==========================================================================
   MODERN MINIMAL DESIGN SYSTEM (Apple/Google Material Design)
   Clean, Contemporary, Functional
   ========================================================================== */

:root {
  /* Campaign palette, sampled from the "a little easier" flyer.
     --gold* are the campaign purples (names kept from the original gold theme);
     --primary drives selected/interactive states; --text-dark is the body ink,
     a near-black with a purple cast so long copy stays readable. */
  --primary: #5B4A9E;
  --primary-light: #7A6BB8;
  --primary-dark: #2E2563;
  --gold: #5B4A9E;
  --gold-dark: #44377F;
  --gold-light: #A898D6;
  --gold-subtle: #F1EEF8;
  --script-ink: #8E7CC9;     /* flyer lavender, deepened to 3:1 on paper for web text */
  --honor: #B08628;          /* Spa Ceylon gold — only for things a donor earned */
  --accent: #0a7a4c;
  --accent-subtle: #e8f5ee;
  --bg-white: #ffffff;
  --bg-light: #F8F7FA;
  --bg-gray: #F3F1F4;
  --text-dark: #2B2540;
  --text-gray: #625C77;
  --text-light: #8F8AA2;
  --border-color: #E5E1EC;
  --border-light: #F0EDF4;
  --error: #c0392b;
  --focus-ring: 0 0 0 3px rgba(91, 74, 158, 0.18);

  /* Typography — Neulis Sans for display and UI, Neulis Cursive for the one
     hand-lettered word per headline, an italic serif for the flyer's lead-ins. */
  --font-display: "neulis-sans", "Segoe UI", Arial, sans-serif;
  --font-sans: "neulis-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "neulis-cursive", "Segoe Script", cursive;
  --font-lead: "Cormorant Garamond", Georgia, serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  --tracking-display: -0.045em;
  --tracking-tight: -0.025em;

  /* Shape — square corners throughout (brand decision); change here to round them. */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;
  --shadow-card: 0 12px 32px rgba(45, 33, 100, 0.07);

  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f6f4f8;
  background-image: url("https://imagedelivery.net/p8Ne6fCPFcSZAcusv-_yOA/b1cf644e-b8f6-431a-70b8-fc4f9313a400/public");
  background-repeat: repeat;
  background-attachment: fixed;
  /* Phone: two small tiles across, repeating down the page. */
  background-size: 50vw 70vw;
}

/* Desktop: four tiles only — two across, two down — not one full-screen image. */
@media (min-width: 960px) {
  html {
    background-size: 50vw 50vh;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: transparent;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Progressive same-page hand-off from the donation form to Step 3. */
body.is-wizard-submitting::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: auto;
  background: rgba(248, 247, 250, .72);
  backdrop-filter: blur(3px);
  animation: wiz-transition-in .18s ease-out both;
}

body.is-wizard-submitting::before {
  content: "Preparing your secure payment step…";
  position: fixed;
  z-index: 1001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 18px 55px rgba(45, 33, 100, .16);
  animation: wiz-transition-in .22s ease-out both;
}

@keyframes wiz-transition-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wiz-spin {
  to { transform: rotate(360deg); }
}

.wiz-submit-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wiz-spin .7s linear infinite;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .28s;
  animation-timing-function: ease-out;
}

/* Keeps the route hand-off continuous while the next server-rendered view is
   fetched and mounted. The URL can change without exposing a blank document. */
html.is-route-transitioning::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: auto;
  background: rgba(248, 247, 250, .78);
  backdrop-filter: blur(4px);
  animation: route-cover-in .16s ease-out both;
}

html.is-route-entering body {
  animation: route-content-in .36s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes route-cover-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes route-content-in {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sticky footer: the content wrap between header and footer grows to fill any
   leftover space, pushing the footer to the bottom of the viewport on short pages
   instead of letting it float mid-page with dead space beneath it. */
body > .wrap {
  flex: 1 0 auto;
}

.sc-footer {
  flex-shrink: 0;
}

.public-footer {
  padding: 20px 0;
}

/* Honeypot used by the public donation form. It remains in the accessibility
   tree as a decoy for simple bots but is invisible and unfocusable to donors. */
.public-form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.public-footer__inner {
  max-width: 1040px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

.public-footer__inner div + div::before {
  content: "·";
  margin-right: 8px;
}

@media (max-width: 560px) {
  .public-footer__inner {
    flex-direction: column;
    gap: 2px;
  }

  .public-footer__inner div + div::before {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & TOP BAR
   ========================================================================== */
.sc-top-bar {
  background: var(--text-dark);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sc-top-dot {
  font-size: 8px;
  opacity: 0.6;
}

.sc-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sc-header-partner {
  text-align: right;
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

.sc-header-partner strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 13.5px;
}

@media (max-width: 560px) {
  .sc-header-partner { display: none; }
}

.sc-logo-lockup {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.sc-logo-image {
  height: 56px;
  width: auto;
  display: block;
}

.sc-logo-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
  padding-left: 14px;
  border-left: 1.5px solid var(--border-color);
}

/* ==========================================================================
   CAMPAIGN SECTION
   ========================================================================== */
.sc-campaign {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
}

.sc-campaign-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.sc-campaign-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-campaign-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.sc-campaign-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.sc-campaign-goal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
}

.sc-progress-bar {
  height: 4px;
  background: var(--border-color);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.sc-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width 0.6s ease-out;
}

.sc-progress-percent {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.sc-hero {
  position: relative;
  background: var(--text-dark);
  margin-bottom: 0;
  border-bottom: none;
  overflow: hidden;
}

.sc-hero-img-wrap {
  position: relative;
  width: 100%;
  height: clamp(320px, 50vh, 480px);
}

.sc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}

.sc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sc-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--bg-white);
  margin: 0 0 16px 0;
  line-height: 1.2;
  max-width: 600px;
}

.sc-hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */
.sc-band-gold {
  display: none;
}

.sc-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .28s ease, border-color .28s ease, transform .28s ease;
}

.sc-card:hover {
  border-color: rgba(91, 74, 158, .28);
  box-shadow: 0 18px 42px rgba(45, 33, 100, .10);
}

/* Soft entrance for wizard panels; the content remains immediately usable. */
.wiz-step-enter {
  animation: wiz-step-enter .42s cubic-bezier(.22, 1, .36, 1) both;
}

#wiz-form {
  transition: height .36s cubic-bezier(.22, 1, .36, 1);
}

#wiz-form.wiz-form-transitioning {
  overflow: hidden;
}

@keyframes wiz-step-enter {
  from { opacity: 0; transform: translateY(12px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
  .sc-card {
    padding: 26px 20px;
  }
}

.sc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.sc-h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--gold);
  margin: 0 0 18px 0;
}

.sc-subtext {
  font-size: 15px;
  color: var(--text-gray);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* ==========================================================================
   FORM & FIELDS
   ========================================================================== */
.sc-field {
  margin-bottom: 20px;
}

.sc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sc-field input,
.sc-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition);
}

.sc-field input:focus,
.sc-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

/* ==========================================================================
   BUTTONS & INPUTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  text-transform: uppercase;
  will-change: transform;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(91, 74, 158, .20);
}

.btn:active:not(:disabled) {
  transform: translateY(1px) scale(.985);
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   WIZARD: STEP INDICATOR (segmented bar, matching reference)
   ========================================================================== */
.wiz-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.wiz-steps-segment {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  transition: background-color .35s ease, transform .35s ease;
}

.wiz-steps-segment.active,
.wiz-steps-segment.done {
  background: var(--gold);
  transform: scaleY(1.35);
}

.wiz-step2-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  text-align: left;
}

.wiz-step2-summary-edit {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ==========================================================================
   WIZARD: QUANTITY / PORTION SELECTOR
   ========================================================================== */
/* Live selection summary card, shown above the portion grid */
.wiz-selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gold);
  background: var(--gold-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.wiz-selection-summary > div:first-child {
  min-width: 0;
}

.wiz-selection-summary-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.wiz-selection-summary-sub {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wiz-selection-summary-amount {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.wiz-portion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 20px;
}

.wiz-portion-chip {
  min-height: 78px;
  padding: 13px 8px 11px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  text-align: center;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wiz-portion-chip-count {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: var(--tracking-tight);
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  line-height: 1.15;
}

.wiz-portion-chip.other .wiz-portion-chip-count {
  max-width: none;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
}

.wiz-portion-custom-wrap {
  margin: -4px 0 20px;
}

.wiz-portion-custom-wrap[hidden] {
  display: none;
}

.wiz-portion-chip-amount {
  font-size: 11px;
  color: var(--text-gray);
  display: block;
  margin-top: 6px;
  line-height: 1.2;
}

.wiz-portion-chip:hover {
  border-color: var(--gold);
}

.wiz-portion-chip.active {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

.wiz-portion-chip.active .wiz-portion-chip-count,
.wiz-portion-chip.active .wiz-portion-chip-amount {
  color: var(--gold-dark);
}

.wiz-portion-chip.other.active {
  background: var(--gold-subtle);
}

/* Detailed donation breakdown box */
.wiz-breakdown {
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-top: 18px;
}

.wiz-breakdown-line {
  font-size: 12.5px;
  color: var(--text-gray);
}

.wiz-breakdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
}

.wiz-breakdown-row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.wiz-breakdown-row-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.wiz-breakdown-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-gray);
  margin-top: 2px;
}

.wiz-breakdown-notes {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wiz-breakdown-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-gray);
}

.wiz-breakdown-note .wiz-note-icon {
  flex: 0 0 auto;
  color: var(--accent);
}

.wiz-progress-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 14px;
}

.wiz-progress-note strong {
  color: var(--text-dark);
}

/* ==========================================================================
   WIZARD: CADENCE (one-time / monthly) TOGGLE
   ========================================================================== */
.wiz-cadence-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.wiz-cadence-card {
  position: relative;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.wiz-cadence-card.active {
  border-color: var(--primary);
  background: var(--gold-subtle);
}

.wiz-cadence-card.active .wiz-cadence-title {
  color: var(--gold-dark);
}

.wiz-cadence-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.wiz-cadence-card.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--bg-gray);
}

.wiz-cadence-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--text-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   WIZARD: PAYMENT METHOD SELECTOR
   ========================================================================== */
.wiz-pay-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 20px;
}

.wiz-pay-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.wiz-pay-card:hover {
  border-color: var(--primary);
}

.wiz-pay-card.active {
  border-color: var(--primary);
  background: var(--gold-subtle);
  box-shadow: 0 0 0 1px var(--primary);
}

.wiz-pay-radio {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
}

.wiz-pay-card.active .wiz-pay-radio {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.wiz-pay-body {
  flex: 1;
}

.wiz-pay-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.wiz-pay-sub {
  font-size: 12.5px;
  color: var(--text-gray);
  margin-top: 2px;
}

.wiz-pay-more {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wiz-pay-more[hidden] {
  display: none !important;
}

.wiz-pay-more-btn {
  align-self: flex-start;
  margin: -6px 0 0;
  padding: 4px 0;
  border: none;
  background: none;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wiz-pay-more-btn:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   WIZARD: FEE PREFERENCE (Card only — preview/preference, finalized on Step 3)
   ========================================================================== */
.wiz-fee-pref-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.wiz-fee-pref-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.wiz-fee-pref-card:hover {
  border-color: var(--gold);
}

.wiz-fee-pref-card[data-fee-pref="cover"] {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.wiz-fee-pref-card.active {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 1px var(--gold-dark);
}

.wiz-fee-pref-check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
}

.wiz-fee-pref-card.active .wiz-fee-pref-check {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: #fff;
}

.wiz-fee-pref-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wiz-fee-pref-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(194, 147, 54, 0.14);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.wiz-fee-pref-rows {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.wiz-fee-pref-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-gray);
}

.wiz-fee-pref-row strong {
  color: var(--text-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Fee preference switch (replaces the two competing cards — one control, one
   unambiguous state, no risk of looking "almost selected" when it isn't). */
.wiz-fee-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.wiz-fee-switch-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wiz-fee-switch-sub {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

.wiz-switch {
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: var(--border-color);
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.wiz-switch[aria-checked="true"] {
  background: var(--gold);
}

.wiz-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.wiz-switch[aria-checked="true"] .wiz-switch-knob {
  transform: translateX(18px);
}

.wiz-fee-switch-amounts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.wiz-fee-switch-amounts .wiz-fee-pref-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* Cover-the-fee stays quiet. It is an optional extra, not the donation itself. */
.wiz-fee-cover {
  margin: 2px 0 16px;
  padding: 0;
  background: transparent;
  border: none;
}

.wiz-fee-cover .wiz-fee-switch-row {
  background: transparent;
  border: none;
  padding: 0 0 6px;
  margin: 0;
}

.wiz-fee-cover .wiz-fee-switch-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
}

.wiz-fee-cover .wiz-fee-pref-row {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
}

.wiz-fee-cover .wiz-fee-pref-row strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.wiz-fee-cover .wiz-fee-switch-amounts {
  background: transparent;
  border: none;
  gap: 2px;
  padding: 0;
}

/* ==========================================================================
   WIZARD: CUSTOM PORTION SLIDER
   ========================================================================== */
.wiz-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 2px;
  border: none;
  background: transparent;
}

.wiz-custom-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.wiz-custom-field-head label {
  margin-bottom: 0;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 600;
}

.wiz-custom-field-value {
  flex: 0 0 auto;
  padding: 0;
  background: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wiz-slider-track-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 28px;
}

.wiz-slider {
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: #e6e4ea no-repeat center;
  background-size: 100% 3px;
  outline: none;
  cursor: pointer;
}

.wiz-slider::-webkit-slider-runnable-track {
  height: 3px;
  border: none;
  border-radius: 999px;
  background: transparent;
}

.wiz-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7.5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: grab;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wiz-slider:hover::-webkit-slider-thumb,
.wiz-slider:active::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.22);
}

.wiz-slider:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.wiz-slider::-moz-range-track {
  height: 3px;
  border: none;
  border-radius: 999px;
  background: #e6e4ea;
}

.wiz-slider::-moz-range-progress {
  height: 3px;
  border: none;
  border-radius: 999px;
  background: #1c1c1c;
}

.wiz-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: grab;
}

.wiz-slider-number {
  flex: 0 0 64px;
  width: 64px !important;
  height: 36px;
  padding: 0 !important;
  border: 1px solid #e2e0e6;
  border-radius: 0;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--text-dark);
}

.wiz-slider-number:focus {
  outline: none;
  border-color: #1c1c1c;
  box-shadow: none;
}

.wiz-custom-amount-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.wiz-custom-amount-head strong,
.wiz-custom-amount-head span {
  display: block;
}

.wiz-custom-amount-head strong {
  color: var(--text-dark);
  font-size: 13px;
}

.wiz-custom-amount-head div > span {
  margin-top: 2px;
  color: var(--text-light, #8a849b);
  font-size: 11px;
}

.wiz-custom-amount-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
}

.wiz-custom-fields-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.wiz-custom-control {
  display: block;
  margin: 0;
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 700;
}

.wiz-custom-control > span {
  display: block;
  margin-bottom: 6px;
}

.wiz-custom-control > input,
.wiz-custom-control .wiz-currency-input input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wiz-custom-control > input {
  padding: 10px 12px;
  text-align: center;
}

.wiz-custom-control > input:focus,
.wiz-custom-control .wiz-currency-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.wiz-currency-input {
  position: relative;
}

.wiz-currency-input > span {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  pointer-events: none;
}

.wiz-currency-input input {
  padding-left: 52px;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wiz-currency-input input::-webkit-outer-spin-button,
.wiz-currency-input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.wiz-currency-input input {
  -moz-appearance: textfield;
}

/* ==========================================================================
   WIZARD: FORM FIELDS
   ========================================================================== */
.wiz-field {
  margin-bottom: 16px;
}

.wiz-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.wiz-field input,
.wiz-field select,
.wiz-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition);
}

.wiz-field input:focus,
.wiz-field select:focus,
.wiz-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

/* Keep the currency prefix clear of the editable amount. This comes after the
   generic field rule so its spacing cannot be collapsed by the form defaults. */
.wiz-field .wiz-currency-input input {
  height: 48px;
  padding: 12px 42px 12px 58px;
  text-align: right;
  letter-spacing: .02em;
}

.wiz-field input.invalid {
  border-color: var(--error);
}

.wiz-field-error {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--error);
  margin-top: 5px;
}

.wiz-field-error.show {
  display: block;
}

.wiz-dedication-more {
  margin-top: 8px;
}

.wiz-dedication-more[hidden] {
  display: none !important;
}

.wiz-dedication-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.wiz-dedication-chip {
  padding: 9px 6px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  text-align: center;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-gray);
  transition: var(--transition);
}

.wiz-dedication-chip.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* "Remind me every month by SMS" — the whole card is the tap target for the tick box. */
.wiz-remind {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin: 4px 0 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition);
}

.wiz-remind:hover {
  border-color: var(--gold-light);
}

.wiz-remind:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.wiz-remind input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.wiz-remind-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wiz-remind-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.wiz-remind-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-gray);
}

/* ==========================================================================
   TWO-COLUMN PAGE LAYOUT (intro/marketing left, form right)
   ========================================================================== */
.wiz-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 44px 0 64px;
}

/* min-width: 0 lets the single phone column shrink to the screen instead of
   growing to the widest unbreakable row inside the form. */
.wiz-intro-col,
.wiz-form-col {
  min-width: 0;
}

.wiz-page-grid .wiz-steps {
  margin-bottom: 20px;
}

@media (max-width: 860px) {
  .wiz-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }

  /* Stacked under the campaign progress bar it reads as a second progress bar;
     the card's "Step 1 of 3" eyebrow already says where the donor is. */
  .wiz-page-grid .wiz-steps {
    display: none;
  }
}

.cc-lead,
.cc-display,
.wiz-intro-title,
.sc-h2 {
  text-wrap: balance;
}

/* ==========================================================================
   INTRO / MARKETING COLUMN
   ========================================================================== */
.wiz-intro-partner {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.wiz-intro-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 62px);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  color: var(--gold);
  line-height: 0.95;
  margin: 0 0 14px;
}

.cc-hook {
  margin-bottom: 16px;
}

.cc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cc-hero-banner {
  margin: 0 0 14px;
  overflow: hidden;
  background: #2B1F5A;
  box-shadow: var(--shadow-card);
}

.cc-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.wiz-intro-lead {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.4;
  max-width: 470px;
  margin: 0 0 10px;
  padding: 7px 12px;
  background: var(--gold-subtle);
  border: 1px solid #E4DDF3;
}

.wiz-intro-copy {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.55;
  max-width: 470px;
  margin: 0;
}

.wiz-support-matters {
  margin: 0 0 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
}

.wiz-support-matters[open] {
  border-color: var(--gold-light);
}

.wiz-support-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.wiz-support-toggle::-webkit-details-marker {
  display: none;
}

.wiz-support-toggle::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.wiz-support-matters[open] .wiz-support-toggle::after {
  content: "−";
}

.wiz-support-body {
  padding: 0 16px 14px;
  border-top: 1px solid var(--border-light);
}

.wiz-support-body h3 {
  margin: 12px 0 8px;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
}

.wiz-support-body p {
  margin: 6px 0 0;
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.5;
}

.wiz-closing-message {
  display: grid;
  gap: 4px;
  margin: 18px 0 22px;
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.45;
}

.wiz-closing-message strong {
  color: var(--text-dark);
  font-size: 15px;
}

.wiz-closing-message b {
  color: var(--gold-dark);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.wiz-proof-card {
  margin: 0 0 4px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
}

.wiz-trust-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 14px;
  margin: 0;
}

.wiz-trust-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wiz-trust-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.wiz-trust-highlight-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.wiz-trust-highlight-sub {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
  line-height: 1.5;
}

.wiz-progress-section {
  margin: 0;
  padding: 14px 16px 14px;
  border-top: 1px solid var(--border-light);
}

.wiz-progress-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 10px;
}

.wiz-progress-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.wiz-intro-progress-bar {
  height: 6px;
  max-width: none;
  border-radius: var(--radius-pill);
  background: var(--border-color, #E5E1EC);
  overflow: visible;
  position: relative;
  margin: 0;
}

.wiz-intro-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold, #5B4A9E), #7D69C8);
  border-radius: var(--radius-pill);
  position: relative;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiz-progress-blip {
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary, #5B4A9E);
  box-shadow: 0 0 0 3px rgba(91, 74, 158, 0.25);
  animation: wizBlipPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes wizBlipPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(91, 74, 158, 0.3), 0 0 6px rgba(91, 74, 158, 0.2);
    transform: translateY(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(91, 74, 158, 0), 0 0 10px rgba(91, 74, 158, 0.35);
    transform: translateY(-50%) scale(1.15);
  }
}

.wiz-intro-progress-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

.wiz-intro-progress-label strong {
  color: var(--text-dark);
  font-weight: 700;
}

.wiz-progress-hint {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.wiz-progress-hint summary {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold-light);
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.wiz-progress-hint summary::-webkit-details-marker {
  display: none;
}

.wiz-progress-hint p {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: none;
  color: var(--text-gray);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}

/* ==========================================================================
   CAMPAIGN STORY — the flyer's type system: italic serif lead-in, Neulis display
   line, at most one Neulis Cursive word. Hands and ribbon are the flyer's artwork.
   ========================================================================== */
.cc-lead {
  display: block;
  font-family: var(--font-lead);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.15;
  color: var(--gold);
  margin: 0 0 8px;
}

.cc-lead-sm {
  font-size: 24px;
  margin-bottom: 4px;
}

.cc-nowrap {
  white-space: nowrap;
}

.cc-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: 0;
  color: var(--script-ink);
}

.cc-display {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  color: var(--gold);
}

.cc-journey {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: 36px 32px 38px;
  min-height: 430px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.cc-journey figcaption {
  position: relative;
  z-index: 2;
  max-width: 66%;
}

.cc-journey-hands,
.cc-journey-ribbon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Mirrored and tilted like the share card: light arm in from the top, dark arm out right. */
.cc-journey-hands {
  width: 86%;
  top: -34%;
  right: -38%;
  transform: rotate(-15deg) scaleX(-1);
}

.cc-journey-ribbon {
  width: 44%;
  right: -12%;
  bottom: -20%;
  transform: rotate(-14deg);
  filter: drop-shadow(0 18px 22px rgba(48, 30, 100, 0.28));
}

.cc-journey-list {
  list-style: none;
  margin: 18px 0 20px;
  padding: 0;
  text-wrap: pretty;
  font-family: var(--font-lead);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-gray);
}

.cc-journey-foot {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: var(--tracking-tight);
  color: var(--gold);
}

/* Tablets: the banner spans the full width, so pin the artwork to the sizes it has
   in the desktop column instead of letting the percentages blow it up. */
@media (min-width: 561px) and (max-width: 860px) {
  .cc-journey-hands {
    width: 430px;
    top: -150px;
    right: -180px;
  }

  .cc-journey-ribbon {
    width: 216px;
    right: -60px;
    bottom: -86px;
  }
}

/* Phones: a shorter banner so the form is less of a scroll away — a smaller strip
   of hands on top, and the list runs on as one paragraph instead of five lines. */
@media (max-width: 560px) {
  .cc-journey {
    min-height: 0;
    margin-bottom: 22px;
    padding: 100px 20px 22px;
  }

  .cc-journey figcaption {
    max-width: 100%;
  }

  .cc-journey-hands {
    width: 270px;
    top: -76px;
    right: -92px;
  }

  .cc-journey-ribbon {
    width: 92px;
    top: -18px;
    bottom: auto;
    left: -24px;
    right: auto;
    transform: rotate(18deg);
  }

  .cc-journey .cc-lead-sm {
    font-size: 21px;
  }

  .cc-journey .cc-display {
    font-size: 28px;
  }

  .cc-journey-list {
    font-size: 18px;
    line-height: 1.4;
    margin: 10px 0 12px;
  }

  .cc-journey-list li {
    display: inline;
  }

  .cc-journey-foot {
    font-size: 16px;
  }
}

/* ==========================================================================
   WIZARD: NAVIGATION (Back / Continue)
   ========================================================================== */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.wiz-back-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 4px;
}

.wiz-back-link:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   WIZARD: STEP 3 — PAYMENT METHOD TABS & PANES
   ========================================================================== */
.wiz-method-tabs {
  display: flex;
  background: var(--bg-light, #f4efe6);
  border: 1px solid var(--border-color, #e4e4e4);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin: 14px 0 18px;
}

.wiz-method-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-gray, #666);
  font-family: var(--font-sans, inherit);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.wiz-method-tab:hover {
  color: var(--text-dark, #111);
}

.wiz-method-tab.active {
  background: var(--bg-white, #fff);
  color: var(--primary, #114232);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wiz-method-pane {
  display: block;
}

.wiz-method-pane[hidden] {
  display: none !important;
}

/* ==========================================================================
   WIZARD: STEP 3 — REFERENCE BOX, QR PANEL, BANK/PAY DETAILS
   ========================================================================== */
.wiz-ref-box {
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin: 18px 0;
}

.wiz-ref-box-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.wiz-ref-box-code {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.wiz-ref-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
}

.wiz-ref-copy-btn:hover {
  background: var(--gold-dark);
}

.wiz-qr-panel {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
}

.wiz-qr-panel img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 12px;
  display: block;
}

.wiz-qr-panel-note {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.5;
}

.wiz-pay-amount-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--gold);
  margin: 10px 0 4px;
}

.wiz-pay-amount-sub {
  font-size: 13.5px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.wiz-detail-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 10px;
}

/* ==========================================================================
   WIZARD: TRUST STRIP
   ========================================================================== */
.wiz-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 16px 0;
  font-size: 12.5px;
  color: var(--text-gray);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 24px 0;
}

.wiz-trust-strip strong {
  color: var(--text-dark);
}

@media (max-width: 480px) {
  .wiz-portion-grid { grid-template-columns: repeat(3, 1fr); }
  .wiz-cadence-group { grid-template-columns: 1fr; }
  .wiz-support-matters { margin-bottom: 12px; }
  .wiz-support-toggle { padding: 11px 12px; font-size: 12px; }
  .wiz-support-body { padding: 0 12px 12px; }
  .wiz-support-body h3 { font-size: 18px; }
  .wiz-support-body p { font-size: 12.5px; line-height: 1.45; }
  .wiz-intro-lead { font-size: 13px; margin-bottom: 8px; padding: 6px 10px; }
  .wiz-intro-copy { font-size: 13px; line-height: 1.45; }
  .wiz-progress-heading { font-size: 12.5px; }
}

/* ==========================================================================
   ALERT BOX (validation errors, info/success banners)
   ========================================================================== */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.alert-box.error {
  background: #fdf1f0;
  border: 1px solid #f3c7c2;
  color: var(--error);
}

.alert-box.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.alert-box.success {
  background: var(--accent-subtle);
  border: 1px solid #b7e4cb;
  color: var(--accent);
}

/* Payment confirmation: compact, native-feeling OTP drawer. */
.wiz-otp-drawer {
  position: relative;
  margin-top: 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #d9d2f2;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfaff 0%, #f4f1ff 100%);
  box-shadow: 0 12px 30px rgba(72, 53, 145, .10);
}

.wiz-otp-drawer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: '';
  background: linear-gradient(90deg, #5945a5, #8d76dc);
}

.wiz-otp-drawer-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wiz-otp-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  color: #5945a5;
  background: #e8e2ff;
}

.wiz-otp-kicker {
  color: #7865bb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.wiz-otp-drawer h2 {
  margin: 2px 0 0;
  color: #272044;
  font-size: 17px;
  line-height: 1.2;
}

.wiz-otp-secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #26745d;
  background: #e5f7f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.wiz-otp-secure span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20a276;
}

.wiz-otp-copy {
  max-width: 430px;
  margin: 14px 0 17px;
  color: #6e6885;
  font-size: 13px;
  line-height: 1.55;
}

.wiz-otp-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wiz-otp-inputs {
  display: flex;
  gap: 7px;
}

.wiz-otp-digit {
  width: 42px !important;
  height: 48px;
  padding: 0 !important;
  border: 1px solid #d4cdec !important;
  border-radius: 10px !important;
  color: #2c2355;
  background: #fff !important;
  font-size: 20px !important;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 2px 5px rgba(50, 37, 105, .04);
}

.wiz-otp-digit:focus {
  border-color: #6954ba !important;
  outline: 3px solid rgba(105, 84, 186, .16);
}

.wiz-otp-submit {
  min-height: 48px;
  margin-left: auto;
  padding: 0 17px;
  border-radius: 10px;
  background: #5945a5;
  font-size: 11px;
  letter-spacing: .08em;
}

.wiz-otp-submit:hover {
  background: #49358f;
}

.wiz-otp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e1dbf4;
  color: #827b9a;
  font-size: 11px;
}

.wiz-otp-resend-form {
  margin: 0;
}

.wiz-otp-resend {
  padding: 0;
  border: 0;
  color: #5945a5;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wiz-otp-resend:hover {
  text-decoration: underline;
}

.wiz-otp-error {
  margin: 11px 0 0;
  color: #a33a45;
  font-size: 12px;
}

.wiz-field-help {
  display: block;
  margin-top: 5px;
  color: var(--text-light, #8a849b);
  font-size: 11px;
  line-height: 1.4;
}

.wiz-mobile-help {
  max-width: 560px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.005em;
}

.wiz-label-note {
  margin-left: 4px;
  color: var(--text-light);
  font-size: .86em;
  font-weight: 400;
}

.wiz-mobile-control {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: stretch;
}

.wiz-mobile-control select,
.wiz-mobile-control input {
  min-width: 0;
  border-radius: 0;
}

.wiz-mobile-country {
  position: relative;
  min-width: 0;
}

.wiz-mobile-country > select {
  width: 100%;
  border: 1px solid var(--border, #ded9e8);
  border-right: 0;
  background: #faf9fd;
  color: var(--text-dark);
  padding: 0 10px;
  font: inherit;
}

.wiz-mobile-country-trigger {
  width: 100%;
  height: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border, #ded9e8);
  border-right: 1px solid var(--border, #ded9e8);
  background: #faf9fd;
  color: var(--text-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.wiz-mobile-country-trigger-flag { font-size: 19px; line-height: 1; }
.wiz-mobile-country-trigger-name { display: none; }
.wiz-mobile-country-trigger-code { color: var(--text-gray); font-size: 13px; }
.wiz-mobile-country-chevron {
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 4px;
  border-right: 1.5px solid var(--text-gray);
  border-bottom: 1.5px solid var(--text-gray);
  transform: rotate(45deg);
}

.wiz-mobile-country-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  left: 0;
  width: min(330px, 76vw);
  padding: 8px;
  border: 1px solid #d9d2e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(37, 29, 70, .18);
}

.wiz-mobile-country-search {
  width: 100%;
  min-height: 38px;
  border: 1px solid #e3deed;
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  color: var(--text-dark);
}

.wiz-mobile-country-options { max-height: 250px; overflow-y: auto; margin-top: 6px; }
.wiz-mobile-country-option {
  width: 100%;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 9px 8px;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wiz-mobile-country-option:hover,
.wiz-mobile-country-option[aria-selected="true"] { background: #f1eef9; color: var(--primary); }
.wiz-mobile-country-option-flag { font-size: 18px; }
.wiz-mobile-country-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.wiz-mobile-country-option-code { color: var(--text-gray); font-size: 12px; }

@media (min-width: 521px) {
  .wiz-mobile-country > select[hidden] { display: none; }
}

.wiz-mobile-control input {
  border-left: 0;
  border-right: 1px solid var(--border, #ded9e8);
  padding-right: 16px;
}

@media (max-width: 520px) {
  .wiz-mobile-control { grid-template-columns: 1fr; gap: 8px; }
  .wiz-mobile-control select,
  .wiz-mobile-country-trigger,
  .wiz-mobile-control input { border: 1px solid var(--border, #ded9e8); border-radius: 8px; }
  .wiz-mobile-country-trigger { min-height: 48px; }
  .wiz-mobile-country-menu { width: 100%; }
}

@media (max-width: 560px) {
  .wiz-otp-drawer { padding: 17px 14px; border-radius: 15px; }
  .wiz-otp-form { display: block; }
  .wiz-otp-inputs { justify-content: space-between; gap: 4px; }
  .wiz-otp-digit { width: calc((100vw - 92px) / 6) !important; max-width: 42px; }
  .wiz-otp-submit { width: 100%; margin-top: 13px; }
  .wiz-otp-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sc-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0 118px;
  border-top: 1px solid var(--border-color);
}

.sc-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-footer-brand-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.sc-footer-brand-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.sc-footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .sc-editorial-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sc-campaign-content {
    grid-template-columns: 1fr;
  }

  .sc-footer-top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .sc-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   STATUS PILLS
   ========================================================================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-pill.awaiting {
  background: #fff4e5;
  color: #b4690e;
}

.status-pill.reported {
  background: #eff6ff;
  color: #1e40af;
}

.status-pill.verified {
  background: var(--accent-subtle);
  color: var(--accent);
}

.status-pill.cancelled {
  background: #fdf1f0;
  color: var(--error);
}

/* ==========================================================================
   STEP 3: NUMBERED INSTRUCTIONS LIST
   ========================================================================== */
.wiz-steps-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wiz-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.wiz-steps-list-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   STEP 3: DETAIL TABLE WITH PER-FIELD COPY BUTTONS
   ========================================================================== */
.wiz-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.wiz-detail-table tr {
  border-bottom: 1px solid var(--border-light);
}

.wiz-detail-table tr:last-child {
  border-bottom: none;
}

.wiz-detail-table td {
  padding: 10px 0;
  font-size: 13.5px;
  vertical-align: middle;
}

.wiz-detail-table td:first-child {
  color: var(--text-gray);
  width: 40%;
}

.wiz-detail-table td:last-child {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

.wiz-detail-copy-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.wiz-copy-chip {
  background: var(--bg-gray);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  font-family: var(--font-sans);
}

.wiz-copy-chip:hover {
  background: var(--border-color);
}

.wiz-copy-chip.copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==========================================================================
   STEP 3: PAYHERE FEE-CHOICE CARDS (legacy sc-fee-choice-* naming, new theme)
   ========================================================================== */
.sc-payhere-divider,
.wiz-payhere-divider {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 20px 0;
}

.sc-fee-choice-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.sc-fee-choice-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sc-fee-choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.sc-fee-choice-card:hover {
  border-color: var(--gold);
}

.sc-fee-choice-card[data-fee-choice="cover"] {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.sc-fee-choice-card.active {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 1.5px var(--gold-dark);
}

.sc-fee-choice-recommended {
  position: absolute;
  top: -9px;
  left: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold-dark);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.sc-fee-choice-check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  background: #fff;
}

.sc-fee-choice-card.active .sc-fee-choice-check {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: #fff;
}

.sc-fee-choice-body {
  flex: 1;
  min-width: 0;
}

.sc-fee-choice-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sc-fee-choice-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.sc-fee-choice-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--text-gray);
}

.sc-fee-choice-row strong {
  color: var(--text-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sc-fee-choice-row.highlight {
  padding-top: 5px;
  border-top: 1px dashed var(--border-color);
}

.sc-fee-choice-row.highlight strong {
  color: var(--accent);
}

.sc-fee-choice-row.highlight em {
  font-style: normal;
  font-weight: 800;
  font-size: 10.5px;
  color: var(--gold-dark);
}

/* ==========================================================================
   FOOTER PORTAL BUTTON
   ========================================================================== */
.sc-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: transparent;
}

.sc-portal-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   SHARE CARD — format tabs, action chips, colour swatches
   ========================================================================== */
.wiz-tab {
  padding: 7px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  font-family: var(--font-sans);
}

.wiz-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.wiz-chip-btn {
  padding: 10px 6px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: center;
}

.wiz-chip-btn:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.wiz-swatch {
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  padding: 0;
}

.wiz-swatch.active {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* ==========================================================================
   THANK YOU — share-first confirmation (short thank-you beside the card,
   receipt details collapsed underneath)
   ========================================================================== */
.ty-main {
  max-width: 920px;
  padding: 32px 0 70px;
}

.ty-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "head" "preview" "actions";
  gap: 26px;
  padding: 28px 22px;
}

.ty-head {
  grid-area: head;
  text-align: center;
}

.ty-preview {
  grid-area: preview;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ty-preview canvas {
  width: 100%;
  max-width: 250px;
  height: auto;
  box-shadow: 0 18px 40px rgba(45, 33, 100, 0.18), 0 2px 6px rgba(45, 33, 100, 0.08);
}

.ty-format-tabs {
  display: flex;
  gap: 6px;
}

.ty-actions {
  grid-area: actions;
}

.ty-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

.ty-ref {
  font-size: 12.5px;
  color: var(--text-gray);
}

.ty-ref strong {
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.ty-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--gold);
  margin: 14px 0 8px;
}

.ty-lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.ty-dedication {
  font-size: 13.5px;
  font-style: italic;
  color: var(--gold);
  margin: 0 0 6px;
}

.ty-note {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.ty-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ty-share-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-gray);
  margin: 0 0 16px;
}

.ty-share-main {
  padding: 16px 24px;
  font-size: 15px;
  margin-bottom: 10px;
}

.ty-share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ty-customise {
  margin-top: 18px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.ty-customise summary {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.ty-customise[open] summary {
  margin-bottom: 14px;
}

.ty-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}

.ty-hint {
  font-size: 11.5px;
  color: var(--text-light);
  margin: 8px 0 0;
}

.ty-details {
  margin-top: 16px;
  padding: 0;
}

.ty-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}

.ty-details summary::-webkit-details-marker {
  display: none;
}

.ty-details summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-gray);
  border-bottom: 2px solid var(--text-gray);
  transform: rotate(45deg);
  margin: -4px 4px 0 0;
  transition: var(--transition);
}

.ty-details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.ty-details-sum {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-gray);
}

.ty-details-body {
  padding: 0 22px 22px;
}

.ty-details-body .alert-box {
  margin-bottom: 18px;
}

.ty-mono {
  font-family: var(--font-mono);
  font-size: 12px !important;
  word-break: break-all;
}

.ty-more {
  text-align: center;
  margin: 22px 0 0;
  font-size: 14px;
}

.ty-more a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.ty-more a:hover {
  text-decoration: underline;
}

.ty-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
}

.ty-sticky .btn {
  padding: 14px 18px;
}

.ty-sticky .wiz-chip-btn {
  padding: 0 16px;
}

.ty-sticky.is-hidden {
  transform: translateY(110%);
}

@media (min-width: 760px) {
  .ty-hero {
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "preview head" "preview actions";
    column-gap: 48px;
    row-gap: 0;
    padding: 40px;
    align-items: start;
  }

  .ty-head {
    text-align: left;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
  }

  .ty-status {
    justify-content: flex-start;
  }

  .ty-title {
    font-size: 32px;
  }

  .ty-preview canvas {
    max-width: 300px;
  }

  .ty-share-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ty-sticky {
    display: none;
  }
}

/* ==========================================================================
   SHARE LINK LANDING (s.php) — the donor's card, then the ask
   ========================================================================== */
.sh-main {
  max-width: 760px;
  padding: 36px 0 64px;
}

.sh-card {
  padding: 0;
  overflow: hidden;
}

.sh-image {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-color);
}

.sh-body {
  padding: 32px 36px 36px;
}

.sh-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--gold);
  margin: 0 0 16px;
  text-wrap: balance;
}

.sh-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 0 24px;
}

.sh-cta {
  padding: 16px 32px;
  font-size: 15px;
}

@media (max-width: 560px) {
  .sh-body {
    padding: 24px 20px 26px;
  }

  .sh-cta {
    width: 100%;
  }
}

/* ==========================================================================
   CAMPAIGN REAL ACTIVITY SOCIAL PROOF
   ========================================================================== */
.wiz-real-proof {
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(91,74,158,.20);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,244,250,.96));
  box-shadow: 0 8px 22px rgba(91,74,158,.06);
}
.wiz-real-proof__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #78808d; font-size: 10px; line-height: 1.3; letter-spacing: .03em; }
.wiz-real-proof__live { color: var(--primary, #5b4a9e); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.wiz-real-proof__live i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #2ca36f; box-shadow: 0 0 0 3px rgba(44,163,111,.12); }
.wiz-real-proof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 14px; }
.wiz-real-proof__stats div { min-width: 0; padding: 0 12px; border-right: 1px solid rgba(91,74,158,.14); }
.wiz-real-proof__stats div:first-child { padding-left: 0; }
.wiz-real-proof__stats div:last-child { padding-right: 0; border-right: 0; }
.wiz-real-proof__stats div:last-child { border-right: 0; }
.wiz-real-proof__stats strong, .wiz-real-proof__stats span { display: block; }
.wiz-real-proof__stats strong { color: #202b3b; font-size: 20px; line-height: 1.1; }
.wiz-real-proof__stats span { margin-top: 5px; color: #78808d; font-size: 10px; line-height: 1.25; }
.wiz-real-proof p { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; padding-top: 11px; border-top: 1px solid rgba(91,74,158,.14); color: #625c77; font-size: 11px; line-height: 1.35; }
.wiz-real-proof__icon { display: inline-grid !important; flex: 0 0 20px; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(91,74,158,.10); color: var(--primary, #5b4a9e); font-size: 11px; font-weight: 800; }
.wiz-social-proof {
  display: flex;
  align-items: center;
  gap: 11px;
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: clamp(28px, 5vh, 58px);
  left: auto;
  width: min(430px, calc(100vw - 44px));
  min-height: 94px;
  box-sizing: border-box;
  padding: 19px 18px;
  border: 1px solid rgba(91,74,158,.20);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 36px rgba(47,39,79,.14), 0 2px 8px rgba(47,39,79,.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease, left .35s ease, right .35s ease;
}
.wiz-social-proof.is-right { right: 22px; left: auto; }
.wiz-social-proof.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.wiz-social-proof__avatar { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(91,74,158,.10); color: var(--primary, #5b4a9e); font-size: 16px; }
.wiz-social-proof__copy { min-width: 0; flex: 1; }
.wiz-social-proof__label, .wiz-social-proof__copy strong, .wiz-social-proof__copy small { display: block; }
.wiz-social-proof__label { color: var(--primary, #5b4a9e); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.wiz-social-proof__copy strong { overflow: hidden; margin-top: 4px; color: #302b45; font-size: 14px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.wiz-social-proof__copy small { margin-top: 2px; color: #7d778e; font-size: 9px; }
.wiz-social-proof__avatar { background: linear-gradient(145deg, rgba(91,74,158,.16), rgba(184,155,223,.22)); box-shadow: inset 0 0 0 1px rgba(91,74,158,.08); }
.wiz-social-proof__spark { color: #a98bd8; font-size: 18px; line-height: 1; }
/* ==========================================================================
   PREMIUM MONTHLY RENEWAL & BILLING DATE CONTROLS
   ========================================================================== */
.wiz-monthly-panel {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(180deg, #fdfcfa 0%, #faf8f5 100%);
  border-radius: var(--radius-md, 12px);
  border: 1.5px solid rgba(184, 144, 71, 0.25);
  box-shadow: 0 4px 18px rgba(91, 74, 158, 0.04);
}

.wiz-renewal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 14px;
}

.wiz-renewal-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.wiz-renewal-card:hover {
  border-color: var(--primary, #5B4A9E);
  background: #faf9fd;
}

.wiz-renewal-card.active {
  border-color: #5B4A9E;
  background: #fbf9fd;
  box-shadow: 0 4px 14px rgba(91, 74, 158, 0.08);
}

.wiz-renewal-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #ffffff;
}

.wiz-renewal-card.active .wiz-renewal-radio {
  border-color: #5B4A9E;
  background: #5B4A9E;
}

.wiz-renewal-card.active .wiz-renewal-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
}

.wiz-renewal-info {
  flex: 1;
  min-width: 0;
}

.wiz-renewal-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #2B2540);
  display: block;
  line-height: 1.35;
}

.wiz-renewal-sub {
  font-size: 12px;
  color: var(--text-gray, #625C77);
  display: block;
  margin-top: 2px;
}

.wiz-calendar-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #5B4A9E;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(91, 74, 158, 0.06);
  transition: all 0.2s ease;
}

.wiz-calendar-input-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(91, 74, 158, 0.15);
}

.wiz-calendar-icon-svg {
  color: #5B4A9E;
  flex-shrink: 0;
}

.wiz-calendar-input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #2B2540);
  outline: none;
  cursor: pointer;
  flex: 1;
  width: 100%;
}

.wiz-calendar-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(30%) sepia(35%) saturate(1500%) hue-rotate(225deg);
}

/* ==========================================================================
   Day-of-Month Calendar Grid (1–31 without Month/Year navigation)
   ========================================================================== */
.wiz-day-picker-box {
  background: #ffffff;
  border: 1.5px solid var(--border-color, #E5E1EC);
  border-radius: 14px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: 0 4px 20px rgba(91, 74, 158, 0.05);
}

.wiz-day-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.wiz-day-preset-btn {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--bg-light, #F8F7FA);
  border: 1px solid var(--border-color, #E5E1EC);
  border-radius: 6px;
  color: var(--text-dark, #2B2540);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wiz-day-preset-btn:hover {
  background: #ede9f7;
  border-color: #5B4A9E;
  color: #5B4A9E;
}

.wiz-day-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
}

.wiz-day-grid-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-gray, #625C77);
}

.wiz-day-grid-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: #5B4A9E;
  background: #f1eef8;
  padding: 3px 10px;
  border-radius: 20px;
}

.wiz-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.wiz-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color, #E5E1EC);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark, #2B2540);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  user-select: none;
}

.wiz-day-cell:hover {
  background: #f4effd;
  border-color: #7A6BB8;
  color: #2E2563;
  transform: translateY(-1px);
}

.wiz-day-cell.selected {
  background: #5B4A9E !important;
  border-color: #5B4A9E !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(91, 74, 158, 0.35);
  transform: scale(1.04);
}

.wiz-day-cell:focus-visible {
  outline: 2px solid #5B4A9E;
  outline-offset: 1px;
}

.wiz-day-picker-note {
  font-size: 11.5px;
  color: var(--text-gray, #625C77);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .wiz-real-proof__head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .wiz-real-proof { padding: 14px; }
  .wiz-real-proof__stats strong { font-size: 18px; }
  .wiz-real-proof__stats div { padding: 0 9px; }
  .sc-footer { padding-bottom: 132px; }
  .wiz-social-proof { right: 14px; bottom: 24px; left: 14px; width: auto; min-height: 88px; padding: 17px 15px; }
  .wiz-social-proof.is-right { right: 14px; left: 14px; }
}
/* ==========================================================================
   PUBLIC FAQ ACCORDION
   ========================================================================== */
.campaign-faq-section {
  max-width: 760px;
  margin: 40px auto 28px;
  padding: 0 16px;
}

.campaign-faq-head {
  text-align: center;
  margin-bottom: 22px;
}

.campaign-faq-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary, #5B4A9E);
  margin-bottom: 4px;
}

.campaign-faq-title {
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 800;
  color: var(--text-dark, #2B2540);
  margin: 0;
  line-height: 1.25;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1.2px solid var(--border-color, #E5E1EC);
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
  border-color: var(--primary, #5B4A9E);
  box-shadow: 0 6px 20px rgba(91, 74, 158, 0.08);
}

.faq-question {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark, #2B2540);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: color .18s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 17px;
  font-weight: 400;
  color: var(--primary, #5B4A9E);
  transition: transform .2s ease;
}

.faq-item[open] .faq-question {
  color: var(--primary, #5B4A9E);
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-gray, #625C77);
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: #F3F1F7;
  padding-top: 12px;
}

.faq-answer a {
  color: var(--primary, #5B4A9E);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .campaign-faq-section { margin-top: 36px; padding: 0 16px; }
  .faq-question { font-size: 14.5px; padding: 15px 16px; }
  .faq-answer { font-size: 13.5px; padding: 0 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Phones only: while Step 2 (your details) is open, it moves above the campaign banner.
   wizard.js adds .is-details-open to the grid during Step 2. A class is used instead of :has
   so older phone browsers get the same layout. Step 1 and the rest of the page keep their order. */
@media (max-width: 860px) {
  .wiz-page-grid.is-details-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .wiz-page-grid.is-details-open > .wiz-form-col,
  .wiz-page-grid.is-details-open > .wiz-form-col > form {
    display: contents;
  }
  .wiz-page-grid.is-details-open [data-wiz-step="2"] {
    order: -1;
  }
}

/* Payment page (Step 3), phones only: the payment card moves above the campaign banner,
   the same way Step 2 does on the donation page. The page loads at its top, so no scroll is needed. */
@media (max-width: 640px) {
  .wiz-page-grid--payment {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .wiz-page-grid--payment > .wiz-form-col {
    display: contents;
  }
  .wiz-page-grid--payment > .wiz-form-col > .wiz-back-link,
  .wiz-page-grid--payment > .wiz-form-col > div:first-child {
    order: -2;
  }
  .wiz-page-grid--payment > .wiz-form-col > .sc-card {
    order: -1;
  }
}
