/*
Theme Name: DoorCheck
Theme URI: https://getdoorcheck.app/
Description: DoorCheck's website and blog. A child theme of Twenty Twenty-Five in DoorCheck's colors.
Author: DoorCheck Team
Template: twentytwentyfive
Version: 1.3.1
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: doorcheck
*/

/* Small touches theme.json can't express. */

html {
	scroll-behavior: smooth;
}

/* The header part's own element is the one that has to stick. */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 20;
}

.dc-header {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.dc-brand img {
	border-radius: 8px;
}

/* Product screenshots: a soft card with a shadow. */
.dc-shot img {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(15, 61, 46, 0.14), 0 2px 6px rgba(15, 61, 46, 0.06);
	background: #fff;
}

/* Cards in grids. */
.dc-card {
	height: 100%;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
}

.dc-eyebrow {
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* A check mark list. */
ul.dc-checks {
	list-style: none;
	padding-left: 0;
}
ul.dc-checks li {
	position: relative;
	padding-left: 1.75em;
	margin-bottom: 0.5em;
}
ul.dc-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.1em;
	height: 1.1em;
	border-radius: 50%;
	background: var(--wp--preset--color--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f3d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* FAQ: details blocks as a tidy list. */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1em 0;
}
.wp-block-details summary {
	font-weight: 600;
	cursor: pointer;
}

/* Blog cards. */
.dc-post-card {
	height: 100%;
}

/* A post's cover: across the top of its card on the blog, and above the post. */
.dc-cover {
	margin: 0 0 2rem;
}
.dc-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}
.dc-post-card .dc-cover {
	align-self: stretch;
	margin: calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) 0.25rem;
}
.dc-post-card .dc-cover img {
	border-radius: 13px 13px 0 0;
}
.wp-block-image.dc-shot figcaption {
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
	text-align: center;
	margin-top: 0.75em;
}

/* Keep long words, like URLs, from widening the page on phones. */
.entry-content,
.wp-block-post-content {
	overflow-wrap: anywhere;
}

@media (max-width: 781px) {
	.dc-hide-mobile {
		display: none !important;
	}
}

/* ---------------------------------------------------------------------------
   Motion and color: buttons, links, the landing page's sections.
   --------------------------------------------------------------------------- */

:root {
	--dc-forest: var(--wp--preset--color--primary);
	--dc-pine: var(--wp--preset--color--primary-2);
	--dc-amber: var(--wp--preset--color--accent);
	--dc-ink: var(--wp--preset--color--contrast);
	--dc-muted: var(--wp--preset--color--muted);
	--dc-line: var(--wp--preset--color--line);
	--dc-mint: var(--wp--preset--color--mint);
	--dc-red: #c5371f;
	--dc-red-tint: #fdece8;
	--dc-amber-tint: #fff3d9;
	--dc-amber-ink: #8a5300;
	--dc-blue: #1d5fa8;
	--dc-blue-tint: #e6f0fb;
	--dc-rose-tint: #fbe9f1;
	--dc-rose: #a8326a;
	--dc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Every button and link moves a little. */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.2s var(--dc-ease), color 0.2s var(--dc-ease), transform 0.2s var(--dc-ease),
		box-shadow 0.2s var(--dc-ease);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 61, 46, 0.22);
}
.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
}
.wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	border-radius: 2px;
	background: var(--dc-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--dc-ease);
}
.wp-block-navigation .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

