/*
 * Sudeeo — polish CSS.
 * Only what theme.json can't express. Keep this small; prefer theme.json.
 */

/* ---- Full-width layout (site-wide) --------------------------------- */
/* Sections run edge to edge; only their inner content is padded off the
   viewport edges. Backgrounds are full-bleed, content keeps a readable
   max-width via theme.json's constrained layout (wideSize / contentSize). */
.sudeeo-section {
	padding-left: clamp(1.25rem, 5vw, 4rem);
	padding-right: clamp(1.25rem, 5vw, 4rem);
}

/* ---- Dark shell / light opt-out ---------------------------------- */
/* The theme is dark by default (theme.json). Sections from "Dailies,
   notes and approvals" down — and the hero, which sits on a light
   image — carry .sudeeo-light to switch back to the light palette. */
.sudeeo-light {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--body);
}
.sudeeo-light :is(h1, h2, h3, h4, h5, h6) {
	color: var(--wp--preset--color--contrast);
}
.sudeeo-light .has-paper-color {
	color: var(--wp--preset--color--contrast) !important;
}
.sudeeo-light .has-paper-dim-color {
	color: var(--wp--preset--color--body) !important;
}

/* ---- Buttons: pill sizing + smooth hover ---------------------------- */
.wp-block-button__link {
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
	line-height: 1.1;
}
/* Pill buttons stack on narrow screens */
@media (max-width: 560px) {
	.sudeeo-hero__actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.1rem;
	}
	.sudeeo-cta .wp-block-buttons {
		width: 100%;
		flex-direction: column;
	}
	.sudeeo-cta .wp-block-button {
		width: 100%;
	}
	.sudeeo-cta .wp-block-button__link {
		display: block;
		text-align: center;
	}
}

/* ---- Eyebrow pill --------------------------------------------------- */
.is-style-eyebrow {
	display: inline-block;
	padding: 0.4em 1em;
	border-radius: 999px;
	background-color: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--accent);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ---- Gradient headline words -------------------------------------- */
