/**
 * Interactive Coconut — theme extras
 */

:root {
	/* Derived from project palette: sage greens + cream whites + husk browns */
	--ic-green-deep: #5f6e5c;
	--ic-green: #92a48f;
	--ic-green-soft: #bfc7a7;
	--ic-white: #ffffff;
	--ic-white-cool: #eff1eb;
	--ic-tan: #ce8d68;
	--ic-husk: #b46735;

	--ic-hero-gradient: linear-gradient(
		155deg,
		#5f6e5c 0%,
		#7a8b76 36%,
		#92a48f 68%,
		#bfc7a7 100%
	);
	--ic-surface-glow: radial-gradient(
		ellipse 80% 55% at 75% 15%,
		rgba(191, 199, 167, 0.35),
		transparent 58%
	),
		radial-gradient(
			ellipse 60% 50% at 10% 80%,
			rgba(146, 164, 143, 0.18),
			transparent 55%
		);
	--ic-leaf-green: #92a48f;
	--ic-leaf-deep: #5f6e5c;
}

/* Smooth page feel */
html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--wp--preset--color--base, #eff1eb);
	background-image: var(--ic-surface-glow);
	background-attachment: fixed;
}

/* Subtle tropical leaf decorations */
.ic-leaves {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.ic-leaf {
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.14;
	filter: blur(0.2px);
}

.ic-leaf--monstera-tl {
	top: -2rem;
	left: -3rem;
	width: min(42vw, 280px);
	height: min(46vw, 300px);
	background-image: url("../images/decor/leaf-monstera.svg");
	transform: rotate(-18deg);
}

.ic-leaf--palm-tr {
	top: 18vh;
	right: -4rem;
	width: min(28vw, 180px);
	height: min(48vw, 300px);
	background-image: url("../images/decor/leaf-palm.svg");
	transform: rotate(16deg);
	opacity: 0.12;
}

.ic-leaf--fern-bl {
	bottom: 8vh;
	left: -2.5rem;
	width: min(30vw, 190px);
	height: min(34vw, 220px);
	background-image: url("../images/decor/leaf-fern.svg");
	transform: rotate(-8deg) scaleX(-1);
	opacity: 0.13;
}

.ic-leaf--monstera-br {
	bottom: -3rem;
	right: -2rem;
	width: min(38vw, 250px);
	height: min(42vw, 270px);
	background-image: url("../images/decor/leaf-monstera.svg");
	transform: rotate(155deg);
	opacity: 0.11;
}

.ic-leaf--palm-mid {
	top: 55vh;
	left: -5rem;
	width: min(22vw, 140px);
	height: min(40vw, 240px);
	background-image: url("../images/decor/leaf-palm.svg");
	transform: rotate(-28deg);
	opacity: 0.09;
}

/* Keep content above leaf layer */
.wp-site-blocks,
.ic-home-main,
header.wp-block-template-part,
footer.wp-block-template-part {
	position: relative;
	z-index: 1;
}

header.wp-block-template-part:has(.ic-header) {
	z-index: 100;
}

@media (max-width: 700px) {
	.ic-leaf--palm-mid,
	.ic-leaf--fern-bl {
		display: none;
	}

	.ic-leaf {
		opacity: 0.1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ic-leaf {
		filter: none;
	}
}

/* Header — stick the template-part wrapper (not only .ic-header).
   On block templates, .ic-header lives inside a short <header>, so sticky
   on the inner element has no room to stick while the page scrolls. */
header.wp-block-template-part:has(.ic-header),
body > .ic-header {
	position: sticky;
	top: 0;
	z-index: 100;
	overflow: visible;
}

.ic-header {
	background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--mist) 70%, transparent);
	position: relative;
	z-index: 100;
	width: 100%;
	overflow: visible;
}

/*
 * Keep the frosted header without trapping the mobile nav overlay.
 * backdrop-filter on .ic-header makes position:fixed descendants
 * (the overlay menu) size to the header instead of the viewport.
 */
.ic-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	pointer-events: none;
}

/*
 * Mobile menu: dropdown under the hamburger (no full-page overlay).
 * Avoids the opaque modal and a viewport dim that can look like the
 * page is "highlighted" when fixed positioning gets trapped.
 */
