/* Mission 9 SEO P0 pages — isolated presentation layer. */

.cd-seo-p0-m9 {
	--cd-seo-ink: #163a3c;
	--cd-seo-deep: #092c2d;
	--cd-seo-aqua: #3ba8a4;
	--cd-seo-cream: #f8f3ea;
	--cd-seo-gold: #83501f;
	--cd-seo-border: rgba(18, 66, 67, 0.16);
	color: var(--cd-seo-ink);
}

.cd-seo-p0-page,
.cd-seo-p0-page * {
	box-sizing: border-box;
}

.cd-seo-p0-page a:focus-visible,
.cd-seo-p0-page button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #075c5e;
}

.cd-seo-p0-page h1,
.cd-seo-p0-page h2,
.cd-seo-p0-page h3,
.cd-seo-p0-page p {
	margin-top: 0;
}

.cd-seo-kicker {
	margin: 0 0 14px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cd-seo-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 8vw, 116px) 0;
	background: linear-gradient(135deg, #f5ece0 0%, #fbfaf5 54%, #dceeed 100%);
}

.cd-seo-hero--christmas-gift {
	background: linear-gradient(135deg, #f7eee4 0%, #fffaf3 48%, #dbe9df 100%);
}

.cd-seo-hero--christmas-table {
	background: linear-gradient(135deg, #e9eee7 0%, #fffaf2 52%, #eee1dc 100%);
}

.cd-seo-hero::before {
	position: absolute;
	top: -180px;
	right: -120px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(20, 83, 83, 0.15);
	border-radius: 50%;
	content: "";
}

.cd-seo-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.cd-seo-hero__copy {
	position: relative;
	z-index: 1;
}

.cd-seo-hero h1 {
	max-width: 760px;
	margin-bottom: 24px;
	color: var(--cd-seo-deep);
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.65rem, 5.2vw, 5rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.cd-seo-hero__intro {
	max-width: 670px;
	margin-bottom: 30px;
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	line-height: 1.7;
}

.cd-seo-actions,
.cd-seo-final__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.cd-seo-hero__media {
	position: relative;
	margin: 0;
}

.cd-seo-hero__media::before {
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: 0;
	border: 1px solid rgba(18, 66, 67, 0.2);
	border-radius: 48% 48% 20px 20px;
	content: "";
}

.cd-seo-hero__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: clamp(430px, 44vw, 660px);
	border-radius: 48% 48% 20px 20px;
	object-fit: cover;
}

.cd-seo-hero__media figcaption,
.cd-seo-proof figcaption {
	position: relative;
	z-index: 2;
	margin: 12px 8px 0;
	font-size: 0.82rem;
	line-height: 1.5;
}

.cd-seo-section {
	padding: clamp(64px, 8vw, 112px) 0;
}

.cd-seo-heading {
	max-width: 780px;
	margin-bottom: clamp(30px, 5vw, 54px);
}

.cd-seo-heading h2,
.cd-seo-transformation h2,
.cd-seo-final h2 {
	margin-bottom: 18px;
	color: var(--cd-seo-deep);
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(2.1rem, 4vw, 3.8rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.cd-seo-heading > p:last-child,
.cd-seo-transformation__grid > div > p,
.cd-seo-final p {
	font-size: 1.06rem;
	line-height: 1.75;
}

.cd-seo-transformation {
	background: #fff;
}

.cd-seo-transformation__grid,
.cd-seo-uses__grid,
.cd-seo-palettes__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
	gap: clamp(42px, 7vw, 92px);
	align-items: center;
}

.cd-seo-step-list,
.cd-seo-tutorial-grid {
	margin: 34px 0;
	padding: 0;
	list-style: none;
}

.cd-seo-step-list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 18px;
	padding: 20px 0;
	border-top: 1px solid var(--cd-seo-border);
}

.cd-seo-step-list li:last-child {
	border-bottom: 1px solid var(--cd-seo-border);
}

.cd-seo-step-list span,
.cd-seo-choice-card__index,
.cd-seo-tutorial-grid > li > span {
	color: var(--cd-seo-gold);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.cd-seo-step-list h3,
.cd-seo-choice-card h3,
.cd-seo-feature-grid h3,
.cd-seo-tutorial-grid h3,
.cd-seo-palette-list h3 {
	margin: 0 0 7px;
	color: var(--cd-seo-deep);
	font-size: 1.1rem;
}

.cd-seo-step-list p,
.cd-seo-choice-card p,
.cd-seo-feature-grid p,
.cd-seo-tutorial-grid p,
.cd-seo-palette-list p {
	margin: 0;
	line-height: 1.65;
}

.cd-seo-proof {
	margin: 0;
}

.cd-seo-proof img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 26px;
}

.cd-seo-colours {
	background: var(--cd-seo-deep);
	color: #f8fbf8;
}

.cd-seo-heading--light h2,
.cd-seo-heading--light p,
.cd-seo-colours .cd-seo-kicker {
	color: #fff;
}

.cd-seo-mix-grid,
.cd-seo-choice-grid,
.cd-seo-feature-grid,
.cd-seo-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cd-seo-mix-grid article {
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.07);
}

.cd-seo-mix-grid h3 {
	margin-bottom: 8px;
	color: #fff;
	font-size: 1.05rem;
}

.cd-seo-mix-grid p {
	margin: 0;
}

.cd-seo-colours__note {
	max-width: 780px;
	margin: 28px 0 18px;
	font-size: 0.92rem;
	opacity: 0.84;
}

.cd-seo-kits,
.cd-seo-palettes,
.cd-seo-related {
	background: var(--cd-seo-cream);
}

.cd-seo-choice-card,
.cd-seo-feature-grid article,
.cd-seo-tutorial-grid li,
.cd-seo-palette-list article {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--cd-seo-border);
	border-radius: 22px;
	background: #fff;
}

