/**
 * Casting Tools – Inner pages (Privacy, Terms, Pricing, Contact, Products).
 *
 * Loaded alongside casting-tools-home.css, so it inherits all the tokens and
 * button styles defined there (buttons, --ct-* colours, --ct-rainbow, .ct-wrap).
 * Everything here is scoped under `.ct-page-inner` (added to <body> by the
 * shared page shell) so it never leaks into the rest of the theme.
 */

/* ------------------------------------------------------------------ */
/* Shared page header (rainbow hero band)                             */
/* ------------------------------------------------------------------ */
.ct-page-inner .content,
.ct-page-inner .site-inner {
	max-width: none;
	padding: 0;
	margin: 0;
}

.ct-page-inner .ct-page { overflow: hidden; }

.ct-page-inner .ct-pagehead {
	position: relative;
	text-align: center;
	padding: 72px 0 60px;
	background:
		radial-gradient(1100px 420px at 18% -20%, rgba(124,58,237,.12), transparent 60%),
		radial-gradient(900px 420px at 85% -10%, rgba(37,99,235,.12), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f2f4fb 100%);
}
.ct-page-inner .ct-pagehead::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 6px;
	background: var(--ct-rainbow);
}
.ct-page-inner .ct-pagehead__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ct-blue);
	margin-bottom: 12px;
}
.ct-page-inner .ct-pagehead__title {
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	line-height: 1.06;
	letter-spacing: -.02em;
	font-weight: 700;
	color: var(--ct-ink);
	margin: 0 auto 12px;
	max-width: 20ch;
}
.ct-page-inner .ct-pagehead__meta {
	color: var(--ct-muted);
	font-size: 15px;
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Readable prose area (Privacy / Terms)                              */
/* ------------------------------------------------------------------ */
.ct-page-inner .ct-prose {
	max-width: 760px;
	margin: 0 auto;
	padding: 64px 24px 88px;
	color: var(--ct-body);
	font-size: 1.05rem;
	line-height: 1.75;
}
.ct-page-inner .ct-prose h2 {
	font-size: 1.5rem;
	color: var(--ct-ink);
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 2.2em 0 .6em;
	padding-top: .4em;
}
.ct-page-inner .ct-prose h2:first-of-type { margin-top: 0; }
.ct-page-inner .ct-prose h3 {
	font-size: 1.15rem;
	color: var(--ct-ink);
	font-weight: 600;
	margin: 1.6em 0 .5em;
}
.ct-page-inner .ct-prose p { margin: 0 0 1.1em; }
.ct-page-inner .ct-prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.ct-page-inner .ct-prose li { margin: 0 0 .5em; }
.ct-page-inner .ct-prose a { color: var(--ct-blue); }

/* Little coloured marker before each prose H2. */
.ct-page-inner .ct-prose h2::before {
	content: "";
	display: inline-block;
	width: 26px; height: 4px;
	border-radius: 999px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
	vertical-align: middle;
	margin-right: 12px;
	transform: translateY(-4px);
}

/* ------------------------------------------------------------------ */
/* Generic centered section wrapper for the non-prose pages           */
/* ------------------------------------------------------------------ */
.ct-page-inner .ct-block { padding: 64px 0; }
.ct-page-inner .ct-block--tint {
	background:
		radial-gradient(820px 420px at 88% 0%, rgba(13,148,136,.12), transparent 60%),
		linear-gradient(180deg, #eef1f9 0%, #e2e8f5 100%);
}
.ct-page-inner .ct-block__intro {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}
.ct-page-inner .ct-block__title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--ct-ink);
	font-weight: 700;
	margin: 0 0 14px;
}
.ct-page-inner .ct-block__lead {
	color: var(--ct-body);
	font-size: 1.1rem;
	line-height: 1.7;
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Pricing table                                                      */
/* ------------------------------------------------------------------ */
.ct-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	max-width: 1080px;
	margin: 0 auto;
	align-items: stretch;
}
.ct-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	padding: 32px 28px;
	box-shadow: var(--ct-shadow-sm);
}
.ct-price-card--featured {
	border: none;
	box-shadow: var(--ct-shadow);
	transform: translateY(-6px);
}
.ct-price-card--featured::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--ct-radius);
	padding: 2px;
	background: var(--ct-rainbow);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	pointer-events: none;
}
.ct-price-card__badge {
	position: absolute;
	top: -13px; left: 50%;
	transform: translateX(-50%);
	background: var(--ct-rainbow);
	background-size: 200% 100%;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	white-space: nowrap;
}
.ct-price-card__name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ct-ink);
	margin: 0 0 4px;
}
.ct-price-card__blurb { color: var(--ct-muted); font-size: .95rem; margin: 0 0 20px; min-height: 42px; }
.ct-price-card__price {
	font-size: 2.6rem;
	font-weight: 700;
	color: var(--ct-ink);
	line-height: 1;
	margin: 0 0 4px;
}
.ct-price-card__price .ct-price-card__cur { font-size: 1.4rem; vertical-align: super; }
.ct-price-card__period { color: var(--ct-muted); font-size: .95rem; margin: 0 0 22px; }
.ct-price-card__features {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	flex: 1;
}
.ct-price-card__features li {
	position: relative;
	padding: 0 0 0 28px;
	margin: 0 0 11px;
	color: var(--ct-body);
	font-size: .98rem;
	line-height: 1.45;
}
.ct-price-card__features li::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 18px; height: 18px;
	border-radius: 999px;
	background: var(--ct-rainbow);
	background-size: 220% 100%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ct-price-card .ct-btn { width: 100%; }