.ic-header .wp-block-navigation {
	position: relative;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open {
	position: absolute;
	inset: auto;
	top: calc(100% + 0.4rem);
	right: 0;
	left: auto;
	bottom: auto;
	width: min(16.5rem, calc(100vw - 1.5rem));
	z-index: 100000;
	display: block;
	padding: 0 !important;
	overflow: visible;
	background: transparent !important;
	animation: none;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	width: 100%;
	margin: 0;
	max-width: none;
	padding: 0.5rem 0.65rem 0.65rem;
	border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--mist) 80%, transparent);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	box-shadow:
		0 14px 32px color-mix(in srgb, var(--wp--preset--color--contrast) 16%, transparent),
		0 2px 8px color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	position: relative;
	margin: 0 !important;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute;
	top: 0.35rem;
	right: 0.35rem;
	z-index: 2;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 1.85rem 0.15rem 0.15rem !important;
	align-items: stretch !important;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-page-list {
	gap: 0.1rem !important;
	width: 100%;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 0.55rem 0.45rem !important;
	border-radius: 8px;
	font-weight: 500;
}

.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.ic-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus {
	background: color-mix(in srgb, var(--wp--preset--color--mist) 55%, transparent);
}

/* Keep page scrollable; this is a dropdown, not a modal sheet */
html.has-modal-open {
	overflow: auto;
}

/* Keep logo left, menu (or hamburger) right on all viewports. */
.ic-header > .wp-block-group.alignwide {
	width: 100%;
	justify-content: space-between !important;
	align-items: center;
	flex-wrap: nowrap !important;
}

.ic-header .ic-brand {
	flex: 0 1 auto;
	min-width: 0;
}

.ic-header .wp-block-navigation {
	margin-inline-start: auto;
	flex: 0 0 auto;
}

.ic-header .wp-block-navigation__responsive-container-open {
	margin-inline-start: auto;
}

.ic-header .wp-block-site-logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: 40px;
	max-width: min(220px, 58vw);
}

/* Prefer logo; keep title for accessibility / no-logo fallback */
.ic-brand:has(.wp-block-site-logo img) .ic-site-title-fallback {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ic-footer .wp-block-site-logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: 36px;
	max-width: 200px;
}

.ic-footer-logo {
	margin: 0;
	line-height: 0;
}

.ic-footer-logo a {
	display: inline-block;
	line-height: 0;
}

.ic-footer-logo img {
	display: block;
	width: auto;
	height: auto;
	max-height: 36px;
	max-width: 200px;
}

@media (min-width: 782px) {
	.ic-header .wp-block-site-logo img {
		max-height: 48px;
		max-width: 260px;
	}
}

/* Hero */
.ic-hero {
	position: relative;
	overflow: hidden;
	background: var(--ic-hero-gradient);
	color: var(--wp--preset--color--surface);
	min-height: auto;
	display: flex;
	align-items: center;
}

.ic-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.12), transparent 40%),
		radial-gradient(circle at 90% 10%, rgba(45, 155, 108, 0.35), transparent 45%);
	pointer-events: none;
}

.ic-hero .wp-block-group {
	position: relative;
	z-index: 1;
}

.ic-hero h1,
.ic-hero p,
.ic-hero .wp-block-site-title {
	color: var(--wp--preset--color--base);
}

.ic-hero .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--husk) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ic-hero .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ic-hero .ic-btn-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--surface) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.ic-hero-brand {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(2.75rem, 8vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 0 1rem;
	animation: ic-fade-up 0.8s ease both;
}

.ic-hero-brand__logo {
	display: block;
	width: min(100%, 28rem);
	height: auto;
	max-height: none;
}

.ic-hero-tagline {
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	max-width: 32rem;
	opacity: 0.92;
	animation: ic-fade-up 0.8s ease 0.12s both;
}

.ic-hero-actions {
	animation: ic-fade-up 0.8s ease 0.24s both;
}

@keyframes ic-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* App cards */
.ic-app-grid .wp-block-post,
.ic-featured-card {
	background: var(--wp--preset--color--surface);
	border-radius: 1rem;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 1px 2px rgba(58, 69, 56, 0.05);
}

.ic-app-grid .wp-block-post:hover,
.ic-featured-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(95, 110, 92, 0.16);
}

