/* ============================================================
   ADE Wayfinders · myPRIME
   Design system — replaces the old page.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap');

:root {
	/* Paper tones — warmer than ADE Solutions, more intimate */
	--paper:			#f5efe3;
	--paper-elev:		#faf4e6;
	--paper-warm:		#ebe1cc;
	--paper-deep:		#d9cdb2;

	/* Ink — warm black, slightly brown */
	--ink:				#201914;
	--ink-soft:			#4a3f34;
	--ink-muted:		#7c6f60;
	--ink-faint:		#b5a896;

	/* Lines */
	--line:				#d9ccb5;
	--line-soft:		#e8dcc5;

	/* Brand colors */
	--clay:				#c4603f;
	--clay-deep:		#9c4a2c;
	--clay-soft:		#e8a98a;
	--clay-wash:		#f4d6c5;

	--forest:			#304638;
	--forest-deep:		#1e2d23;
	--forest-soft:		#7a8e80;

	--sky:				#9fb5bf;
	--sky-wash:			#dee7eb;

	--gold:				#b89155;

	/* Type */
	--serif:			'Instrument Serif', Georgia, 'Times New Roman', serif;
	--sans:				'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

	/* Motion */
	--ease:				cubic-bezier(0.2, 0.8, 0.2, 1);

	/* Geometry */
	--radius:			6px;
	--radius-lg:		16px;

	/* Shadows */
	--shadow-xs:		0 1px 2px rgba(32, 25, 20, 0.04);
	--shadow-sm:		0 1px 3px rgba(32, 25, 20, 0.05);
	--shadow-md:		0 4px 20px rgba(32, 25, 20, 0.06);
	--shadow-lg:		0 20px 48px rgba(32, 25, 20, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

html, body {
	height: 100%;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
}

body { min-height: 100vh; overflow-x: hidden; }

/* ============ Type ============ */

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--ink);
	letter-spacing: -0.01em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(48px, 7vw, 96px);
	letter-spacing: -0.02em;
}
h2 { font-size: clamp(36px, 4.5vw, 56px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }
h4 { font-size: 20px; }

.italic { font-style: italic; color: var(--clay); }
.italic-forest { font-style: italic; color: var(--forest); }

p { color: var(--ink-soft); }

a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
a:hover { color: var(--clay); border-color: var(--clay); }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; color: var(--ink); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.eyebrow-mark::before {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--clay);
	box-shadow: 0 0 0 4px rgba(196, 96, 63, 0.18);
}

/* ============ Layout ============ */

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}
.wrap-narrow {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	padding: 0 32px;
}
@media (max-width: 640px) {
	.wrap, .wrap-narrow { padding: 0 20px; }
}

/* ============ Header ============ */

.site-hdr {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(245, 239, 227, 0.88);
	backdrop-filter: saturate(150%) blur(14px);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	border-bottom: 1px solid var(--line-soft);
}
.site-hdr-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	border: none;
}
.brand-mark {
	width: 36px; height: 36px;
	flex-shrink: 0;
}
.brand-word {
	font-family: var(--serif);
	font-size: 26px;
	line-height: 1;
	color: var(--ink);
	white-space: nowrap;
	letter-spacing: -0.015em;
}
.brand-word .cp-clear { font-style: normal; color: var(--ink); }
.brand-word .cp-path  { font-style: italic; color: var(--clay); }

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav a {
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink-soft);
	border-radius: 100px;
	border: none;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover { background: var(--paper-warm); color: var(--ink); }
.nav a.current { color: var(--clay); }

.hdr-cta {
	display: flex;
	align-items: center;
	gap: 16px;
}
.hdr-phone {
	font-size: 13px;
	color: var(--ink-muted);
	border: none;
	font-variant-numeric: tabular-nums;
	display: flex;
	align-items: center;
	gap: 6px;
}
.hdr-phone::before {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--forest-soft);
}
.hdr-phone:hover { color: var(--clay); }

.nav-mobile-toggle { display: none; }

@media (max-width: 820px) {
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper-elev); border-bottom: 1px solid var(--line); padding: 16px; gap: 0; }
	.nav.open { display: flex; }
	.nav a { padding: 14px 16px; text-align: center; }
	.hdr-phone { display: none; }
	.nav-mobile-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px; height: 40px;
		background: transparent;
		border: none;
		cursor: pointer;
		color: var(--ink);
	}
}