/* Sections written as plain HTML (the landing page). */
main .dc-section {
	margin-block-start: 0;
	padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
	font-weight: 400;
}
.dc-section--tint {
	background: var(--wp--preset--color--page);
}
.dc-section--dark {
	background: radial-gradient(60rem 30rem at 85% 0%, rgba(252, 163, 17, 0.16), transparent 60%),
		linear-gradient(160deg, #0f3d2e 0%, #0a2a20 100%);
	color: #d6e5dd;
}
.dc-section--dark h2 {
	color: #fff;
}
.dc-wrap {
	max-width: 1160px;
	margin-inline: auto;
}
.dc-section h2 {
	margin: 0 0 1rem;
}
.dc-section h3 {
	margin: 0 0 0.4rem;
	font-size: 1.125rem;
}
.dc-section p {
	margin: 0 0 1rem;
}
.dc-muted,
.dc-card p {
	color: var(--dc-muted);
}
.dc-center {
	text-align: center;
}
.dc-head {
	max-width: 44rem;
	margin: 0 auto clamp(2rem, 4vw, 3.25rem);
	text-align: center;
}
.dc-section .dc-eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--dc-pine);
}
.dc-section .dc-eyebrow--amber {
	color: #b06c00;
}
.dc-section--dark .dc-eyebrow--amber {
	color: var(--dc-amber);
}

.dc-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.dc-split--wide-art {
	grid-template-columns: 5fr 6fr;
}

/* Buttons in the HTML sections. */
.dc-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.9rem 1.5rem;
	border-radius: 12px;
	border: 1.5px solid transparent;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s var(--dc-ease), box-shadow 0.2s var(--dc-ease), background-color 0.2s var(--dc-ease),
		border-color 0.2s var(--dc-ease);
}
.dc-btn--primary {
	background: var(--dc-forest);
	color: #fff;
	box-shadow: 0 8px 20px rgba(15, 61, 46, 0.22);
}
.dc-btn--primary:hover {
	background: var(--dc-pine);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(15, 61, 46, 0.28);
}
.dc-btn--ghost {
	background: #fff;
	color: var(--dc-forest);
	border-color: var(--dc-line);
}
.dc-btn--ghost:hover {
	border-color: var(--dc-forest);
	color: var(--dc-forest);
	transform: translateY(-2px);
}
.dc-btn--amber {
	background: var(--dc-amber);
	color: #14241d;
	box-shadow: 0 10px 28px rgba(252, 163, 17, 0.35);
}
.dc-btn--amber:hover {
	background: #ffb53a;
	color: #14241d;
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(252, 163, 17, 0.45);
}
.dc-btn:focus-visible,
.dc-link:focus-visible,
.dc-faq summary:focus-visible {
	outline: 3px solid var(--dc-amber);
	outline-offset: 3px;
}
.dc-btn__arrow {
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5.5l4.5 4.5-4.5 4.5' fill='none' stroke='%23000' 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 20 20'%3E%3Cpath d='M4 10h11M11 5.5l4.5 4.5-4.5 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s var(--dc-ease);
}
.dc-btn:hover .dc-btn__arrow,
.dc-link:hover .dc-btn__arrow {
	transform: translateX(4px);
}
.dc-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
	color: var(--dc-forest);
	text-decoration: none;
	border-bottom: 2px solid var(--dc-amber);
	padding-bottom: 2px;
}