.gradient-text {
	background-image: var(--wp--preset--gradient--headline);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---- Header ------------------------------------------------------- */
.sudeeo-logo {
	display: inline-flex;
	line-height: 0;
}
.sudeeo-logo img {
	display: block;
	height: auto;
	max-width: 100%;
}
.sudeeo-header__bar {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.sudeeo-header__nav {
	margin-inline: auto;
}
@media (max-width: 780px) {
	.sudeeo-header__bar {
		gap: 1rem;
	}
	.sudeeo-header__nav {
		margin-left: auto;
		margin-right: 0;
	}
}

/* ---- Hero: full-width page, section is an inset floating card ----- */
.sudeeo-hero {
	position: relative;
	isolation: isolate;
	border-radius: clamp(20px, 3vw, 32px);
	margin-top: clamp(1rem, 3vw, 2rem);
	margin-left: clamp(1rem, 4vw, 3rem);
	margin-right: clamp(1rem, 4vw, 3rem);
	overflow: hidden;
}
.sudeeo-hero .wp-block-cover__inner-container {
	width: 100%;
}
/* The Site Editor stores the hero's height as a fixed inline min-height
   (e.g. min-height:858px), which doesn't scale down on narrow screens.
   Override it on phones so the section actually shrinks. */
@media (max-width: 600px) {
	.sudeeo-hero {
		min-height: 30rem !important;
	}
}
.sudeeo-hero__text {
	max-width: 30rem;
}
/* per-word headline colours. Sized down a step so it clears the logo baked
   into the background image. The hero sits on a violet image, so its
   highlight words use a white->coral gradient (not the violet one). */
.sudeeo-hero__headline {
	font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
	letter-spacing: -0.03em;
}
.sudeeo-hero .gradient-text {
	background-image: linear-gradient(96deg, #ffffff 0%, #ff6b8a 100%);
}

/* actions row — left-aligned, primary pill + play link, comfortable gap */
.sudeeo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}
.sudeeo-btn-icon a::after {
	content: "";
	display: inline-block;
	width: 0.7em;
	height: 0.7em;
	margin-left: 0.6em;
	vertical-align: -1px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Primary CTA: white on the violet hero (the default violet fill would
   sink into the background image). */
.sudeeo-hero .is-style-fill .wp-block-button__link {
	background-color: #ffffff;
	border-color: #ffffff;
	color: var(--wp--preset--color--accent);
}
.sudeeo-hero .is-style-fill .wp-block-button__link:hover,
.sudeeo-hero .is-style-fill .wp-block-button__link:focus {
	background-color: transparent;
	border-color: #ffffff;
	color: #ffffff;
}
.sudeeo-play-link {
	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	color: var(--wp--preset--color--paper);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}
.sudeeo-play-link:hover {
	color: var(--wp--preset--color--accent-coral);
	text-decoration: none;
}
.sudeeo-play-link__icon {
	width: 3rem;
	height: 3rem;
	flex: none;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	transition: border-color 160ms ease, background-color 160ms ease;
}
.sudeeo-play-link:hover .sudeeo-play-link__icon {
	border-color: #ffffff;
	background-color: rgba(255, 255, 255, 0.12);
}
.sudeeo-play-link__icon svg {
	width: 0.8rem;
	height: 0.8rem;
	fill: var(--wp--preset--color--paper);
}

/* Play link as a native Paragraph block (class "sudeeo-play-link" on the
   paragraph, the link inside it), so its text and URL edit in place.
   The round play icon is drawn here instead of in markup. */
p.sudeeo-play-link {
	display: flex;
}
p.sudeeo-play-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	color: var(--wp--preset--color--paper);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}
p.sudeeo-play-link a:hover {
	color: var(--wp--preset--color--accent-coral);
	text-decoration: none;
}
p.sudeeo-play-link a::before {
	content: "";
	width: 3rem;
	height: 3rem;
	flex: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f7f6fc' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
	transition: border-color 160ms ease, background-color 160ms ease;
}
p.sudeeo-play-link a:hover::before {
	border-color: #ffffff;
	background-color: rgba(255, 255, 255, 0.12);
}

/* trust-indicator row */
.sudeeo-hero__notes {
	color: var(--wp--preset--color--paper-dim);
	font-size: 0.85rem;
}
.sudeeo-hero__notes svg {
	width: 16px;
	height: 16px;
	stroke: var(--wp--preset--color--accent-coral);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -3px;
	margin-right: 0.4em;
}

/* Trust notes as native Paragraph blocks: each paragraph in the row gets
   the coral tick, so a note is added or removed like any paragraph. */
.sudeeo-hero__notes > p::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 0.4em;
	background-color: var(--wp--preset--color--accent-coral);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- Stacked / layered image (reusable: hero + feature sections) - */
/* .sudeeo-stack is the positioned wrapper. Swap the placeholder blob /
   device / card for <img> or transparent PNGs; keep the class names or
   set per-instance offsets inline. */
.sudeeo-stack {
	position: relative;
	width: 100%;
	max-width: 30rem;
	margin-inline: auto;
	aspect-ratio: 4 / 5;
}
.sudeeo-stack__blob {
	position: absolute;
	inset: -4% -8% 0 2%;
	z-index: 0;
	background: var(--wp--preset--gradient--blob);
	border-radius: 46% 54% 57% 43% / 49% 44% 56% 51%;
}
.sudeeo-stack__device {
	position: absolute;
	top: 5%;
	bottom: 5%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	aspect-ratio: 9 / 18;
	background-color: var(--wp--preset--color--base);
	border: 1px solid rgba(20, 20, 25, 0.12);
	border-radius: 2rem;
	box-shadow: 0 34px 70px -28px rgba(20, 20, 25, 0.4);
}
.sudeeo-stack__device::before {
	content: "";
	position: absolute;
	top: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	width: 34%;
	height: 0.34rem;
	border-radius: 999px;
	background-color: rgba(20, 20, 25, 0.14);
}
.sudeeo-stack__card {
	position: absolute;
	bottom: 15%;
	left: -4%;
	z-index: 2;
	width: 44%;
	min-width: 8.5rem;
	background-color: var(--wp--preset--color--base);
	border-radius: 1rem;
	box-shadow: 0 26px 55px -20px rgba(20, 20, 25, 0.32);
	padding: 0.9rem 1rem;
}
.sudeeo-stack__card-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.sudeeo-stack__dot {
	width: 1.9rem;
	height: 1.9rem;
	flex: none;
	border-radius: 999px;
	background-color: var(--wp--preset--color--accent-coral);
}
.sudeeo-stack__bar {
	height: 0.5rem;
	border-radius: 999px;
	background-color: var(--wp--preset--color--surface);
	margin-top: 0.5rem;
}
.sudeeo-stack__bar--short {
	width: 60%;
}
@media (max-width: 782px) {
	.sudeeo-stack {
		max-width: 22rem;
	}
}

/* ---- Logo strip (on the dark shell) ---------------------------- */
.sudeeo-logo-strip {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sudeeo-logo-strip__label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--paper-dim);
}
.sudeeo-logo-strip__label .stat {
	color: var(--wp--preset--color--accent-coral);
	font-weight: 700;
}
.sudeeo-logo-strip__logos {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sudeeo-logo-strip__item {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.5rem);
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--paper);
	opacity: 0.5;
	transition: opacity 160ms ease;
}
.sudeeo-logo-strip__item:hover {
	opacity: 0.85;
}
.sudeeo-logo-strip img {
	filter: grayscale(1);
	opacity: 0.55;
	transition: opacity 160ms ease, filter 160ms ease;
}
.sudeeo-logo-strip img:hover {
	filter: grayscale(0);
	opacity: 1;
}