/* ============ Buttons ============ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border: none;
	border-radius: 100px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s var(--ease);
	white-space: nowrap;
}
.btn-primary {
	background: var(--clay);
	color: var(--paper-elev);
}
.btn-primary:hover {
	background: var(--clay-deep);
	color: var(--paper-elev);
	border: none;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.btn-ink {
	background: var(--ink);
	color: var(--paper-elev);
}
.btn-ink:hover {
	background: var(--forest);
	color: var(--paper-elev);
	border: none;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--line);
}
.btn-ghost:hover {
	background: var(--paper-warm);
	color: var(--ink);
	border-color: var(--ink);
}
.btn-large { padding: 18px 36px; font-size: 17px; }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ Hero ============ */

.hero {
	position: relative;
	padding: 80px 0 120px;
	overflow: hidden;
}
.hero-topo {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	z-index: 0;
}
.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.15fr 0.9fr;
	gap: 80px;
	align-items: center;
}
@media (max-width: 940px) {
	.hero { padding: 60px 0 80px; }
	.hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-text h1 { margin: 20px 0 28px; }
.hero-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 560px;
	margin-bottom: 36px;
}
.hero-ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}
.hero-ctas .note {
	font-size: 13px;
	color: var(--ink-muted);
	margin-left: 4px;
	line-height: 1.4;
}

/* Right side: waypoint illustration */
.hero-viz {
	position: relative;
	aspect-ratio: 5/6;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-viz svg { width: 100%; height: 100%; }

/* Tagline strip (facts below hero) */
.hero-facts {
	margin-top: 72px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding: 28px 36px;
	background: var(--paper-elev);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.hero-fact {
	padding: 0 24px;
}
.hero-fact + .hero-fact {
	border-left: 1px solid var(--line-soft);
}
.hero-fact-num {
	font-family: var(--serif);
	font-size: 32px;
	color: var(--ink);
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 4px;
}
.hero-fact-num sup { font-size: 14px; color: var(--clay); vertical-align: baseline; position: relative; top: -10px; }
.hero-fact-label {
	font-size: 13px;
	color: var(--ink-muted);
	line-height: 1.4;
}
@media (max-width: 720px) {
	.hero-facts { grid-template-columns: 1fr; padding: 20px 24px; }
	.hero-fact + .hero-fact { border-left: none; border-top: 1px solid var(--line-soft); padding-top: 20px; margin-top: 16px; }
}

/* ============ Section headers ============ */

.section-head {
	max-width: 780px;
	margin-bottom: 64px;
}
.section-head h2 { margin: 18px 0 20px; }
.section-head p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 640px;
}

/* ============ The Journey / Three-unit visualization ============ */

.journey {
	position: relative;
	padding: 120px 0;
	background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 50%, var(--paper) 100%);
	overflow: hidden;
}
.journey-topo {
	position: absolute;
	inset: 0;
	opacity: 0.4;
	pointer-events: none;
}
.journey-inner {
	position: relative;
	z-index: 2;
}

.unit-list {
	margin-top: 80px;
	display: grid;
	gap: 0;
	position: relative;
}

.unit {
	position: relative;
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 56px;
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.unit:first-child { border-top: none; padding-top: 0; }
.unit:last-child { padding-bottom: 0; }

.unit-marker {
	position: relative;
	padding-top: 6px;
}
.unit-num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 72px;
	line-height: 1;
	color: var(--clay);
}
.unit-step {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-top: 8px;
}

.unit-body { padding-top: 10px; }
.unit-body h3 { margin-bottom: 16px; }
.unit-body h3 .italic { color: var(--clay); }
.unit-body p {
	font-size: 17px;
	line-height: 1.6;
	max-width: 640px;
}
.unit-duration {
	margin-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-style: italic;
	font-size: 16px;
	color: var(--forest);
}
.unit-duration::before {
	content: "";
	display: inline-block;
	width: 16px; height: 1px;
	background: var(--forest-soft);
}

