/*
Theme Name: ResDBG Pro
Theme URI: https://resdbg.com/
Author: David Brink
Author URI: https://resdbg.com/
Description: Commercial product theme for RenderDoc Pro.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: resdbg-pro
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../twentytwentyfour/assets/fonts/inter/Inter-VariableFont_slnt,wght.woff2") format("woff2");
}

@font-face {
	font-family: "Cardo";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../twentytwentyfour/assets/fonts/cardo/cardo_normal_400.woff2") format("woff2");
}

@font-face {
	font-family: "Cardo";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../twentytwentyfour/assets/fonts/cardo/cardo_italic_400.woff2") format("woff2");
}

@font-face {
	font-family: "Cardo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../twentytwentyfour/assets/fonts/cardo/cardo_normal_700.woff2") format("woff2");
}

:root {
	--rd-ink: #121416;
	--rd-muted: #5b646b;
	--rd-line: #dfe5e6;
	--rd-soft: #f4f7f6;
	--rd-panel: #ffffff;
	--rd-dark: #111315;
	--rd-green: #11845b;
	--rd-green-dark: #0c6847;
	--rd-amber: #c88724;
	--rd-shell: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--rd-soft);
	color: var(--rd-ink);
	font-family: Inter, "Instrument Sans", Arial, sans-serif;
	letter-spacing: 0;
}

.rd-shell {
	width: min(100% - 40px, var(--rd-shell));
	margin-inline: auto;
}

.rd-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--rd-line);
	backdrop-filter: blur(10px);
}

.admin-bar .rd-site-header {
	top: 32px;
}

.rd-site-header__inner {
	min-height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.rd-brand {
	color: var(--rd-ink);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	font-weight: 760;
	text-decoration: none;
	white-space: nowrap;
}

.rd-brand:hover {
	color: var(--rd-green-dark);
}

.rd-brand__mark {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--rd-green);
	color: #ffffff;
	font-weight: 800;
}

.rd-site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	font-size: 0.93rem;
	font-weight: 640;
}

.rd-site-nav a,
.rd-footer a {
	color: inherit;
	text-decoration: none;
}

.rd-site-nav a:hover,
.rd-footer a:hover {
	color: var(--rd-green-dark);
}

.rd-header-cta,
.rd-button {
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	font-weight: 760;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rd-header-cta {
	background: var(--rd-ink);
	color: #ffffff;
	border: 1px solid var(--rd-ink);
}

.rd-header-cta:hover,
.rd-button:hover {
	transform: translateY(-1px);
}

.rd-home,
.rd-list-page {
	margin-top: 0;
	background: var(--rd-soft);
}

.rd-home h1,
.rd-home h2,
.rd-home h3,
.rd-list-page h1,
.rd-list-page h2,
.rd-footer h2 {
	color: inherit;
	line-height: 1.05;
	margin: 0;
	letter-spacing: 0;
}

.rd-home p,
.rd-list-page p,
.rd-footer p {
	margin: 0;
}

.rd-hero {
	background: var(--rd-dark);
	color: #ffffff;
	padding: 72px 0 56px;
}

.rd-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
	gap: 48px;
	align-items: center;
}

.rd-eyebrow,
.rd-kicker,
.rd-plan__label {
	color: var(--rd-green);
	font-size: 0.78rem;
	font-weight: 820;
	letter-spacing: 0;
	text-transform: uppercase;
}

.rd-hero .rd-eyebrow {
	color: #80d6a6;
	margin-bottom: 18px;
}

.rd-hero h1 {
	max-width: 780px;
	font-size: 4rem;
	color: #ffffff;
}

.rd-lead {
	max-width: 680px;
	margin-top: 24px;
	color: #d7dedc;
	font-size: 1.18rem;
	line-height: 1.65;
}

.rd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.rd-button--primary {
	background: var(--rd-green);
	border: 1px solid var(--rd-green);
	color: #ffffff;
}

.rd-button--primary:hover {
	background: var(--rd-green-dark);
	border-color: var(--rd-green-dark);
	color: #ffffff;
}

.rd-button--secondary {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.32);
	color: #ffffff;
}

.rd-button--secondary:hover {
	border-color: #ffffff;
	color: #ffffff;
}

.rd-button--dark {
	background: var(--rd-dark);
	border: 1px solid var(--rd-dark);
	color: #ffffff;
}

.rd-button--dark:hover {
	background: #2a2f33;
	border-color: #2a2f33;
	color: #ffffff;
}

.rd-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 42px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rd-metrics strong,
.rd-metrics span {
	display: block;
}

.rd-metrics strong {
	color: #ffffff;
	font-size: 1rem;
	margin-bottom: 6px;
}

.rd-metrics span {
	color: #b8c2c0;
	font-size: 0.9rem;
	line-height: 1.35;
}

.rd-hero-media,
.rd-screenshot {
	margin: 0;
}

.rd-hero-media {
	background: #202326;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
	overflow: hidden;
}

.rd-hero-media img,
.rd-screenshot img {
	display: block;
	width: 100%;
	height: auto;
}

.rd-hero-media figcaption {
	color: #b9c2c0;
	font-size: 0.86rem;
	line-height: 1.45;
	padding: 14px 16px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rd-trust {
	background: #ffffff;
	border-bottom: 1px solid var(--rd-line);
}

.rd-trust__grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr 1fr;
	gap: 18px;
	padding: 20px 0;
	color: #374047;
	font-size: 0.9rem;
	font-weight: 650;
}

.rd-trust a,
.rd-section-heading a {
	color: var(--rd-green-dark);
}

.rd-section {
	padding: 84px 0;
}

.rd-section--soft {
	background: #ffffff;
	border-top: 1px solid var(--rd-line);
	border-bottom: 1px solid var(--rd-line);
}

.rd-section-heading,
.rd-cases__heading {
	max-width: 760px;
	margin: 0 auto 38px;
	text-align: center;
}

.rd-section-heading h2,
.rd-cases__heading h2 {
	margin-top: 10px;
	font-size: 2.55rem;
}

.rd-section-heading p:not(.rd-kicker),
.rd-cases__heading p:not(.rd-kicker) {
	margin-top: 16px;
	color: var(--rd-muted);
	font-size: 1.04rem;
	line-height: 1.65;
}

.rd-cases {
	background: #ffffff;
	padding-bottom: 68px;
	overflow: hidden;
}

.rd-logo-marquee {
	position: relative;
	margin-top: 28px;
	overflow: hidden;
	border-block: 1px solid var(--rd-line);
	background: #f8faf9;
}

.rd-logo-marquee::before,
.rd-logo-marquee::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	width: min(16vw, 160px);
	pointer-events: none;
}

.rd-logo-marquee::before {
	left: 0;
	background: linear-gradient(90deg, #f8faf9 0%, rgba(248, 250, 249, 0) 100%);
}

.rd-logo-marquee::after {
	right: 0;
	background: linear-gradient(270deg, #f8faf9 0%, rgba(248, 250, 249, 0) 100%);
}

.rd-logo-track {
	display: flex;
	width: max-content;
	transform: translateX(0);
	animation: rd-marquee 68s linear infinite;
	will-change: transform;
}

.rd-logo-row {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 26px 11px;
}

.rd-logo-row img {
	width: 182px;
	height: 75px;
	object-fit: contain;
	flex: 0 0 auto;
	border: 1px solid #e5ebeb;
	border-radius: 6px;
	background: #ffffff;
	padding: 10px 16px;
	opacity: 0.94;
	transition: opacity 160ms ease, transform 160ms ease;
}

.rd-logo-row img:hover {
	opacity: 1;
	transform: translateY(-2px);
}

@keyframes rd-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.rd-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.rd-feature,
.rd-plan,
.rd-post-card,
.rd-news .wp-block-latest-posts li {
	background: var(--rd-panel);
	border: 1px solid var(--rd-line);
	border-radius: 8px;
}

.rd-feature {
	padding: 24px;
	min-height: 226px;
}

.rd-feature h3 {
	font-size: 1.18rem;
	margin-bottom: 14px;
}

.rd-feature p,
.rd-check-list,
.rd-plan li,
.rd-plan__note,
.rd-faq p,
.rd-payment p,
.rd-footer p {
	color: var(--rd-muted);
	line-height: 1.62;
}

.rd-section--split {
	background: #eef3f1;
	border-top: 1px solid var(--rd-line);
	border-bottom: 1px solid var(--rd-line);
}

.rd-split {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
	gap: 48px;
	align-items: center;
}

.rd-split h2 {
	margin-top: 10px;
	font-size: 2.5rem;
}

.rd-split p:not(.rd-kicker) {
	margin-top: 18px;
	color: var(--rd-muted);
	font-size: 1.04rem;
	line-height: 1.65;
}

.rd-check-list {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.rd-check-list li {
	position: relative;
	padding-left: 28px;
}

.rd-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.68em;
	width: 12px;
	height: 8px;
	border-left: 2px solid var(--rd-green);
	border-bottom: 2px solid var(--rd-green);
	transform: rotate(-45deg);
}

.rd-screenshot {
	border: 1px solid #cfd8d8;
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(18, 20, 22, 0.12);
}

.rd-section--pricing {
	background: #f7f8f6;
}

.rd-pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.rd-plan {
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: 30px;
	position: relative;
}

.rd-plan--featured {
	border-color: #92b8a7;
	box-shadow: 0 16px 44px rgba(17, 132, 91, 0.12);
}

.rd-plan--featured::before {
	content: "Recommended for teams";
	position: absolute;
	right: 18px;
	top: 18px;
	border: 1px solid #b7d7ca;
	border-radius: 4px;
	color: var(--rd-green-dark);
	background: #eef8f3;
	padding: 6px 10px;
	font-size: 0.76rem;
	font-weight: 780;
}

.rd-plan__header {
	padding-right: 150px;
}

.rd-plan__header h3 {
	margin-top: 12px;
	font-size: 2.55rem;
}

.rd-plan__header h3 span {
	color: var(--rd-muted);
	font-size: 1rem;
	font-weight: 650;
}

.rd-plan__header p:not(.rd-plan__label) {
	margin-top: 14px;
	color: var(--rd-muted);
	line-height: 1.58;
}

.rd-plan ul {
	align-content: start;
	align-self: start;
	display: grid;
	gap: 10px;
	margin: 26px 0;
	padding: 0;
	list-style: none;
}

.rd-plan li {
	position: relative;
	padding-left: 24px;
}

.rd-plan li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rd-green);
}

.rd-plan__note {
	border-top: 1px solid var(--rd-line);
	padding-top: 18px;
	font-size: 0.92rem;
}

.rd-plan__footer {
	align-self: end;
	display: grid;
	gap: 22px;
}

.rd-plan .rd-button {
	width: 100%;
}

.rd-payment {
	background: var(--rd-dark);
	color: #ffffff;
	padding: 58px 0;
}

.rd-payment__inner,
.rd-final-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.rd-payment h2,
.rd-final-cta h2 {
	margin-top: 8px;
	font-size: 2.2rem;
	color: inherit;
}

.rd-payment p:not(.rd-kicker) {
	max-width: 720px;
	margin-top: 12px;
	color: #d7dedc;
}

.rd-news {
	padding-inline: 20px;
}

.rd-news .rd-section-heading {
	margin-bottom: 30px;
}

.rd-news .wp-block-latest-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.rd-news .wp-block-latest-posts li {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 100%;
}

.rd-news .wp-block-latest-posts__featured-image {
	margin: 0;
}

.rd-news .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.rd-news .wp-block-latest-posts a:not(.wp-block-latest-posts__post-excerpt a) {
	color: var(--rd-ink);
	font-size: 1.08rem;
	font-weight: 760;
	line-height: 1.3;
	text-decoration: none;
}

.rd-news .wp-block-latest-posts a:hover {
	color: var(--rd-green-dark);
}

.rd-news .wp-block-latest-posts__post-title,
.rd-news .wp-block-latest-posts__post-date,
.rd-news .wp-block-latest-posts__post-excerpt {
	display: block;
	margin-inline: 20px;
}

.rd-news .wp-block-latest-posts__post-title {
	margin-top: 20px;
}

.rd-news .wp-block-latest-posts__post-date {
	margin-top: 10px;
	color: var(--rd-amber);
	font-size: 0.82rem;
	font-weight: 720;
}

.rd-news .wp-block-latest-posts__post-excerpt {
	margin-top: 12px;
	margin-bottom: 22px;
	color: var(--rd-muted);
	line-height: 1.55;
}

.rd-faq-list {
	display: grid;
	gap: 12px;
	max-width: 880px;
	margin: 0 auto;
}

.rd-faq details {
	background: #ffffff;
	border: 1px solid var(--rd-line);
	border-radius: 8px;
	padding: 20px 22px;
}

.rd-faq summary {
	cursor: pointer;
	font-weight: 760;
}

.rd-faq p {
	margin-top: 12px;
}

.rd-final-cta {
	background: #ffffff;
	border-top: 1px solid var(--rd-line);
	padding: 58px 0;
}

.rd-final-cta .rd-kicker {
	color: var(--rd-green-dark);
}

.rd-footer {
	background: #0f1112;
	color: #ffffff;
	padding: 54px 0 28px;
}

.rd-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr 0.9fr;
	gap: 42px;
}

.rd-brand--footer {
	color: #ffffff;
}

.rd-footer p {
	margin-top: 18px;
	color: #c5cecc;
	max-width: 520px;
}

.rd-footer h2 {
	margin-bottom: 14px;
	color: #ffffff;
	font-size: 0.92rem;
	text-transform: uppercase;
}

.rd-footer a {
	display: block;
	color: #dbe3e1;
	margin-top: 10px;
}

.rd-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 42px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.86rem;
}

.rd-footer__bottom p {
	margin: 0;
}

.rd-list-hero {
	background: var(--rd-dark);
	color: #ffffff;
	padding: 76px 0 64px;
}

.rd-list-hero h1 {
	margin-top: 10px;
	font-size: 3.2rem;
	max-width: 820px;
	color: #ffffff;
}

.rd-list-hero p:not(.rd-kicker) {
	margin-top: 18px;
	max-width: 660px;
	color: #d7dedc;
	font-size: 1.08rem;
	line-height: 1.62;
}

.rd-archive-query {
	max-width: var(--rd-shell);
	margin: 0 auto;
	padding: 56px 20px 84px;
}

.rd-archive-query .wp-block-post-template {
	gap: 22px;
}

.rd-post-card {
	height: 100%;
	overflow: hidden;
}

.rd-post-card .wp-block-post-featured-image {
	margin: 0;
}

.rd-post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.rd-post-card .wp-block-post-title,
.rd-post-card .wp-block-post-date,
.rd-post-card .wp-block-post-excerpt {
	margin-left: 20px;
	margin-right: 20px;
}

.rd-post-card .wp-block-post-title {
	margin-top: 20px;
	font-size: 1.2rem;
	line-height: 1.25;
}

.rd-post-card .wp-block-post-title a {
	color: var(--rd-ink);
	text-decoration: none;
}

.rd-post-card .wp-block-post-title a:hover {
	color: var(--rd-green-dark);
}

.rd-post-card .wp-block-post-date {
	margin-top: 10px;
	color: var(--rd-amber);
	font-size: 0.82rem;
	font-weight: 720;
}

.rd-post-card .wp-block-post-excerpt {
	margin-top: 12px;
	margin-bottom: 22px;
	color: var(--rd-muted);
	line-height: 1.55;
}

.rd-archive-query .wp-block-query-pagination {
	margin-top: 38px;
}

.rd-archive-query .wp-block-query-pagination a {
	color: var(--rd-ink);
	font-weight: 760;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.rd-site-header__inner {
		flex-wrap: wrap;
		padding: 14px 0;
	}

	.rd-site-nav {
		order: 3;
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.rd-hero__grid,
	.rd-split {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 900px) {
	.admin-bar .rd-site-header {
		top: 46px;
	}

	.rd-hero h1 {
		font-size: 3.15rem;
	}

	.rd-section-heading h2,
	.rd-cases__heading h2,
	.rd-split h2,
	.rd-plan__header h3,
	.rd-list-hero h1 {
		font-size: 2.35rem;
	}

	.rd-trust__grid,
	.rd-pricing-grid,
	.rd-news .wp-block-latest-posts,
	.rd-footer__grid {
		grid-template-columns: 1fr;
	}

	.rd-plan__header {
		padding-right: 0;
		padding-top: 34px;
	}

	.rd-plan--featured::before {
		left: 30px;
		right: auto;
	}

	.rd-payment__inner,
	.rd-final-cta__inner,
	.rd-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.rd-shell {
		width: min(100% - 28px, var(--rd-shell));
	}

	.rd-header-cta {
		width: 100%;
	}

	.rd-hero,
	.rd-section,
	.rd-list-hero {
		padding-top: 56px;
		padding-bottom: 50px;
	}

	.rd-hero h1 {
		font-size: 2.42rem;
	}

	.rd-lead,
	.rd-section-heading p:not(.rd-kicker),
	.rd-cases__heading p:not(.rd-kicker),
	.rd-split p:not(.rd-kicker) {
		font-size: 1rem;
	}

	.rd-actions,
	.rd-button {
		width: 100%;
	}

	.rd-metrics,
	.rd-feature-grid {
		grid-template-columns: 1fr;
	}

	.rd-site-nav {
		gap: 16px;
	}

	.rd-plan,
	.rd-feature,
	.rd-faq details {
		padding: 22px;
	}

	.rd-logo-row {
		gap: 14px;
	}

	.rd-logo-row img {
		width: 150px;
		height: 62px;
		padding: 8px 12px;
	}
}