/* Hero. */
main .dc-hero {
	position: relative;
	overflow: hidden;
	padding-top: clamp(3rem, 6vw, 5.5rem);
	background: radial-gradient(42rem 26rem at 88% 8%, rgba(252, 163, 17, 0.2), transparent 62%),
		radial-gradient(40rem 28rem at 6% 96%, rgba(31, 92, 71, 0.16), transparent 60%),
		linear-gradient(180deg, #f1f7f3 0%, #fbfdfc 100%);
}
.dc-hero__grid {
	display: grid;
	grid-template-columns: 11fr 10fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.dc-hero h1 {
	margin: 0 0 1.25rem;
}
.dc-mark {
	background: linear-gradient(transparent 62%, rgba(252, 163, 17, 0.55) 62%, rgba(252, 163, 17, 0.55) 92%, transparent 92%);
	border-radius: 2px;
}
.dc-hero .dc-lead {
	max-width: 34rem;
	margin-bottom: 1.75rem;
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	color: var(--dc-muted);
}
.dc-section .dc-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.9rem 0.4rem 0.7rem;
	border: 1px solid var(--dc-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--dc-pine);
	box-shadow: 0 2px 8px rgba(15, 61, 46, 0.06);
}
.dc-pill__dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #2fa36b;
	box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.5);
	animation: dc-pulse 2.2s infinite;
}
.dc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
ul.dc-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--dc-muted);
}
ul.dc-trust li {
	position: relative;
	padding-left: 1.5em;
}
ul.dc-trust li::before,
ul.dc-checks--light li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.05em;
	height: 1.05em;
	border-radius: 50%;
	background: var(--dc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f3d2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
ul.dc-checks--light {
	margin: 1.25rem 0 0;
	color: #e7f1ec;
}
ul.dc-checks--light li::before {
	background-color: var(--dc-amber);
}

/* The checkout illustration in the hero. */
.dc-hero__art {
	position: relative;
	padding: 1.25rem 0;
}
.dc-demo {
	position: relative;
	z-index: 1;
	max-width: 30rem;
	margin-inline: auto;
	border: 1px solid var(--dc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 30px 70px rgba(15, 61, 46, 0.18), 0 3px 8px rgba(15, 61, 46, 0.06);
	overflow: hidden;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--dc-ink);
	animation: dc-rise 0.9s var(--dc-ease) both;
}
.dc-demo__bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--dc-line);
	background: #f7faf8;
}
.dc-demo__bar span {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: #d3ded8;
}
.dc-demo__bar b {
	margin-left: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--dc-muted);
}
.dc-demo__body {
	display: grid;
	gap: 0.7rem;
	padding: 1.25rem;
}
.dc-section .dc-demo__title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	color: var(--dc-forest);
}
.dc-demo__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem;
}
.dc-demo__field {
	position: relative;
	padding: 0.5rem 0.8rem 0.55rem;
	border: 1px solid #d3ded8;
	border-radius: 9px;
	line-height: 1.35;
}
.dc-demo__field small {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	color: #7a8c84;
}
.dc-demo__field--error {
	border-color: var(--dc-red);
	box-shadow: 0 0 0 3px rgba(197, 55, 31, 0.14);
}
.dc-demo__field--ok {
	border-color: #2fa36b;
	box-shadow: 0 0 0 3px rgba(47, 163, 107, 0.14);
}
.dc-demo__field--ok::after {
	content: "";
	position: absolute;
	right: 0.7rem;
	top: 50%;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: -0.625rem;
	border-radius: 50%;
	background: #2fa36b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.dc-section .dc-demo__error {
	margin: 0.4rem 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--dc-red);
}
/* Two states that take turns: the bad address, then the fixed one. */
.dc-demo__swap {
	display: grid;
}
.dc-demo__state {
	grid-area: 1 / 1;
}
.dc-demo__state--bad {
	animation: dc-show-first 9s infinite;
}
.dc-demo__state--good {
	opacity: 0;
	animation: dc-show-second 9s infinite;
}
.dc-demo__pay {
	display: grid;
	margin-top: 0.3rem;
}
.dc-demo__pay span {
	grid-area: 1 / 1;
	padding: 0.75rem;
	border-radius: 9px;
	text-align: center;
	font-weight: 700;
}
.dc-demo__pay-off {
	background: #e6ece9;
	color: #8b9a93;
	animation: dc-show-first 9s infinite;
}
.dc-demo__pay-on {
	background: var(--dc-forest);
	color: #fff;
	opacity: 0;
	animation: dc-show-second 9s infinite;
}
.dc-float {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--dc-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--dc-forest);
	box-shadow: 0 12px 28px rgba(15, 61, 46, 0.16);
	animation: dc-bob 5s ease-in-out infinite;
}
.dc-float--a {
	top: 0;
	right: 0;
}
.dc-float--b {
	bottom: 0;
	left: 0;
	animation-delay: -2.5s;
}
.dc-dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
}
.dc-dot--red {
	background: var(--dc-red);
}
.dc-dot--green {
	background: #2fa36b;
}

/* A dark band of what gets caught, moving sideways. */
main .dc-band {
	padding-block: 1.1rem;
	padding-inline: 0;
	background: var(--dc-forest);
	color: #e7f1ec;
	overflow: hidden;
}
.dc-marquee {
	display: flex;
	width: max-content;
	animation: dc-marquee 38s linear infinite;
}
.dc-marquee:hover {
	animation-play-state: paused;
}
ul.dc-marquee__track {
	display: flex;
	flex: none;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
}
ul.dc-marquee__track li {
	display: flex;
	align-items: center;
}
ul.dc-marquee__track li::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	margin: 0 1.6rem;
	border-radius: 50%;
	background: var(--dc-amber);
}