@media (max-width: 720px) {
	.unit { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
	.unit-num { font-size: 56px; }
}

/* ============ Features (Accessible / Motivational / Self-paced) ============ */

.features {
	padding: 100px 0;
}
.feature-grid {
	margin-top: 72px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper-elev);
}
.feature {
	padding: 48px 40px;
	position: relative;
}
.feature + .feature {
	border-left: 1px solid var(--line-soft);
}
.feature-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--clay);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { margin-bottom: 14px; font-size: 26px; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 860px) {
	.feature-grid { grid-template-columns: 1fr; }
	.feature + .feature { border-left: none; border-top: 1px solid var(--line-soft); }
}

/* ============ Science / Evidence section ============ */

.evidence {
	padding: 120px 0;
	background: var(--forest);
	color: var(--paper-elev);
	position: relative;
	overflow: hidden;
}
.evidence-topo {
	position: absolute;
	inset: 0;
	opacity: 0.15;
	pointer-events: none;
}
.evidence-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}
@media (max-width: 860px) { .evidence-inner { grid-template-columns: 1fr; gap: 40px; } }

.evidence h2, .evidence h3 { color: var(--paper-elev); }
.evidence .eyebrow { color: var(--clay-soft); }
.evidence .eyebrow-mark::before { background: var(--clay-soft); box-shadow: 0 0 0 4px rgba(232, 169, 138, 0.2); }
.evidence p { color: rgba(245, 239, 227, 0.75); font-size: 17px; line-height: 1.6; }
.evidence .italic { color: var(--clay-soft); }

.evidence-big-num {
	font-family: var(--serif);
	font-size: clamp(120px, 16vw, 200px);
	line-height: 0.85;
	color: var(--paper-elev);
	letter-spacing: -0.03em;
	display: block;
}
.evidence-big-num .plus { color: var(--clay-soft); font-style: italic; }
.evidence-big-label {
	display: block;
	margin-top: 24px;
	font-size: 18px;
	color: rgba(245, 239, 227, 0.7);
	max-width: 340px;
	line-height: 1.4;
}

/* ============ Pricing / Register CTA ============ */

.price-band {
	padding: 120px 0;
	background: var(--paper);
}
.price-card {
	max-width: 720px;
	margin: 0 auto;
	padding: 60px 52px;
	background: var(--paper-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: center;
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
}
.price-card::before {
	content: "";
	position: absolute;
	top: -60%;
	left: -20%;
	width: 140%;
	height: 80%;
	background: radial-gradient(ellipse at center, rgba(196, 96, 63, 0.08) 0%, transparent 60%);
	pointer-events: none;
}
.price-card > * { position: relative; z-index: 2; }
.price-card .eyebrow { justify-content: center; margin-bottom: 24px; }
.price-card h2 { margin-bottom: 28px; }
.price-amount {
	font-family: var(--serif);
	font-size: 88px;
	line-height: 1;
	color: var(--clay);
	letter-spacing: -0.02em;
	margin: 24px 0 12px;
}
.price-amount .currency { font-size: 40px; vertical-align: top; position: relative; top: 12px; color: var(--ink); font-style: italic; margin-right: 4px; }
.price-amount .cents { font-size: 40px; vertical-align: top; position: relative; top: 12px; color: var(--ink-muted); }
.price-note { font-size: 14px; color: var(--ink-muted); margin-bottom: 40px; }
.price-includes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
	padding: 28px 0;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	text-align: left;
}
.price-include {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.price-include svg { flex-shrink: 0; margin-top: 2px; color: var(--forest); }
.price-include strong { display: block; margin-bottom: 2px; }
.price-include span { font-size: 13.5px; color: var(--ink-muted); line-height: 1.45; }
@media (max-width: 720px) {
	.price-card { padding: 40px 28px; }
	.price-includes { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
	.price-amount { font-size: 64px; }
	.price-amount .currency, .price-amount .cents { font-size: 28px; top: 8px; }
}

/* ============ FAQ ============ */

.faq-band {
	padding: 120px 0;
	background: var(--paper-warm);
}
.faq-list {
	max-width: 820px;
	margin: 0 auto;
	border-top: 1px solid var(--line);
}
.faq-item {
	border-bottom: 1px solid var(--line);
	padding: 28px 8px;
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	font-family: var(--serif);
	font-size: 22px;
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-right: 4px;
	transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--clay); }
.faq-item summary::after {
	content: "";
	display: block;
	width: 14px; height: 14px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M7 2v10M2 7h10' stroke='%23201914' stroke-width='1.5' stroke-linecap='round'/></svg>");
	background-repeat: no-repeat;
	flex-shrink: 0;
	transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
	margin-top: 18px;
	color: var(--ink-soft);
	line-height: 1.6;
	font-size: 16px;
	max-width: 700px;
}

/* ============ Footer ============ */

.site-ftr {
	background: var(--ink);
	color: rgba(245, 239, 227, 0.75);
	padding: 80px 0 32px;
	position: relative;
	overflow: hidden;
}
.site-ftr-topo {
	position: absolute;
	inset: 0;
	opacity: 0.08;
	pointer-events: none;
}
.site-ftr-inner {
	position: relative;
	z-index: 2;
}
.site-ftr-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 60px;
}
@media (max-width: 820px) { .site-ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 480px) { .site-ftr-grid { grid-template-columns: 1fr; } }

