:root {
	--navy: #003662;
	--navy-2: #00589f;
	--navy-deep: #002a4b;
	--green: #588425;
	--green-2: #a8c686;
	--sage: #f3f7ea;
	--cloud: #f7faf2;
	--ink: #101f2b;
	--muted: #5b6b76;
	--line: #dfe6d8;
	--danger: #b3261e;
	--white: #fff;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: Raleway, Figtree, "Open Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--navy);
}

h1,
h2,
h3 {
	font-family: Raleway, Figtree, "Open Sans", Arial, sans-serif;
}

.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;
}

.site-head {
	background: var(--navy);
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-head-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-brand img {
	display: block;
	width: 148px;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}

.site-nav a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2px;
	padding: 6px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--green-2);
}

.head-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 26px;
	border-radius: 999px;
	background-image: linear-gradient(140deg, var(--green) 0%, var(--green-2) 100%);
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.head-cta:hover,
.head-cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(88, 132, 37, 0.35);
}

.give-hero {
	position: relative;
	background-image: url("../images/boywithhorse.webp");
	background-size: cover;
	background-position: center 38%;
	color: var(--white);
	overflow: hidden;
}

.give-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(0, 26, 47, 0.86) 0%, rgba(0, 38, 66, 0.72) 52%, rgba(0, 38, 66, 0.45) 100%);
}

.give-hero-inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 86px 20px 78px;
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--green-2);
}

.give-hero h1 {
	margin: 0 0 18px;
	max-width: 860px;
	font-size: clamp(36px, 4.6vw, 58px);
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.5px;
}

.give-hero-copy {
	margin: 0;
	max-width: 660px;
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.86);
}

.give-section {
	background: var(--sage);
	padding: 56px 0 88px;
}

.give-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 30px;
	align-items: start;
}

.give-card {
	background: var(--white);
	border-radius: 18px;
	padding: 34px 36px 32px;
	box-shadow: 0 24px 60px rgba(0, 42, 75, 0.12);
}

.form-alert {
	margin: 0 0 22px;
	padding: 14px 16px;
	border-radius: 10px;
	border-left: 4px solid var(--danger);
	background: #fdf1f0;
	color: #6d1a15;
	font-size: 14px;
}

.form-alert p {
	margin: 2px 0 0;
	font-size: 13.5px;
}

.stepper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--line);
}

.stepper li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #8a978f;
}

.stepper li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: 2px solid var(--line);
	font-size: 13px;
	color: #8a978f;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.stepper li.is-active {
	color: var(--navy);
}

.stepper li.is-active span {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.stepper li.is-done {
	color: var(--green);
}

.stepper li.is-done span {
	background: var(--green);
	border-color: var(--green);
	color: var(--white);
}

.panel-head h2 {
	margin: 0 0 6px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 900;
	color: var(--navy);
}

.panel-head p {
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.6;
}

.amount-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.amount-option,
.method-card {
	position: relative;
	cursor: pointer;
}

.amount-option input,
.method-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.amount-face {
	display: block;
	padding: 18px 10px;
	border: 2px solid var(--line);
	border-radius: 12px;
	text-align: center;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
	background: var(--white);
}

.amount-option:hover .amount-face {
	border-color: var(--green-2);
}

.amount-option input:checked + .amount-face {
	border-color: var(--navy);
	background: #f2f7fb;
}

.amount-option input:focus-visible + .amount-face {
	outline: 3px solid rgba(0, 88, 159, 0.35);
	outline-offset: 2px;
}

.amount-value {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: var(--navy);
	line-height: 1.2;
}

.amount-label {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: var(--muted);
}

.custom-amount label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 8px;
}

.amount-input {
	display: flex;
	align-items: center;
	max-width: 250px;
	border: 2px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.amount-input:focus-within {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(0, 54, 98, 0.12);
}

.amount-input span {
	padding-left: 16px;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
}

.amount-input input {
	width: 100%;
	border: 0;
	padding: 13px 16px 13px 8px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
	background: transparent;
}

.amount-input input:focus {
	outline: none;
}

.field-hint {
	margin: 7px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.1px;
}

.field label span[aria-hidden="true"] {
	color: var(--green);
}

.field .optional {
	font-weight: 400;
	color: var(--muted);
	font-size: 12.5px;
}

.field-full {
	grid-column: 1 / -1;
}

.field input,
.field select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15.5px;
	color: var(--ink);
	background: var(--white);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6b76' d='M6 8 0 1.2 1.2 0 6 5.4 10.8 0 12 1.2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(0, 54, 98, 0.12);
}

