/* Wellspring Donations: giving form
   Palette from the Wellspring site: deep navy, living-water teal, Torah-crown gold. */

.wsd,
.wsd-goal {
	--wsd-ink: #0e2238;
	--wsd-deep: #16405a;
	--wsd-spring: #2f8c9e;
	--wsd-spring-soft: #e3f0f3;
	--wsd-mist: #f2f6f8;
	--wsd-line: #d3dfe5;
	--wsd-gold: #b8913a;
	--wsd-gold-light: #e8d5a3;
	--wsd-water: #2b7f92;
	--wsd-text: #1d2b38;
	--wsd-muted: #586a77;
	--wsd-danger: #b3261e;
	--wsd-r: 12px;
}

.wsd {
	container: wsd / inline-size;
	color: var(--wsd-text);
	max-width: 1080px;
	margin: 0 auto;
	line-height: 1.55;
}
.wsd *, .wsd *::before, .wsd *::after { box-sizing: border-box; }
.wsd [hidden] { display: none !important; }

.wsd-head { max-width: 40rem; margin: 0 0 2rem; }
.wsd .wsd-title { margin: 0 0 .5rem; color: var(--wsd-ink); }
.wsd-intro { margin: 0; color: var(--wsd-muted); font-size: 1.125rem; }

.wsd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 2.5rem;
	align-items: start;
}

.wsd-form {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--wsd-line);
	border-radius: 20px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	margin: 0;
}

/* Progress: a real three-step sequence, so it's numbered. */
.wsd-progress {
	display: flex;
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	border-bottom: 1px solid var(--wsd-line);
}
.wsd-progress li { flex: 1; margin: 0; padding: 0; }
.wsd .wsd-progress button {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	margin: 0 0 -1px;
	padding: .75rem .25rem .85rem 0;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	font-size: .95rem;
	color: var(--wsd-muted);
	text-align: left;
	cursor: pointer;
}
.wsd .wsd-progress .is-current button { color: var(--wsd-ink); font-weight: 600; border-bottom-color: var(--wsd-ink); }
.wsd-progress__n {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.65rem;
	height: 1.65rem;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: .8rem;
	font-variant-numeric: lining-nums;
}
.wsd-progress .is-done .wsd-progress__n { background: var(--wsd-spring); border-color: var(--wsd-spring); color: #fff; }
.wsd.is-done .wsd-progress { display: none; }

.wsd .wsd-step__title,
.wsd .wsd-done__title {
	margin: 0 0 1.25rem;
	color: var(--wsd-ink);
	font-size: 1.4rem;
	line-height: 1.25;
}
.wsd .wsd-step__title:focus, .wsd .wsd-done__title:focus { outline: none; }

/* Fields */
.wsd-field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.wsd .wsd-label {
	display: block;
	margin: 0 0 .5rem;
	padding: 0;
	color: var(--wsd-ink);
	font-weight: 600;
	font-size: .95rem;
}
.wsd input[type="text"],
.wsd input[type="email"],
.wsd input[type="tel"],
.wsd select,
.wsd textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: .75rem .9rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: 10px;
	box-shadow: none;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wsd-text);
}
.wsd textarea { resize: vertical; min-height: 5.5rem; }
.wsd input:focus, .wsd select:focus, .wsd textarea:focus {
	outline: none;
	border-color: var(--wsd-spring);
	box-shadow: 0 0 0 3px var(--wsd-spring-soft);
}
.wsd [aria-invalid="true"] { border-color: var(--wsd-danger) !important; }
.wsd-hint { margin: .4rem 0 0; font-size: .875rem; color: var(--wsd-muted); }
.wsd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.wsd-grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1rem; }
.wsd-indent { margin-left: 1.85rem; }

/* Segmented control for frequency and dedication */
.wsd-seg {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .25rem;
	padding: .25rem;
	background: var(--wsd-mist);
	border-radius: 14px;
}
.wsd-seg__opt { position: relative; margin: 0; }
.wsd-seg__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wsd-seg__opt span { display: block; padding: .55rem 1.15rem; border-radius: 10px; text-align: center; color: var(--wsd-muted); transition: background .15s, color .15s; }
.wsd-seg__opt input:checked + span {
	background: #fff;
	color: var(--wsd-ink);
	font-weight: 600;
	box-shadow: 0 0 0 1px var(--wsd-line), 0 1px 2px rgba(14, 34, 56, .1);
}
.wsd-seg__opt input:focus-visible + span { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-seg--small .wsd-seg__opt span { padding: .4rem .9rem; font-size: .925rem; }

/* Amounts */
.wsd-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.wsd-amount { position: relative; margin: 0; }
.wsd-amount input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.wsd-amount span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.5rem;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	background: #fff;
	color: var(--wsd-ink);
	font-size: 1.3rem;
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	transition: border-color .15s, background .15s, color .15s;
}
.wsd-amount:hover span { border-color: var(--wsd-spring); }
.wsd-amount input:checked + span { background: var(--wsd-ink); border-color: var(--wsd-ink); color: #fff; }
.wsd-amount input:focus-visible + span { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }

.wsd-other {
	display: flex;
	align-items: center;
	margin: .6rem 0 0;
	padding: 0 1rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
}
.wsd-other.is-active { border-color: var(--wsd-ink); }
.wsd-other:focus-within { border-color: var(--wsd-spring); box-shadow: 0 0 0 3px var(--wsd-spring-soft); }
.wsd-other__cur { color: var(--wsd-muted); font-size: 1.15rem; }
.wsd .wsd-other input {
	flex: 1;
	min-width: 0;
	padding: .9rem .4rem;
	border: 0;
	box-shadow: none;
	background: transparent;
	font-size: 1.15rem;
}
.wsd .wsd-other input:focus { box-shadow: none; }

/* Checkboxes */
.wsd-check { display: flex; align-items: flex-start; gap: .7rem; margin: 0 0 1rem; cursor: pointer; }
.wsd .wsd-check input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--wsd-ink); }
.wsd-cover { margin: 1rem 0 1.5rem; padding: .85rem 1rem; background: var(--wsd-spring-soft); border-radius: var(--wsd-r); }

/* Disclosures */
.wsd-more { margin: 0 0 1.25rem; border-top: 1px solid var(--wsd-line); border-bottom: 1px solid var(--wsd-line); }
.wsd-more summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .9rem 0;
	color: var(--wsd-deep);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.wsd-more summary::-webkit-details-marker { display: none; }
.wsd-more summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.wsd-more[open] summary::after { transform: rotate(45deg); }
.wsd-more summary:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-more__body { padding: .25rem 0 1rem; }
.wsd-more__body > .wsd-seg { margin-bottom: 1rem; }