/* With and without. */
.dc-compare {
	display: grid;
	gap: 1rem;
}
.dc-compare__card {
	padding: 1.4rem 1.5rem;
	border-radius: 16px;
	border: 1px solid transparent;
}
.dc-compare__card--bad {
	background: var(--dc-red-tint);
	border-color: #f6cfc6;
}
.dc-compare__card--good {
	background: #e3f4ea;
	border-color: #bfe3cf;
	box-shadow: 0 18px 40px rgba(15, 61, 46, 0.1);
}
.dc-section .dc-compare__label {
	margin: 0 0 0.8rem;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.dc-compare__card--bad .dc-compare__label {
	color: var(--dc-red);
}
.dc-compare__card--good .dc-compare__label {
	color: #1c7a4c;
}
ol.dc-steps-mini {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dc-ink);
}
ol.dc-steps-mini li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
}
ol.dc-steps-mini li:not(:last-child)::after {
	content: "→";
	margin-right: -1.6rem;
	padding-left: 0.5rem;
	color: var(--dc-muted);
}
ol.dc-steps-mini li:not(:last-child) {
	margin-right: 1.1rem;
}
.dc-section .dc-compare__note {
	margin: 0.9rem 0 0;
	font-weight: 700;
	color: #1c7a4c;
}

/* Cards that lift on hover. */
.dc-card--lift {
	transition: transform 0.25s var(--dc-ease), box-shadow 0.25s var(--dc-ease), border-color 0.25s var(--dc-ease);
}
.dc-card--lift:hover {
	transform: translateY(-4px);
	border-color: #b9cfc4;
	box-shadow: 0 18px 40px rgba(15, 61, 46, 0.12);
}
ol.dc-howto,
ul.dc-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
ol.dc-howto li,
ul.dc-features li {
	height: auto;
	padding: 1.6rem;
}
ol.dc-howto li p,
ul.dc-features li p {
	margin: 0;
}
.dc-num {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: var(--dc-amber);
	font-weight: 800;
	font-size: 1.125rem;
	color: #14241d;
	box-shadow: 0 8px 18px rgba(252, 163, 17, 0.35);
}
ul.dc-features {
	margin-bottom: 2.25rem;
}