/* ---- Alternating feature sections -------------------------------- */
.sudeeo-feature__media {
	border-radius: 18px;
	overflow: hidden;
}
.sudeeo-feature__list {
	margin-top: 1.5rem;
	padding-left: 1.1rem;
}
.sudeeo-feature__list li {
	margin-bottom: 0.55rem;
	padding-left: 0.3rem;
}
.sudeeo-feature__list li::marker {
	color: var(--wp--preset--color--accent);
}
/* Alternate the image side on desktop only; image column stays first in
   the DOM so it always leads when the columns stack on mobile. */
@media (min-width: 782px) {
	.sudeeo-feature--media-right .wp-block-columns {
		flex-direction: row-reverse;
	}
}

/* ---- Full-width banner ----------------------------------------- */
.sudeeo-banner {
	border-radius: 0;
}
.sudeeo-banner .wp-block-cover__inner-container {
	width: 100%;
	text-align: center;
}

/* ---- Pricing --------------------------------------------------- */
.sudeeo-plan {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--wp--preset--color--base);
	border: 1px solid rgba(20, 20, 25, 0.12);
	border-radius: 20px;
}
.sudeeo-plan--featured {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 24px 55px -22px rgba(124, 58, 237, 0.3);
}
.sudeeo-plan__badge {
	display: inline-block;
	padding: 0.3em 0.9em;
	border-radius: 999px;
	background-color: var(--wp--preset--color--accent);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.sudeeo-plan__price {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--contrast);
	line-height: 1;
}
.sudeeo-plan__price .term {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--wp--preset--color--body);
}
.sudeeo-plan__features {
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
}
.sudeeo-plan__features li {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 0.55rem;
}
.sudeeo-plan__features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}
.sudeeo-plan .wp-block-buttons {
	margin-top: auto;
	padding-top: 1.25rem;
}
.sudeeo-plan .wp-block-button {
	width: 100%;
}
.sudeeo-plan .wp-block-button__link {
	display: block;
	text-align: center;
}

/* ---- Section overlay wrapper (reusable) -------------------------- */
/* Put .sudeeo-overlay on a section's content wrapper, then drop 1-2 PNGs
   inside as HTML blocks:
   <img class="sudeeo-overlay__png" src="…"
        style="top:-24px; right:-40px; width:180px;" alt="">
   Offsets and width are per-instance inline styles. */
.sudeeo-overlay {
	position: relative;
}
.sudeeo-overlay__png {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	height: auto;
	width: clamp(90px, 20vw, 220px);
}
.sudeeo-overlay > *:not(.sudeeo-overlay__png) {
	position: relative;
	z-index: 1;
}

/* ---- Guard rails ------------------------------------------------- */
.wp-site-blocks {
	overflow-x: clip; /* keep absolutely-positioned overlay PNGs from scrolling the page */
}
img {
	max-width: 100%;
	height: auto;
}