/* Buttons */
.wsd .wsd-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 3rem;
	margin: 0;
	padding: .9rem 1.6rem;
	background: var(--wsd-ink);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s;
}
.wsd .wsd-btn:hover { background: var(--wsd-deep); color: #fff; }
.wsd .wsd-btn:focus-visible { outline: 3px solid var(--wsd-spring); outline-offset: 3px; }
.wsd .wsd-btn--ghost { background: transparent; color: var(--wsd-ink); box-shadow: inset 0 0 0 1.5px var(--wsd-line); }
.wsd .wsd-btn--ghost:hover { background: var(--wsd-mist); color: var(--wsd-ink); }
.wsd .wsd-btn--pay { width: 100%; min-height: 3.5rem; margin-top: 1.25rem; font-size: 1.1rem; }
.wsd .wsd-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.wsd .wsd-btn[aria-busy="true"]::after {
	content: "";
	width: 1em;
	height: 1em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: wsd-spin .7s linear infinite;
}
@keyframes wsd-spin { to { transform: rotate(360deg); } }

.wsd-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.wsd-actions--end { justify-content: flex-end; }

.wsd-error {
	margin: 1rem 0 0;
	padding: .8rem 1rem;
	background: #fcefee;
	border-left: 3px solid var(--wsd-danger);
	border-radius: 0 8px 8px 0;
	color: #7d1a14;
}

/* Payment method tabs */
.wsd-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: .5rem; margin: 0 0 1.5rem; }
.wsd .wsd-tab {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	margin: 0;
	padding: .8rem .9rem;
	background: #fff;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	box-shadow: none;
	font: inherit;
	color: var(--wsd-text);
	text-align: left;
	cursor: pointer;
}
.wsd .wsd-tab:hover { border-color: var(--wsd-spring); background: #fff; color: var(--wsd-text); }
.wsd .wsd-tab[aria-selected="true"] { border-color: var(--wsd-ink); box-shadow: inset 0 0 0 1px var(--wsd-ink); }
.wsd .wsd-tab:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd-tab__title { color: var(--wsd-ink); font-weight: 600; }
.wsd-tab__sub { color: var(--wsd-muted); font-size: .8rem; line-height: 1.3; }

.wsd-panel__lead { margin: 0 0 1rem; }
.wsd-stripe { min-height: 120px; }
.wsd-paypal { min-height: 60px; }
.wsd-note { padding: 1.1rem 1.25rem; background: var(--wsd-mist); border-radius: var(--wsd-r); }
.wsd-note p { margin: 0 0 .75rem; }
.wsd-note p:last-child { margin: 0; }
.wsd-address { font-style: normal; padding-left: .9rem; border-left: 2px solid var(--wsd-gold); }
.wsd-fine { margin: .9rem 0 0; font-size: .85rem; color: var(--wsd-muted); }
.wsd-ts { margin-top: 1rem; }

.wsd-options { margin: 0; padding: 0; border: 0; display: grid; gap: .5rem; }
.wsd-option {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	margin: 0;
	padding: .85rem 1rem;
	border: 1.5px solid var(--wsd-line);
	border-radius: var(--wsd-r);
	cursor: pointer;
}
.wsd-option:has(input:checked) { border-color: var(--wsd-ink); box-shadow: inset 0 0 0 1px var(--wsd-ink); }
.wsd .wsd-option input { margin: .25rem 0 0; accent-color: var(--wsd-ink); }
.wsd-option > span { display: flex; flex-direction: column; gap: .1rem; }
.wsd-option strong { color: var(--wsd-ink); }
.wsd-option > span > span { color: var(--wsd-muted); font-size: .9rem; }

/* Thank you */
.wsd .wsd-done__title { font-size: clamp(1.6rem, 3vw, 2rem); }
.wsd-done__msg { font-size: 1.1rem; margin: 0 0 1.25rem; }
.wsd-done__ins {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	background: var(--wsd-mist);
	border-left: 3px solid var(--wsd-gold);
	border-radius: 0 var(--wsd-r) var(--wsd-r) 0;
}
.wsd-done__ins p { margin: 0 0 .6rem; }
.wsd-done__ins p:last-child { margin: 0; }
.wsd-done__ref { margin: 0; color: var(--wsd-muted); }
.wsd-done__ref strong { color: var(--wsd-ink); font-variant-numeric: tabular-nums; }

/* Summary: the well. Water rises as the gift grows. */
.wsd-summary {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem);
	display: flex;
	flex-direction: column;
	min-height: 440px;
	padding: 2rem 1.75rem 2.25rem;
	background: var(--wsd-ink);
	color: #e6eff4;
	border-radius: 20px;
	overflow: hidden;
	isolation: isolate;
}
.wsd-water {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	height: var(--level, 24%);
	background: linear-gradient(180deg, var(--wsd-water) 0%, var(--wsd-deep) 70%);
	transition: height 1s cubic-bezier(.2, .8, .2, 1);
}
.wsd-water::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -13px;
	height: 14px;
	background: var(--wsd-water);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
}
.wsd-ripple {
	position: absolute;
	left: 50%;
	top: 0;
	width: 40px;
	height: 12px;
	margin: -6px 0 0 -20px;
	border: 1.5px solid rgba(232, 213, 163, .9);
	border-radius: 50%;
	opacity: 0;
}
.wsd.is-done .wsd-ripple { animation: wsd-ripple 2.4s cubic-bezier(.2, .7, .3, 1) 1 forwards; }
.wsd.is-done .wsd-ripple:nth-child(2) { animation-delay: .35s; }
.wsd.is-done .wsd-ripple:nth-child(3) { animation-delay: .7s; }
@keyframes wsd-ripple {
	0% { transform: scale(.2); opacity: .9; }
	100% { transform: scale(7); opacity: 0; }
}

