/* Resilient — Gutenberg block front-end matching development-docs */

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #f3f5f6;
	color: #0e1a24;
	font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

a {
	color: #0e1a24;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: #1f4e6b;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #f2a93b;
	outline-offset: 2px;
}

h1,
h2,
h3,
.wp-block-heading {
	overflow-wrap: anywhere;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.wp-block-post-content > * + *,
.entry-content > * + * {
	margin-block-start: 0;
}

/* —— Header —— */
.rcs-site-header {
	border-bottom: 1px solid #22323f;
}

.rcs-site-header a {
	color: #dce3e8;
	text-decoration: none;
}

.rcs-site-header a:hover {
	color: #ffffff;
}

.rcs-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #ffffff !important;
	text-decoration: none;
}

.rcs-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.rcs-logo-name {
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.08em;
}

.rcs-logo-sub {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.22em;
	color: #a9b6c0;
}

.rcs-nav .wp-block-navigation-item__content {
	color: #dce3e8;
	font-size: 15px;
}

.rcs-nav .wp-block-navigation-item__content:hover,
.rcs-nav .current-menu-item > .wp-block-navigation-item__content {
	color: #ffffff;
}

.rcs-nav .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.rcs-nav .rcs-nav-cta .wp-block-navigation-item__content,
.rcs-nav a.rcs-nav-cta,
.wp-block-navigation-item.rcs-nav-cta > a {
	background: #f2a93b !important;
	color: #0e1a24 !important;
	font-weight: 600;
	padding: 12px 20px !important;
	border-radius: 6px;
	min-height: 44px;
	display: inline-flex !important;
	align-items: center;
	box-sizing: border-box;
	text-decoration: none !important;
}

/* —— Hero cover —— */
.rcs-hero.wp-block-cover {
	background-color: #0e1a24;
}

.rcs-hero.wp-block-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(14, 26, 36, 0.97) 0%,
		rgba(14, 26, 36, 0.88) 38%,
		rgba(14, 26, 36, 0.45) 72%,
		rgba(14, 26, 36, 0.25) 100%
	);
}

.rcs-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.rcs-hero-copy {
	max-width: 640px;
}

.rcs-hero .wp-block-button__link {
	min-height: 48px;
	padding: 14px 24px;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
}

.rcs-hero .is-style-outline .wp-block-button__link {
	background: transparent !important;
	border: 1px solid #5b6b78 !important;
}

/* —— Typography helpers —— */
.rcs-eyebrow {
	margin: 0 0 0.35em;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 13px !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rcs-mono {
	font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.rcs-frameworks {
	margin: 0;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 14px;
	font-weight: 500;
	color: #0e1a24;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
}

.rcs-frameworks,
.rcs-section--strip .wp-block-columns {
	align-items: center;
}

/* —— Sections —— */
.rcs-section.alignfull,
.rcs-section--sm.alignfull,
.rcs-section--strip.alignfull {
	box-sizing: border-box;
}

.rcs-section > .wp-block-group,
.rcs-section .wp-block-columns,
.rcs-section--sm .wp-block-columns,
.rcs-section--strip .wp-block-columns {
	padding-left: 0;
	padding-right: 0;
}

.wp-block-group.alignfull.rcs-section,
.wp-block-group.alignfull.rcs-section--sm,
.wp-block-group.alignfull.rcs-section--strip {
	padding-left: 24px !important;
	padding-right: 24px !important;
}

/* —— Cards —— */
.rcs-card-grid {
	align-items: stretch;
}

.rcs-card {
	display: flex;
	flex-direction: column;
}

/* Home policy-pack cards: whole card is the Payhip buy target */
.rcs-pack-card {
	position: relative;
}

.rcs-pack-card .rcs-card-hit-wrap {
	position: static;
	margin: 0;
	padding: 0;
	height: 0;
	overflow: visible;
}

.rcs-pack-card .rcs-card-hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	border-radius: inherit;
	text-indent: -9999px;
	overflow: hidden;
	color: transparent;
}

.rcs-pack-card:hover,
.rcs-pack-card:focus-within {
	outline: 2px solid #f2a93b;
	outline-offset: 2px;
}

/* Keep site button styles when Payhip marks the link */
a.payhip-buy-button.wp-block-button__link,
a.wp-block-button__link.payhip-buy-button {
	text-decoration: none;
}

.rcs-addon-buy {
	margin-top: auto;
	padding-top: 8px;
}

.rcs-card .wp-block-list,
.rcs-card ul {
	margin: 0;
	padding-left: 18px;
}

.rcs-card--dark a {
	color: #f2a93b;
	text-decoration: none;
}

.rcs-card--dark a:hover {
	color: #ffffff;
}

.rcs-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f2a93b;
	color: #0e1a24;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	vertical-align: middle;
}