.ct-pricing-note {
	max-width: 720px;
	margin: 36px auto 0;
	text-align: center;
	color: var(--ct-muted);
	font-size: .95rem;
}

/* ------------------------------------------------------------------ */
/* Philosophy callout (Pricing page)                                  */
/* ------------------------------------------------------------------ */
.ct-philosophy {
	max-width: 820px;
	margin: 0 auto;
	background: #fff;
	border-radius: var(--ct-radius);
	box-shadow: var(--ct-shadow-sm);
	padding: 36px 40px;
	border-left: 6px solid transparent;
	border-image: var(--ct-rainbow) 1;
}
.ct-philosophy p { margin: 0 0 1em; line-height: 1.7; color: var(--ct-body); }
.ct-philosophy p:last-child { margin-bottom: 0; }
.ct-philosophy strong { color: var(--ct-ink); }

/* ------------------------------------------------------------------ */
/* Products grid (two columns)                                        */
/* ------------------------------------------------------------------ */
.ct-products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
	max-width: 1000px;
	margin: 0 auto;
}
.ct-product {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	padding: 26px;
	box-shadow: var(--ct-shadow-sm);
	transition: transform .15s ease, box-shadow .2s ease;
}
.ct-product:hover { transform: translateY(-3px); box-shadow: var(--ct-shadow); }
.ct-product__logo {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f6fc;
	overflow: hidden;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}
.ct-product__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Placeholder wordmark used until a real logo is dropped in. */
.ct-product__logo--ph {
	color: #fff;
	font-weight: 700;
	font-size: .9rem;
	line-height: 1.15;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
}
.ct-product__body { flex: 1; }
.ct-product__name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ct-ink);
	margin: 2px 0 4px;
}
.ct-product__name .ct-soon {
	display: inline-block;
	margin-left: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ct-purple);
	background: rgba(124,58,237,.1);
	padding: 3px 9px;
	border-radius: 999px;
	vertical-align: middle;
}
.ct-product__url { font-size: .85rem; color: var(--ct-blue); margin: 0 0 10px; word-break: break-word; }
.ct-product__desc { color: var(--ct-body); font-size: .98rem; line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------------ */
/* Contact page                                                       */
/* ------------------------------------------------------------------ */
.ct-contact {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 40px;
	max-width: 1040px;
	margin: 0 auto;
	align-items: start;
}
.ct-form {
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	padding: 32px;
	box-shadow: var(--ct-shadow-sm);
}
.ct-field { margin-bottom: 18px; }
.ct-field label {
	display: block;
	font-weight: 600;
	color: var(--ct-ink);
	margin-bottom: 6px;
	font-size: .95rem;
}
.ct-field input,
.ct-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--ct-line);
	border-radius: 10px;
	padding: 12px 14px;
	font: inherit;
	color: var(--ct-ink);
	background: #fbfcfe;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ct-field input:focus,
