/* Kindly theme: small extras theme.json can't express. */

/* Card group style */
.is-style-kindly-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px;
	padding: clamp(1.25rem, 3vw, 2rem);
}

/* Eyebrow paragraph style */
.is-style-kindly-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	margin-bottom: 0;
}
.has-teal-background-color .is-style-kindly-eyebrow,
.has-ink-background-color .is-style-kindly-eyebrow { color: var(--wp--preset--color--sea-glass); }

/* Ghost button style */
.wp-block-button.is-style-kindly-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--teal);
	box-shadow: inset 0 0 0 1.5px currentColor;
}
.wp-block-button.is-style-kindly-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--mist); }
.has-teal-background-color .wp-block-button.is-style-kindly-ghost .wp-block-button__link { color: var(--wp--preset--color--paper); }
.has-teal-background-color .wp-block-button.is-style-kindly-ghost .wp-block-button__link:hover { background: rgba(247, 244, 238, 0.12); }

/* Header */
.kindly-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 244, 238, 0.92);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .kindly-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .kindly-header { top: 0; } }
.kindly-brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.kindly-brand img { width: 34px; height: auto; display: block; }
.kindly-brand .wp-block-site-title { margin: 0; }
.kindly-brand-sub {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	margin: 0.2rem 0 0;
	align-self: flex-end;
	padding-bottom: 0.3rem;
}

/* Feature icons */
.kindly-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--teal);
	margin: 0;
}
.kindly-icon svg { width: 22px; height: 22px; }

/* Step numbers */
.kindly-step-num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.125rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--apricot);
	color: var(--wp--preset--color--ink);
	margin: 0;
}

/* Tick list */
.kindly-ticks { list-style: none; padding-left: 0; }
.kindly-ticks li { position: relative; padding-left: 1.75rem; margin: 0.45rem 0; }
.kindly-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%230F5257' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.has-teal-background-color .kindly-ticks li::before { background-color: rgba(247, 244, 238, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23F2A65A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Pricing: highlight */
.kindly-price-featured { box-shadow: inset 0 0 0 2px var(--wp--preset--color--teal); border-color: transparent !important; }
.kindly-price-amount { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1; margin: 0; }

/* Flow strip in the integrations section */
.kindly-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.kindly-flow .kindly-chip {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(247, 244, 238, 0.35);
	font-weight: 500;
	font-size: 0.9375rem;
	margin: 0;
}
.kindly-flow .kindly-arrow { margin: 0; opacity: 0.7; }

/* Demo frame for the live form */
.kindly-demo-frame .kindly { margin-inline: auto; }

/* Hero mark */
.kindly-hero-mark img { width: clamp(72px, 9vw, 112px); height: auto; }

/* FAQ */
.wp-block-details summary { font-weight: 600; cursor: pointer; font-size: var(--wp--preset--font-size--medium); }
.wp-block-details summary:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 4px; border-radius: 4px; }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); }

/* Footer */
.kindly-footer a { color: var(--wp--preset--color--paper); }
.kindly-footer a:hover { color: var(--wp--preset--color--apricot); }

/* Phone widths */
@media (max-width: 781px) {
	.kindly-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.kindly-hero .wp-block-button__link { width: 100%; }
}

/* Hero form illustration (decorative; the real form is in the demo section) */
.kindly-mock { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 22px; padding: 1.5rem; box-shadow: 0 24px 60px -28px rgba(15, 82, 87, 0.35); display: grid; gap: 0.85rem; max-width: 420px; margin-inline: auto; }
.kindly-mock-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--wp--preset--color--paper); border-radius: 999px; padding: 4px; }
.kindly-mock-toggle span { text-align: center; padding: 0.55rem; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; }
.kindly-mock-toggle .on { background: var(--wp--preset--color--teal); color: #fff; font-weight: 600; }
.kindly-mock-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.kindly-mock-amounts span { border: 1.5px solid var(--wp--preset--color--line); border-radius: 12px; padding: 0.8rem 0; text-align: center; font-weight: 600; font-size: 1.125rem; }
.kindly-mock-amounts .on { border: 2px solid var(--wp--preset--color--teal); background: var(--wp--preset--color--mist); color: var(--wp--preset--color--teal); }
.kindly-mock-note { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--teal); border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.9375rem; }
.kindly-mock-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; }
.kindly-mock-check i { flex: none; width: 20px; height: 20px; border-radius: 5px; background: var(--wp--preset--color--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 2px; }
.kindly-mock-btn { background: var(--wp--preset--color--teal); color: #fff; border-radius: 999px; text-align: center; padding: 0.9rem; font-weight: 600; }
.kindly-mock-pay { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.is-layout-grid > .is-style-kindly-card { align-self: stretch; height: 100%; box-sizing: border-box; }
.is-style-kindly-card > .wp-block-buttons:last-child { margin-top: auto; }
.wp-block-code { overflow-x: auto; }
.wp-block-code code { white-space: pre; }