.wsd-summary__label { margin: 0; color: #a9c4d3; }
.wsd-summary__amount {
	margin: .2rem 0 1.5rem;
	color: #fff;
	font-size: clamp(2.75rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: lining-nums;
}
.wsd-summary__per { margin-left: .4rem; color: #a9c4d3; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; }
.wsd-summary__list { margin: 0; }
.wsd-summary__list > div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .6rem 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.wsd-summary__list dt { color: #a9c4d3; }
.wsd-summary__list dd { margin: 0; color: #fff; text-align: right; }
.wsd-summary__total dd { font-weight: 600; }

.wsd-verse { margin: auto 0 0; padding: 2.25rem 0 0; border: 0; quotes: none; background: none; }
.wsd-verse::before, .wsd-verse::after { content: none; }
.wsd-verse p { margin: 0 0 .3rem; color: #e6eff4; font-size: .95rem; font-style: italic; }
.wsd-verse p[lang="he"] { color: var(--wsd-gold-light); font-size: 1.3rem; font-style: normal; line-height: 1.5; }
.wsd-verse cite { color: #a9c4d3; font-size: .85rem; font-style: normal; }

/* Honeypot */
.wsd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Goal meter */
.wsd-goal { max-width: 640px; color: var(--wsd-text); }
.wsd-goal__label { margin: 0 0 .5rem; color: var(--wsd-ink); font-weight: 600; }
.wsd-goal__vessel { position: relative; height: 26px; background: var(--wsd-mist); border: 1px solid var(--wsd-line); border-radius: 999px; overflow: hidden; }
.wsd-goal__water {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--pct, 0%);
	background: linear-gradient(90deg, var(--wsd-deep), var(--wsd-spring));
	border-radius: inherit;
}
.wsd-goal__nums { display: flex; justify-content: space-between; margin: .5rem 0 0; color: var(--wsd-muted); }
.wsd-goal__nums strong { color: var(--wsd-ink); font-size: 1.15rem; }

/* Small screens */
@container wsd (max-width: 860px) {
	/* minmax(0, …): the column may be narrower than its widest content (the sticky bar), so the form never pushes the page sideways on a phone. */
	.wsd-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.wsd-summary { position: relative; top: 0; order: -1; min-height: 0; padding: 1.25rem 1.4rem 1.5rem; }
	.wsd-summary__amount { margin-bottom: .75rem; font-size: 2.4rem; }
	.wsd-verse { display: none; }
	.wsd-water { height: calc(var(--level, 24%) * .6); }
}
@container wsd (max-width: 520px) {
	.wsd-seg { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
	.wsd-seg--small { grid-template-columns: 1fr; }
	.wsd-grid2, .wsd-grid3 { grid-template-columns: 1fr; }
	.wsd .wsd-progress button { font-size: .85rem; gap: .4rem; }
	.wsd-progress li:not(.is-current) .wsd-progress__n + span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.wsd-amount span { font-size: 1.15rem; min-height: 3.25rem; }
	.wsd-indent { margin-left: 0; }
}

/* ---------- 1.1: engagement ---------- */

/* Social proof under the heading */
.wsd-proof { display: flex; align-items: center; gap: .75rem; margin: -1rem 0 1.75rem; color: var(--wsd-muted); }
.wsd-proof__faces { display: inline-flex; }
.wsd-proof__faces span {
	display: inline-grid; place-items: center;
	width: 2rem; height: 2rem; margin-left: -.5rem;
	border: 2px solid #fff; border-radius: 50%;
	background: var(--wsd-deep); color: #fff; font-size: .8rem; font-weight: 600;
}
.wsd-proof__faces span:first-child { margin-left: 0; background: var(--wsd-ink); }
.wsd-proof__faces span:nth-child(3) { background: var(--wsd-spring); }

/* Monthly partner hint */
.wsd-partner { display: flex; gap: .5rem; align-items: flex-start; margin: .75rem 0 0; color: var(--wsd-deep); font-size: .925rem; }
.wsd-partner svg { flex: none; width: 1rem; height: 1rem; margin-top: .2rem; fill: var(--wsd-gold); }

/* What a gift does */
.wsd-impact {
	display: flex; flex-direction: column; gap: .15rem;
	margin: 1rem 0 0; padding: .95rem 1.15rem;
	background: linear-gradient(90deg, rgba(184, 145, 58, .1), rgba(184, 145, 58, 0) 85%);
	border-left: 3px solid var(--wsd-gold);
	border-radius: 0 var(--wsd-r) var(--wsd-r) 0;
	color: var(--wsd-ink); font-size: 1.05rem; line-height: 1.45;
}
.wsd-impact__amt { color: #8a6a22; font-size: .85rem; font-weight: 600; font-variant-numeric: lining-nums; }
.wsd-impact.is-new [data-impact-text] { animation: wsd-rise .45s ease-out; }
@keyframes wsd-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Monthly invitation */
.wsd-upsell {
	width: min(30rem, calc(100vw - 2rem));
	padding: 2rem 2rem 1.75rem;
	border: 0; border-radius: 22px;
	background: #fff; color: var(--wsd-text);
	box-shadow: 0 24px 60px rgba(14, 34, 56, .35);
	text-align: center;
}
.wsd-upsell::backdrop { background: rgba(14, 34, 56, .55); backdrop-filter: blur(2px); }
.wsd-upsell[open] { animation: wsd-pop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes wsd-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wsd-upsell__well {
	position: relative; width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem;
	border-radius: 50%; background: var(--wsd-ink); overflow: hidden;
}
.wsd-upsell__well span { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, var(--wsd-water), var(--wsd-deep)); }
.wsd-upsell__well span::before {
	content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px;
	background: var(--wsd-water);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7' preserveAspectRatio='none'%3E%3Cpath d='M0 3.5C7 0 13 0 20 3.5S33 7 40 3.5V7H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 7px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 7' preserveAspectRatio='none'%3E%3Cpath d='M0 3.5C7 0 13 0 20 3.5S33 7 40 3.5V7H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 7px;
}
.wsd-upsell[open] .wsd-upsell__well span { animation: wsd-fill 1.2s cubic-bezier(.2, .8, .2, 1) .15s both; }
@keyframes wsd-fill { from { top: 100%; } to { top: 45%; } }
.wsd .wsd-upsell__title { margin: 0 0 .6rem; color: var(--wsd-ink); font-size: 1.5rem; line-height: 1.25; }
.wsd-upsell p { margin: 0 0 .75rem; color: var(--wsd-muted); }
.wsd .wsd-upsell__math { color: var(--wsd-ink); font-weight: 600; }
.wsd-upsell__actions { display: grid; gap: .6rem; margin-top: 1.25rem; }
.wsd .wsd-upsell__actions .wsd-btn { width: 100%; }

/* Thank you: share */
.wsd-share { margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--wsd-line); }
.wsd .wsd-share__title { margin: 0 0 .4rem; color: var(--wsd-ink); font-size: 1.25rem; }
.wsd-share__lead { margin: 0 0 1.25rem; color: var(--wsd-muted); }
.wsd-preview {
	display: grid; grid-template-columns: 120px minmax(0, 1fr);
	margin: 0 0 1rem; overflow: hidden;
	border: 1px solid var(--wsd-line); border-radius: var(--wsd-r); background: #fff;
}
.wsd-preview__img { min-height: 104px; background: var(--wsd-ink) center / cover no-repeat; }
.wsd-preview__img.is-empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e8d5a3' d='M12 2.5s-6.5 7.2-6.5 12A6.5 6.5 0 0 0 12 21a6.5 6.5 0 0 0 6.5-6.5c0-4.8-6.5-12-6.5-12z'/%3E%3C/svg%3E");
	background-size: 36px; background-position: center;
}
.wsd-preview__body { display: flex; flex-direction: column; gap: .2rem; padding: .8rem 1rem; background: var(--wsd-mist); min-width: 0; }
.wsd-preview__domain { color: var(--wsd-muted); font-size: .8rem; }
.wsd-preview__title { color: var(--wsd-ink); line-height: 1.3; }
.wsd-preview__desc { color: var(--wsd-muted); font-size: .85rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wsd-share__opts { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0 0 1rem; }
.wsd-share__opts .wsd-check { margin-bottom: .5rem; font-size: .95rem; }
.wsd-share__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.wsd .wsd-sbtn {
	display: inline-flex; align-items: center; gap: .45rem;
	margin: 0; padding: .6rem 1rem;
	background: #fff; border: 1.5px solid var(--wsd-line); border-radius: 999px; box-shadow: none;
	color: var(--wsd-ink); font: inherit; font-size: .925rem; font-weight: 600; line-height: 1;
	text-decoration: none; cursor: pointer;
}
.wsd .wsd-sbtn:hover { border-color: var(--wsd-ink); background: #fff; color: var(--wsd-ink); }
.wsd .wsd-sbtn:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd .wsd-sbtn svg { width: 1.05rem; height: 1.05rem; flex: none; }
.wsd .wsd-sbtn--fb { flex-basis: 100%; justify-content: center; padding: .9rem 1.2rem; background: #1466da; border-color: #1466da; color: #fff; font-size: 1rem; }
.wsd .wsd-sbtn--fb:hover { background: #0d58ba; border-color: #0d58ba; color: #fff; }
.wsd .wsd-sbtn--fb svg { fill: currentColor; }
.wsd-invite { margin-bottom: 0; }
.wsd-ok { margin: .75rem 0 0; padding: .7rem 1rem; background: #e7f4ec; border-left: 3px solid #1f7a45; border-radius: 0 8px 8px 0; color: #145230; }

.wsd-again {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	margin: 1.5rem 0 0; padding: 1.1rem 1.25rem;
	background: var(--wsd-ink); color: #e6eff4; border-radius: var(--wsd-r);
}
.wsd-again > div { display: flex; flex-direction: column; gap: .15rem; }
.wsd-again strong { color: #fff; font-size: 1.05rem; }
.wsd-again span { color: #a9c4d3; font-size: .9rem; }
.wsd .wsd-again .wsd-btn--ghost { flex: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.wsd .wsd-again .wsd-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Goal inside the summary */
.wsd-goalbar { margin: 0 0 1.5rem; padding: 0 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wsd-goalbar__head { display: flex; justify-content: space-between; margin-bottom: .45rem; color: #fff; font-size: .95rem; }
.wsd-goalbar__track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.wsd-goalbar__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wsd-gold), var(--wsd-gold-light)); }
.wsd-goalbar p { margin: .45rem 0 0; color: #a9c4d3; font-size: .85rem; }

/* Donor wall */
.wsd-wall { --wsd-ink: #0e2238; --wsd-line: #d3dfe5; --wsd-muted: #586a77; --wsd-gold: #b8913a; max-width: 1080px; margin: 0 auto; }
.wsd-wall__title { color: var(--wsd-ink); }
.wsd-wall__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.wsd-wall__item { display: flex; gap: .8rem; margin: 0; padding: 1rem; border: 1px solid var(--wsd-line); border-radius: 14px; background: #fff; }
.wsd-wall__avatar { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wsd-ink); color: #fff; font-weight: 600; }
.wsd-wall__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; font-size: .9rem; color: var(--wsd-muted); }
.wsd-wall__body strong { color: var(--wsd-ink); font-size: 1rem; }
.wsd-wall__ded { color: #8a6a22; font-style: italic; }
.wsd-wall__when { font-size: .8rem; }
.wsd-wall__empty { color: var(--wsd-muted); }

@container wsd (max-width: 860px) {
	.wsd-summary__list > div:not(.wsd-summary__total):not([data-sum-row="fee"]) { display: none; }
	.wsd-goalbar { margin-bottom: 1rem; padding-bottom: 1rem; }
}
@container wsd (max-width: 520px) {
	.wsd-preview { grid-template-columns: 84px minmax(0, 1fr); }
	.wsd-again { flex-direction: column; align-items: stretch; }
	.wsd-proof { margin-top: -.5rem; font-size: .925rem; }
}

/* ---------- 1.2: My giving ---------- */
.wsd-portal { max-width: 860px; }
.wsd-portal__signin { max-width: 34rem; }
.wsd-portal__signin .wsd-error { margin: 0 0 1rem; }
.wsd-portal__row { display: flex; gap: .6rem; }
.wsd-portal__row input { flex: 1; min-width: 0; }
.wsd-portal__row .wsd-btn { flex: none; }
.wsd-portal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.wsd-portal__head .wsd-intro { font-size: 1rem; }
.wsd-portal__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 0 0 2rem; }
.wsd-portal__stats > div { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--wsd-mist); }
.wsd-portal__stats > div:first-child { background: var(--wsd-ink); }
.wsd-portal__stats > div:first-child strong { color: #fff; }
.wsd-portal__stats > div:first-child span { color: #a9c4d3; }
.wsd-portal__stats strong { color: var(--wsd-ink); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.wsd-portal__stats span { color: var(--wsd-muted); font-size: .9rem; }
.wsd-portal__section { margin: 0 0 2rem; }
.wsd .wsd-portal__section h3 { margin: 0 0 .75rem; color: var(--wsd-ink); font-size: 1.2rem; }
.wsd-portal__subs { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.wsd-portal__subs li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--wsd-line); border-radius: 14px; }
.wsd-portal__subs li > div { display: flex; flex-direction: column; gap: .15rem; }
.wsd-portal__subs strong { color: var(--wsd-ink); font-size: 1.1rem; }
.wsd-portal__subs span { color: var(--wsd-muted); font-size: .9rem; }
.wsd-portal__subs .wsd-portal__warn { color: #8a5a00; }
.wsd-portal__years { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.wsd-portal__table { overflow-x: auto; border: 1px solid var(--wsd-line); border-radius: 14px; }
.wsd .wsd-portal__table table, .wsd .wsd-statement table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.wsd .wsd-portal__table th, .wsd .wsd-portal__table td { padding: .8rem 1rem; border: 0; border-bottom: 1px solid var(--wsd-line); text-align: left; vertical-align: top; }
.wsd .wsd-portal__table thead th { background: var(--wsd-mist); color: var(--wsd-muted); font-weight: 600; font-size: .85rem; }
.wsd .wsd-portal__table tbody tr:last-child td { border-bottom: 0; }
.wsd .wsd-num, .wsd .wsd-portal__table .wsd-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wsd-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--wsd-mist); color: var(--wsd-muted); font-size: .8rem; white-space: nowrap; }
.wsd-pill--completed { background: #e7f4ec; color: #145230; }
.wsd-pill--pledged, .wsd-pill--processing { background: #fff4d6; color: #6b4b00; }
.wsd-pill--refunded { background: #fcefee; color: #7d1a14; }
.wsd-portal__again { margin: 0; }

/* Printable statement */
.wsd-portal__tools { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.wsd-statement { padding: clamp(1.25rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--wsd-line); border-radius: 18px; }
.wsd-statement__head { display: flex; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--wsd-ink); }
.wsd .wsd-statement__head h2 { margin: 0 0 .35rem; color: var(--wsd-ink); font-size: 1.35rem; }
.wsd-statement__head p { margin: 0; color: var(--wsd-muted); font-size: .9rem; }
.wsd-statement__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; text-align: right; color: var(--wsd-muted); font-size: .9rem; }
.wsd-statement__meta strong { color: var(--wsd-ink); font-size: 1.1rem; }
.wsd-statement__to { margin: 0 0 1.5rem; }
.wsd .wsd-statement th, .wsd .wsd-statement td { padding: .6rem 0; border: 0; border-bottom: 1px solid var(--wsd-line); text-align: left; }
.wsd .wsd-statement thead th { color: var(--wsd-muted); font-weight: 600; font-size: .85rem; }
.wsd .wsd-statement tfoot th, .wsd .wsd-statement tfoot td { border-top: 2px solid var(--wsd-ink); border-bottom: 0; font-weight: 700; color: var(--wsd-ink); }
.wsd .wsd-statement .wsd-num { text-align: right; }
.wsd-statement__tax { margin: 1.5rem 0 .5rem; color: var(--wsd-muted); font-size: .85rem; }
.wsd-statement__thanks { margin: 0; color: var(--wsd-deep); font-style: italic; }

@container wsd (max-width: 600px) {
	.wsd-portal__stats { grid-template-columns: 1fr; }
	.wsd-portal__head, .wsd-portal__subs li, .wsd-portal__row { flex-direction: column; align-items: stretch; }
	.wsd-statement__head { flex-direction: column; }
	.wsd-statement__meta { align-items: flex-start; text-align: left; }
}

@media print {
	body * { visibility: hidden !important; }
	.wsd-statement, .wsd-statement * { visibility: visible !important; }
	.wsd-statement { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; }
	.wsd-noprint, .wsd-float { display: none !important; }
}

/* ---------- 1.3: kiosk ---------- */
.wsd--kiosk { font-size: 1.125rem; }
.wsd--kiosk .wsd-amount span { min-height: 4.5rem; font-size: 1.6rem; }
.wsd--kiosk .wsd-seg__opt span { padding: .8rem 1.4rem; }
.wsd--kiosk input[type="text"], .wsd--kiosk input[type="email"], .wsd--kiosk input[type="tel"], .wsd--kiosk select { padding: 1rem 1.1rem; font-size: 1.15rem; }
.wsd--kiosk .wsd-btn { min-height: 3.75rem; padding: 1.1rem 2rem; font-size: 1.15rem; }
.wsd-kiosk-reset { margin: 1.75rem 0 0; text-align: center; }
.wsd-kiosk-reset .wsd-btn { width: 100%; }

/* ---------- 1.3: giving page patterns ---------- */
.wsd-pattern-hero {
	--wsd-ink: #0e2238;
	position: relative;
	margin-top: 0 !important;
	margin-bottom: clamp(2rem, 5vw, 3.5rem) !important;
	padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(4rem, 9vw, 7rem) !important;
	background: radial-gradient(120% 90% at 50% 0%, var(--wsd-deep, #1b3a5a) 0%, var(--wsd-ink, #0e2238) 60%);
	color: #e6eff4;
	text-align: center;
	overflow: hidden;
}
.wsd-pattern-hero::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24C150 0 300 0 450 18S750 48 900 30 1100 6 1200 20V48H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.wsd-pattern-hero > * { position: relative; z-index: 1; }
.wsd-pattern-hero .wsd-pattern-hero__he { margin: 0 auto .75rem; color: var(--wsd-gold-light, #e8d5a3); font-size: clamp(1.25rem, 2.6vw, 1.7rem); direction: rtl; }
.wsd-pattern-hero h1 { margin: 0 auto 1rem; max-width: 18ch; color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.02em; }
.wsd-pattern-hero .wsd-pattern-hero__lead { margin: 0 auto 1.75rem; max-width: 38rem; color: #c6d8e2; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.wsd-pattern-hero .wsd-pattern-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; }
.wsd-pattern-hero__trust span { padding: .4rem .9rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #e6eff4; font-size: .9rem; }

.wsd-pattern-ways, .wsd-pattern-faq { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
/* Works with or without the theme's layout settings: block themes supply these sizes, classic themes get sensible ones. */
.wsd-pattern-ways { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); }
.wsd-pattern-faq { max-width: min(100%, var(--wp--style--global--content-size, 760px)); }
.wsd-wall { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); }
body:not(:has(.wp-site-blocks)) .wsd-pattern-ways,
body:not(:has(.wp-site-blocks)) .wsd-pattern-faq,
body:not(:has(.wp-site-blocks)) .wsd-wall,
body:not(:has(.wp-site-blocks)) .wp-block-wellspring { padding-left: 1.25rem; padding-right: 1.25rem; }
.wsd-pattern-hero > * { max-width: 44rem; margin-left: auto; margin-right: auto; }
.wsd-pattern-ways h2, .wsd-pattern-faq h2 { color: var(--wsd-ink, #0e2238); }
.wsd-pattern-ways .wp-block-columns { gap: 1rem; flex-wrap: wrap; }
.wsd-pattern-ways .wp-block-column {
	flex: 1 1 220px;
	padding: 1.4rem 1.4rem 1.2rem;
	border: 1px solid #d3dfe5; border-top: 3px solid var(--wsd-gold, #b8913a); border-radius: 14px;
	background: #fff;
}
.wsd-pattern-ways h3 { margin: 0 0 .5rem; color: #0e2238; font-size: 1.15rem; }
.wsd-pattern-ways .wp-block-column p { margin: 0; color: #586a77; font-size: .95rem; line-height: 1.55; }
.wsd-pattern-faq .wp-block-details { margin: 0; padding: 0; border-top: 1px solid #d3dfe5; }
.wsd-pattern-faq .wp-block-details:last-child { border-bottom: 1px solid #d3dfe5; }
.wsd-pattern-faq summary {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 0; color: #0e2238; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.wsd-pattern-faq summary::-webkit-details-marker { display: none; }
.wsd-pattern-faq summary::marker { content: ""; }
.wsd-pattern-faq .wp-block-details summary::before { content: none !important; display: none !important; }
.wsd-pattern-faq summary { text-align: left; }
.wsd-pattern-ways > h2 { margin-bottom: 1.25rem; }
.wsd-pattern-faq summary::after { content: "+"; flex: none; color: #b8913a; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.wsd-pattern-faq details[open] summary::after { transform: rotate(45deg); }
.wsd-pattern-faq summary:focus-visible { outline: 2px solid #2f8c9e; outline-offset: 2px; }
.wsd-pattern-faq .wp-block-details p { margin: 0 0 1.2rem; max-width: 46rem; color: #3d4f5c; }
.wp-block-wellspring + .wsd-pattern-ways { margin-top: clamp(3rem, 7vw, 5rem) !important; }
.wsd-wall { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- 1.5: campaigns ---------- */
.wsd-camp-head, .wsd-camps, .wsd-camp-closed {
	--wsd-ink: #0e2238; --wsd-deep: #16405a; --wsd-spring: #2f8c9e; --wsd-gold: #b8913a; --wsd-line: #d3dfe5; --wsd-muted: #586a77;
}
.wsd-camp-head { margin: 0 0 2rem; }
.wsd-camp-progress__nums { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: 0 0 .6rem; }
.wsd-camp-progress__nums strong { color: var(--wsd-ink); font-size: 1.5rem; line-height: 1; font-variant-numeric: lining-nums; }
.wsd-camp-progress__nums span { color: var(--wsd-muted); }
.wsd-camp-progress--big .wsd-camp-progress__nums strong { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -.02em; }
.wsd-camp-progress__track { position: relative; height: 12px; border-radius: 999px; background: #e6eef2; overflow: hidden; }
.wsd-camp-progress--big .wsd-camp-progress__track { height: 16px; }
.wsd-camp-progress__track span {
	position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%);
	border-radius: inherit; background: linear-gradient(90deg, var(--wsd-deep), var(--wsd-spring));
	transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}
.wsd-camp-progress__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .7rem 0 0; padding: 0; list-style: none; color: var(--wsd-muted); }
.wsd-camp-progress__meta li { margin: 0; }
.wsd-camp-progress__meta strong { color: var(--wsd-ink); }
.wsd-camp-match {
	margin: 1.1rem 0 0; padding: .9rem 1.1rem;
	background: linear-gradient(90deg, rgba(184, 145, 58, .16), rgba(184, 145, 58, .04));
	border-left: 3px solid var(--wsd-gold); border-radius: 0 12px 12px 0; color: #3d2f0d;
}
.wsd-camp-match strong { color: #6b4b00; }
.wsd-camp-match--done { background: #eef6f0; border-left-color: #1f7a45; color: #145230; }
.wsd-camp-match--done strong { color: #145230; }
.wsd-camp-form { margin-top: 2.5rem; }
.wsd-camp-closed { padding: 1rem 1.25rem; background: #f2f6f8; border-radius: 12px; color: var(--wsd-ink); }
.wsd-summary__match { margin: -.5rem 0 1.25rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(232, 213, 163, .16); color: var(--wsd-gold-light); font-size: .9rem; }

.wsd-camps { max-width: min(100%, var(--wp--style--global--wide-size, 1080px)); margin: 0 auto; }
.wsd-camps__title { color: var(--wsd-ink); }
.wsd-camps__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.wsd-camp-card { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--wsd-line); border-radius: 18px; background: #fff; }
.wsd-camp-card__img {
	display: block; aspect-ratio: 16 / 9;
	background: radial-gradient(120% 120% at 30% 0%, var(--wsd-deep), var(--wsd-ink)) center / cover no-repeat;
}
.wsd-camp-card__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.wsd-camp-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.wsd-camp-card h3 a { color: var(--wsd-ink); text-decoration: none; }
.wsd-camp-card h3 a:hover { text-decoration: underline; }
.wsd-camp-card p { margin: 0; color: var(--wsd-muted); font-size: .95rem; line-height: 1.5; }
.wsd-camp-card__badge { align-self: flex-start; padding: .2rem .65rem; border-radius: 999px; background: #f6ecd5; color: #6b4b00; font-size: .8rem; font-weight: 600; }
.wsd-camp-card .wsd-camp-progress { margin-top: auto; padding-top: .5rem; }
.wsd-camps .wsd-btn {
	display: inline-flex; justify-content: center; margin-top: .5rem; padding: .8rem 1.3rem;
	border-radius: 999px; background: var(--wsd-ink); color: #fff; font-weight: 600; text-decoration: none;
}
.wsd-camps .wsd-btn:hover { background: var(--wsd-deep); color: #fff; }
.wsd-camps .wsd-btn:focus-visible { outline: 3px solid var(--wsd-spring); outline-offset: 3px; }

/* ---------- 1.6: match the site, motion and impact ---------- */

/* Type and shape borrowed from the theme at load (see themeSync in donate.js). */
.wsd .wsd-title,
.wsd .wsd-step__title,
.wsd .wsd-done__title,
.wsd .wsd-share__title,
.wsd .wsd-upsell__title,
.wsd-summary__amount,
.wsd-impact__text { font-family: var(--wsd-font-display, inherit); }
.wsd .wsd-btn, .wsd .wsd-sbtn { border-radius: var(--wsd-btn-radius, 999px); }

/* Eyebrow, like the homepage: a Hebrew word, then a short line. */
.wsd-eyebrow { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 .6rem; color: var(--wsd-deep); font-size: .95rem; letter-spacing: .01em; }
.wsd-eyebrow__he { color: #7a5c1c; font-size: 1.35rem; line-height: 1; }
.wsd-head .wsd-title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -.02em; }

/* Progress: a line that flows between the steps. */
.wsd .wsd-progress { position: relative; border-bottom: 0; padding-bottom: 3px; }
.wsd .wsd-progress::before,
.wsd .wsd-progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; }
.wsd .wsd-progress::before { right: 0; background: var(--wsd-line); }
.wsd .wsd-progress::after { width: calc((var(--step, 0) + 1) * 33.333%); background: linear-gradient(90deg, var(--wsd-spring), var(--wsd-ink)); transition: width .55s cubic-bezier(.2, .8, .2, 1); }
.wsd .wsd-progress .is-current button { border-bottom-color: transparent; }
.wsd .wsd-progress button { border-bottom: 0; margin-bottom: 0; }
.wsd-progress .is-done .wsd-progress__n { color: transparent; position: relative; }
.wsd-progress .is-done .wsd-progress__n::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: .45rem; height: .75rem;
	border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg);
}
.wsd--motion .wsd-progress .is-done .wsd-progress__n { animation: wsd-pop .4s cubic-bezier(.2, .8, .2, 1.2); }

/* Touch and press feedback. */
.wsd-amount span, .wsd-seg__opt span, .wsd .wsd-tab { position: relative; overflow: hidden; }
.wsd-tap {
	position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
	background: currentColor; opacity: .22; pointer-events: none; transform: scale(0);
	animation: wsd-tap .65s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes wsd-tap { to { transform: scale(18); opacity: 0; } }
.wsd--motion .wsd-amount span { transition: transform .18s cubic-bezier(.2, .8, .2, 1.4), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.wsd--motion .wsd-amount:active span { transform: scale(.96); }
.wsd--motion .wsd-amount input:checked + span { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14, 34, 56, .18); }
.wsd .wsd-btn .wsd-arrow { display: inline-block; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.wsd .wsd-btn:hover .wsd-arrow, .wsd .wsd-btn:focus-visible .wsd-arrow { transform: translateX(4px); }
.wsd--motion .wsd-btn { transition: background .15s, transform .15s, box-shadow .2s; }
.wsd--motion .wsd-btn:active { transform: scale(.98); }

/* What your gift does. */
.wsd .wsd-impact {
	display: block; margin: 1.1rem 0 0; padding: 1.1rem 1.2rem 1.15rem;
	background: linear-gradient(135deg, rgba(184, 145, 58, .1), rgba(47, 140, 158, .06));
	border: 1px solid rgba(184, 145, 58, .28); border-left: 3px solid var(--wsd-gold); border-radius: 0 16px 16px 0;
}
.wsd-impact__head { display: flex; gap: .95rem; align-items: flex-start; }
.wsd-impact__icon {
	display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 14px;
	background: var(--wsd-ink); color: var(--wsd-gold-light);
}
.wsd-impact__icon svg { width: 1.6rem; height: 1.6rem; }
.wsd-impact__copy { min-width: 0; }
.wsd .wsd-impact__amt { display: block; margin: 0 0 .15rem; color: #7a5c1c; font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
.wsd .wsd-impact__text { margin: 0; color: var(--wsd-ink); font-size: 1.12rem; line-height: 1.4; }
.wsd-impact__units { margin: .95rem 0 0; padding-top: .85rem; border-top: 1px dashed rgba(184, 145, 58, .35); }
.wsd-impact__row { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .45rem; }
.wsd-unit { display: inline-grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 8px; background: #fff; color: var(--wsd-deep); box-shadow: 0 0 0 1px rgba(14, 34, 56, .1); }
.wsd-unit svg { width: 1.15rem; height: 1.15rem; }
.wsd-unit--more { width: auto; padding: 0 .55rem; color: var(--wsd-ink); font-size: .8rem; font-weight: 700; }
.wsd-unit.is-new { animation: wsd-unit .5s cubic-bezier(.2, .8, .2, 1.3) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes wsd-unit { from { opacity: 0; transform: translateY(8px) scale(.5); } to { opacity: 1; transform: none; } }
.wsd .wsd-impact__count { margin: 0; color: var(--wsd-deep); font-weight: 600; font-size: .95rem; }

/* The summary: Wellspring’s artwork behind the rising water. */
.wsd-summary__art {
	position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center 30%;
	opacity: .7; filter: saturate(.95);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 40%, transparent 80%);
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 40%, transparent 80%);
}
.wsd-summary::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(14, 34, 56, .45) 0%, rgba(14, 34, 56, .55) 30%, rgba(14, 34, 56, .82) 60%, rgba(14, 34, 56, .92)); pointer-events: none; }
.wsd-summary__label, .wsd-summary__amount { text-shadow: 0 1px 12px rgba(14, 34, 56, .55); }
.wsd--motion .wsd-water::before { animation: wsd-drift 7s linear infinite; }
@keyframes wsd-drift { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 120px 0; mask-position: 120px 0; } }
.wsd-summary__amount { font-variant-numeric: lining-nums tabular-nums; }

/* Thank you: the seal turns to reveal תודה, like the homepage seal. */
.wsd-seal { width: 132px; height: 132px; margin: 0 0 1.25rem; perspective: 900px; }
.wsd-seal__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.wsd-seal__front, .wsd-seal__back {
	position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.wsd-seal__front img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.wsd-seal--plain .wsd-seal__front { background: var(--wsd-ink); }
.wsd-seal--plain .wsd-seal__front svg { width: 48px; height: 48px; fill: var(--wsd-gold-light); }
.wsd-seal__back {
	transform: rotateY(180deg); align-content: center; gap: .1rem;
	background: radial-gradient(circle at 50% 35%, var(--wsd-deep), var(--wsd-ink)); color: #fff;
	box-shadow: 0 0 0 4px rgba(184, 145, 58, .5), 0 14px 30px rgba(14, 34, 56, .3);
}
.wsd-seal__back span { color: var(--wsd-gold-light); font-size: 2.1rem; line-height: 1; }
.wsd-seal__back small { color: #c6d8e2; font-size: .8rem; letter-spacing: .04em; }
.wsd.is-done .wsd-seal__inner { transform: rotateY(180deg); }
.wsd--motion.is-done .wsd-seal { animation: wsd-seal-in .7s cubic-bezier(.2, .8, .2, 1.2) both; }
.wsd--motion.is-done .wsd-seal__inner { animation: wsd-seal-turn 1.3s cubic-bezier(.5, 0, .2, 1) .55s both; }
@keyframes wsd-seal-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wsd-seal-turn { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
.wsd .wsd-done__impact { display: flex; gap: .7rem; align-items: center; margin: -.4rem 0 1.1rem; color: var(--wsd-deep); font-size: 1.05rem; }
.wsd .wsd-done__impact svg { flex: none; width: 1.6rem; height: 1.6rem; color: var(--wsd-gold); }
@keyframes wsd-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: none; } }

/* ---------- 1.7: refined giving experience ---------- */

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

/* The card */
.wsd .wsd-form {
	border: 1px solid rgba(14, 34, 56, .08);
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(14, 34, 56, .04), 0 18px 48px -12px rgba(14, 34, 56, .16);
	padding: clamp(1.25rem, 3.4vw, 2.5rem) clamp(1.1rem, 3.4vw, 2.5rem) 0;
}
.wsd .wsd-step__title { margin: 0 0 1.4rem; font-size: clamp(1.45rem, 2.6vw, 1.85rem); line-height: 1.15; letter-spacing: -.015em; text-align: center; }
.wsd .wsd-step__lead { margin: -1rem 0 1.5rem; color: var(--wsd-muted); text-align: center; }
.wsd .wsd-progress { margin-bottom: 1.6rem; }
.wsd .wsd-progress button { justify-content: center; font-size: .85rem; padding: .55rem 0 .8rem; }
.wsd .wsd-progress__n { width: 1.45rem; height: 1.45rem; font-size: .72rem; }

/* Sliding segmented control */
.wsd .wsd-seg--slide { position: relative; display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; padding: .3rem; border-radius: 16px; background: var(--wsd-mist); }
.wsd-seg__thumb {
	position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 12px; background: #fff;
	box-shadow: 0 1px 2px rgba(14, 34, 56, .08), 0 4px 12px rgba(14, 34, 56, .1); pointer-events: none; opacity: 0;
}
.wsd-seg--slide.is-ready .wsd-seg__thumb { opacity: 1; }
.wsd--motion .wsd-seg--slide.is-ready .wsd-seg__thumb { transition: transform .38s cubic-bezier(.2, .8, .2, 1), width .38s cubic-bezier(.2, .8, .2, 1); }
.wsd .wsd-seg--slide .wsd-seg__opt { position: relative; z-index: 1; }
.wsd .wsd-seg--slide .wsd-seg__opt span { padding: .7rem .4rem; border-radius: 12px; text-align: center; font-weight: 500; transition: color .25s; }
.wsd .wsd-seg--slide.is-ready .wsd-seg__opt input:checked + span { background: transparent; box-shadow: none; color: var(--wsd-ink); font-weight: 600; }
.wsd-field--freq { margin-bottom: .5rem; }
.wsd .wsd-partner { justify-content: center; text-align: center; }

/* The big amount */
.wsd-hero-amount { margin: 1.5rem 0 1.1rem; text-align: center; }
.wsd-hero-amount__field {
	display: inline-flex; align-items: flex-start; justify-content: center; max-width: 100%;
	padding: .2rem 1rem .35rem; border-radius: 18px; border-bottom: 2px solid transparent;
	transition: border-color .2s, background .2s;
}
.wsd-hero-amount__field:focus-within { background: var(--wsd-mist); border-bottom-color: var(--wsd-spring); }
.wsd-hero-amount__cur { margin: .55em .1em 0 0; color: var(--wsd-muted); font-family: var(--wsd-font-display, inherit); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1; }
.wsd input.wsd-hero-amount__input {
	display: inline-block; width: auto; min-width: 1.4ch; max-width: 8ch; padding: 0; margin: 0; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none;
	color: var(--wsd-ink); font-family: var(--wsd-font-display, inherit); font-size: clamp(3.4rem, 9vw, 5rem); font-weight: 600; line-height: 1.05;
	letter-spacing: -.035em; text-align: center; font-variant-numeric: lining-nums tabular-nums; caret-color: var(--wsd-spring);
}
.wsd input.wsd-hero-amount__input:focus { box-shadow: none; border: 0; }
.wsd-hero-amount__per { align-self: flex-end; margin: 0 0 .9em .3em; color: var(--wsd-muted); font-size: 1.05rem; white-space: nowrap; }
.wsd-hero-amount__per:empty { display: none; }
.wsd-hero-amount__hint { margin: .3rem 0 0; color: var(--wsd-muted); font-size: .85rem; }

/* Quick amounts as chips */
.wsd .wsd-field--chips { margin-bottom: 1rem; }
.wsd .wsd-amounts { grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.wsd .wsd-amount span { min-height: 3rem; border-radius: 999px; font-size: 1.05rem; border-width: 1.5px; }
@container wsd (max-width: 640px) { .wsd .wsd-amounts { grid-template-columns: repeat(3, 1fr); } }

/* The impact card, lighter */
.wsd .wsd-impact { margin: 0 0 1.25rem; border-radius: 18px; border: 1px solid rgba(184, 145, 58, .26); border-left-width: 1px; background: linear-gradient(135deg, #fbf7ee, #f3f8f9); }
.wsd .wsd-impact__icon { border-radius: 50%; }

/* Option rows */
.wsd-options { margin: 0 0 1.25rem; border: 1px solid var(--wsd-line); border-radius: 18px; background: #fff; overflow: hidden; }
/* The rows' column may be narrower than their widest content, and a narrow card puts the fund choice under its label. */
.wsd .wsd-options { grid-template-columns: minmax(0, 1fr); }
@container wsd (max-width: 520px) {
	.wsd .wsd-row:has(> .wsd-select) { flex-wrap: wrap; }
	.wsd .wsd-row > .wsd-select { flex: 1 1 100%; max-width: none; margin-left: 3.3rem; }
	.wsd .wsd-row > .wsd-select select { width: 100%; text-overflow: ellipsis; }
}
.wsd .wsd-row { display: flex; align-items: center; gap: .9rem; margin: 0; padding: .9rem 1rem; border: 0; border-top: 1px solid var(--wsd-line); background: transparent; cursor: pointer; }
.wsd .wsd-options > .wsd-row:first-child, .wsd .wsd-options > :first-child { border-top: 0; }
.wsd .wsd-row:hover { background: #fafcfd; }
.wsd-row__icon { display: inline-grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--wsd-mist); color: var(--wsd-deep); }
.wsd-row__icon svg { width: 1.2rem; height: 1.2rem; }
.wsd .wsd-row__text { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; margin: 0; cursor: inherit; }
.wsd .wsd-row__text strong { color: var(--wsd-ink); font-weight: 600; font-size: .98rem; }
.wsd .wsd-row__text span { color: var(--wsd-muted); font-size: .85rem; line-height: 1.35; }
.wsd .wsd-row__text b { color: var(--wsd-ink); }
.wsd .wsd-row--details { display: block; padding: 0; }
.wsd .wsd-row--details > summary { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; list-style: none; cursor: pointer; }
.wsd .wsd-row--details > summary::-webkit-details-marker { display: none; }
.wsd .wsd-row--details > summary::marker { content: ""; }
.wsd .wsd-row--details > summary:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: -2px; border-radius: 12px; }
.wsd-row__chev { flex: none; width: .6rem; height: .6rem; margin-right: .3rem; border: solid var(--wsd-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; }
.wsd .wsd-row--details[open] .wsd-row__chev { transform: rotate(-135deg); }
.wsd .wsd-row__body { padding: .25rem 1rem 1.1rem 4.3rem; }
.wsd .wsd-row__body > .wsd-seg { margin-bottom: .9rem; }
.wsd .wsd-row__reveal { padding: .2rem 1rem .9rem 4.3rem; border-top: 0; }
@container wsd (max-width: 520px) { .wsd .wsd-row__body, .wsd .wsd-row__reveal { padding-left: 1rem; } }

/* Switch */
.wsd input.wsd-switch {
	-webkit-appearance: none; appearance: none; flex: none; position: relative; width: 2.9rem; height: 1.7rem; margin: 0;
	border-radius: 999px; background: #cdd8de; cursor: pointer; transition: background .25s;
}
.wsd input.wsd-switch::before {
	content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: #fff; box-shadow: 0 1px 3px rgba(14, 34, 56, .3); transition: transform .3s cubic-bezier(.2, .8, .2, 1.2);
}
.wsd input.wsd-switch:checked { background: var(--wsd-ink); }
.wsd input.wsd-switch:checked::before { transform: translateX(1.2rem); }
.wsd input.wsd-switch:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }

/* Select inside a row */
.wsd-select { position: relative; flex: none; max-width: 52%; }
.wsd .wsd-select select { width: auto; max-width: 100%; padding: .55rem 2rem .55rem .85rem; border-radius: 999px; background: var(--wsd-mist); border-color: transparent; font-size: .9rem; font-weight: 600; color: var(--wsd-ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.wsd-select::after { content: ""; position: absolute; right: .9rem; top: 50%; width: .45rem; height: .45rem; margin-top: -.35rem; border: solid var(--wsd-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }

/* Floating labels */
.wsd-float { position: relative; margin: 0 0 .8rem; }
.wsd .wsd-float input, .wsd .wsd-float textarea { padding: 1.45rem 2.6rem .5rem .95rem; border-radius: 14px; font-size: 1rem; }
.wsd .wsd-float textarea { padding-top: 1.6rem; }
.wsd .wsd-float label {
	position: absolute; left: 1rem; top: 1.05rem; margin: 0; color: var(--wsd-muted); font-size: 1rem; line-height: 1.2;
	pointer-events: none; transform-origin: left top; transition: transform .2s cubic-bezier(.2, .8, .2, 1), color .2s;
}
.wsd .wsd-float input:focus + label, .wsd .wsd-float input:not(:placeholder-shown) + label,
.wsd .wsd-float textarea:focus + label, .wsd .wsd-float textarea:not(:placeholder-shown) + label { transform: translateY(-.6rem) scale(.78); color: var(--wsd-deep); font-weight: 600; }
.wsd-float__ok { position: absolute; right: .9rem; top: 1rem; width: 1.3rem; height: 1.3rem; padding: .15rem; border-radius: 50%; background: #1f7a45; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1.4); }
.wsd-float__ok svg { display: block; width: 100%; height: 100%; }
.wsd-float.is-valid .wsd-float__ok { opacity: 1; transform: none; }
.wsd .wsd-float .wsd-hint { margin: .35rem 0 0 .2rem; }
.wsd .wsd-grid2, .wsd .wsd-grid3 { gap: 0 .75rem; }

/* Sticky action bar with the running total */
.wsd .wsd-actions--bar {
	position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: .9rem;
	margin: 1.25rem calc(-1 * clamp(1.1rem, 3.4vw, 2.5rem)) 0; padding: .95rem clamp(1.1rem, 3.4vw, 2.5rem) calc(.95rem + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--wsd-line); border-radius: 0 0 24px 24px;
}
.wsd-actions__sum { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.wsd-actions__sum strong { color: var(--wsd-ink); font-family: var(--wsd-font-display, inherit); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.wsd-actions__sum span { overflow: hidden; color: var(--wsd-muted); font-size: .82rem; white-space: nowrap; text-overflow: ellipsis; }
.wsd .wsd-actions--bar .wsd-btn[data-next] { min-width: 9.5rem; min-height: 3.25rem; }
.wsd .wsd-btn--icon { width: 3.25rem; min-width: 3.25rem; min-height: 3.25rem; padding: 0; background: var(--wsd-mist); color: var(--wsd-ink); font-size: 1.2rem; }
.wsd .wsd-btn--icon:hover { background: #e6eef2; color: var(--wsd-ink); }
.wsd .wsd-step[data-step="3"] > .wsd-actions { margin-bottom: 1.5rem; }
.wsd .wsd-done { padding-bottom: 2rem; }

/* Review before paying */
.wsd-review { display: flex; align-items: center; gap: .9rem; margin: -.4rem 0 1.25rem; padding: .9rem 1rem; border-radius: 18px; background: var(--wsd-ink); color: #e6eff4; }
.wsd-review__icon { display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--wsd-gold-light); }
.wsd-review__icon svg { width: 1.3rem; height: 1.3rem; }
.wsd-review__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wsd-review__text strong { color: #fff; font-family: var(--wsd-font-display, inherit); font-size: 1.2rem; }
.wsd-review__text span { color: #b9cfdb; font-size: .85rem; }
.wsd .wsd-link { display: inline-flex; align-items: center; gap: .35rem; flex: none; margin: 0; padding: .45rem .8rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.wsd .wsd-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wsd .wsd-link:focus-visible { outline: 2px solid var(--wsd-gold-light); outline-offset: 2px; }
.wsd .wsd-link svg { width: .95rem; height: .95rem; }

/* Payment options with icons */
.wsd .wsd-tabs { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .55rem; }
.wsd .wsd-tab { gap: .35rem; padding: .85rem .9rem; border-radius: 16px; transition: border-color .2s, box-shadow .2s, transform .15s; }
.wsd-tab__icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: .15rem; border-radius: 10px; background: var(--wsd-mist); color: var(--wsd-deep); transition: background .2s, color .2s; }
.wsd-tab__icon svg { width: 1.15rem; height: 1.15rem; }
.wsd .wsd-tab[aria-selected="true"] .wsd-tab__icon { background: var(--wsd-ink); color: var(--wsd-gold-light); }
.wsd--motion .wsd-tab:active { transform: scale(.98); }
.wsd-trust { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 1rem 0 0; color: var(--wsd-muted); font-size: .85rem; text-align: center; }
.wsd-trust svg { flex: none; width: 1rem; height: 1rem; color: #1f7a45; }

/* Header polish */
.wsd .wsd-proof { display: inline-flex; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--wsd-line); font-size: .9rem; }

/* Phones: one focused card. The action bar carries the total, so the side panel steps aside. */
@container wsd (max-width: 860px) {
	.wsd-summary { display: none; }
	.wsd .wsd-form { border-radius: 22px; }
	.wsd .wsd-actions--bar { border-radius: 0 0 22px 22px; box-shadow: 0 -8px 24px -12px rgba(14, 34, 56, .22); }
}
@container wsd (max-width: 420px) {
	.wsd .wsd-actions--bar .wsd-btn[data-next] { min-width: 0; padding: .9rem 1.2rem; }
	.wsd .wsd-seg--slide .wsd-seg__opt span { font-size: .88rem; padding: .65rem .2rem; }
}

/* ---------- 1.8: guidance and shortcuts ---------- */

/* Welcome back and saved progress */
.wsd-welcome, .wsd-toast {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .7rem;
	margin: -.6rem 0 1.2rem; padding: .6rem .9rem; border-radius: 14px; text-align: center; font-size: .92rem;
}
.wsd-welcome { background: linear-gradient(135deg, #fbf7ee, #f1f7f8); color: var(--wsd-ink); }
.wsd-welcome__text { font-weight: 600; }
.wsd-toast { background: var(--wsd-ink); color: #e6eff4; }
.wsd--motion .wsd-welcome:not([hidden]), .wsd--motion .wsd-toast:not([hidden]) { animation: wsd-rise .45s cubic-bezier(.2, .8, .2, 1); }
.wsd .wsd-pill-btn {
	margin: 0; padding: .4rem .85rem; border: 0; border-radius: 999px; background: var(--wsd-ink); color: #fff;
	font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; box-shadow: none;
}
.wsd .wsd-pill-btn:hover { background: var(--wsd-deep); color: #fff; }
.wsd .wsd-text-btn {
	margin: 0; padding: .2rem .1rem; border: 0; background: none; color: inherit; font: inherit; font-size: .88rem;
	text-decoration: underline; text-underline-offset: 2px; cursor: pointer; opacity: .85; box-shadow: none;
}
.wsd .wsd-text-btn:hover { opacity: 1; background: none; color: inherit; }
.wsd .wsd-pill-btn:focus-visible, .wsd .wsd-text-btn:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }

/* Most given */
.wsd .wsd-amount.is-popular span { flex-direction: column; gap: 0; line-height: 1.05; }
.wsd-amount__tag {
	display: block; margin-top: .12rem; color: #7a5c1c; font-size: .62rem; font-style: normal; font-weight: 700;
	letter-spacing: .02em; text-transform: none;
}
.wsd .wsd-amount input:checked + span .wsd-amount__tag { color: var(--wsd-gold-light); }

/* Live amount hint */
.wsd-hero-amount__hint.is-warn { color: #8a3b12; font-weight: 600; }

/* One tap */
.wsd-express { margin: 0 0 1.25rem; }
.wsd .wsd-express__label { margin: 0 0 .55rem; color: var(--wsd-muted); font-size: .85rem; font-weight: 600; text-align: center; }
.wsd-express__buttons { min-height: 48px; }
.wsd-or { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 0; color: var(--wsd-muted); font-size: .82rem; }
.wsd-or::before, .wsd-or::after { content: ""; flex: 1; height: 1px; background: var(--wsd-line); }

/* Errors under the field, and email suggestions */
.wsd .wsd-field-error {
	display: flex; align-items: center; gap: .4rem; margin: .4rem 0 0 .2rem; color: #a3271f; font-size: .87rem; font-weight: 600;
}
.wsd .wsd-field-error::before {
	content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: #a3271f; color: #fff; font-size: .72rem; font-weight: 800;
}
.wsd-hero-amount .wsd-field-error { justify-content: center; }
.wsd .wsd-float input[aria-invalid="true"], .wsd .wsd-float textarea[aria-invalid="true"] { border-color: #a3271f !important; box-shadow: 0 0 0 3px rgba(163, 39, 31, .1); }
.wsd .wsd-suggest { margin: .4rem 0 0 .2rem; }
.wsd .wsd-suggest button {
	margin: 0; padding: .35rem .75rem; border: 1px dashed var(--wsd-spring); border-radius: 999px; background: var(--wsd-spring-soft);
	color: var(--wsd-deep); font: inherit; font-size: .87rem; cursor: pointer; box-shadow: none;
}
.wsd .wsd-suggest button:hover { background: #d6eaee; color: var(--wsd-deep); }
.wsd .wsd-suggest button:focus-visible { outline: 2px solid var(--wsd-spring); outline-offset: 2px; }
.wsd .wsd-suggest b { color: var(--wsd-ink); }

/* What happens next */
.wsd-next-wrap { margin: 0 0 1.25rem; padding: 1rem 1.15rem; border: 1px solid var(--wsd-line); border-radius: 16px; background: #fff; }
.wsd .wsd-next__title { margin: 0 0 .65rem; color: var(--wsd-ink); font-size: 1rem; }
.wsd-next { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.wsd-next li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; color: var(--wsd-text); font-size: .95rem; line-height: 1.45; }
.wsd-next__dot { display: inline-grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem; margin-top: .05rem; padding: .2rem; border-radius: 50%; background: var(--wsd-spring-soft); color: var(--wsd-deep); }
.wsd-next__dot svg { width: 100%; height: 100%; }

/* ---------- 1.9: testimonials and the dedication card ---------- */
.wsd-quote { margin: 1.5rem 0 0; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.wsd-quote blockquote { margin: 0 0 .5rem; padding: 0; border: 0; color: #fff; font-family: var(--wsd-font-display, inherit); font-size: 1rem; line-height: 1.5; quotes: "“" "”"; }
.wsd-quote blockquote::before { content: open-quote; color: var(--wsd-gold-light); }
.wsd-quote blockquote::after { content: close-quote; color: var(--wsd-gold-light); }
.wsd-quote figcaption { color: #a9c4d3; font-size: .85rem; }
.wsd-quote + .wsd-verse { padding-top: 1.25rem; }
.wsd-ecard { margin: .4rem 0 0; }
.wsd-ecard__label { display: block; margin: 0 0 .4rem; color: var(--wsd-muted); font-size: .8rem; font-weight: 600; }
.wsd-ecard__card {
	position: relative; padding: 1.25rem 1.25rem 1.1rem; border-radius: 14px; text-align: center;
	background: radial-gradient(120% 100% at 50% 0%, var(--wsd-deep), var(--wsd-ink)); color: #e6eff4;
	box-shadow: 0 0 0 3px rgba(184, 145, 58, .35), 0 12px 28px -12px rgba(14, 34, 56, .45);
}
.wsd-ecard__mark { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: .4rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--wsd-gold-light); }
.wsd-ecard__mark svg { width: 1.2rem; height: 1.2rem; }
.wsd .wsd-ecard__line { margin: 0 0 .5rem; color: #fff; font-family: var(--wsd-font-display, inherit); font-size: 1.05rem; line-height: 1.45; }
.wsd .wsd-ecard__msg { margin: 0 0 .6rem; color: #e8d5a3; font-style: italic; }
.wsd .wsd-ecard__verse { margin: 0; color: #a9c4d3; font-size: .8rem; font-style: italic; }
.wsd .wsd-ecard__note { margin: .45rem 0 0; color: var(--wsd-muted); font-size: .82rem; }
.wsd--motion .wsd-ecard:not([hidden]) { animation: wsd-rise .45s cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
	.wsd *, .wsd *::before, .wsd *::after { transition: none !important; animation: none !important; }
}

/* ---------- Giving apps (1.10) ---------- */
/* The apps' own marks on their tabs: the tile is the icon, so no tinted box behind it. */
.wsd .wsd-tab__icon--brand, .wsd .wsd-tab[aria-selected="true"] .wsd-tab__icon--brand { background: none; }
.wsd-tab__icon--brand .wsd-brand { width: 2rem; height: 2rem; display: block; }
.wsd .wsd-tab[aria-selected="true"] .wsd-tab__icon--brand .wsd-brand { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wsd-ink); border-radius: 7px; }
.wsd-tab[data-method^="setup-"] { opacity: .72; border-style: dashed; }
.wsd-tab[data-method^="setup-"] .wsd-tab__sub { color: #8a5a00; }

.wsd-note--app { display: flex; gap: .9rem; align-items: flex-start; }
.wsd-note--app .wsd-brand { width: 2.6rem; height: 2.6rem; flex: none; }
.wsd-note--app p { margin: 0; }
.wsd-note--setup { background: #fff7e3; box-shadow: inset 0 0 0 1px #ecd29a; color: #4d3800; }
.wsd-note--setup a { color: inherit; font-weight: 600; }

/* "Open Venmo" on the thank-you screen, in the app's colour. */
.wsd .wsd-btn--app { display: inline-flex; align-items: center; gap: .65rem; min-height: 3.25rem; padding-inline: 1.4rem .9rem; text-decoration: none; font-size: 1.05rem; }
.wsd .wsd-btn--app .wsd-brand { width: 1.7rem; height: 1.7rem; order: -1; margin-left: -.5rem; border-radius: 6px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.wsd .wsd-btn--venmo { background: #0074d4; color: #fff; }
.wsd .wsd-btn--venmo:hover { background: #005fae; color: #fff; }
.wsd .wsd-btn--cash_app { background: #007f2f; color: #fff; } /* the app green, deepened for white text */
.wsd .wsd-btn--cash_app:hover { background: #006b27; color: #fff; }
.wsd .wsd-btn--paypalme { background: #003087; color: #fff; }
.wsd .wsd-btn--paypalme:hover { background: #00256a; color: #fff; }