.rcs-badge--dark {
	background: #0e1a24;
	color: #ffffff;
}

.rcs-price-sm {
	margin: 0.25em 0 0;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

/* —— Strategy checklist cards (editable Groups) —— */
.rcs-strategy-card {
	border: 1px solid #dce3e8;
	box-shadow: none;
}

.rcs-strategy-card + .rcs-strategy-card {
	margin-top: 0;
}

/* —— Checklist / insight tables —— */
.rcs-checklist-table {
	margin: 0;
	overflow-x: auto;
}

.rcs-checklist-table table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid #dce3e8;
	border-radius: 10px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.55;
}

.rcs-checklist-table thead th,
.rcs-checklist-table thead td {
	background: #0e1a24;
	color: #ffffff;
	font-weight: 600;
	text-align: left;
	padding: 14px 16px;
	border-bottom: 1px solid #2a3d4b;
	vertical-align: top;
}

.rcs-checklist-table tbody td {
	padding: 16px;
	border-bottom: 1px solid #dce3e8;
	border-right: 1px solid #e7ecef;
	color: #4a5560;
	vertical-align: top;
	background: #ffffff;
}

.rcs-checklist-table tbody td:last-child {
	border-right: none;
}

.rcs-checklist-table tbody tr:last-child td {
	border-bottom: none;
}

.rcs-checklist-table tbody tr:nth-child(even) td {
	background: #f8fafb;
}

.rcs-checklist-table tbody td:first-child {
	color: #0e1a24;
	width: 22%;
	white-space: nowrap;
}

/* Quick-check / third column only (3-col checklists) */
.rcs-checklist-table tbody td:nth-child(3) {
	width: 28%;
	font-style: italic;
	color: #5b6b78;
}

.rcs-checklist-table tbody td:nth-child(2):last-child {
	width: auto;
	font-style: normal;
	color: #4a5560;
}

@media (max-width: 782px) {
	.rcs-checklist-table table,
	.rcs-checklist-table thead,
	.rcs-checklist-table tbody,
	.rcs-checklist-table th,
	.rcs-checklist-table td,
	.rcs-checklist-table tr {
		display: block;
		width: 100%;
	}

	.rcs-checklist-table thead {
		display: none;
	}

	.rcs-checklist-table tbody tr {
		margin-bottom: 16px;
		border: 1px solid #dce3e8;
		border-radius: 10px;
		overflow: hidden;
		background: #ffffff;
	}

	.rcs-checklist-table tbody td {
		border: none;
		border-bottom: 1px solid #e7ecef;
		width: 100% !important;
		font-style: normal;
		white-space: normal;
	}

	.rcs-checklist-table tbody td:last-child {
		border-bottom: none;
	}

	.rcs-checklist-table tbody td:first-child {
		background: #0e1a24 !important;
		color: #ffffff;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.rcs-checklist-table tbody td:nth-child(3) {
		font-style: italic;
		color: #5b6b78;
	}
}

.rcs-steps .wp-block-column {
	border-top: 2px solid #dce3e8;
	padding-top: 20px;
}

/* —— Contact form (shortcode) — matches development-docs/index.html —— */
#contact.wp-block-group,
#contact {
	color: #ffffff;
}

#contact .wp-block-columns {
	align-items: stretch;
}

.rcs-contact-panel {
	min-width: 0;
	flex: 1 1 480px;
}

