/* YorkshireTechy SEO Score Checker. Override the variables in your theme to restyle. */
.yt-t3 {
	--yt-t3-green: #1F4A2C;
	--yt-t3-lime: #8DC63F;
	--yt-t3-lime-soft: #f1f7e8;
	--yt-t3-ink: #1d1d1d;
	--yt-t3-muted: #5c635e;
	--yt-t3-line: #dfe5dc;
	--yt-t3-bg: #ffffff;
	--yt-t3-soft: #f5f7f3;
	--yt-t3-error: #b3261e;
	--yt-t3-radius: 10px;

	max-width: 760px;
	margin: 0 auto;
	color: var(--yt-t3-ink);
	font-family: inherit;
	line-height: 1.5;
	box-sizing: border-box;
}
.yt-t3 *, .yt-t3 *::before, .yt-t3 *::after { box-sizing: inherit; }
.yt-t3 [hidden] { display: none !important; }

/* Progress */
.yt-t3__progress {
	display: none;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	gap: 8px;
	counter-reset: none;
}
.yt-t3--js .yt-t3__progress { display: flex; }
.yt-t3__progress li {
	flex: 1;
	margin: 0;
	padding: 10px 0 0;
	border-top: 4px solid var(--yt-t3-line);
	font-size: 14px;
	font-weight: 600;
	color: var(--yt-t3-muted);
}
.yt-t3__progress li span {
	display: inline-block;
	min-width: 1.6em;
	color: var(--yt-t3-muted);
}
.yt-t3__progress li.is-done { border-top-color: var(--yt-t3-green); color: var(--yt-t3-green); }
.yt-t3__progress li.is-active { border-top-color: var(--yt-t3-lime); color: var(--yt-t3-ink); }
.yt-t3__progress li.is-active span, .yt-t3__progress li.is-done span { color: var(--yt-t3-green); }

/* Steps */
.yt-t3--js .yt-t3__step:not(.is-active) { display: none; }
.yt-t3__step + .yt-t3__step { margin-top: 48px; }
.yt-t3--js .yt-t3__step + .yt-t3__step { margin-top: 0; }

.yt-t3__eyebrow {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--yt-t3-green);
}
.yt-t3__title, .yt-t3__res-title {
	margin: 0 0 6px;
	font-size: clamp(26px, 5vw, 34px);
	line-height: 1.15;
	color: var(--yt-t3-green);
	outline: none;
}
.yt-t3__lead { margin: 0 0 24px; font-size: 18px; color: var(--yt-t3-muted); }

/* Questions */
.yt-t3__q {
	margin: 0 0 14px;
	padding: 18px 20px;
	border: 1px solid var(--yt-t3-line);
	border-radius: var(--yt-t3-radius);
	background: var(--yt-t3-bg);
	transition: border-color .2s, box-shadow .2s;
}
.yt-t3__q:has(input:checked) { border-color: #c9d6c3; }
.yt-t3__q.is-missing { border-color: var(--yt-t3-error); box-shadow: 0 0 0 1px var(--yt-t3-error); }
.yt-t3__q legend {
	display: flex;
	gap: 12px;
	float: left;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	font-size: 17px;
	font-weight: 600;
}
.yt-t3__q legend + * { clear: both; }
.yt-t3__num {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--yt-t3-soft);
	color: var(--yt-t3-green);
	font-size: 13px;
	font-weight: 700;
}
.yt-t3__opts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
.yt-t3__opt { position: relative; margin: 0; cursor: pointer; }
.yt-t3__opt input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.yt-t3__opt span {
	display: block;
	padding: 10px 8px;
	border: 1px solid var(--yt-t3-line);
	border-radius: 8px;
	background: var(--yt-t3-bg);
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--yt-t3-ink);
	transition: background .15s, border-color .15s, color .15s;
}
.yt-t3__opt:hover span { border-color: var(--yt-t3-green); }
.yt-t3__opt input:focus-visible + span { outline: 3px solid var(--yt-t3-lime); outline-offset: 2px; }
.yt-t3__opt input:checked + span {
	background: var(--yt-t3-green);
	border-color: var(--yt-t3-green);
	color: #fff;
}