.field-error {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--danger);
}

.field.is-invalid input,
.field.is-invalid select {
	border-color: var(--danger);
}

.step-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 30px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
	background-image: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
	color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(0, 54, 98, 0.28);
}

.btn-ghost {
	background: transparent;
	border-color: var(--line);
	color: var(--navy);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	border-color: var(--navy);
	background: #f5f8f4;
}

.btn-give {
	min-width: 210px;
}

.method-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 4px;
	padding: 0;
	border: 0;
}

.method-face {
	display: flex;
	align-items: center;
	gap: 13px;
	height: 100%;
	padding: 14px 16px;
	border: 2px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.method-card:hover .method-face {
	border-color: var(--green-2);
}

.method-card input:checked + .method-face {
	border-color: var(--navy);
	background: #f4f8fc;
}

.method-card input:focus-visible + .method-face {
	outline: 3px solid rgba(0, 88, 159, 0.35);
	outline-offset: 2px;
}

.method-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #eef4e6;
	color: var(--green);
}

.method-icon svg {
	width: 22px;
	height: 22px;
}

.method-card input:checked + .method-face .method-icon {
	background: var(--navy);
	color: var(--white);
}

.method-body {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.method-name {
	font-size: 16px;
	font-weight: 800;
	color: var(--navy);
}

.method-tagline {
	font-size: 12.5px;
	color: var(--muted);
}

.method-panel {
	margin-top: 18px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--cloud);
}

.method-copy {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.65;
	color: #32424d;
}

.method-note {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.checkline {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 22px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #3c4a54;
	cursor: pointer;
}

.checkline input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--navy);
	flex: 0 0 auto;
}

.secure-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

.secure-note svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--green);
}

.give-summary {
	position: sticky;
	top: 108px;
	background: var(--white);
	border: 1px solid #e5eadf;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 14px 34px rgba(0, 42, 75, 0.07);
}

.give-summary h2 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 800;
	color: var(--navy);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #eef2e9;
	font-size: 14px;
	color: var(--muted);
}

.summary-row strong {
	font-size: 16px;
	color: var(--navy);
	text-align: right;
}

.give-summary hr {
	margin: 16px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.summary-points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.summary-points li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 22px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--muted);
}

.summary-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 13px;
	height: 8px;
	border-left: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	transform: rotate(-45deg);
}

.summary-help {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--sage);
}

.summary-help p {
	margin: 0;
	font-size: 12.5px;
	color: var(--muted);
}

.summary-help a {
	font-size: 13.5px;
	font-weight: 700;
	word-break: break-word;
}

.site-foot {
	margin-top: 0;
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.82);
}

.site-foot-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 46px 20px 34px;
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1fr;
	gap: 32px;
}

.site-foot-brand img {
	width: 140px;
	height: auto;
	margin-bottom: 12px;
}

.site-foot p {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.6;
}

.site-foot-links {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.site-foot-links a,
.site-foot-meta a {
	color: var(--green-2);
	text-decoration: none;
	font-size: 13.5px;
}

.site-foot-links a:hover,
.site-foot-meta a:hover {
	text-decoration: underline;
}

.site-foot-meta .copyright {
	margin-top: 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

/* Thank you page */
.thanks-page {
	background: var(--sage);
}

.thanks-hero {
	background-image: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 70%, #01416f 100%);
	color: var(--white);
}

.thanks-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 68px 20px 56px;
}

.thanks-hero h1 {
	margin: 0 0 12px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.12;
	font-weight: 900;
}

.thanks-hero .give-hero-copy a {
	color: var(--green-2);
}

.thanks-section {
	padding: 46px 0 80px;
}

.thanks-grid {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 30px;
	align-items: start;
}

.thanks-card {
	background: var(--white);
	border-radius: 18px;
	padding: 32px 36px;
	box-shadow: 0 22px 55px rgba(0, 42, 75, 0.1);
}

.thanks-card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.thanks-label {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--muted);
}