.cd-text-arrow {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: var(--cd-seo-ink);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.cd-text-arrow span {
	color: #176f70;
	font-size: 1.2rem;
	transition: transform 180ms ease;
}

.cd-text-arrow:hover span {
	transform: translateX(4px);
}

.cd-text-arrow--light {
	color: #fff;
}

.cd-text-arrow--light span {
	color: #bcebec;
}

.cd-seo-choice-card .cd-text-arrow {
	margin-top: 24px;
}

.cd-seo-section-link {
	margin: 26px 0 0;
}

.cd-seo-section-link a,
.cd-seo-callout a,
.cd-seo-feature-grid a {
	font-weight: 750;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.cd-seo-link-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cd-seo-link-list li + li {
	border-top: 1px solid var(--cd-seo-border);
}

.cd-seo-link-list a {
	display: grid;
	gap: 4px;
	padding: 22px 4px;
	color: var(--cd-seo-ink);
}

.cd-seo-link-list strong {
	font-size: 1.12rem;
}

.cd-seo-link-list span {
	line-height: 1.55;
}

.cd-seo-feature-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-seo-feature-grid article > span {
	display: block;
	margin-bottom: 22px;
	color: var(--cd-seo-gold);
	font-family: "Newsreader", Georgia, serif;
	font-size: 2.4rem;
}

.cd-seo-callout,
.cd-seo-material-note {
	margin-top: 32px;
	padding: 24px 28px;
	border-left: 4px solid var(--cd-seo-aqua);
	background: rgba(59, 168, 164, 0.1);
	line-height: 1.65;
}

.cd-seo-tutorial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.cd-seo-tutorial-grid li {
	display: flex;
	min-height: 260px;
	flex-direction: column;
}

.cd-seo-tutorial-grid h3 {
	margin-top: auto;
}

.cd-seo-material-note h3 {
	margin-bottom: 8px;
	color: var(--cd-seo-deep);
}

.cd-seo-material-note p {
	margin: 0;
}

.cd-seo-palette-list {
	display: grid;
	gap: 14px;
}

.cd-seo-related-grid a {
	display: grid;
	min-height: 150px;
	align-content: center;
	gap: 8px;
	padding: 28px;
	border: 1px solid var(--cd-seo-border);
	border-radius: 18px;
	background: #fff;
	color: var(--cd-seo-ink);
}

.cd-seo-related-grid strong {
	font-size: 1.12rem;
}

.cd-seo-final {
	padding: clamp(54px, 7vw, 88px) 0;
	background: linear-gradient(110deg, #0c3738, #155353);
	color: #fff;
}

.cd-seo-final__inner {
	justify-content: space-between;
}

.cd-seo-final__inner > div {
	max-width: 760px;
}

.cd-seo-final h2,
.cd-seo-final p {
	color: #fff;
}

.cd-seo-final p:last-child {
	margin-bottom: 0;
}

@media (max-width: 980px) {
	.cd-seo-hero__grid,
	.cd-seo-transformation__grid,
	.cd-seo-uses__grid,
	.cd-seo-palettes__grid {
		grid-template-columns: 1fr;
	}

	.cd-seo-hero__media {
		max-width: 680px;
	}

	.cd-seo-hero__media img {
		height: min(72vw, 620px);
	}

	.cd-seo-feature-grid,
	.cd-seo-tutorial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cd-seo-hero,
	.cd-seo-section,
	.cd-seo-final {
		padding-right: 0;
		padding-left: 0;
	}

	.cd-seo-hero h1 {
		font-size: clamp(2.35rem, 12vw, 3.25rem);
		line-height: 1;
	}

	.cd-seo-hero__media::before {
		inset: 10px -8px -10px 8px;
	}

	.cd-seo-hero__media img {
		height: min(104vw, 500px);
	}

	.cd-seo-actions,
	.cd-seo-final__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.cd-seo-actions .cd-button,
	.cd-seo-final .cd-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.cd-seo-mix-grid,
	.cd-seo-choice-grid,
	.cd-seo-feature-grid,
	.cd-seo-tutorial-grid,
	.cd-seo-related-grid {
		grid-template-columns: 1fr;
	}

	.cd-seo-tutorial-grid li {
		min-height: 0;
	}

	.cd-seo-tutorial-grid h3 {
		margin-top: 30px;
	}

	.cd-seo-related-grid a {
		min-height: 120px;
	}
}

@media (max-width: 359px) {
	.cd-seo-hero h1 {
		font-size: 2.2rem;
	}

	.cd-seo-choice-card,
	.cd-seo-feature-grid article,
	.cd-seo-tutorial-grid li,
	.cd-seo-palette-list article,
	.cd-seo-related-grid a {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cd-seo-p0-page *,
	.cd-seo-p0-page *::before,
	.cd-seo-p0-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