/* Question help */
.yt-t3__qtext { flex: 1 1 auto; }
.yt-t3__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.yt-t3__help-btn {
	display: none;
	flex: 0 0 auto;
	align-self: flex-start;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--yt-t3-line);
	border-radius: 50%;
	background: var(--yt-t3-bg);
	color: var(--yt-t3-green);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.yt-t3--js .yt-t3__help-btn { display: inline-grid; place-items: center; }
.yt-t3__help-btn:hover { border-color: var(--yt-t3-green); }
.yt-t3__help-btn:focus-visible { outline: 3px solid var(--yt-t3-lime); outline-offset: 2px; }
.yt-t3__help-btn[aria-expanded="true"] {
	background: var(--yt-t3-green);
	border-color: var(--yt-t3-green);
	color: #fff;
}
.yt-t3__help { clear: both; }
.yt-t3__help-inner { overflow: hidden; }
.yt-t3__help-body {
	margin: 0 0 14px;
	padding: 12px 16px;
	border-left: 4px solid var(--yt-t3-lime);
	border-radius: 0 8px 8px 0;
	background: var(--yt-t3-lime-soft);
	font-size: 15px;
	color: var(--yt-t3-ink);
}
.yt-t3__help-body p { margin: 0 0 8px; }
.yt-t3__help-body p:last-child, .yt-t3__help-body ul:last-child, .yt-t3__help-body ol:last-child { margin-bottom: 0; }
.yt-t3__help-body ul, .yt-t3__help-body ol { margin: 0 0 8px 20px; padding: 0; }
.yt-t3__help-body a { color: var(--yt-t3-green); font-weight: 600; }
.yt-t3--js .yt-t3__help {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows .3s ease, visibility 0s linear .3s;
}
.yt-t3--js .yt-t3__help.is-open {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows .3s ease, visibility 0s;
}

/* Buttons and nav */
.yt-t3__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.yt-t3:not(.yt-t3--js) .yt-t3__nav { display: none; }
.yt-t3__btn {
	display: inline-block;
	padding: 14px 26px;
	border: 2px solid var(--yt-t3-green);
	border-radius: 8px;
	background: var(--yt-t3-green);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, color .15s, transform .1s;
}
.yt-t3__btn:hover { background: #163a22; color: #fff; }
.yt-t3__btn:active { transform: translateY(1px); }
.yt-t3__btn:focus-visible { outline: 3px solid var(--yt-t3-lime); outline-offset: 2px; }
.yt-t3__btn[disabled] { opacity: .6; cursor: wait; }
.yt-t3__btn--ghost { background: transparent; color: var(--yt-t3-green); }
.yt-t3__btn--ghost:hover { background: var(--yt-t3-soft); color: var(--yt-t3-green); }
.yt-t3__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--yt-t3-green);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.yt-t3__error { margin: 16px 0 0; color: var(--yt-t3-error); font-weight: 600; }
.yt-t3__note { padding: 12px 16px; background: var(--yt-t3-soft); border-radius: 8px; }

/* Results */
.yt-t3__results { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.yt-t3__results.is-in { opacity: 1; transform: none; }
.yt-t3__res-head { text-align: center; margin-bottom: 28px; }
.yt-t3__res-title small { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; color: var(--yt-t3-muted); }
.yt-t3__total {
	display: block;
	margin-top: 8px;
	font-size: clamp(64px, 14vw, 96px);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.yt-t3__band {
	display: inline-block;
	margin: 16px 0 8px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--yt-t3-lime);
	color: var(--yt-t3-green);
	font-weight: 800;
}
.yt-t3__band--invisible, .yt-t3__band--patchy { background: #fde7c7; color: #7a4a00; }
.yt-t3__band-text { margin: 0 auto; max-width: 480px; font-size: 17px; }
.yt-t3__formula {
	display: inline-block;
	margin: 16px 0 0;
	padding: 6px 14px;
	border-radius: 6px;
	background: var(--yt-t3-soft);
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--yt-t3-muted);
}

.yt-t3__bars { display: grid; gap: 14px; margin: 0 0 24px; }
.yt-t3__bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 700; }
.yt-t3__bar-label em {
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--yt-t3-lime-soft);
	color: var(--yt-t3-green);
	font-size: 12px;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.yt-t3__bar-track { height: 12px; border-radius: 6px; background: var(--yt-t3-line); overflow: hidden; }