.site-ftr h4 {
	color: var(--paper-elev);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: var(--clay-soft);
}
.site-ftr ul { list-style: none; }
.site-ftr li { margin-bottom: 10px; }
.site-ftr a {
	color: rgba(245, 239, 227, 0.75);
	border: none;
	font-size: 14px;
	transition: color 0.2s var(--ease);
}
.site-ftr a:hover { color: var(--paper-elev); }
.site-ftr-brand {
	font-family: var(--serif);
	font-size: 22px;
	color: var(--paper-elev);
	line-height: 1.3;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.site-ftr-tagline {
	font-size: 14px;
	color: rgba(245, 239, 227, 0.6);
	max-width: 360px;
	line-height: 1.55;
}
.site-ftr-bottom {
	padding-top: 28px;
	border-top: 1px solid rgba(245, 239, 227, 0.12);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(245, 239, 227, 0.55);
}

/* ============ Inner page hero (for register/contact/etc.) ============ */

.inner-hero {
	padding: 72px 0 48px;
	position: relative;
	overflow: hidden;
}
.inner-hero-topo {
	position: absolute;
	inset: 0;
	opacity: 0.3;
	pointer-events: none;
}
.inner-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}
.inner-hero h1 {
	font-size: clamp(40px, 5vw, 64px);
	margin: 18px 0 24px;
}
.inner-hero p {
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink-soft);
	max-width: 620px;
}

/* ============ Form pages (register, contact, payment) ============ */

.form-page {
	padding: 24px 0 120px;
}
.form-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 72px;
	align-items: start;
}
@media (max-width: 940px) { .form-grid { grid-template-columns: 1fr; gap: 48px; } }

.form-content h2 { margin-bottom: 20px; font-size: 32px; }
.form-content p { margin-bottom: 16px; color: var(--ink-soft); line-height: 1.65; font-size: 16px; }
.form-content p + p { margin-top: 0; }

.form-card {
	padding: 40px;
	background: var(--paper-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: 100px;
}
@media (max-width: 940px) { .form-card { position: static; } }

.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card-subtitle {
	font-size: 13px;
	color: var(--ink-muted);
	margin-bottom: 28px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Form field wrappers (the dynamically-built forms put each field as a direct child of #form) */
#form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#form > * {
	display: block;
	width: 100%;
	padding: 14px 18px;
	font-family: var(--sans);
	font-size: 15px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	outline: none;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
#form > *:not(:first-child) { margin-top: 0; }
#form input::placeholder, #form textarea::placeholder { color: var(--ink-muted); }
#form > *:focus, #form > *:focus-within {
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(196, 96, 63, 0.12);
}
#form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* Choice (radio group built as a div) */
#form > div:not(#button):not(#payment) {
	font-size: 14px;
	color: var(--ink-muted);
	padding: 16px 18px;
}
#form > div input[type=radio] {
	margin: 4px 8px 0 4px;
	accent-color: var(--clay);
	vertical-align: middle;
}
#form > div span { font-size: 15px; color: var(--ink); vertical-align: middle; cursor: pointer; padding-left: 2px; }
#form > div span.link:hover { color: var(--clay); }
#form > div br { line-height: 0; }