.ic-app-grid .wp-block-post-featured-image img,
.ic-featured-card img {
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	display: block;
}

.ic-app-grid .wp-block-post-title a,
.ic-featured-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.ic-app-grid .wp-block-post-excerpt,
.ic-featured-card__body p {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.ic-featured-card__body {
	padding: 1rem 1.25rem 1.5rem;
}

.ic-featured-card__body h3 {
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600;
	letter-spacing: -0.02em;
	font-size: var(--wp--preset--font-size--large);
	margin: 0 0 0.35rem;
}

.ic-featured-card__body p {
	margin: 0;
}

/*
 * Featured apps: show only as many cards as fill complete rows.
 * 1 col → 5, 2 cols → 4 (2×2), 3 cols → 3, 4 cols → 4.
 */
.ic-featured-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.ic-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ic-featured-grid > :nth-child(n + 5) {
		display: none;
	}
}

@media (min-width: 860px) {
	.ic-featured-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ic-featured-grid > :nth-child(n + 4) {
		display: none;
	}
}

@media (min-width: 1100px) {
	.ic-featured-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.ic-featured-grid > :nth-child(4) {
		display: block;
	}

	.ic-featured-grid > :nth-child(n + 5) {
		display: none;
	}
}

/* Values */
.ic-values {
	background: var(--ic-green-deep, #5f6e5c);
	color: var(--wp--preset--color--base);
}

.ic-values h2,
.ic-values h3,
.ic-values p {
	color: var(--wp--preset--color--base);
}

.ic-value-item {
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ic-value-item:first-child {
	border-top: none;
	padding-top: 0;
}

/* Footer */
.ic-footer {
	background: var(--wp--preset--color--contrast);
	color: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent);
}

.ic-footer a {
	color: var(--wp--preset--color--surface);
}

.ic-footer .wp-block-site-title a {
	color: var(--wp--preset--color--surface);
}

/* Contact form */
.ic-contact-form .wpcf7-form,
.ic-contact-form form {
	display: grid;
	gap: 1rem;
	max-width: 36rem;
}

.ic-contact-form input[type="text"],
.ic-contact-form input[type="email"],
.ic-contact-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1.5px solid var(--wp--preset--color--mist);
	border-radius: 0.75rem;
	background: var(--wp--preset--color--surface);
	font-family: inherit;
	font-size: 1rem;
}

.ic-contact-form textarea,
.wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

.ic-contact-form input:focus,
.ic-contact-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 1px;
	border-color: transparent;
}

.ic-contact-form input[type="submit"],
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.35rem;
	padding: 0.95rem 1.85rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--husk);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wp--preset--color--husk) 32%, transparent);
	transition:
		background-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.ic-contact-form input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
	background: var(--wp--preset--color--accent);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--wp--preset--color--accent) 36%, transparent);
	transform: translateY(-2px);
}

.ic-contact-form input[type="submit"]:focus-visible,
.wpcf7-form input[type="submit"]:focus-visible,
.wpcf7-form .wpcf7-submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--husk);
	outline-offset: 3px;
}

.ic-contact-form input[type="submit"]:active,
.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
	transform: translateY(0);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--wp--preset--color--husk) 28%, transparent);
}

.wpcf7-form .wpcf7-spinner {
	margin-left: 0.65rem;
	background-color: var(--wp--preset--color--husk);
}

/* Blog typography */
body.blog .wp-block-post-title,
body.blog .wp-block-post-title a,
body.archive .wp-block-post-title,
body.archive .wp-block-post-title a,
body.search .wp-block-post-title,
body.search .wp-block-post-title a {
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	line-height: 1.3;
}