.yt-t3__bar-fill {
	width: 0;
	height: 100%;
	border-radius: 6px;
	background: var(--yt-t3-green);
	transition: width .9s cubic-bezier(.2,.7,.2,1) .2s;
}
.yt-t3__results.is-in .yt-t3__bar-fill { width: var(--w); }
.yt-t3__bar.is-weakest .yt-t3__bar-fill { background: var(--yt-t3-lime); }

.yt-t3__callout {
	margin: 0 0 32px;
	padding: 18px 20px;
	border-left: 5px solid var(--yt-t3-lime);
	border-radius: 0 var(--yt-t3-radius) var(--yt-t3-radius) 0;
	background: var(--yt-t3-lime-soft);
	font-size: 16px;
}
.yt-t3__callout p { margin: 0; }
.yt-t3__callout p + p { margin-top: 8px; color: var(--yt-t3-muted); }

/* Lead form */
.yt-t3__lead-form, .yt-t3__done {
	padding: 28px;
	border-radius: var(--yt-t3-radius);
	background: var(--yt-t3-green);
	color: #fff;
	outline: none;
}
.yt-t3__lead-form h3, .yt-t3__done h3 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.yt-t3__lead-form > p, .yt-t3__done p { margin: 0 0 18px; color: #dce8d6; }
.yt-t3__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.yt-t3__fields label { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.yt-t3__wide { grid-column: 1 / -1; }
.yt-t3__opt-hint { font-weight: 400; color: #b9cbb2; }
.yt-t3__fields input {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #fff;
	color: var(--yt-t3-ink);
	font: inherit;
	font-size: 16px;
}
.yt-t3__fields input:focus { outline: none; border-color: var(--yt-t3-lime); }
.yt-t3__consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 15px; cursor: pointer; }
.yt-t3 .yt-t3__lead-form .yt-t3__consent,
.yt-t3 .yt-t3__lead-form .yt-t3__consent span { color: #fff !important; font-weight: 400; line-height: 1.45; }
.yt-t3__consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--yt-t3-lime); }
.yt-t3__small { margin: 0 0 18px !important; font-size: 13px; color: #b9cbb2 !important; }
.yt-t3__small a { color: #fff; }
.yt-t3__lead-form .yt-t3__btn, .yt-t3__done .yt-t3__btn {
	border-color: var(--yt-t3-lime);
	background: var(--yt-t3-lime);
	color: var(--yt-t3-green);
}
.yt-t3__lead-form .yt-t3__btn:hover, .yt-t3__done .yt-t3__btn:hover { background: #9fd456; color: var(--yt-t3-green); }
.yt-t3__lead-form .yt-t3__error { margin: 0 0 14px; color: #ffd2cc; }
.yt-t3__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yt-t3__retake { margin-top: 20px; text-align: center; }

@media (max-width: 600px) {
	.yt-t3__opts { grid-template-columns: repeat(2, 1fr); }
	.yt-t3__fields { grid-template-columns: 1fr; }
	.yt-t3__q { padding: 16px; }
	.yt-t3__progress li { font-size: 12px; }
	.yt-t3__nav { flex-direction: column-reverse; }
	.yt-t3__nav .yt-t3__btn { width: 100%; }
	.yt-t3__lead-form, .yt-t3__done { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.yt-t3 *, .yt-t3__results { transition: none !important; }
}
