:root {
	--tamwil-ink: #17251f;
	--tamwil-muted: #53635b;
	--tamwil-green: #0b6b4f;
	--tamwil-green-dark: #07513c;
	--tamwil-green-soft: #eaf7f1;
	--tamwil-gold: #b88425;
	--tamwil-border: #d8e1dc;
	--tamwil-surface: #ffffff;
	--tamwil-bg: #f5f8f6;
	--tamwil-warning: #fff8e7;
	--tamwil-warning-border: #e4c46a;
}

.tamwil-app,
.tamwil-page,
.tamwil-site-footer {
	box-sizing: border-box;
	color: var(--tamwil-ink);
	font-family: inherit;
	line-height: 1.8;
}

.tamwil-app *,
.tamwil-page *,
.tamwil-site-footer * {
	box-sizing: border-box;
}

.tamwil-app,
.tamwil-page {
	max-width: 1120px;
	margin: 0 auto;
}

.tamwil-app a,
.tamwil-page a,
.tamwil-site-footer a {
	color: var(--tamwil-green-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tamwil-app a:hover,
.tamwil-page a:hover,
.tamwil-site-footer a:hover {
	color: var(--tamwil-green);
}

.tamwil-intro {
	padding: clamp(22px, 4vw, 48px);
	margin: 0 0 24px;
	background: linear-gradient(135deg, #effaf5 0%, #ffffff 62%, #fff8e8 100%);
	border: 1px solid var(--tamwil-border);
	border-radius: 22px;
}

.tamwil-kicker,
.tamwil-eyebrow {
	margin: 0 0 5px;
	color: var(--tamwil-green);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.tamwil-intro h2,
.tamwil-calculator h2,
.tamwil-content-section h2,
.tamwil-page h2 {
	color: var(--tamwil-ink);
	line-height: 1.35;
}

.tamwil-intro h2 {
	margin: 0 0 12px;
	font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.tamwil-lead {
	font-size: clamp(1.03rem, 2vw, 1.18rem);
	color: #34463d;
}

.tamwil-notice {
	padding: 15px 18px;
	margin: 20px 0;
	background: var(--tamwil-warning);
	border: 1px solid var(--tamwil-warning-border);
	border-radius: 12px;
}

.tamwil-notice--primary {
	background: var(--tamwil-green-soft);
	border-color: #9bcdb9;
}

.tamwil-calculator,
.tamwil-content-section,
.tamwil-toc {
	padding: clamp(20px, 3vw, 34px);
	margin: 0 0 24px;
	background: var(--tamwil-surface);
	border: 1px solid var(--tamwil-border);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(23, 37, 31, 0.05);
}

.tamwil-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.tamwil-section-heading h2 {
	margin: 0;
}

.tamwil-private-badge {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 4px 12px;
	color: var(--tamwil-green-dark);
	background: var(--tamwil-green-soft);
	border: 1px solid #b9ddcf;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.tamwil-grid,
.tamwil-offers-grid,
.tamwil-card-grid,
.tamwil-summary-grid {
	display: grid;
	gap: 16px;
}

.tamwil-grid--shared {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: 24px;
}

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

.tamwil-offer {
	min-width: 0;
	padding: 20px;
	margin: 0;
	background: var(--tamwil-bg);
	border: 1px solid var(--tamwil-border);
	border-radius: 14px;
}

.tamwil-offer legend {
	padding: 0 8px;
	color: var(--tamwil-green-dark);
	font-size: 1.06rem;
	font-weight: 800;
}

.tamwil-offer legend span {
	color: var(--tamwil-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.tamwil-calculator label {
	display: block;
	margin: 0;
	color: var(--tamwil-ink);
	font-size: 0.95rem;
	font-weight: 700;
}

.tamwil-offer label + label {
	margin-top: 14px;
}

.tamwil-calculator input,
.tamwil-calculator select {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 9px 12px;
	margin-top: 6px;
	color: var(--tamwil-ink);
	background: #fff;
	border: 1px solid #aebdb5;
	border-radius: 9px;
	font: inherit;
	font-size: 16px;
}

.tamwil-calculator small,
.tamwil-comparison-table th small {
	display: block;
	margin-top: 5px;
	color: var(--tamwil-muted);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.5;
}

.tamwil-calculator input:focus,
.tamwil-calculator select:focus,
.tamwil-button:focus-visible,
.tamwil-faq summary:focus-visible,
.tamwil-app a:focus-visible,
.tamwil-page a:focus-visible {
	outline: 3px solid rgba(11, 107, 79, 0.28);
	outline-offset: 2px;
	border-color: var(--tamwil-green);
}

.tamwil-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.tamwil-app .tamwil-button {
	min-height: 48px;
	height: auto !important;
	padding: 10px 22px;
	color: #fff;
	background: var(--tamwil-green);
	border: 1px solid var(--tamwil-green);
	border-radius: 10px;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
}

.tamwil-app .tamwil-button:hover {
	background: var(--tamwil-green-dark);
}

.tamwil-app .tamwil-button--secondary {
	color: var(--tamwil-green-dark);
	background: #fff;
}

.tamwil-results {
	padding-top: 30px;
	margin-top: 30px;
	border-top: 1px solid var(--tamwil-border);
	scroll-margin-top: 20px;
}

.tamwil-summary-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 18px;
}

.tamwil-summary-grid > div {
	padding: 16px;
	background: var(--tamwil-green-soft);
	border: 1px solid #b9ddcf;
	border-radius: 12px;
}

.tamwil-summary-grid span,
.tamwil-summary-grid strong,
.tamwil-summary-grid b {
	display: block;
}

.tamwil-summary-grid span {
	color: var(--tamwil-muted);
	font-size: 0.84rem;
}

.tamwil-summary-grid strong {
	margin: 3px 0;
	font-size: 1.05rem;
}

.tamwil-summary-grid b {
	color: var(--tamwil-green-dark);
	font-size: 1.12rem;
}

.tamwil-table-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--tamwil-border);
	border-radius: 12px;
}

.tamwil-app table,
.tamwil-page table {
	width: 100%;
	min-width: 680px;
	margin: 0;
	border-collapse: collapse;
	background: #fff;
}

.tamwil-app th,
.tamwil-app td,
.tamwil-page th,
.tamwil-page td {
	padding: 12px 14px;
	text-align: right;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--tamwil-border);
}

.tamwil-app thead th,
.tamwil-page thead th {
	color: #fff;
	background: var(--tamwil-green-dark);
}

.tamwil-app tbody th,
.tamwil-page tbody th {
	background: #f7faf8;
}

.tamwil-app tr:last-child th,
.tamwil-app tr:last-child td,
.tamwil-page tr:last-child th,
.tamwil-page tr:last-child td {
	border-bottom: 0;
}

.tamwil-lower {
	color: var(--tamwil-green-dark);
	background: var(--tamwil-green-soft);
	font-weight: 800;
}

.tamwil-result-notes {
	padding: 16px 18px;
	margin-top: 18px;
	background: var(--tamwil-warning);
	border: 1px solid var(--tamwil-warning-border);
	border-radius: 12px;
}

.tamwil-result-notes h3 {
	margin-top: 0;
}

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

.tamwil-card-grid article {
	padding: 18px;
	background: var(--tamwil-bg);
	border-right: 4px solid var(--tamwil-green);
	border-radius: 10px;
}

.tamwil-card-grid h3 {
	margin: 0 0 6px;
	font-size: 1.03rem;
}

.tamwil-card-grid p {
	margin: 0;
}

.tamwil-steps {
	padding-right: 22px;
}

.tamwil-steps li + li,
.tamwil-page li + li {
	margin-top: 8px;
}

.tamwil-reviewed {
	color: var(--tamwil-muted);
	font-size: 0.9rem;
}

.tamwil-toc {
	background: var(--tamwil-bg);
}

.tamwil-toc ul {
	columns: 2;
	margin-bottom: 0;
}

.tamwil-faq details {
	padding: 14px 0;
	border-bottom: 1px solid var(--tamwil-border);
}

.tamwil-faq details:last-child {
	border-bottom: 0;
}

.tamwil-faq summary {
	min-height: 44px;
	color: var(--tamwil-ink);
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
}

.tamwil-faq details p {
	margin: 10px 0 0;
}

/* Branded Blocksy header. */
.ct-header [data-row="middle"] {
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--tamwil-border);
	box-shadow: 0 10px 30px rgba(7, 81, 60, 0.07);
}

.ct-header [data-device="desktop"] [data-row="middle"] {
	--height: 88px;
}

.ct-header [data-device="mobile"] [data-row="middle"] {
	--height: 72px;
}

.ct-header .site-branding[data-id="logo"] {
	min-width: 0;
}

/* The approved wordmark already contains the site name. */
.ct-header .site-branding[data-id="logo"] .site-title-container {
	display: none;
}

.ct-header .site-branding[data-id="logo"] .site-logo-container {
	display: flex;
	align-items: center;
	max-width: 100%;
}

.ct-header .site-branding[data-id="logo"] img {
	display: block;
	width: auto;
	height: auto;
	max-width: 250px;
	max-height: 58px;
	object-fit: contain;
}

#header-menu-1 .menu > li > .ct-menu-link {
	padding-inline: 10px;
	color: var(--tamwil-ink);
	font-size: 0.95rem;
	font-weight: 750;
	border-radius: 9px;
	transition: color 160ms ease, background-color 160ms ease;
}

#header-menu-1 .menu > li > .ct-menu-link:hover,
#header-menu-1 .menu > li.current-menu-item > .ct-menu-link,
#header-menu-1 .menu > li.current_page_item > .ct-menu-link {
	color: var(--tamwil-green-dark);
	background: var(--tamwil-green-soft);
}

.ct-header .ct-header-search,
.ct-header .ct-header-trigger {
	min-width: 44px;
	min-height: 44px;
	color: var(--tamwil-green-dark);
	background: var(--tamwil-green-soft);
	border-radius: 12px;
}

.ct-header .site-logo-container:focus-visible,
#header-menu-1 .ct-menu-link:focus-visible,
.ct-header .ct-header-search:focus-visible,
.ct-header .ct-header-trigger:focus-visible {
	outline: 3px solid rgba(184, 132, 37, 0.55);
	outline-offset: 3px;
}

/* The core footer replaces the theme's generic copyright-only footer. */
#footer.ct-footer {
	display: none;
}