/* Submit button */
#button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: auto !important;
	min-width: 180px;
	align-self: flex-start;
	padding: 14px 28px !important;
	margin-top: 8px !important;
	background: var(--clay) !important;
	color: var(--paper-elev) !important;
	border: none !important;
	border-radius: 100px !important;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	text-shadow: none !important;
	text-align: center !important;
	cursor: pointer;
	transition: all 0.25s var(--ease);
	box-shadow: var(--shadow-sm);
}
#button:hover {
	background: var(--clay-deep) !important;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md) !important;
	text-decoration: none !important;
}

#errors {
	text-align: left;
	line-height: 1.8;
}

/* Payment summary table (used in payment.html) */
#payment {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	font-size: 14px;
}
#payment td {
	padding: 12px 16px;
	border: none;
	border-top: 1px solid var(--line-soft);
	color: var(--ink-soft);
}
#payment th {
	background: var(--paper-warm);
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 400;
	font-size: 16px;
	padding: 14px 16px;
	text-align: left;
	letter-spacing: 0;
	text-transform: none;
}
#payment tr:first-child td { border-top: none; }
#payment tr:nth-child(n+1) td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
#payment tr:last-child td {
	border-top: 2px solid var(--ink);
	font-weight: 600;
	color: var(--ink);
	padding-top: 14px;
	background: var(--paper-elev);
}

/* ============ Success page ============ */

.success-card {
	max-width: 640px;
	margin: 40px auto 0;
	padding: 56px 44px;
	background: var(--paper-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: center;
	box-shadow: var(--shadow-md);
}
.success-mark {
	width: 88px; height: 88px;
	margin: 0 auto 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.success-card h1 { font-size: clamp(36px, 4.5vw, 52px); margin-bottom: 20px; }
.success-card p {
	text-align: left;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ink-soft);
	margin-bottom: 16px;
}

/* ============ Legal pages (privacy, terms) ============ */

.legal {
	padding: 24px 0 120px;
}
.legal-content {
	max-width: 780px;
	margin: 0 auto;
}
.legal-content p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: 16px;
}
.legal-content p + p { margin-top: 0; }
.legal-content h2 {
	font-size: 28px;
	margin-top: 56px;
	margin-bottom: 20px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.legal-content h2:first-of-type { margin-top: 32px; }
.legal-content h3 {
	font-size: 20px;
	margin-top: 32px;
	margin-bottom: 14px;
	font-family: var(--sans);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0;
}
.legal-content ul, .legal-content ol {
	margin: 16px 0 16px 24px;
	color: var(--ink-soft);
}
.legal-content li { margin-bottom: 8px; line-height: 1.6; }
.legal-content li::marker { color: var(--clay); }
.legal-meta {
	padding: 16px 20px;
	background: var(--paper-warm);
	border-radius: var(--radius);
	font-size: 13px;
	color: var(--ink-muted);
	margin-bottom: 32px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ============ Popup / Modal (Wayfinder dialogs) ============
   Namespaced .wf-modal-* to avoid collisions with legacy popup CSS
   that might still be injected by cached older popup.js builds.
   ============================================================= */

.wf-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: var(--sans);
	z-index: 9999;
	animation: wf-modal-in 0.22s var(--ease) both;
}
.wf-modal.wf-modal-out { animation: wf-modal-out 0.18s var(--ease) both; }

.wf-modal-veil {
	position: absolute;
	inset: 0;
	background: rgba(32, 25, 20, 0.55);
	backdrop-filter: blur(8px) saturate(120%);
	-webkit-backdrop-filter: blur(8px) saturate(120%);
}

.wf-modal-card {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: var(--paper-elev);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow:
		0 40px 80px -20px rgba(32, 25, 20, 0.35),
		0 16px 32px -12px rgba(32, 25, 20, 0.15),
		0 0 0 1px rgba(32, 25, 20, 0.03);
	overflow: hidden;
	animation: wf-modal-card-in 0.32s var(--ease) both;
}
.wf-modal.wf-modal-out .wf-modal-card {
	animation: wf-modal-card-out 0.18s var(--ease) both;
}

@keyframes wf-modal-in       { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-modal-out      { from { opacity: 1; } to { opacity: 0; } }
@keyframes wf-modal-card-in  { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes wf-modal-card-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px) scale(0.98); } }

