/*
 * Styling for ordinary WordPress Pages (page.php), Legal documents
 * (page-templates/legal.php) and the hidden Delete Account replica
 * (page-templates/delete-account.php). Matches the brand palette already
 * used inside inc/app-template.php: orange #E88D0E, near-black #141210,
 * warm off-white #FDFBF7, charcoal body text #5c564d.
 */

.cn-page-shell {
	background: #FDFBF7;
	min-height: 60vh;
	padding: 64px 20px 96px;
	font-family: 'Manrope', sans-serif;
	color: #33302b;
}

.cn-page-shell__inner {
	max-width: 760px;
	margin: 0 auto;
}

.cn-page__header {
	margin-bottom: 32px;
}

.cn-page__title {
	font-family: "Space Grotesk", sans-serif;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #141210;
	margin: 0 0 8px;
	line-height: 1.15;
}

.cn-page__content {
	font-size: 16px;
	line-height: 1.75;
	color: #4a453d;
}

.cn-page__content p,
.cn-page__content ul,
.cn-page__content ol {
	margin: 0 0 18px;
}

.cn-page__content ul,
.cn-page__content ol {
	padding-left: 22px;
}

.cn-page__content li {
	margin-bottom: 8px;
}

.cn-page__content h2 {
	font-family: "Space Grotesk", sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #141210;
	margin: 40px 0 14px;
	letter-spacing: -0.01em;
}

.cn-page__content a {
	color: #E88D0E;
	text-decoration: underline;
}

/* ---------- Legal document layout ---------- */

.cn-legal-shell__inner {
	max-width: 780px;
}

.cn-legal__back {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #7d776d;
	text-decoration: none;
	margin-bottom: 24px;
}

.cn-legal__back:hover {
	color: #E88D0E;
}

.cn-legal__updated {
	font-size: 13.5px;
	color: #8a847a;
	margin: 0;
}

.cn-legal-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #E88D0E;
	margin: 0 0 10px;
}

.cn-legal-lede {
	font-size: 17px;
	line-height: 1.65;
	color: #5c564d;
	font-style: italic;
	border-left: 3px solid #E88D0E;
	padding-left: 16px;
	margin: 0 0 32px;
}

.cn-legal-nav {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid rgba(20, 18, 16, 0.1);
}

.cn-legal-nav__title {
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7d776d;
	margin: 0 0 14px;
}

.cn-legal-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.cn-legal-nav__list a {
	font-size: 14.5px;
	font-weight: 600;
	color: #141210;
	text-decoration: none;
	border-bottom: 1px solid rgba(20, 18, 16, 0.2);
}

.cn-legal-nav__list a:hover {
	color: #E88D0E;
	border-color: #E88D0E;
}

/* ---------- Delete Account replica ---------- */

.cn-delete-shell__inner {
	max-width: 700px;
}

.cn-delete__intro {
	font-size: 16px;
	color: #5c564d;
	margin: 0;
}

.cn-delete__warning {
	background: #FBEFD9;
	border: 1px solid rgba(232, 141, 14, 0.35);
	border-radius: 14px;
	padding: 18px 20px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #5c4a1f;
	margin: 28px 0 40px;
}

.cn-delete__warning strong {
	color: #8a5b00;
}

.cn-delete__steps {
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
	counter-reset: cn-step;
}

.cn-delete__step {
	display: flex;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(20, 18, 16, 0.08);
}

.cn-delete__step:last-child {
	border-bottom: none;
}

.cn-delete__step-num {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #141210;
	color: #fff;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cn-delete__step-title {
	font-family: "Space Grotesk", sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #141210;
	margin: 4px 0 6px;
}

.cn-delete__step-body {
	font-size: 15px;
	line-height: 1.65;
	color: #5c564d;
	margin: 0;
}

.cn-page__content-heading {
	font-family: "Space Grotesk", sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #141210;
	margin: 8px 0 18px;
}

/* ---------- Delete Account: hero ---------- */

.cn-delhero {
	text-align: center;
	max-width: 560px;
	margin: 0 auto 40px;
}

.cn-delhero__kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #E88D0E;
	margin-bottom: 10px;
}

.cn-delhero__title {
	font-size: 32px;
	margin-bottom: 12px;
}

.cn-delhero__lede {
	font-size: 15.5px;
	line-height: 1.65;
	color: #5c564d;
	margin: 0 0 20px;
}