.tamwil-site-footer {
	width: 100%;
	padding: clamp(42px, 6vw, 68px) 20px 24px;
	margin-top: clamp(44px, 7vw, 78px);
	color: #e9f4ef;
	background: #0d3328;
	border-top: 4px solid var(--tamwil-gold);
}

.tamwil-site-footer__inner {
	max-width: 1120px;
	margin: 0 auto;
}

.tamwil-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.55fr) repeat(2, minmax(140px, 0.75fr)) minmax(210px, 1fr);
	gap: 34px;
	align-items: start;
}

.tamwil-site-footer__logo {
	display: inline-flex;
	align-items: center;
	width: min(100%, 286px);
	padding: 10px 14px;
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 15px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tamwil-site-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.tamwil-site-footer p {
	margin: 0 0 12px;
}

.tamwil-site-footer__brand > p {
	max-width: 38ch;
	color: #d6e9e0;
	line-height: 1.85;
}

.tamwil-site-footer__brand .tamwil-site-footer__disclosure {
	color: #fff2cf;
	font-size: 0.9rem;
}

.tamwil-site-footer h2 {
	margin: 2px 0 16px;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.45;
}

.tamwil-site-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
}

.tamwil-site-footer a {
	color: #f7fbf9;
	text-decoration-color: rgba(255, 255, 255, 0.42);
	text-underline-offset: 4px;
}