.ct-field textarea:focus {
	outline: none;
	border-color: var(--ct-blue);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.ct-field textarea { min-height: 150px; resize: vertical; }
.ct-form__note { font-size: .85rem; color: var(--ct-muted); margin: 6px 0 0; }

.ct-contact__aside {
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: var(--ct-radius);
	padding: 30px;
	box-shadow: var(--ct-shadow-sm);
}
.ct-contact__aside h2 {
	font-size: 1.2rem;
	color: var(--ct-ink);
	margin: 0 0 14px;
}
.ct-contact__aside address {
	font-style: normal;
	line-height: 1.7;
	color: var(--ct-body);
	margin: 0 0 18px;
}
.ct-contact__reg {
	font-size: .9rem;
	color: var(--ct-muted);
	border-top: 1px solid var(--ct-line);
	padding-top: 16px;
	line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.ct-pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
	.ct-price-card--featured { transform: none; }
	.ct-products { grid-template-columns: 1fr; max-width: 560px; }
	.ct-contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.ct-page-inner .ct-btn { width: 100%; }
	.ct-product { flex-direction: column; }
}

/* ==================================================================== */
/* VIBRANT PASS — make Pricing / Contact / Products as happy as the      */
/* homepage. Scoped to the section-band + card classes only, so the      */
/* Privacy / Terms prose pages (which use .ct-prose) are untouched.      */
/* ==================================================================== */

/* Brighter, more colourful page header for the vibrant pages. */
.ct-page-inner.ct-vibrant .ct-pagehead {
	background:
		radial-gradient(1000px 460px at 12% -25%, rgba(124,58,237,.20), transparent 60%),
		radial-gradient(900px 460px at 88% -20%, rgba(37,99,235,.20), transparent 60%),
		radial-gradient(760px 460px at 50% 120%, rgba(163,230,53,.18), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #eef1fb 100%);
}
.ct-page-inner.ct-vibrant .ct-pagehead__eyebrow {
	color: #fff;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
	padding: 6px 16px;
	border-radius: 999px;
}

/* Alternating happy section bands (mirror the homepage rhythm). */
.ct-page-inner.ct-vibrant .ct-block { position: relative; }
.ct-page-inner.ct-vibrant .ct-block::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--ct-rainbow);
	opacity: .6;
}
.ct-page-inner.ct-vibrant .ct-block {
	background:
		radial-gradient(820px 360px at 82% -8%, rgba(37,99,235,.08), transparent 60%),
		radial-gradient(720px 340px at 8% 110%, rgba(124,58,237,.07), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, #f3f5fc 100%);
}
.ct-page-inner.ct-vibrant .ct-block--tint {
	background:
		radial-gradient(820px 440px at 88% 0%, rgba(13,148,136,.20), transparent 60%),
		radial-gradient(760px 440px at 6% 100%, rgba(37,99,235,.22), transparent 60%),
		radial-gradient(700px 420px at 50% 120%, rgba(163,230,53,.14), transparent 62%),
		linear-gradient(180deg, #e8edfa 0%, #d9e2f4 100%);
}

/* Section titles get a centered rainbow underline. */
.ct-page-inner.ct-vibrant .ct-block__title {
	position: relative;
	display: inline-block;
	padding-bottom: 14px;
}
.ct-page-inner.ct-vibrant .ct-block__title::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 0;
	transform: translateX(-50%);
	width: 72px; height: 4px;
	border-radius: 999px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
}

/* ---- Price cards: give every card a rainbow top and more life. ---- */
.ct-page-inner.ct-vibrant .ct-price-card {
	overflow: hidden;
	transition: transform .15s ease, box-shadow .2s ease;
}
.ct-page-inner.ct-vibrant .ct-price-card::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 6px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
}
.ct-page-inner.ct-vibrant .ct-price-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--ct-shadow);
}
.ct-page-inner.ct-vibrant .ct-price-card--featured:hover { transform: translateY(-10px); }
/* Featured card gets a soft tinted fill so it pops. */
.ct-page-inner.ct-vibrant .ct-price-card--featured {
	background:
		radial-gradient(520px 240px at 50% -10%, rgba(124,58,237,.08), transparent 60%),
		#ffffff;
}
/* The price number itself rendered in rainbow. */
.ct-page-inner.ct-vibrant .ct-price-card__price {
	background: var(--ct-rainbow);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	        background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* ---- Philosophy callout: brighter, happier. ---- */
.ct-page-inner.ct-vibrant .ct-philosophy {
	background:
		radial-gradient(600px 280px at 100% 0%, rgba(37,99,235,.08), transparent 60%),
		radial-gradient(520px 260px at 0% 100%, rgba(163,230,53,.12), transparent 60%),
		#ffffff;
}

/* ---- Product cards: coloured logo tiles + hover lift + rainbow edge. ---- */
.ct-page-inner.ct-vibrant .ct-product { overflow: hidden; }
.ct-page-inner.ct-vibrant .ct-product::before {
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: 6px;
	background: var(--ct-rainbow);
}
.ct-page-inner.ct-vibrant .ct-product {
	position: relative;
	padding-left: 32px;
}
/* Real-logo tiles get a soft colour wash behind them (per nth-child) so
   the grid feels lively even before branded logos are added. */
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+1) .ct-product__logo { background: rgba(124,58,237,.10); }
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+2) .ct-product__logo { background: rgba(37,99,235,.10); }
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+3) .ct-product__logo { background: rgba(13,148,136,.10); }
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+4) .ct-product__logo { background: rgba(22,163,74,.10); }
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+5) .ct-product__logo { background: rgba(37,99,235,.10); }
.ct-page-inner.ct-vibrant .ct-product:nth-child(6n+6) .ct-product__logo { background: rgba(250,204,21,.16); }

