/* C.L.E.A.N campaign base: shared by C.L.E.A.N Books and C.L.E.A.N Events. Keep both copies identical.
 * Tokens follow the live site: Astra palette (greens #03A07A / #016634 / #04755A, ink #1B1F29, text #434856,
 * greys #E9E9E9 / #F1F1F1), the C.L.E.A.N logo tiles and the Elementor kit's C.L.E.A.N Gold #FFB045.
 * Type follows Astra: Rufina 700 headings, Montserrat 600 sub-heads and buttons, Source Sans Pro body. */
.cwo {
	--cwo-green: #016634;
	--cwo-green-2: #04755a;
	--cwo-green-3: #03a07a;
	--cwo-green-tint: #e7f4ee;
	--cwo-ink: #1b1f29;
	--cwo-text: #434856;
	--cwo-muted: #5b6070;
	--cwo-ground: #f1f1f1;
	--cwo-surface: #ffffff;
	--cwo-line: #dcdcdc;
	--cwo-on-dark: #ffffff;
	--cwo-on-dark-muted: #cfe5d9;
	--cwo-gold: #ffb045;
	--cwo-gold-2: #f29a1f;
	--cwo-orange: #ee5422;
	--cwo-purple: #925ff2;
	--cwo-leaf: #669934;
	--cwo-err: #c0262d;
	--cwo-ok: #016634;
	--cwo-r: 4px;
	--cwo-display: "Rufina", Georgia, serif;
	--cwo-sub: "Montserrat", "Segoe UI", sans-serif;
	--cwo-body: "Source Sans Pro", "Source Sans 3", "Segoe UI", Roboto, sans-serif;
	--cwo-wrap: 1180px;
	font-family: var(--cwo-body);
	color: var(--cwo-text);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.cwo *, .cwo *::before, .cwo *::after { box-sizing: border-box; }
.cwo img { max-width: 100%; height: auto; display: block; }
.cwo :where(h1, h2, h3) { margin: 0; color: inherit; }
.cwo p { margin: 0 0 1em; }
.cwo a { color: var(--cwo-green-2); }
.cwo [hidden] { display: none !important; }

/* Break out of whatever content column the theme gives us and run edge to edge. */
.cwo.cwo-page,
.is-layout-constrained > .cwo.cwo-page,
.entry-content > .cwo.cwo-page,
.elementor-widget-container > .cwo.cwo-page {
	position: relative; left: 50%; width: 100vw; max-width: 100vw !important;
	margin-left: -50vw !important; margin-right: 0 !important; margin-block: 0;
	overflow-x: clip; background: var(--cwo-surface);
}
html:has(.cwo-page), body:has(.cwo-page) { overflow-x: clip; }
.entry-content > .cwo-page:first-child { margin-top: 0; }

.cwo-wrap { max-width: var(--cwo-wrap); margin: 0 auto; padding: 0 24px; }
.cwo-dark { background: var(--cwo-green); color: var(--cwo-on-dark); }
.cwo-dark a:not(.cwo-btn) { color: var(--cwo-gold); }

/* Type */
.cwo-display {
	font-family: var(--cwo-display);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.01em;
	font-size: clamp(44px, 5.4vw, 74px);
	color: inherit;
}
.cwo-display em { font-style: normal; color: var(--cwo-gold); }
.cwo-h2 {
	font-family: var(--cwo-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.005em;
	font-size: clamp(32px, 3.6vw, 48px);
	color: var(--cwo-ink);
	margin-bottom: 24px;
}
.cwo-dark .cwo-h2 { color: var(--cwo-on-dark); }
.cwo-eyebrow {
	font-family: var(--cwo-sub);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cwo-green-2);
	margin-bottom: 16px;
}
.cwo-dark .cwo-eyebrow { color: var(--cwo-gold); }
.cwo-tagline {
	font-family: var(--cwo-display);
	font-weight: 400;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.3;
	margin: 14px 0 18px;
	padding-bottom: 2px;
}
.cwo-lede { font-size: 19px; max-width: 32em; color: var(--cwo-on-dark-muted); }

/* Buttons: Astra's button style (Montserrat 600, uppercase, 4px). */
.cwo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border-radius: var(--cwo-r); border: 1px solid transparent;
	font: 600 15px/1 var(--cwo-sub); letter-spacing: .04em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, opacity .15s ease;
}
.cwo-btn:active { transform: translateY(1px); }
.cwo .cwo-btn--accent { background: var(--cwo-green); color: #fff; }
.cwo .cwo-btn--accent:hover { background: var(--cwo-green-2); color: #fff; }
.cwo .cwo-dark .cwo-btn--accent, .cwo .cwo-btn--gold { background: var(--cwo-gold); color: var(--cwo-ink); }
.cwo .cwo-dark .cwo-btn--accent:hover, .cwo .cwo-btn--gold:hover { background: var(--cwo-gold-2); color: var(--cwo-ink); }
.cwo .cwo-btn--ghost { border-color: currentColor; color: var(--cwo-green); background: transparent; }
.cwo .cwo-dark .cwo-btn--ghost { color: #fff; }
.cwo .cwo-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.cwo-btn--block { width: 100%; }
.cwo-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.cwo-btn.is-busy { opacity: .7; pointer-events: none; }
.cwo-btn:focus-visible, .cwo-input:focus-visible, .cwo-choice input:focus-visible + .cwo-choice__body, .cb-stepper__btn:focus-visible {
	outline: 3px solid var(--cwo-gold); outline-offset: 2px;
}
.cwo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }

/* Hero */
.cwo-hero { position: relative; }
.cwo-hero__inner {
	max-width: var(--cwo-wrap); margin: 0 auto; padding: 72px 24px 80px;
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
	min-height: min(720px, 86vh);
}
.cwo-hero__art { margin: 0; position: relative; align-self: stretch; }
.cwo-price-line { font-family: var(--cwo-sub); font-weight: 600; color: var(--cwo-on-dark-muted); font-size: 14px; white-space: pre; }

/* Forms */
.cwo-card { background: var(--cwo-surface); border: 1px solid var(--cwo-line); border-radius: var(--cwo-r); padding: clamp(22px, 4vw, 44px); box-shadow: 0 18px 40px -28px rgba(27, 31, 41, .35); }
.cwo-fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.cwo-fieldset > legend.cwo-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; padding: 0; }
.cwo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.cwo-span-2 { grid-column: 1 / -1; }
.cwo-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cwo-label { font-family: var(--cwo-sub); font-weight: 600; font-size: 14px; color: var(--cwo-ink); display: block; line-height: 1.4; }
.cwo-optional, .cwo-hint { font-family: var(--cwo-body); font-weight: 400; color: var(--cwo-muted); font-size: 14px; }
.cwo .cwo-input {
	width: 100%; min-height: 50px; padding: 12px 14px;
	font: 400 17px/1.4 var(--cwo-body); color: var(--cwo-ink);
	background: var(--cwo-surface); border: 1px solid #b9bcc4; border-radius: var(--cwo-r);
	box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.cwo textarea.cwo-input { min-height: 96px; resize: vertical; }
.cwo .cwo-input::placeholder { color: #80848f; }
.cwo .cwo-input:focus { border-color: var(--cwo-green); box-shadow: 0 0 0 1px var(--cwo-green); outline: none; }
.cwo .cwo-input[aria-invalid="true"] { border-color: var(--cwo-err); }
.cwo select.cwo-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cwo-ink) 50%), linear-gradient(135deg, var(--cwo-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.cwo-field-error { color: var(--cwo-err); font-size: 14px; font-weight: 600; }

/* Choice tiles (radio) */
.cwo-choices { display: grid; gap: 10px; }
.cwo-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cwo-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cwo-choices--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cwo-choice { position: relative; display: block; cursor: pointer; margin: 0; }
.cwo-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cwo-choice__body {
	display: flex; flex-direction: column; gap: 3px; height: 100%;
	padding: 14px 16px; border: 1px solid #b9bcc4; border-radius: var(--cwo-r);
	background: var(--cwo-surface); transition: border-color .15s, background-color .15s, box-shadow .15s;
	font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--cwo-ink);
}
.cwo-choices--pills .cwo-choice__body { padding: 10px 16px; flex-direction: row; }
.cwo-choice__body small { font-weight: 400; color: var(--cwo-muted); font-size: 14px; }
.cwo-choice:hover .cwo-choice__body { border-color: var(--cwo-green-2); }
.cwo-choice input:checked + .cwo-choice__body { border-color: var(--cwo-green); background: var(--cwo-green-tint); box-shadow: inset 0 0 0 1px var(--cwo-green); }

/* Messages */
.cwo-banner { padding: 16px 18px; border-radius: var(--cwo-r); background: #fff4e3; border-left: 4px solid var(--cwo-gold); margin-bottom: 22px; color: var(--cwo-ink); }
.cwo-banner--ok { background: var(--cwo-green-tint); border-color: var(--cwo-green); }
.cwo-banner--warn { background: #fdecec; border-color: var(--cwo-err); }
.cwo-error { color: var(--cwo-err); font-weight: 600; font-size: 16px; margin: 14px 0; }
.cwo-fineprint { font-size: 14px; color: var(--cwo-muted); margin: 12px 0 0; text-align: center; }
.cwo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* The logo's tiles, reused as a small brand mark above section headings. */
.cwo-tiles { display: flex; gap: 4px; margin-bottom: 18px; }
.cwo-tiles i { display: block; width: 12px; height: 12px; border-radius: 6px 6px 6px 0; }
.cwo-tiles i:nth-child(1) { background: var(--cwo-orange); }
.cwo-tiles i:nth-child(2) { background: var(--cwo-gold); }
.cwo-tiles i:nth-child(3) { background: var(--cwo-purple); }
.cwo-tiles i:nth-child(4) { background: var(--cwo-leaf); }
.cwo-tiles i:nth-child(5) { background: var(--cwo-green); }
.cwo-dark .cwo-tiles i:nth-child(5) { background: #fff; }

@media (max-width: 900px) {
	.cwo-hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 20px 48px; gap: 36px; }
	.cwo-wrap { padding: 0 20px; }
}
@media (max-width: 640px) {
	.cwo { font-size: 17px; }
	.cwo-grid, .cwo-choices--2, .cwo-choices--3 { grid-template-columns: 1fr; }
	.cwo-actions .cwo-btn { width: 100%; }
	.cwo-price-line { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	.cwo *, .cwo *::before, .cwo *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