.tamwil-site-footer__links a {
	text-decoration: none;
}

.tamwil-site-footer a:hover {
	color: #ffe2a4;
}

.tamwil-site-footer a:focus-visible {
	color: #ffe2a4;
	outline: 3px solid rgba(255, 226, 164, 0.72);
	outline-offset: 4px;
	border-radius: 4px;
}

.tamwil-site-footer__contact p {
	color: #c9ddd4;
}

.tamwil-site-footer__contact a {
	display: inline-block;
	direction: ltr;
	margin-bottom: 18px;
	font-weight: 700;
}

.tamwil-site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px 32px;
	padding-top: 22px;
	margin-top: 36px;
	color: #bcd3c8;
	font-size: 0.86rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.tamwil-site-footer__bottom p {
	margin: 0;
}

@media (max-width: 840px) {
	.ct-header .site-branding[data-id="logo"] img {
		max-width: 200px;
		max-height: 48px;
	}

	.tamwil-grid--shared,
	.tamwil-offers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tamwil-private-badge {
		white-space: normal;
	}

	.tamwil-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.tamwil-intro,
	.tamwil-calculator,
	.tamwil-content-section,
	.tamwil-toc {
		padding: 18px;
		border-radius: 14px;
	}

	.tamwil-grid--shared,
	.tamwil-offers-grid,
	.tamwil-card-grid,
	.tamwil-summary-grid {
		grid-template-columns: 1fr;
	}

	.tamwil-section-heading {
		flex-direction: column;
	}

	.tamwil-actions {
		flex-direction: column;
	}

	.tamwil-button {
		width: 100%;
	}

	.tamwil-toc ul {
		columns: 1;
	}

	.tamwil-site-footer {
		padding: 38px 18px 22px;
	}

	.tamwil-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 20px;
	}

	.tamwil-site-footer__brand,
	.tamwil-site-footer__contact {
		grid-column: 1 / -1;
	}

	.tamwil-site-footer__logo {
		width: min(100%, 250px);
	}

	.tamwil-site-footer__bottom {
		flex-direction: column;
		margin-top: 30px;
	}
}

@media (max-width: 340px) {
	.ct-header .site-branding[data-id="logo"] img {
		max-width: 176px;
		max-height: 42px;
	}
}

@media (max-width: 300px) {
	.tamwil-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.tamwil-site-footer__brand,
	.tamwil-site-footer__contact {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tamwil-app *,
	.tamwil-page * {
		scroll-behavior: auto !important;
	}
}