/* Icons: a tinted square with a drawn mark. */
.dc-ico {
	position: relative;
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	background: var(--dc-mint);
	color: var(--dc-forest);
}
.dc-ico::after {
	content: "";
	position: absolute;
	inset: 0.65rem;
	background: currentColor;
	-webkit-mask: var(--dc-icon) center / contain no-repeat;
	mask: var(--dc-icon) center / contain no-repeat;
}
.dc-ico--amber {
	background: var(--dc-amber-tint);
	color: var(--dc-amber-ink);
}
.dc-ico--blue {
	background: var(--dc-blue-tint);
	color: var(--dc-blue);
}
.dc-ico--rose {
	background: var(--dc-rose-tint);
	color: var(--dc-rose);
}
.dc-ico--box {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-5 9 5v8l-9 5-9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");
}
.dc-ico--home {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10M10 20v-6h4v6'/%3E%3C/svg%3E");
}
.dc-ico--shield {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3C/svg%3E");
}
.dc-ico--type {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14M12 6v13M9 19h6'/%3E%3C/svg%3E");
}
.dc-ico--pin {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 10-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.dc-ico--sliders {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9'/%3E%3Ccircle cx='15' cy='7' r='2'/%3E%3Ccircle cx='9' cy='17' r='2'/%3E%3C/svg%3E");
}

/* Screenshots inside the HTML sections. */
figure.dc-shot {
	margin: 0;
}
figure.dc-shot img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.5s var(--dc-ease), box-shadow 0.5s var(--dc-ease);
}
.dc-section--dark figure.dc-shot img {
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
figure.dc-shot--tilt img {
	transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
figure.dc-shot--tilt:hover img {
	transform: none;
}
figure.dc-shot:not(.dc-shot--tilt):hover img {
	transform: translateY(-4px);
}

/* What a rule does. */
ul.dc-modes {
	display: grid;
	gap: 0.85rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}
.dc-mode {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1rem 1.15rem;
	border: 1px solid var(--dc-line);
	border-left-width: 4px;
	border-radius: 12px;
	background: #fff;
	transition: transform 0.25s var(--dc-ease), box-shadow 0.25s var(--dc-ease);
}
.dc-mode:hover {
	transform: translateX(4px);
	box-shadow: 0 12px 28px rgba(15, 61, 46, 0.1);
}
.dc-section .dc-mode p {
	margin: 0;
	color: var(--dc-muted);
}
.dc-tag {
	justify-self: start;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 800;
}
.dc-mode--block {
	border-left-color: var(--dc-red);
}
.dc-mode--block .dc-tag {
	background: var(--dc-red-tint);
	color: var(--dc-red);
}
.dc-mode--flag {
	border-left-color: var(--dc-amber);
}
.dc-mode--flag .dc-tag {
	background: var(--dc-amber-tint);
	color: var(--dc-amber-ink);
}
.dc-mode--hide {
	border-left-color: var(--dc-blue);
}
.dc-mode--hide .dc-tag {
	background: var(--dc-blue-tint);
	color: var(--dc-blue);
}

/* FAQ on the landing page. */
.dc-faq {
	display: grid;
	grid-template-columns: 4fr 7fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.dc-faq__list {
	display: grid;
	gap: 0.75rem;
}
.dc-faq details {
	border: 1px solid var(--dc-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s var(--dc-ease), box-shadow 0.2s var(--dc-ease);
}
.dc-faq details:hover,
.dc-faq details[open] {
	border-color: #b9cfc4;
	box-shadow: 0 10px 26px rgba(15, 61, 46, 0.08);
}
.dc-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	font-weight: 700;
	color: var(--dc-forest);
	cursor: pointer;
	list-style: none;
	border-radius: 14px;
}
.dc-faq summary::-webkit-details-marker {
	display: none;
}
.dc-faq summary::after {
	content: "";
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--dc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%230f3d2e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat;
	transition: transform 0.3s var(--dc-ease), background-color 0.3s var(--dc-ease);
}
.dc-faq details[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--dc-amber);
}
.dc-section .dc-faq details p {
	margin: 0;
	padding: 0 1.25rem 1.2rem;
	color: var(--dc-muted);
	animation: dc-fade 0.35s var(--dc-ease);
}

/* The install call to action, on every page that has one. */
.dc-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
	border-radius: 24px;
	text-align: center;
	color: #d6e5dd;
	background: radial-gradient(34rem 20rem at 85% 0%, rgba(252, 163, 17, 0.28), transparent 62%),
		radial-gradient(30rem 20rem at 0% 100%, rgba(47, 163, 107, 0.35), transparent 60%),
		linear-gradient(150deg, #0f3d2e 0%, #0a2a20 100%);
	box-shadow: 0 30px 70px rgba(15, 61, 46, 0.25);
}
.dc-cta h2 {
	margin: 0 0 0.75rem;
	color: #fff;
}
.dc-cta p {
	max-width: 36rem;
	margin: 0 auto 1.75rem;
}
.dc-cta .dc-cta__note {
	margin: 1rem auto 0;
	font-size: 0.875rem;
	color: #a9c4b8;
}

/* Sections fade up as they come into view. Only once the script has run, so
   nothing stays hidden without it. */
.dc-js .dc-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--dc-ease), transform 0.7s var(--dc-ease);
	transition-delay: var(--dc-delay, 0s);
}
.dc-js .dc-reveal.is-in {
	opacity: 1;
	transform: none;
}
/* Hover transforms on cards win over the reveal's once it has finished. */
.dc-js .dc-card--lift.dc-reveal.is-in:hover {
	transform: translateY(-4px);
	transition-delay: 0s;
}
.dc-js .dc-mode.dc-reveal.is-in:hover {
	transform: translateX(4px);
	transition-delay: 0s;
}