body.blog .wp-block-post-excerpt,
body.archive .wp-block-post-excerpt {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

body.single-post .wp-block-post-title {
	font-size: clamp(1.65rem, 3.2vw, 2.1rem);
	line-height: 1.2;
}

body.single-post .wp-block-post-content {
	font-size: 1rem;
	line-height: 1.7;
}

body.single-post .wp-block-post-content p {
	font-size: inherit;
}

/* About page heading with inline coconut mark */
.ic-about-heading {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1.5rem;
	font-size: var(--wp--preset--font-size--huge);
	line-height: 1.1;
}

.ic-about-heading .ic-about-mark,
.ic-about-heading .wp-block-image {
	margin: 0;
	line-height: 0;
	flex: 0 0 auto;
}

.ic-about-heading .ic-about-mark img,
.ic-about-heading .wp-block-image img {
	width: auto;
	height: 1em;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(180, 103, 53, 0.18));
}

.ic-about-heading h1 {
	margin: 0;
	font-size: 1em;
	line-height: 1.1;
}

/* About page rhythm */
body.page-id-8 .wp-block-post-content h2.wp-block-heading,
body.page-about .wp-block-post-content h2.wp-block-heading {
	margin-block-start: calc(3.75rem + 10px) !important;
}

body.page-id-8 .wp-block-post-content .wp-block-buttons,
body.page-about .wp-block-post-content .wp-block-buttons {
	margin-block-start: calc(3rem + 10px) !important;
}

/* Single app */
.ic-app-hero {
	background: var(--wp--preset--color--mist);
	border-radius: 1.25rem;
	overflow: hidden;
}