.cn-delhero__note {
	text-align: left;
	background: #FBEFD9;
	border: 1px solid rgba(232, 141, 14, 0.35);
	border-radius: 14px;
	padding: 14px 18px;
	font-size: 13.5px;
	line-height: 1.6;
	color: #5c4a1f;
}

.cn-delhero__note strong {
	color: #8a5b00;
}

/* ---------- Delete Account: step slider ---------- */

.cn-delslider {
	max-width: 420px;
	margin: 0 auto 48px;
}

.cn-delslider__head {
	text-align: center;
	margin-bottom: 14px;
}

.cn-delslider__count {
	font-family: "Space Grotesk", sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a847a;
}

.cn-delslide {
	display: none;
}

.cn-delslide.is-active {
	display: block;
	animation: cnFadeUp 0.25s ease both;
}

@keyframes cnFadeUp {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.cn-delslide__label {
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #a39d92;
	margin-bottom: 10px;
}

.cn-delslide__frame {
	background: #fff;
	border: 1px solid rgba(20, 18, 16, 0.08);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(20, 18, 16, 0.06);
	overflow: hidden;
	display: flex;
	justify-content: center;
	padding: 10px;
}

.cn-delslide__frame img {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	border-radius: 12px;
}

.cn-delslide__caption {
	text-align: center;
	font-size: 13.5px;
	line-height: 1.55;
	color: #6b6355;
	max-width: 360px;
	margin: 14px auto 0;
}

.cn-delslider__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
}

.cn-delslider__btn {
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 100px;
	border: 1px solid rgba(20, 18, 16, 0.16);
	background: #fff;
	color: #33302b;
	cursor: pointer;
	white-space: nowrap;
}

.cn-delslider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.cn-delslider__btn--primary {
	background: #141210;
	border-color: #141210;
	color: #fff;
}

.cn-delslider__btn--primary:hover {
	background: #E88D0E;
	border-color: #E88D0E;
	color: #141210;
}

.cn-delslider__dots {
	display: flex;
	gap: 7px;
}

.cn-delslider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(20, 18, 16, 0.15);
	border: none;
	padding: 0;
	cursor: pointer;
}

.cn-delslider__dot.is-active {
	background: #E88D0E;
	width: 20px;
	border-radius: 4px;
}

@media (max-width: 480px) {
	.cn-delhero__title {
		font-size: 26px;
	}

	.cn-delslider {
		max-width: 100%;
	}
}

/* ---------- Delete Account replica (legacy list styles, still used by cn-delete__policy/help) ---------- */

.cn-delete__policy {
	margin-top: 8px;
}

.cn-delete__help {
	background: #141210;
	color: #EDE9E2;
	border-radius: 20px;
	padding: 32px 30px;
	margin-top: 40px;
}

.cn-delete__help h2 {
	font-family: "Space Grotesk", sans-serif;
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 8px;
	color: #fff;
}

.cn-delete__help p {
	font-size: 14.5px;
	color: #b8b2a8;
	margin: 0 0 18px;
	line-height: 1.6;
}

.cn-delete__help-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: #E88D0E;
	color: #141210;
	border-radius: 100px;
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
}

.cn-delete__help-cta:hover {
	background: #fff;
}

/* ---------- "Choose your role" footer/nav control (replaces the old modal) ---------- */

.cn-footer-legal-link:hover {
	color: #fff !important;
}

.cn-footer-social:hover {
	background: #E88D0E !important;
	border-color: #E88D0E !important;
	color: #141210 !important;
}

.cn-navlinks a:hover {
	color: #E88D0E !important;
}

.cn-choose {
	position: relative;
	display: inline-block;
}

.cn-choose > summary {
	list-style: none;
	cursor: pointer;
}

.cn-choose > summary::-webkit-details-marker {
	display: none;
}

.cn-choose__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 60;
	width: 260px;
	background: #FDFBF7;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(20, 18, 16, 0.08);
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cn-choose__link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: #141210;
}

.cn-choose__link:hover {
	background: rgba(232, 141, 14, 0.12);
}

.cn-choose__link strong {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14.5px;
}

.cn-choose__link span {
	font-size: 12.5px;
	color: #6b6355;
}

@media (max-width: 640px) {
	.cn-page__title {
		font-size: 30px;
	}

	.cn-choose__panel {
		right: -10px;
		width: 240px;
	}
}