@keyframes dc-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.5);
	}
	70%,
	100% {
		box-shadow: 0 0 0 0.6rem rgba(47, 163, 107, 0);
	}
}
@keyframes dc-rise {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.98);
	}
}
@keyframes dc-bob {
	50% {
		transform: translateY(-9px);
	}
}
@keyframes dc-fade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}
@keyframes dc-marquee {
	to {
		transform: translateX(-50%);
	}
}
@keyframes dc-show-first {
	0%,
	44% {
		opacity: 1;
	}
	50%,
	94% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes dc-show-second {
	0%,
	44% {
		opacity: 0;
	}
	50%,
	94% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@media (max-width: 900px) {
	.dc-hero__grid,
	.dc-split,
	.dc-split--wide-art,
	.dc-faq {
		grid-template-columns: 1fr;
	}
	ol.dc-howto,
	ul.dc-features {
		grid-template-columns: 1fr 1fr;
	}
	figure.dc-shot--tilt img {
		transform: none;
	}
}
@media (max-width: 600px) {
	ol.dc-howto,
	ul.dc-features {
		grid-template-columns: 1fr;
	}
	.dc-actions .dc-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
	.dc-float {
		font-size: 0.8125rem;
	}
	.dc-mode {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.dc-marquee,
	.dc-float,
	.dc-pill__dot,
	.dc-demo,
	.dc-demo__state,
	.dc-demo__pay span {
		animation: none;
	}
	.dc-demo__state--good,
	.dc-demo__pay-on {
		opacity: 0;
	}
	.dc-js .dc-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.dc-btn,
	.dc-card--lift,
	.dc-mode,
	figure.dc-shot img,
	.wp-block-button__link {
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
   Inner pages: Features, Pricing, Help, Contact, the blog and posts.
   --------------------------------------------------------------------------- */

/* The band under the header, on landing pages and on templates with a title. */
main .dc-pagehero,
.dc-pagehead {
	background-image: radial-gradient(40rem 22rem at 90% 0%, rgba(252, 163, 17, 0.18), transparent 62%),
		radial-gradient(36rem 22rem at 0% 100%, rgba(31, 92, 71, 0.14), transparent 60%),
		linear-gradient(180deg, #f1f7f3 0%, #fbfdfc 100%);
}
main .dc-pagehero {
	padding-block: clamp(3rem, 6vw, 5rem);
}
.dc-pagehero h1 {
	max-width: 46rem;
	margin: 0 0 1rem;
}
.dc-pagehero .dc-lead {
	max-width: 40rem;
	margin: 0;
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	color: var(--dc-muted);
}
.dc-pagehero .dc-actions {
	margin: 1.75rem 0 0;
}
.dc-pagehero--center {
	text-align: center;
}
.dc-pagehero--center h1,
.dc-pagehero--center .dc-lead {
	margin-inline: auto;
}
/* The section after a centered band starts inside it. */
main .dc-pagehero--overlap {
	padding-bottom: clamp(5rem, 9vw, 7.5rem);
}
main .dc-section--pull {
	padding-top: 0;
}
main .dc-section--pull > .dc-wrap {
	margin-top: clamp(-4.5rem, -6vw, -3rem);
}
.dc-wrap--narrow {
	max-width: 52rem;
}
/* After ".dc-section p", which sets the margins of every paragraph. */
.dc-section .dc-narrow {
	max-width: 44rem;
	margin-inline: auto;
}
.dc-section .dc-small {
	font-size: 0.9375rem;
	color: var(--dc-muted);
}
.dc-section .dc-h3 {
	margin: 0 0 0.4rem;
	font-size: 1.125rem;
}

/* Rule groups: a card with an icon, a name and its list. */
.dc-groups {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
.dc-group {
	height: auto;
	padding: 1.6rem;
}
.dc-group__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1rem;
}
.dc-group__head .dc-ico {
	flex: none;
	margin: 0;
}
.dc-section .dc-group__head h3 {
	margin: 0;
	font-size: 1.1875rem;
}
.dc-section ul.dc-checks {
	margin: 0;
}
.dc-section ul.dc-checks li:last-child {
	margin-bottom: 0;
}

/* A custom rule, drawn. */
.dc-builder {
	display: grid;
	gap: 0.75rem;
	padding: 1.5rem;
	border: 1px solid var(--dc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 61, 46, 0.12);
	font-weight: 600;
}
.dc-section .dc-builder__title {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dc-muted);
}
.dc-builder__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.dc-builder__key {
	width: 3rem;
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--dc-pine);
}
.dc-chip {
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--dc-line);
	border-radius: 9px;
	background: #fff;
	font-size: 0.9375rem;
	color: var(--dc-ink);
}
.dc-chip--soft {
	border-color: transparent;
	background: var(--dc-mint);
	color: var(--dc-forest);
}
.dc-chip--value {
	border-color: #f3d79b;
	background: var(--dc-amber-tint);
	color: var(--dc-amber-ink);
}
.dc-tag--block {
	background: var(--dc-red-tint);
	color: var(--dc-red);
}
.dc-section .dc-builder__msg {
	margin: 0.25rem 0 0;
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dc-red);
	border-radius: 0 10px 10px 0;
	background: var(--dc-red-tint);
	font-size: 0.9375rem;
	color: var(--dc-red);
}

/* The three outcomes side by side. */
ul.dc-modes--row {
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 2rem;
}
ul.dc-modes--row .dc-mode {
	grid-template-columns: 1fr;
	gap: 0.6rem;
	padding: 1.4rem;
	border-left-width: 1px;
	border-top-width: 4px;
}
ul.dc-modes--row .dc-mode--block {
	border-left-color: var(--dc-line);
	border-top-color: var(--dc-red);
}
ul.dc-modes--row .dc-mode--flag {
	border-left-color: var(--dc-line);
	border-top-color: var(--dc-amber);
}
ul.dc-modes--row .dc-mode--hide {
	border-left-color: var(--dc-line);
	border-top-color: var(--dc-blue);
}
ul.dc-modes--row .dc-mode:hover,
.dc-js ul.dc-modes--row .dc-mode.dc-reveal.is-in:hover {
	transform: translateY(-4px);
}

/* Card grids that aren't lists. */
.dc-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.dc-features > .dc-card {
	height: auto;
	padding: 1.6rem;
}
.dc-features > .dc-card p:last-child {
	margin-bottom: 0;
}
.dc-features--2 {
	grid-template-columns: 1fr 1fr;
}
.dc-features--2 > .dc-card {
	box-shadow: 0 18px 44px rgba(15, 61, 46, 0.1);
}

/* More icons. */
.dc-ico--user {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E");
}
.dc-ico--search {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E");
}
.dc-ico--chat {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H10l-5 4v-4H4z'/%3E%3C/svg%3E");
}
.dc-ico--mail {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}
.dc-ico--tag {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3C/svg%3E");
}
.dc-ico--bolt {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3L5 14h6l-1 7 8-11h-6z'/%3E%3C/svg%3E");
}
.dc-ico--power {
	--dc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v9'/%3E%3Cpath d='M7 6a8 8 0 1010 0'/%3E%3C/svg%3E");
}

/* Pricing. */
.dc-price {
	position: relative;
	max-width: 30rem;
	margin: 0 auto 1.75rem;
	padding: 2.25rem 2rem 2rem;
	border: 2px solid var(--dc-forest);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 70px rgba(15, 61, 46, 0.16);
}
.dc-price__ribbon {
	position: absolute;
	top: -0.9rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.3rem 0.95rem;
	border-radius: 999px;
	background: var(--dc-amber);
	font-size: 0.8125rem;
	font-weight: 800;
	white-space: nowrap;
	color: #14241d;
	box-shadow: 0 8px 18px rgba(252, 163, 17, 0.35);
}
.dc-section .dc-price h2 {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}
.dc-section .dc-price__amount {
	margin: 0 0 1.5rem;
	font-size: 3.25rem;
	font-weight: 800;
	line-height: 1;
	color: var(--dc-forest);
}
.dc-price__amount span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--dc-muted);
}
.dc-section .dc-price ul.dc-checks {
	margin-bottom: 1.75rem;
}
.dc-btn--block {
	display: flex;
	justify-content: center;
}