/* Title - integrated into the card, not a separate colored bar */
.wf-modal-title {
	margin: 0;
	padding: 32px 36px 6px;
	font-family: var(--serif);
	font-size: 34px;
	font-style: italic;
	font-weight: 400;
	color: var(--ink);
	line-height: 1.02;
	letter-spacing: -0.015em;
	text-transform: none;
}

.wf-modal-body {
	padding: 8px 36px 28px;
}

.wf-modal-msg {
	color: var(--ink-soft);
	font-family: var(--sans);
	font-size: 15.5px;
	line-height: 1.55;
	text-align: left;
}

.wf-modal-ins {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
	color: var(--ink-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Errors list when the message contains a <div id='errors'> block */
.wf-modal-msg #errors {
	margin-top: 14px;
	padding: 14px 18px;
	background: var(--paper-warm);
	border-left: 2px solid var(--clay);
	border-radius: var(--radius);
	line-height: 1.8;
	font-size: 14px;
	color: var(--ink);
	text-align: left;
}

/* Button row */
.wf-modal-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	padding: 18px 28px;
	background: var(--paper-warm);
	border-top: 1px solid var(--line-soft);
}

.wf-modal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	padding: 12px 26px;
	font-family: var(--sans);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1;
	border: 1px solid transparent;
	border-radius: 100px;
	cursor: pointer;
	outline: none;
	user-select: none;
	text-transform: none;
	letter-spacing: 0;
	transition: background 0.2s var(--ease), color 0.2s var(--ease),
	            border-color 0.2s var(--ease), transform 0.2s var(--ease),
	            box-shadow 0.2s var(--ease);
}

/* Primary - clay / terracotta */
.wf-modal-btn-primary {
	background: var(--clay);
	color: var(--paper-elev);
}
.wf-modal-btn-primary:hover {
	background: var(--clay-deep);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(196, 96, 63, 0.3);
}
.wf-modal-btn-primary:focus-visible {
	box-shadow: 0 0 0 3px rgba(196, 96, 63, 0.32);
}
.wf-modal-btn-primary:active {
	transform: translateY(0);
}

/* Ghost - for Cancel etc. */
.wf-modal-btn-ghost {
	background: transparent;
	color: var(--ink-soft);
	border-color: var(--line);
}
.wf-modal-btn-ghost:hover {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--ink-muted);
}
.wf-modal-btn-ghost:focus-visible {
	box-shadow: 0 0 0 3px rgba(32, 25, 20, 0.1);
}

@media (max-width: 480px) {
	.wf-modal-title   { font-size: 28px; padding: 26px 26px 6px; }
	.wf-modal-body    { padding: 8px 26px 22px; }
	.wf-modal-actions { padding: 14px 22px; gap: 8px; }
	.wf-modal-btn     { min-width: 88px; padding: 11px 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.wf-modal, .wf-modal-card,
	.wf-modal.wf-modal-out, .wf-modal.wf-modal-out .wf-modal-card { animation: none; }
	.wf-modal-btn { transition: none; }
	.wf-modal-btn:hover { transform: none; }
}

/* ============ Reveal on scroll (progressive enhancement) ============ */

/* .reveal elements are visible by default. Only hidden if JS has successfully
   set up the observer and opted them into the animation via .js-hidden. */

.reveal.js-hidden {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.js-hidden.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal.js-hidden { opacity: 1; transform: none; }
	.btn { transition: none; }
	.btn:hover { transform: none; }
}

/* ============================================================
   ClearPath-specific additions
   ============================================================ */

/* ---------------- "What would you like to learn?" ---------------- */

.learn-band {
	position: relative;
	padding: 90px 0;
	background: var(--paper-warm);
	overflow: hidden;
}
.learn-band-topo {
	position: absolute;
	inset: 0;
	opacity: 0.4;
	pointer-events: none;
}

.learn-card {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
	padding: 56px 40px 44px;
	background: var(--paper-elev);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: center;
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.learn-q {
	margin: 0 0 32px;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--ink);
}

.learn-options {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.learn-opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 18px 30px;
	font-family: var(--sans);
	font-size: 15.5px;
	font-weight: 500;
	border-radius: 100px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.learn-opt .learn-opt-text {
	display: inline-block;
	transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.learn-opt.is-fading .learn-opt-text {
	opacity: 0;
	transform: translateY(-4px);
}

.learn-opt-a {
	background: var(--forest);
	color: var(--paper-elev);
}
.learn-opt-a:hover {
	background: var(--forest-deep);
	color: var(--paper-elev);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(48, 70, 56, 0.28);
	border: none;
}

.learn-opt-b {
	background: var(--clay);
	color: var(--paper-elev);
}
.learn-opt-b:hover {
	background: var(--clay-deep);
	color: var(--paper-elev);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(196, 96, 63, 0.28);
	border: none;
}

.learn-dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 8px;
}
.learn-dot {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--line);
	transition: background 0.3s var(--ease), transform 0.3s var(--ease);
	cursor: pointer;
	border: none;
	padding: 0;
}
.learn-dot.is-active {
	background: var(--clay);
	transform: scale(1.35);
}

.learn-caption {
	margin-top: 26px;
	font-size: 14px;
	color: var(--ink-muted);
	letter-spacing: 0.02em;
}
.learn-caption em { color: var(--clay); font-style: italic; }

@media (max-width: 560px) {
	.learn-card { padding: 40px 24px 30px; }
	.learn-options { flex-direction: column; gap: 10px; align-items: center; }
	.learn-opt { width: 100%; max-width: 320px; padding: 16px 24px; }
}


/* ---------------- Course Modules (4-module disclosure) ---------------- */

.modules-band {
	position: relative;
	padding: 120px 0;
	background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 50%, var(--paper) 100%);
	overflow: hidden;
}
.modules-band-topo {
	position: absolute;
	inset: 0;
	opacity: 0.4;
	pointer-events: none;
}
.modules-inner { position: relative; z-index: 2; }