.rcs-form {
	margin: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: #13232f !important;
	border: 1px solid #2a3d4b;
	border-radius: 10px;
	padding: 32px;
	display: block;
}

.rcs-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.rcs-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.rcs-field--full {
	grid-column: 1 / -1;
}

.rcs-field label {
	font-size: 14px;
	line-height: 1.3;
	color: #dce3e8;
	margin: 0;
}

.rcs-form .rcs-field input,
.rcs-form .rcs-field input[type="text"],
.rcs-form .rcs-field input[type="email"],
.rcs-form .rcs-field select,
.rcs-form .rcs-field textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	padding: 12px 14px !important;
	min-height: 48px !important;
	height: auto !important;
	border-radius: 6px !important;
	border: 1px solid #3a4e5d !important;
	background-color: #0e1a24 !important;
	color: #ffffff !important;
	box-shadow: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	display: block !important;
	appearance: none;
	-webkit-appearance: none;
}

.rcs-form .rcs-field select {
	background-color: #0e1a24;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23DCE3E8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.rcs-form .rcs-field textarea {
	min-height: 112px;
	resize: vertical;
}

.rcs-form .rcs-field input:focus,
.rcs-form .rcs-field select:focus,
.rcs-form .rcs-field textarea:focus {
	outline: 3px solid #f2a93b;
	outline-offset: 2px;
	border-color: #f2a93b;
}

.rcs-form .rcs-field--full:has(.rcs-btn) {
	align-items: flex-start;
}

.rcs-form .rcs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	align-self: flex-start;
	min-height: 48px;
	padding: 14px 28px;
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	text-decoration: none;
}

.rcs-form .rcs-btn--amber {
	background: #f2a93b !important;
	color: #0e1a24 !important;
}

.rcs-form .rcs-btn--amber:hover {
	filter: brightness(1.05);
}

#contact a[href^="mailto"] {
	color: #f2a93b;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 700px) {
	.rcs-form-grid {
		grid-template-columns: 1fr;
	}

	.rcs-form {
		padding: 24px;
	}
}

/* —— DesignSetGo contact form (.home-page-contact-frm) —— */
.rcs-contact-panel .home-page-contact-frm,
.home-page-contact-frm.dsgo-form-builder {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	background: #13232f;
	border: 1px solid #2a3d4b;
	border-radius: 10px;
	padding: 32px;
}

.home-page-contact-frm .dsgo-form,
.home-page-contact-frm form.dsgo-form {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.home-page-contact-frm .dsgo-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	align-items: start;
}

.home-page-contact-frm .dsgo-form-field {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0 !important;
	flex-basis: auto !important;
	max-width: none !important;
	width: auto !important;
}

/* Name + Work email stay 2-col; Company, Phone, and the rest are full width */
.home-page-contact-frm .dsgo-form-field--phone,
.home-page-contact-frm .dsgo-form-field--textarea,
.home-page-contact-frm .dsgo-form-field[data-dsgo-field="company"],
.home-page-contact-frm .dsgo-form-field:nth-child(n + 3) {
	grid-column: 1 / -1;
}

.home-page-contact-frm .dsgo-form-field__label {
	display: block;
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 500;
	color: #dce3e8;
}

.home-page-contact-frm .dsgo-form-field__required {
	color: #f2a93b;
	margin-left: 2px;
}

.home-page-contact-frm .dsgo-form-field__input,
.home-page-contact-frm input.dsgo-form-field__input,
.home-page-contact-frm input[type="text"],
.home-page-contact-frm input[type="email"],
.home-page-contact-frm input[type="tel"],
.home-page-contact-frm select.dsgo-form-field__country-code,
.home-page-contact-frm select.dsgo-form-field__input,
.home-page-contact-frm textarea.dsgo-form-field__input,
.home-page-contact-frm textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	display: block !important;
	margin: 0 !important;
	font-family: inherit !important;
	font-size: 16px !important;
	line-height: 1.4 !important;
	padding: 12px 14px !important;
	min-height: 48px !important;
	height: auto !important;
	border-radius: 6px !important;
	border: 1px solid #3a4e5d !important;
	background-color: #0e1a24 !important;
	background-image: none !important;
	color: #ffffff !important;
	box-shadow: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.home-page-contact-frm textarea.dsgo-form-field__input,