/* ---- Contact cards: rainbow top edge to match the rest. ---- */
.ct-page-inner.ct-vibrant .ct-form,
.ct-page-inner.ct-vibrant .ct-contact__aside {
	position: relative;
	overflow: hidden;
}
.ct-page-inner.ct-vibrant .ct-form::before,
.ct-page-inner.ct-vibrant .ct-contact__aside::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
}
.ct-page-inner.ct-vibrant .ct-form,
.ct-page-inner.ct-vibrant .ct-contact__aside { padding-top: 34px; }

/* ==================================================================== */
/* Rainbow <button> submit buttons on inner pages.                       */
/* Placed here (pages.css loads after home.css) so it reliably wins over */
/* the Digital Pro theme's element-level <button> styling, which both    */
/* recolours the button red AND collapses its box (hiding it). This      */
/* restates the full homepage rainbow-button look for <button> elements. */
/* ==================================================================== */
.ct-page-inner button.ct-btn--rainbow,
.ct-page-inner input.ct-btn--rainbow[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 52px !important;
	box-sizing: border-box !important;
	padding: 14px 28px !important;
	width: auto !important;
	border: none !important;
	border-radius: 999px !important;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	white-space: nowrap !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	cursor: pointer !important;
	background-color: transparent !important;
	background-image: linear-gradient(
		90deg,
		var(--ct-purple), var(--ct-indigo), var(--ct-blue),
		var(--ct-teal), var(--ct-green), var(--ct-lime),
		var(--ct-green), var(--ct-blue), var(--ct-purple)
	) !important;
	background-size: 200% 100% !important;
	background-position: 25% 0 !important;
	background-repeat: no-repeat !important;
	transition: transform .15s ease, box-shadow .2s ease, background-position .4s ease !important;
}
.ct-page-inner button.ct-btn--rainbow:hover,
.ct-page-inner input.ct-btn--rainbow[type="submit"]:hover {
	background-position: 75% 0 !important;
	transform: translateY(-2px);
	box-shadow: var(--ct-shadow-sm);
}

/* ==================================================================== */
/* Products page — DARK treatment.                                       */
/* Deep rainbow palette on a dark background, bright coloured edges,     */
/* bigger cards and larger headlines.                                    */
/* ==================================================================== */