.thanks-ref {
	margin: 2px 0 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--navy);
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.badge-pending {
	background: #fff2d1;
	color: #7a5100;
}

.badge-confirmed {
	background: #e3f1fa;
	color: #0b4f7a;
}

.badge-completed {
	background: #e9f3dc;
	color: #3f6b1a;
}

.badge-rejected {
	background: #fdeceb;
	color: #8f1f18;
}

.thanks-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 22px 0 6px;
	padding: 18px;
	border-radius: 12px;
	background: var(--cloud);
}

.thanks-meta span {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--muted);
}

.thanks-meta strong {
	display: block;
	margin-top: 3px;
	font-size: 17px;
	color: var(--navy);
}

.instructions {
	margin-top: 20px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.instructions h2,
.next-steps h2 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 900;
	color: var(--navy);
}

.instructions p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.7;
}

.detail-list {
	margin: 16px 0 18px;
	padding: 0;
}

.detail-list div {
	padding: 10px 0;
	border-bottom: 1px dashed #e3e9dc;
}

.detail-list div:last-child {
	border-bottom: 0;
}

.detail-list dt {
	margin: 0 0 2px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--muted);
}

.detail-list dd {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	word-break: break-word;
}

.detail-list dd.mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	font-weight: 600;
}

.copy-btn {
	padding: 4px 11px;
	border: 1px solid var(--green);
	border-radius: 999px;
	background: transparent;
	color: var(--green);
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
	background: var(--green);
	color: var(--white);
}

.instructions-note {
	padding: 12px 14px;
	border-left: 3px solid #d9a441;
	border-radius: 4px;
	background: #fff8e6;
	font-size: 13.5px !important;
	color: #5c4614;
}

.next-steps {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.next-steps ol {
	margin: 0;
	padding-left: 20px;
}

.next-steps li {
	margin: 0 0 10px;
	font-size: 14.5px;
	line-height: 1.65;
}

.thanks-side {
	position: sticky;
	top: 108px;
}

.thanks-side-card {
	background: var(--navy);
	border-radius: 16px;
	padding: 26px;
	color: rgba(255, 255, 255, 0.86);
	box-shadow: 0 18px 40px rgba(0, 42, 75, 0.18);
}

.thanks-side-card h2 {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 800;
	color: var(--white);
}

.ref-big {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--white);
	word-break: break-all;
}

.thanks-side-card .btn-ghost {
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--white);
	width: 100%;
	padding: 10px 16px;
	font-size: 13.5px;
}

.thanks-side-card .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.thanks-side-card hr {
	margin: 18px 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.thanks-side-card p {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.6;
}

.thanks-side-card .muted {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.thanks-side-card a {
	color: var(--green-2);
	word-break: break-word;
}

.thanks-home {
	display: block;
	margin-top: 16px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: var(--navy);
}

.thanks-home:hover {
	text-decoration: underline;
}

@media (max-width: 1000px) {
	.give-shell,
	.thanks-grid {
		grid-template-columns: 1fr;
	}

	.give-summary,
	.thanks-side {
		position: static;
	}

	.site-nav a:nth-child(3) {
		display: none;
	}
}

@media (max-width: 860px) {
	.site-nav {
		display: none;
	}

	.site-brand img {
		width: 128px;
	}

	.give-hero-inner {
		padding: 64px 20px 58px;
	}

	.site-foot-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.give-section {
		padding: 34px 0 60px;
	}

	.thanks-section {
		padding: 30px 0 56px;
	}

	.give-card,
	.thanks-card {
		padding: 24px 20px;
		border-radius: 14px;
	}

	.panel-head h2 {
		font-size: 25px;
	}

	.amount-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form-grid,
	.method-grid {
		grid-template-columns: 1fr;
	}

	.stepper {
		gap: 6px 8px;
	}

	.stepper li {
		gap: 7px;
		font-size: 11.5px;
	}

	.stepper li span {
		width: 24px;
		height: 24px;
		font-size: 11px;
	}

	.step-actions {
		gap: 10px;
	}

	.step-actions .btn {
		flex: 1;
		padding: 13px 16px;
	}

	.btn-give {
		min-width: 0;
	}

	.thanks-meta {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.site-foot-inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.give-hero h1 {
		letter-spacing: -0.2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