.module-list {
	margin-top: 72px;
	display: grid;
	gap: 0;
}

.module {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 48px;
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.module:first-child { border-top: none; padding-top: 0; }
.module:last-child  { padding-bottom: 0; }

.module-marker { padding-top: 4px; }
.module-num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 72px;
	line-height: 1;
	color: var(--clay);
}
.module-step {
	margin-top: 8px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-muted);
}
.module-glyph {
	width: 48px;
	height: 48px;
	margin-top: 24px;
	color: var(--forest);
	opacity: 0.85;
}
.module-glyph svg { width: 100%; height: 100%; }

.module-body h3 {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.6vw, 32px);
	letter-spacing: -0.01em;
}
.module-body h3 .italic { color: var(--clay); }

.module-intro {
	font-size: 15.5px;
	color: var(--ink-muted);
	margin-bottom: 18px;
	letter-spacing: 0.02em;
	font-family: var(--sans);
}

.module-outcomes {
	list-style: none;
	margin: 0;
	padding: 0;
}
.module-outcomes li {
	position: relative;
	padding: 12px 0 12px 28px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
	border-top: 1px solid var(--line-soft);
}
.module-outcomes li:first-child { border-top: none; }
.module-outcomes li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 20px;
	width: 10px;
	height: 2px;
	background: var(--clay);
	border-radius: 1px;
}

/* Progressive disclosure - max-height transition for broad browser support */
.module-extra {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.45s var(--ease), opacity 0.3s var(--ease);
}
.module.is-expanded .module-extra {
	max-height: 800px;
	opacity: 1;
	transition: max-height 0.5s var(--ease), opacity 0.3s var(--ease) 0.1s;
}
.module-extra-inner { padding-top: 4px; }

.module-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 500;
	border-radius: 100px;
	cursor: pointer;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.module-toggle:hover {
	background: var(--paper-elev);
	border-color: var(--ink-muted);
	color: var(--clay);
}
.module-toggle .module-toggle-icon {
	width: 12px;
	height: 12px;
	transition: transform 0.3s var(--ease);
}
.module.is-expanded .module-toggle-icon { transform: rotate(45deg); }

/* Post-course module (Module 4) gets a subtly different treatment */
.module.module-capstone .module-num { color: var(--forest); }
.module.module-capstone .module-outcomes li::before { background: var(--forest); }

@media (max-width: 720px) {
	.module { grid-template-columns: 1fr; gap: 18px; padding: 44px 0; }
	.module-num { font-size: 56px; }
	.module-glyph { margin-top: 14px; width: 40px; height: 40px; }
}