/* Dark section band. */
.ct-page-inner .ct-block--dark {
	background:
		radial-gradient(1000px 520px at 85% -10%, rgba(37,99,235,.22), transparent 60%),
		radial-gradient(900px 520px at 8% 110%, rgba(124,58,237,.24), transparent 60%),
		radial-gradient(720px 480px at 50% 120%, rgba(13,148,136,.18), transparent 62%),
		linear-gradient(180deg, #12152b 0%, #0b0e1e 100%);
	padding: 96px 0;
}

/* Bigger, roomier grid. */
.ct-products--dark {
	grid-template-columns: repeat(2, 1fr);
	gap: 34px;
	max-width: 1100px;
}

/* Dark cards with a thick bright left edge. */
.ct-products--dark .ct-product {
	background:
		radial-gradient(520px 260px at 100% 0%, rgba(255,255,255,.05), transparent 60%),
		#191d33;
	border: 1px solid rgba(255,255,255,.08);
	border-left: 8px solid var(--ct-edge, var(--ct-blue));
	border-radius: 16px;
	padding: 40px 40px 40px 34px;
	gap: 26px;
	box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
}
.ct-products--dark .ct-product:hover {
	transform: translateY(-5px);
	box-shadow: 0 34px 70px -30px rgba(0,0,0,.8);
}

/* Per-card deep rainbow edge colours (cycled by the template). */
.ct-products--dark .ct-product--c0 { --ct-edge: var(--ct-purple); }
.ct-products--dark .ct-product--c1 { --ct-edge: var(--ct-blue); }
.ct-products--dark .ct-product--c2 { --ct-edge: var(--ct-teal); }
.ct-products--dark .ct-product--c3 { --ct-edge: var(--ct-green); }
.ct-products--dark .ct-product--c4 { --ct-edge: var(--ct-indigo); }
.ct-products--dark .ct-product--c5 { --ct-edge: var(--ct-lime); }

/* Larger logo tile. */
.ct-products--dark .ct-product__logo {
	flex: 0 0 116px;
	width: 116px;
	height: 116px;
	border-radius: 16px;
	background: rgba(255,255,255,.06);
	padding: 12px;
}
.ct-products--dark .ct-product__logo--ph {
	background: linear-gradient(135deg, var(--ct-edge, var(--ct-blue)), rgba(255,255,255,.15));
	font-size: 15px;
}

/* Larger headlines + light text for the dark background.
   NB: the Digital Pro theme sets html { font-size:62.5% } so 1rem = 10px.
   Sizes below use px to stay predictable regardless of that root size. */
.ct-products--dark .ct-product__name {
	font-size: 30px;
	line-height: 1.15;
	color: #ffffff;
	margin: 2px 0 8px;
	letter-spacing: -.01em;
}
.ct-products--dark .ct-product__url { font-size: 15px; color: #8bb4ff; }
.ct-products--dark .ct-product__url a { color: #8bb4ff; }
.ct-products--dark .ct-product__desc {
	color: rgba(255,255,255,.78);
	font-size: 18px;
	line-height: 1.65;
}
.ct-products--dark .ct-product__name .ct-soon {
	color: #fff;
	background: rgba(255,255,255,.16);
}

@media (max-width: 900px) {
	.ct-products--dark { grid-template-columns: 1fr; max-width: 620px; }
	.ct-page-inner .ct-block--dark { padding: 64px 0; }
	.ct-products--dark .ct-product__name { font-size: 26px; }
}

/* ==================================================================== */
/* Pricing table — COLOURFUL treatment.                                  */
/* Each column gets its own colour tint + rainbow top edge, on a         */
/* brighter section band.                                                 */
/* ==================================================================== */

/* Brighter, more colourful band behind the pricing grid. */
.ct-page-inner.ct-vibrant .ct-block--tint {
	background:
		radial-gradient(760px 420px at 10% -10%, rgba(124,58,237,.20), transparent 60%),
		radial-gradient(760px 420px at 90% -10%, rgba(37,99,235,.20), transparent 60%),
		radial-gradient(760px 460px at 50% 120%, rgba(163,230,53,.20), transparent 62%),
		linear-gradient(180deg, #eef1fb 0%, #e3e9f6 100%);
}

/* Each pricing column its own colour. */
.ct-pricing-grid--colour .ct-price-card {
	overflow: hidden;
	border: none;
	background:
		radial-gradient(420px 220px at 50% -10%, var(--ct-tint-soft, rgba(37,99,235,.10)), transparent 65%),
		#ffffff;
	box-shadow: 0 18px 44px -26px rgba(16,18,34,.5);
}
/* Thick coloured top edge per column. Uses .ct-vibrant to out-specify the
   generic vibrant rainbow ::after so each column shows its own colour. */
.ct-page-inner.ct-vibrant .ct-pricing-grid--colour .ct-price-card::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 8px;
	background: var(--ct-tone, var(--ct-blue));
	background-image: none;
}

/* Column tones (cycled by the template). */
.ct-price-card--t0 { --ct-tone: var(--ct-purple); --ct-tint-soft: rgba(124,58,237,.12); }
.ct-price-card--t1 { --ct-tone: var(--ct-teal);   --ct-tint-soft: rgba(13,148,136,.14); }
.ct-price-card--t2 { --ct-tone: var(--ct-blue);   --ct-tint-soft: rgba(37,99,235,.12); }

/* Name + period picked up in the column tone for extra colour. */
.ct-pricing-grid--colour .ct-price-card__name { color: var(--ct-tone, var(--ct-ink)); }

/* Feature ticks in the column tone. */
.ct-pricing-grid--colour .ct-price-card__features li::before {
	background: var(--ct-tone, var(--ct-blue));
}

/* The featured card carries the "Most popular" badge, which sits above the
   card's top edge — so it must NOT clip its overflow (the base colourful/
   vibrant rules set overflow:hidden for the ::after edge). Add top margin so
   the badge has room, and keep the badge above sibling cards. */
.ct-page-inner.ct-vibrant .ct-pricing-grid--colour .ct-price-card--featured {
	overflow: visible;
	margin-top: 14px;
}
.ct-pricing-grid--colour .ct-price-card__badge { z-index: 3; }

/* Featured column: keep the rainbow border but add a soft tinted fill. */
.ct-pricing-grid--colour .ct-price-card--featured {
	background:
		radial-gradient(460px 240px at 50% -10%, rgba(124,58,237,.14), transparent 60%),
		#ffffff;
}
.ct-pricing-grid--colour .ct-price-card--featured::after { display: none; }

/* ==================================================================== */
/* About Us page.                                                        */
/* NB: theme root is 62.5% (1rem = 10px), so sizes below use px.         */
/* ==================================================================== */

/* Intro: portrait alongside the lead paragraphs. */
.ct-about {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 48px;
	align-items: center;
	max-width: 1040px;
	margin: 0 auto;
}
.ct-about__portrait { text-align: center; }
.ct-about__frame {
	position: relative;
	width: 260px;
	height: 320px;
	margin: 0 auto 16px;
	border-radius: 20px;
	overflow: hidden;
	padding: 5px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
	box-shadow: var(--ct-shadow);
}
.ct-about__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	display: block;
}
/* Empty placeholder look. */
.ct-about__frame--empty { display: flex; align-items: center; justify-content: center; }
.ct-about__frame--empty::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 15px;
	background: #eef1f9;
}
.ct-about__ph {
	position: relative;
	z-index: 1;
	color: var(--ct-muted);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.ct-about__byline {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--ct-body);
}
.ct-about__byline strong { color: var(--ct-ink); font-size: 17px; }

.ct-about__lead p {
	font-size: 19px;
	line-height: 1.7;
	color: var(--ct-body);
	margin: 0 0 18px;
}
.ct-about__lead p:first-child { color: var(--ct-ink); font-weight: 500; }

/* Prose blocks for each section. */
.ct-about-prose {
	max-width: 820px;
	margin: 0 auto;
}
.ct-about-prose p {
	font-size: 18px;
	line-height: 1.75;
	color: var(--ct-body);
	margin: 0 0 16px;
}
.ct-about__heading {
	position: relative;
	display: inline-block;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--ct-ink);
	letter-spacing: -.01em;
	margin: 0 0 18px;
	padding-bottom: 12px;
}
.ct-about__heading::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 64px; height: 4px;
	border-radius: 999px;
	background: var(--ct-rainbow);
	background-size: 200% 100%;
}
.ct-center .ct-about__heading::after { left: 50%; transform: translateX(-50%); }
.ct-about-prose a { color: var(--ct-blue); font-weight: 500; }

