/* CampaignPress - member pages v3.3.0 ([cp_login] [cp_register] [cp_pricing] [cp_account]) */
.cp-box, .cp-pricing, .cp-account {
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1c2430;
	line-height: 1.55;
	max-width: 900px;
	margin: 0 auto;
}
.cp-box { max-width: 480px; background: #fff; border: 1px solid #dde4ec; border-radius: 14px; padding: 22px 26px; }
.cp-box.cp-gate { text-align: center; }
.cp-h3 { margin: 0 0 10px; font-size: 20px; }
.cp-sub { color: #5c6b7a; }
.cp-hint { color: #5c6b7a; font-size: 13px; }
.cp-links { font-size: 14px; margin-top: 12px; }

.cp-notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14px; }
.cp-notice-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.cp-notice-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.cp-notice-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.cp-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1px solid #c7d2fe;
	background: #eef2ff;
	color: #4f46e5;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.cp-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px -4px rgba(79, 70, 229, 0.5); color: #4338ca; }
.cp-btn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.cp-btn-primary:hover { color: #fff; background: #4338ca; }
.cp-btn-ghost { background: transparent; border-color: #dde4ec; color: #5c6b7a; }
.cp-btn-sm { padding: 6px 14px; font-size: 13px; }
.cp-btn-current { background: #f6f8fb; border-color: #dde4ec; color: #5c6b7a; cursor: default; }
.cp-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cp-inline-form { display: inline; }
.cp-inline-form button { font-family: inherit; }

/* Login / register forms */
.cp-login #loginform, .cp-form { margin-top: 4px; }
.cp-login #loginform p, .cp-form p { margin: 0 0 14px; }
.cp-login #loginform label, .cp-form label { font-weight: 600; font-size: 14px; }
.cp-login #loginform input[type="text"], .cp-login #loginform input[type="password"],
.cp-form input[type="text"], .cp-form input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #dde4ec;
	border-radius: 8px;
	font-size: 15px;
	margin-top: 4px;
	box-sizing: border-box;
}
.cp-login #loginform input[type="submit"] {
	padding: 10px 22px;
	border-radius: 999px;
	border: 0;
	background: #4f46e5;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}
.cp-hp { position: absolute !important; left: -9999px !important; opacity: 0; }

/* Pricing */
.cp-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 8px 0 24px; }
.cp-plan {
	position: relative;
	background: #fff;
	border: 1px solid #dde4ec;
	border-radius: 16px;
	padding: 26px 26px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cp-plan-featured { border: 2px solid #4f46e5; box-shadow: 0 10px 30px -18px rgba(79, 70, 229, 0.6); }
.cp-plan-flag {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #4f46e5;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 999px;
}
.cp-plan h3 { margin: 0; font-size: 20px; }
.cp-plan-price { font-size: 38px; font-weight: 800; color: #1c2430; }
.cp-plan-price span { font-size: 15px; font-weight: 600; color: #5c6b7a; }
.cp-plan-points { font-size: 15px; color: #4f46e5; }
.cp-plan-blurb { color: #5c6b7a; font-size: 14px; margin: 0; flex: 1; }
.cp-plan-rate { color: #8a97a5; font-size: 12px; margin: 0; }

.cp-points-explain { background: #f6f8fb; border: 1px solid #dde4ec; border-radius: 14px; padding: 16px 22px; margin-bottom: 24px; }
.cp-points-explain h4 { margin: 4px 0 10px; }
.cp-points-explain ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 10px; padding: 0; }
.cp-points-explain li { font-size: 14px; color: #5c6b7a; }
.cp-points-explain p { font-size: 14px; color: #5c6b7a; margin: 0; }

.cp-packs h4 { margin: 0 0 12px; }
.cp-pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 10px; }
.cp-pack {
	background: #fff;
	border: 1px solid #dde4ec;
	border-radius: 12px;
	padding: 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
}
.cp-pack strong { font-size: 16px; }
.cp-pack span { color: #5c6b7a; font-size: 14px; }

/* Account */
.cp-acct-head {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	background: #fff;
	border: 1px solid #dde4ec;
	border-radius: 16px;
	padding: 20px 24px;
	margin-bottom: 16px;
}
.cp-acct-balance { display: flex; flex-direction: column; padding-right: 20px; border-right: 1px solid #dde4ec; }
.cp-acct-n { font-size: 34px; font-weight: 800; color: #4f46e5; line-height: 1.1; }
.cp-acct-l { font-size: 12px; color: #5c6b7a; }
.cp-acct-plan { flex: 1; font-size: 15px; }
.cp-acct-warn { color: #b91c1c; font-weight: 600; font-size: 13px; }
.cp-acct-section { background: #fff; border: 1px solid #dde4ec; border-radius: 16px; padding: 16px 24px 20px; margin-bottom: 16px; }
.cp-acct-section h4 { margin: 4px 0 12px; font-size: 16px; }
.cp-acct-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: 14px; }

.cp-history { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-history th, .cp-history td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eef2f6; }
.cp-history th { color: #5c6b7a; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.cp-history .cp-r { text-align: right; }
.cp-history .cp-pos { color: #047857; font-weight: 700; }
.cp-history .cp-neg { color: #5c6b7a; }

/* 3.2: referral share box */
.cp-ref-row { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.cp-ref-link {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c7d2fe;
	background: #eef2ff;
	color: #4338ca;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
}
.cp-ref-copied { font-size: 12px; }

/* ==================================================================
 * 3.3.0 - Design System 4.0 for member pages
 * Logo-true blue -> violet, navy ink, gradient identity moments,
 * solid CTAs, springy hovers, crafted focus.
 * ================================================================ */
.cp-box, .cp-pricing, .cp-account {
	color: #0f172a;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
.cp-box, .cp-plan, .cp-pack, .cp-acct-head, .cp-acct-section {
	border-color: #e3e9f4;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -18px rgba(37, 99, 235, 0.22);
}

.cp-btn { border-radius: 12px; border-color: #c4d4f8; background: #eef4ff; color: #2563eb; transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s, background 0.16s; }
.cp-btn:hover { color: #1d4ed8; }
.cp-btn-primary { background: #2563eb; border-color: #2563eb; color: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), 0 6px 16px -8px rgba(37, 99, 235, 0.55); }
.cp-btn-primary:hover { background: #1d4ed8; color: #fff; box-shadow: 0 12px 32px -14px rgba(88, 80, 236, 0.5); }
.cp-btn-ghost { background: transparent; border-color: #e3e9f4; color: #5b6b83; }
.cp-btn-current { background: #f6f8fd; border-color: #e3e9f4; color: #5b6b83; }

/* Pricing: featured plan gets the gradient ring; prices go gradient-ink */
.cp-plan { border-radius: 18px; transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s; }
.cp-plan:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07), 0 22px 48px -20px rgba(88, 80, 236, 0.35); }
.cp-plan-featured {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2563eb, #7c3aed) border-box;
	box-shadow: 0 14px 40px -18px rgba(88, 80, 236, 0.45);
}
.cp-plan-flag { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.cp-plan-price {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #2563eb;
}
.cp-plan-price span { -webkit-text-fill-color: initial; background: none; color: #5b6b83; }
.cp-plan-points { color: #2563eb; }

.cp-pack { border-radius: 14px; transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.16s; }
.cp-pack:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -18px rgba(37, 99, 235, 0.3); }

/* Account: balance number in brand gradient */
.cp-acct-n {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #2563eb;
}
.cp-acct-head { border-radius: 18px; }
.cp-acct-section { border-radius: 18px; }

/* Forms: crafted focus */
.cp-login #loginform input[type="text"]:focus, .cp-login #loginform input[type="password"]:focus,
.cp-form input[type="text"]:focus, .cp-form input[type="email"]:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.22);
	outline: none;
}
.cp-login #loginform input[type="submit"] { background: #2563eb; border-radius: 12px; }
.cp-login #loginform input[type="submit"]:hover { background: #1d4ed8; }

.cp-ref-link { border-color: #c4d4f8; background: #eef4ff; color: #1d4ed8; border-radius: 11px; }
.cp-plan-featured .cp-btn-primary { background: linear-gradient(135deg, #2563eb, #7c3aed); border-color: transparent; }

/* ==================================================================
 * 3.4.0 - [homepage] marketing page
 * ================================================================ */
.cp-home {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
	color: #0f172a;
	line-height: 1.6;
	max-width: 1060px;
	margin: 0 auto;
}
.cp-home section { margin: 0 0 72px; }
.cp-home-h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 10px; text-align: center; }

/* Hero */
.cp-home-hero { text-align: center; padding-top: 34px; position: relative; }
.cp-home-hero::before, .cp-home-hero::after {
	content: "";
	position: absolute;
	width: 64px;
	height: 64px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Crect x='34' y='6' width='7' height='7' fill='%237c3aed' opacity='.85'/%3E%3Crect x='43' y='15' width='5' height='5' fill='%232563eb' opacity='.7'/%3E%3Crect x='28' y='16' width='4' height='4' fill='%238b5cf6' opacity='.5'/%3E%3Cpath d='M14 26l2.6 6.4L23 35l-6.4 2.6L14 44l-2.6-6.4L5 35l6.4-2.6z' fill='%232563eb' opacity='.8'/%3E%3Crect x='38' y='40' width='6' height='6' fill='%237c3aed' opacity='.55'/%3E%3C/svg%3E") no-repeat center / contain;
	opacity: 0.6;
	pointer-events: none;
}
.cp-home-hero::before { top: 8px; left: 4%; transform: scaleX(-1); }
.cp-home-hero::after { top: 40px; right: 4%; }
.cp-home-eyebrow {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2563eb, #7c3aed) border-box;
	color: #2563eb;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.cp-home-h1 {
	font-size: clamp(38px, 6vw, 62px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	margin: 0 0 18px;
	font-weight: 800;
}
.cp-home-h1 span {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #2563eb;
}
.cp-home-lede { font-size: clamp(16px, 2vw, 19px); color: #5b6b83; max-width: 660px; margin: 0 auto 26px; }
.cp-home-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cp-btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }

/* Film frame: gradient border, 16:9, logo-echo play mark until embed */
.cp-home-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	border: 2px solid transparent;
	background: linear-gradient(#0f172a, #0f172a) padding-box, linear-gradient(135deg, #2563eb, #7c3aed) border-box;
	box-shadow: 0 30px 70px -30px rgba(37, 99, 235, 0.5);
	overflow: hidden;
}
.cp-home-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cp-home-video-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	background: linear-gradient(#0d1526, #131c33) padding-box, linear-gradient(135deg, #2563eb, #7c3aed) border-box;
}
.cp-home-video-placeholder p { color: #98a8c2; font-size: 15px; margin: 0; padding: 0 20px; text-align: center; }
.cp-home-video-placeholder p strong { color: #eaf0fa; }
.cp-home-play {
	width: 92px;
	height: 92px;
	border-radius: 26px;
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	box-shadow: 0 16px 40px -12px rgba(88, 80, 236, 0.7);
	position: relative;
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cp-home-video-placeholder:hover .cp-home-play { transform: scale(1.06); }
.cp-home-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-left: 26px solid #fff;
	border-top: 17px solid transparent;
	border-bottom: 17px solid transparent;
	border-radius: 4px;
}

/* Feature grid */
.cp-home-features .cp-home-h2 { margin-bottom: 26px; }
.cp-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cp-home-card {
	background: #fff;
	border: 1px solid #e3e9f4;
	border-radius: 16px;
	padding: 22px 24px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px -18px rgba(37, 99, 235, 0.22);
	transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s;
}
.cp-home-card:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07), 0 22px 48px -20px rgba(88, 80, 236, 0.35); }
.cp-home-card h3 { margin: 10px 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.cp-home-card p { margin: 0; color: #5b6b83; font-size: 14.5px; }
.cp-home-tick {
	display: block;
	width: 26px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Steps */
.cp-home-steps .cp-home-h2 { margin-bottom: 26px; }
.cp-home-steplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cp-home-steplist li { display: flex; gap: 14px; align-items: flex-start; }
.cp-home-stepnum {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	color: #fff;
	font-weight: 800;
	font-size: 17px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px -8px rgba(88, 80, 236, 0.6);
}
.cp-home-steplist strong { font-size: 16px; letter-spacing: -0.01em; }
.cp-home-steplist p { margin: 4px 0 0; color: #5b6b83; font-size: 14px; }

/* Pricing section */
.cp-home-priclede { text-align: center; color: #5b6b83; max-width: 560px; margin: 0 auto 26px; }
.cp-home-priclink { text-align: center; margin-top: 18px; font-size: 14.5px; }
.cp-home-priclink a { color: #2563eb; font-weight: 700; }

/* Closing band */
.cp-home-band {
	border-radius: 24px;
	border: 2px solid transparent;
	background: linear-gradient(120deg, #0d1526, #171b3f 60%, #241a4d) padding-box, linear-gradient(135deg, #2563eb, #7c3aed) border-box;
	position: relative;
	overflow: hidden;
}
.cp-home-band::after {
	content: "";
	position: absolute;
	top: 18px;
	right: 26px;
	width: 74px;
	height: 74px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4l3 8 8 3-8 3-3 8-3-8-8-3 8-3z' fill='white' opacity='.35'/%3E%3Crect x='30' y='26' width='5' height='5' fill='white' opacity='.25'/%3E%3C/svg%3E") no-repeat center / contain;
	pointer-events: none;
}
.cp-home-band-inner { padding: 44px 34px 46px; text-align: center; }
.cp-home-band h2 { color: #ffffff; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; margin: 0 0 8px; }
.cp-home-band p { color: #b6c3dd; margin: 0 0 22px; }
.cp-home-band-btn { background: #ffffff; border-color: #ffffff; color: #1d4ed8; }
.cp-home-band-btn:hover { background: #eef4ff; color: #1d4ed8; transform: translateY(-1px); }
.cp-home-band-login { color: #b6c3dd; font-size: 14.5px; text-decoration: underline; }
.cp-home-band-login:hover { color: #ffffff; }

@media (max-width: 640px) {
	.cp-home section { margin-bottom: 52px; }
	.cp-home-hero::before, .cp-home-hero::after { display: none; }
}

/* 3.6.2: invite-code box */
.cp-invite-box {
	max-width: 460px;
	margin: 0 auto 22px;
	padding: 14px 18px;
	border: 1px solid #e3e9f4;
	border-radius: 14px;
	background: #f8faff;
	font-size: 14px;
}
.cp-invite-on {
	border-color: #a7f3d0;
	background: #ecfdf5;
	color: #047857;
	text-align: center;
}
.cp-invite-on strong { color: #065f46; }
.cp-invite-bad { color: #b91c1c; margin: 0 0 8px; }
.cp-invite-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.cp-invite-form .cp-hint { font-weight: 500; }
.cp-invite-row { display: flex; gap: 8px; }
.cp-invite-row input {
	flex: 1;
	min-width: 0;
	padding: 9px 12px;
	border: 1px solid #c4d4f8;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	box-sizing: border-box;
}
.cp-invite-row input:focus { border-color: #2563eb; box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.22); outline: none; }
.cp-box .cp-invite-box { margin-top: 16px; }

/* 4.2: team seats + agency branding */
.cp-plan-perks { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13.5px; color: #5b6b83; }
.cp-plan-perks li { padding: 3px 0; }
.cp-plan-perks li::before { content: "+ "; color: #2563eb; font-weight: 800; }
.cp-seats td { vertical-align: middle; }
.cp-seats em { color: #5b6b83; font-style: normal; font-size: 12.5px; }
.cp-seat-form, .cp-agency-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 14px; }
.cp-seat-form label, .cp-agency-form label { flex: 1; min-width: 200px; font-weight: 600; font-size: 14px; }
.cp-seat-form input[type="email"], .cp-seat-form input[type="text"],
.cp-agency-form input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #c4d4f8;
	border-radius: 11px;
	font-size: 15px;
	margin-top: 4px;
	box-sizing: border-box;
}
.cp-seat-form .cp-hint, .cp-agency-form .cp-hint { flex-basis: 100%; margin: 0; }
.cp-agency-logo {
	flex-basis: 100%;
	padding: 12px 14px;
	background: #f8faff;
	border: 1px solid #e3e9f4;
	border-radius: 12px;
}
.cp-agency-logo img { max-height: 56px; max-width: 260px; display: block; }


/* =====================================================================
   PHONE LAYER (4.4.3) - this file had one breakpoint for 478 lines.
   ===================================================================== */

/* Same iOS zoom threshold as the studio. This one lands on the login and
   signup pages, which is the first thing a prospect ever touches. */
.cp-box input, .cp-form input, #loginform input,
.cp-invite-row input, .cp-seat-form input,
.cp-agency-form input, .cp-ref-link { font-size: 16px; }

.cp-btn-sm, #loginform input[type="submit"] {
	min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 640px) {
	/* 48-68px of a 375px screen was going to card insets, which is why
	   the account tables overflowed rather than merely felt tight. */
	.cp-box { padding: 18px 16px; }
	.cp-plan { padding: 22px 18px 20px; }
	.cp-acct-section, .cp-acct-head { padding: 14px 16px 18px; }
	.cp-points-explain { padding: 14px 16px; }
	.cp-home-band-inner { padding: 32px 20px 34px; }

	.cp-history th, .cp-history td { padding: 8px 6px; font-size: 13px; overflow-wrap: anywhere; }
	.cp-history td:first-child { white-space: nowrap; }

	/* The seats roster pushed its Remove button off-screen entirely.
	   Restack each row as a card so nothing lands outside the viewport. */
	.cp-seats, .cp-seats tbody, .cp-seats tr, .cp-seats td { display: block; }
	.cp-seats tr { border-bottom: 1px solid #eef2f6; padding: 8px 0; }
	.cp-seats .cp-r { text-align: left; }
	.cp-seats .cp-btn-sm { width: 100%; margin-top: 6px; }

	.cp-acct-head { display: block; }
	.cp-acct-balance {
		flex-direction: row; align-items: baseline; gap: 8px;
		padding-right: 0; border-right: 0;
		border-bottom: 1px solid #e3e9f4; padding-bottom: 10px; margin-bottom: 10px;
	}
	.cp-acct-cta .cp-btn, .cp-pack .cp-btn { width: 100%; }
}

/* iPad portrait rendered "Four steps" as 3 + 1, which reads as broken. */
@media (min-width: 641px) { .cp-home-steplist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cp-home-steplist { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
	.cp-btn, .cp-plan, .cp-pack, .cp-home-card { transition: none; }
	.cp-btn:hover, .cp-plan:hover, .cp-pack:hover, .cp-home-card:hover { transform: none; }
}

/* Referral row: a real button beside a display-only field, so nothing
   focusable summons the keyboard and the confirmation is truthful. */
.cp-ref-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cp-ref-link { flex: 1 1 220px; min-width: 0; }
.cp-ref-copy { flex: 0 0 auto; }
.cp-ref-copied { flex: 1 1 100%; }

/* =====================================================================
   Homepage additions (4.5.0): the triad, the philosophy strip, and the
   audience cards. Placed after the phone layer so these carry their own
   small-screen rules with them.
   ===================================================================== */

/* The promise, directly under the wordmark. Letter-spaced so it reads as
   a mark rather than a sentence. */
.cp-home-triad {
	font-size: clamp(15px, 2.4vw, 20px);
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #2563eb, #7c3aed);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 20px;
}
.cp-home-value {
	font-size: clamp(23px, 4.4vw, 36px);
	line-height: 1.15;
	font-weight: 800;
	color: #16233c;
	max-width: 720px;
	margin: 0 auto 16px;
	letter-spacing: -0.01em;
}
:root[data-theme="dark"] .cp-home-value { color: #eef2fb; }
@media (prefers-color-scheme: dark) { .cp-home-value { color: #eef2fb; } }

/* Stated once, given room. This is the one claim a competitor cannot
   copy by switching model providers, so it gets its own band. */
.cp-home-minds {
	max-width: 760px;
	margin: 0 auto 34px;
	padding: 18px 22px;
	border: 1px solid #dbe4f5;
	border-left: 4px solid #7c3aed;
	border-radius: 12px;
	background: linear-gradient(180deg, #fbfcff, #f4f7ff);
}
.cp-home-minds p { margin: 0; font-size: clamp(15px, 1.9vw, 17px); line-height: 1.6; color: #3d4a63; }
.cp-home-minds strong { color: #16233c; }

.cp-who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.cp-who-card {
	padding: 22px 20px 20px;
	border: 1px solid #e3e9f4;
	border-radius: 14px;
	background: #fff;
	border-top: 3px solid #2563eb;
}
.cp-who-card:nth-child(2) { border-top-color: #6d3aed; }
.cp-who-card:nth-child(3) { border-top-color: #a855f7; }
.cp-who-card h3 { margin: 0 0 8px; font-size: 17px; color: #16233c; }
.cp-who-card p { margin: 0; font-size: 14.5px; line-height: 1.62; color: #5b6b83; }

@media (max-width: 640px) {
	.cp-home-minds { padding: 16px; margin-bottom: 26px; }
	.cp-home-triad { letter-spacing: .12em; }
}

/* [cp_logout] - usable outside the member pages, so it carries its own
   minimal styling rather than depending on a surrounding container. */
.cp-logout-link { color: #2563eb; font-weight: 600; text-decoration: none; }
.cp-logout-link:hover { text-decoration: underline; }
.cp-logout-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }

/* Invite supply badge on the account page. */
.cp-invite-section h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-invite-count {
	font-size: 12px; font-weight: 700; letter-spacing: .02em;
	padding: 2px 10px; border-radius: 999px;
	background: linear-gradient(90deg, #2563eb, #7c3aed); color: #fff;
}