/* Help: numbered steps down a line. */
ol.dc-timeline {
	position: relative;
	display: grid;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
ol.dc-timeline::before {
	content: "";
	position: absolute;
	top: 1.25rem;
	bottom: 1.25rem;
	left: 1.25rem;
	width: 2px;
	margin-left: -1px;
	background: linear-gradient(var(--dc-amber), var(--dc-line));
}
ol.dc-timeline > li {
	position: relative;
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	gap: 1.5rem;
	align-items: start;
}
ol.dc-timeline .dc-num {
	margin: 0;
}
.dc-section ol.dc-timeline h2 {
	margin: 0.2rem 0 0.75rem;
	font-size: 1.5rem;
}
.dc-section ol.dc-timeline ul.dc-checks {
	margin-bottom: 1rem;
}
.dc-section code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: var(--dc-mint);
	font-size: 0.9em;
	color: var(--dc-forest);
}
.dc-section .dc-callout {
	margin: 0;
	padding: 0.9rem 1.1rem;
	border-left: 4px solid var(--dc-amber);
	border-radius: 0 12px 12px 0;
	background: var(--dc-amber-tint);
	font-size: 0.9375rem;
	color: #5c3a00;
}

/* A lighter call to action, for pages about getting help. */
.dc-cta--soft {
	color: var(--dc-muted);
	background: radial-gradient(30rem 18rem at 90% 0%, rgba(252, 163, 17, 0.22), transparent 62%), var(--dc-mint);
	box-shadow: none;
}
.dc-cta--soft h2 {
	color: var(--dc-forest);
}