.home-page-contact-frm textarea {
	min-height: 112px !important;
	resize: vertical;
}

.home-page-contact-frm .dsgo-form-field__phone-wrapper {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 0.5rem !important;
	align-items: stretch;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
	overflow: hidden;
}

.home-page-contact-frm .dsgo-form-field__country-code,
.home-page-contact-frm select.dsgo-form-field__country-code {
	flex: 0 0 96px !important;
	width: 96px !important;
	min-width: 96px !important;
	max-width: 96px !important;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23DCE3E8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	padding-right: 32px !important;
}

.home-page-contact-frm .dsgo-form-field__phone-wrapper .dsgo-form-field__input,
.home-page-contact-frm .dsgo-form-field__phone-wrapper input[type="tel"] {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
}

.home-page-contact-frm .dsgo-form-field__input:focus,
.home-page-contact-frm input:focus,
.home-page-contact-frm select:focus,
.home-page-contact-frm textarea:focus {
	outline: 3px solid #f2a93b !important;
	outline-offset: 2px;
	border-color: #f2a93b !important;
}

.home-page-contact-frm .dsgo-form__footer {
	margin-top: 20px;
	padding: 0;
	border: 0;
	background: transparent;
}

.home-page-contact-frm .dsgo-form__submit,
.home-page-contact-frm button.dsgo-form__submit,
.home-page-contact-frm .dsgo-form__submit.wp-element-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 48px !important;
	padding: 14px 28px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: #f2a93b !important;
	background-image: none !important;
	color: #0e1a24 !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: none !important;
	text-decoration: none !important;
}

.home-page-contact-frm .dsgo-form__submit:hover {
	filter: brightness(1.05);
}

.home-page-contact-frm .dsgo-form__message {
	margin-top: 16px;
	color: #dce3e8;
	font-size: 15px;
}

@media (max-width: 700px) {
	.rcs-contact-panel .home-page-contact-frm,
	.home-page-contact-frm.dsgo-form-builder {
		padding: 24px;
	}

	.home-page-contact-frm .dsgo-form__fields {
		grid-template-columns: 1fr;
	}

	.home-page-contact-frm .dsgo-form-field--phone,
	.home-page-contact-frm .dsgo-form-field--textarea,
	.home-page-contact-frm .dsgo-form-field[data-dsgo-field="company"],
	.home-page-contact-frm .dsgo-form-field:nth-child(n + 3) {
		grid-column: auto;
	}
}

/* —— Footer —— */
.rcs-site-footer a {
	color: #a9b6c0;
	text-decoration: none;
}

.rcs-site-footer a:hover {
	color: #ffffff;
}

.rcs-site-footer .wp-block-heading {
	margin: 0 0 12px;
}

.rcs-footer-rule {
	margin: 40px 0 24px !important;
	border: 0 !important;
	height: 1px;
	opacity: 1;
}

/* —— Buttons general —— */
.wp-block-button__link {
	text-decoration: none;
}

.is-style-outline .wp-block-button__link {
	background: transparent;
}

/* —— Responsive —— */
@media (max-width: 900px) {
	.rcs-hero.wp-block-cover::before {
		background: linear-gradient(
			180deg,
			rgba(14, 26, 36, 0.94) 0%,
			rgba(14, 26, 36, 0.86) 100%
		);
	}

	.rcs-frameworks {
		gap: 10px 20px;
	}
}

@media (max-width: 640px) {
	.rcs-hero h1,
	.rcs-hero .wp-block-heading {
		font-size: 40px !important;
	}

	.rcs-section h2,
	.rcs-section .wp-block-heading {
		font-size: 30px !important;
	}

	.wp-block-group.alignfull.rcs-section {
		padding-top: 64px !important;
		padding-bottom: 64px !important;
	}
}

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

.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.skip-link:focus{position:static;width:auto;height:auto;left:auto;overflow:visible;}