/* Official store badges (Apple / Google brand assets) */
.ic-store-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.ic-store-badge {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ic-store-badge:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.ic-store-badge img {
	display: block;
	height: 40px;
	width: auto;
}

/* Google’s generic PNG includes extra canvas padding — crop visually to match Apple height. */
.ic-store-badge--google img {
	height: 60px;
	margin: -10px -12px;
}

.ic-store-badge--google {
	overflow: hidden;
	height: 40px;
}

.ic-store-badge--web {
	align-items: center;
	min-height: 40px;
	padding: 0 1.25rem;
	border-radius: 999px;
	background: var(--wp--preset--color--husk);
	color: var(--wp--preset--color--base) !important;
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.2;
}

/* ——— Front-page product hero ——— */

.ic-home-main {
	margin: 0;
}

.ic-hero--product {
	min-height: auto;
	padding: clamp(2.25rem, 5vw, 3.75rem) var(--wp--preset--spacing--50);
}

.ic-hero--product .ic-hero-brand {
	font-size: clamp(2.25rem, 5.5vw, 3.5rem);
	margin-bottom: 0.85rem;
}

.ic-hero--product .ic-hero-brand__logo {
	width: min(100%, 26rem);
}

.ic-hero--product .ic-hero-tagline {
	margin: 0 0 1.5rem;
}

.ic-hero--product .ic-hero-actions {
	margin-top: 0.25rem;
}

.ic-hero--product__inner {
	position: relative;
	z-index: 1;
	width: min(1200px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.ic-hero--product__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 2.5rem;
	}
}

.ic-hero--product__stage {
	position: relative;
	min-height: 300px;
	height: clamp(320px, 42vw, 440px);
	perspective: 1400px;
	perspective-origin: 50% 38%;
	transform-style: preserve-3d;
	overflow: visible;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.ic-hero--product__stage.is-dragging {
	cursor: grabbing;
}

.ic-hero-shot {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: 0;
	width: min(32%, 175px);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
	background: transparent;
	transform: translate(-50%, -50%);
	transform-style: preserve-3d;
	will-change: transform, opacity;
	animation: ic-shot-fade 0.9s ease both;
	pointer-events: none;
}

.ic-hero-shot--1,
.ic-hero-shot--2,
.ic-hero-shot--3,
.ic-hero-shot--4,
.ic-hero-shot--5,
.ic-hero-shot--6,
.ic-hero-shot--7,
.ic-hero-shot--8,
.ic-hero-shot--9,
.ic-hero-shot--10,
.ic-hero-shot--11,
.ic-hero-shot--12 {
	width: min(32%, 175px);
}

.ic-hero-shot--1 { animation-delay: 0.04s; }
.ic-hero-shot--2 { animation-delay: 0.08s; }
.ic-hero-shot--3 { animation-delay: 0.12s; }
.ic-hero-shot--4 { animation-delay: 0.16s; }
.ic-hero-shot--5 { animation-delay: 0.2s; }
.ic-hero-shot--6 { animation-delay: 0.24s; }
.ic-hero-shot--7 { animation-delay: 0.28s; }
.ic-hero-shot--8 { animation-delay: 0.32s; }
.ic-hero-shot--9 { animation-delay: 0.36s; }
.ic-hero-shot--10 { animation-delay: 0.4s; }
.ic-hero-shot--11 { animation-delay: 0.44s; }
.ic-hero-shot--12 { animation-delay: 0.48s; }

@keyframes ic-shot-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.ic-hero-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	vertical-align: middle;
}

/* ——— Interdental beta landing ——— */

.ic-beta {
	margin: 0;
}

.ic-beta-hero {
	padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.ic-beta-hero__inner {
	align-items: end;
}

.ic-beta-kicker {
	margin: 0 0 0.65rem;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.ic-beta-title {
	margin: 0 0 0.85rem;
	font-family: var(--wp--preset--font-family--fraunces), Georgia, serif;
	font-weight: 600;
	font-size: clamp(2.75rem, 7vw, 4.25rem);
	line-height: 1.05;
	color: var(--wp--preset--color--surface);
}

.ic-beta-trust {
	margin: 1.25rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: rgba(255, 255, 255, 0.72);
}

.ic-beta-hero .ic-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 0.25rem;
}

.ic-beta-hero .ic-hero-actions .wp-block-button {
	margin: 0;
}

.ic-beta-hero .ic-hero-actions .wp-block-button__link {
	display: inline-block;
	white-space: nowrap;
}

.ic-beta-phones {
	position: relative;
	min-height: clamp(320px, 58vw, 480px);
	display: grid;
	place-items: end center;
}

.ic-beta-phone {
	margin: 0;
	width: min(42%, 200px);
	animation: ic-shot-fade 0.85s ease both;
}

.ic-beta-phone img {
	display: block;
	width: 100%;
	height: auto;
	background: transparent;
}

.ic-beta-phone--back {
	position: absolute;
	left: 8%;
	bottom: 8%;
	transform: rotate(-8deg);
	opacity: 0.88;
	z-index: 1;
	animation-delay: 0.08s;
}

.ic-beta-phone--front {
	position: relative;
	width: min(52%, 240px);
	z-index: 3;
	animation-delay: 0.16s;
}

.ic-beta-phone--side {
	position: absolute;
	right: 6%;
	bottom: 12%;
	transform: rotate(7deg);
	opacity: 0.9;
	z-index: 2;
	animation-delay: 0.24s;
}

.ic-beta-steps .ic-beta-step-list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.ic-beta-step-list li {
	display: grid;
	gap: 0.25rem;
	padding: 1.15rem 1.25rem;
	border-radius: 1rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(146, 164, 143, 0.28);
	box-shadow: 0 10px 28px rgba(58, 69, 56, 0.06);
}

.ic-beta-step-list strong {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.05rem;
	color: var(--wp--preset--color--contrast);
}

.ic-beta-step-list span {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}

@media (max-width: 899px) {
	.ic-beta-phone--back,
	.ic-beta-phone--side {
		display: none;
	}

	.ic-beta-phone--front {
		width: min(58%, 220px);
	}

	.ic-beta-phones {
		min-height: 300px;
		margin-top: 0.5rem;
	}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ic-hero-brand,
	.ic-hero-tagline,
	.ic-hero-actions,
	.ic-app-grid .wp-block-post,
	.ic-featured-card,
	.ic-hero-shot,
	.ic-beta-phone,
	.ic-contact-form input[type="submit"],
	.wpcf7-form input[type="submit"],
	.wpcf7-form .wpcf7-submit {
		animation: none;
		transition: none;
	}

	.ic-contact-form input[type="submit"]:hover,
	.wpcf7-form input[type="submit"]:hover,
	.wpcf7-form .wpcf7-submit:hover {
		transform: none;
	}
}