/* Titles of pages and posts, and the blog. */
.dc-pagehead .wp-block-post-title,
.dc-pagehead h1 {
	margin-bottom: 0.5rem;
}
.dc-post-card {
	overflow: hidden;
	transition: transform 0.25s var(--dc-ease), box-shadow 0.25s var(--dc-ease), border-color 0.25s var(--dc-ease);
}
.dc-post-card:hover {
	transform: translateY(-4px);
	border-color: #b9cfc4;
	box-shadow: 0 18px 40px rgba(15, 61, 46, 0.12);
}
.dc-post-card .dc-cover {
	overflow: hidden;
	border-radius: 13px 13px 0 0;
}
.dc-post-card .dc-cover img {
	transition: transform 0.5s var(--dc-ease);
}
.dc-post-card:hover .dc-cover img {
	transform: scale(1.04);
}
.dc-post-card .wp-block-post-excerpt__more-link {
	font-weight: 700;
	color: var(--dc-forest);
	text-decoration: none;
	border-bottom: 2px solid var(--dc-amber);
}
/* Posts and plain pages: headings with a mark, quotes and code that stand out. */
.wp-block-post-content > h2.wp-block-heading {
	margin-top: 2.25em;
	padding-left: 0.85rem;
	border-left: 4px solid var(--dc-amber);
}
.wp-block-post-content a:where(:not(.wp-element-button):not(.dc-btn):not(.dc-link)) {
	text-decoration-color: var(--dc-amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.wp-block-post-content :where(p, li) > code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: var(--dc-mint);
	font-size: 0.9em;
	color: var(--dc-forest);
}

@media (max-width: 900px) {
	.dc-groups,
	.dc-features,
	.dc-features--2,
	ul.dc-modes--row {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 600px) {
	.dc-groups,
	.dc-features,
	.dc-features--2,
	ul.dc-modes--row {
		grid-template-columns: 1fr;
	}
	ol.dc-timeline > li {
		gap: 1rem;
	}
	.dc-price {
		padding-inline: 1.4rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.dc-post-card,
	.dc-post-card .dc-cover img {
		transition: none;
	}
}