/* Dark closing feature. */
.ct-page-inner.ct-vibrant .ct-block--feature-about {
	background:
		radial-gradient(900px 460px at 15% -20%, rgba(124,58,237,.30), transparent 60%),
		radial-gradient(820px 460px at 85% -10%, rgba(37,99,235,.28), transparent 60%),
		radial-gradient(720px 480px at 50% 120%, rgba(163,230,53,.18), transparent 62%),
		linear-gradient(180deg, #12152b 0%, #0b0e1e 100%);
	padding: 84px 0;
}
.ct-block--feature-about .ct-about-prose p { color: rgba(255,255,255,.82); }
.ct-about__heading--light { color: #fff; }

@media (max-width: 820px) {
	.ct-about { grid-template-columns: 1fr; gap: 28px; text-align: center; }
	.ct-about__lead p:first-child { text-align: left; }
	.ct-about__lead { text-align: left; }
	.ct-about__heading { font-size: 26px; }
}

/* ==================================================================== */
/* FAQ page.                                                             */
/* Accessible <details>/<summary> accordion, rainbow themed.             */
/* NB: theme root is 62.5% (1rem = 10px), so sizes below use px.         */
/* ==================================================================== */

.ct-faq-intro {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.ct-faq-intro .ct-block__lead { font-size: 19px; }
.ct-faq-intro a { color: var(--ct-blue); font-weight: 600; }

.ct-faq {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Each Q&A card. The left strip uses the item's own hue (--ct-faq-hue),
   matching its +/- icon, so the strips step through the rainbow too. */
.ct-faq__item {
	position: relative;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--ct-shadow-sm);
	overflow: hidden;
	border-left: 6px solid hsl(var(--ct-faq-hue, 220), 75%, 52%);
	transition: box-shadow .2s ease;
}
.ct-faq__item[open] { box-shadow: var(--ct-shadow); }

/* Question row (the clickable summary). */
.ct-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	cursor: pointer;
	list-style: none;
	padding: 22px 26px;
	font-size: 18px;
	font-weight: 600;
	color: var(--ct-ink);
	transition: color .15s ease;
}
/* Hide the default disclosure triangle. */
.ct-faq__q::-webkit-details-marker { display: none; }
.ct-faq__q:hover { color: var(--ct-purple); }
.ct-faq__q:focus-visible { outline: 3px solid var(--ct-blue); outline-offset: -3px; border-radius: 14px; }

.ct-faq__q-text { flex: 1; }

/* Circular +/- icon. Each FAQ steps through the rainbow via a per-item hue
   set inline on the <details> ( --ct-faq-hue ), falling back to blue. */
.ct-faq__icon {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: hsl(var(--ct-faq-hue, 220), 75%, 52%);
}
.ct-faq__icon::before,
.ct-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 2px;
}
.ct-faq__icon::before { width: 12px; height: 2px; }              /* horizontal bar */
.ct-faq__icon::after  { width: 2px; height: 12px; transition: transform .2s ease; } /* vertical bar */
/* When open, collapse the vertical bar so it reads as a minus. */
.ct-faq__item[open] .ct-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

/* Answer body. The theme's normalize forces details children to display:block,
   which can defeat the native collapse — so hide the answer explicitly and only
   show it when the <details> is open. */
.ct-faq__a {
	display: none;
	padding: 0 26px 24px;
	color: var(--ct-body);
	font-size: 16px;
	line-height: 1.7;
}
.ct-faq__item[open] .ct-faq__a {
	display: block;
	/* Distinct tinted background (a very light wash of the item's own hue)
	   with a matching top divider, so the answer clearly reads as separate
	   from the question. */
	margin: 4px 14px 14px;
	padding: 18px 20px;
	border-radius: 10px;
	background: hsl(var(--ct-faq-hue, 220), 70%, 96%);
	border-top: 3px solid hsl(var(--ct-faq-hue, 220), 72%, 55%);
}
.ct-faq__a p { margin: 0; }

/* Gentle open animation. */
.ct-faq__item[open] .ct-faq__a {
	animation: ct-faq-reveal .22s ease;
}
@keyframes ct-faq-reveal {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

.ct-faq-help { max-width: 640px; margin: 0 auto; }

@media (max-width: 600px) {
	.ct-faq__q { font-size: 16px; padding: 18px 18px; }
	.ct-faq__a { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.ct-faq__item[open] .ct-faq__a { animation: none; }
	.ct-faq__icon::after { transition: none; }
}
