/* ==========================================================================
   Local SEO Audit Tool — front end
   Every colour is forced inside .lsat-wrap. Themes commonly style headings with
   selectors like .entry-content h3, which beat a single class, so headings,
   labels, inputs and buttons all carry !important on colour and background.
   ========================================================================== */

.lsat-wrap {
	--lsat-primary: #2563eb;
	--lsat-accent: #0b1220;

	--lsat-bg: #0b1120;
	--lsat-bg-2: #111c33;
	--lsat-line: rgba(255, 255, 255, .13);
	--lsat-line-soft: rgba(255, 255, 255, .07);
	--lsat-text: #f2f5fb;
	--lsat-soft: #aab6cc;
	--lsat-field: rgba(255, 255, 255, .05);
	--lsat-glow: rgba(37, 99, 235, .45);
	--lsat-radius: 20px;

	max-width: 860px;
	margin: 0 auto;
	color: var(--lsat-text);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.lsat-wrap.lsat-theme--light {
	--lsat-bg: #ffffff;
	--lsat-bg-2: #f4f7fc;
	--lsat-line: #dfe5ef;
	--lsat-line-soft: #eef2f8;
	--lsat-text: #0d1526;
	--lsat-soft: #55637a;
	--lsat-field: #ffffff;
	--lsat-glow: rgba(37, 99, 235, .28);
}

.lsat-wrap * { box-sizing: border-box; }

/* Colour enforcement: themes lose. */
.lsat-wrap h1,
.lsat-wrap h2,
.lsat-wrap h3,
.lsat-wrap h4,
.lsat-wrap h5,
.lsat-wrap h6,
.lsat-wrap p,
.lsat-wrap li,
.lsat-wrap label,
.lsat-wrap strong,
.lsat-wrap small,
.lsat-wrap td,
.lsat-wrap summary {
	color: var(--lsat-text) !important;
	font-family: inherit;
}

.lsat-wrap .lsat-soft,
.lsat-wrap .lsat-form__subtitle,
.lsat-wrap .lsat-hint,
.lsat-wrap .lsat-microcopy,
.lsat-wrap .lsat-note,
.lsat-wrap .lsat-chips li,
.lsat-wrap .lsat-gauge__out,
.lsat-wrap .lsat-eyebrow,
.lsat-wrap .lsat-block__hint,
.lsat-wrap .lsat-acc__intro,
.lsat-wrap .lsat-acc__manual,
.lsat-wrap .lsat-check__finding,
.lsat-wrap .lsat-check__status,
.lsat-wrap .lsat-priorities__text,
.lsat-wrap .lsat-stats span,
.lsat-wrap .lsat-booking p {
	color: var(--lsat-soft) !important;
}

.lsat-wrap svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- card shell ---------- */

.lsat-card {
	position: relative;
	background: var(--lsat-bg) !important;
	border: 1px solid var(--lsat-line);
	border-radius: var(--lsat-radius);
	overflow: hidden;
	box-shadow: 0 30px 70px -34px rgba(4, 10, 24, .75);
}

.lsat-theme--light .lsat-card { box-shadow: 0 22px 50px -30px rgba(13, 21, 38, .32); }

.lsat-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, #2563eb, #22d3ee 48%, #a78bfa 100%);
	z-index: 2;
}

/* ---------- hero ---------- */

.lsat-form__head,
.lsat-result__hero,
.lsat-booking {
	position: relative;
	background-color: var(--lsat-bg-2);
	background-image:
		radial-gradient(90% 130% at 100% 0%, rgba(37, 99, 235, .30), transparent 58%),
		radial-gradient(70% 120% at 0% 100%, rgba(167, 139, 250, .18), transparent 60%),
		radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: auto, auto, 22px 22px;
}

.lsat-theme--light .lsat-form__head,
.lsat-theme--light .lsat-result__hero,
.lsat-theme--light .lsat-booking {
	background-image:
		radial-gradient(90% 130% at 100% 0%, rgba(37, 99, 235, .12), transparent 58%),
		radial-gradient(70% 120% at 0% 100%, rgba(167, 139, 250, .10), transparent 60%),
		radial-gradient(rgba(13, 21, 38, .05) 1px, transparent 1px);
}

.lsat-form__head {
	padding: 34px 34px 26px;
	border-bottom: 1px solid var(--lsat-line);
}

.lsat-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 14px 6px 11px;
	border: 1px solid var(--lsat-line);
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, .05);
}

.lsat-theme--light .lsat-eyebrow { background: #fff; }

.lsat-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
	animation: lsat-pulse 2.2s ease-in-out infinite;
}

@keyframes lsat-pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

.lsat-wrap .lsat-form__title {
	margin: 16px 0 10px !important;
	font-size: clamp(27px, 4vw, 40px) !important;
	line-height: 1.12 !important;
	font-weight: 800 !important;
	letter-spacing: -.028em;
	color: var(--lsat-text) !important;
}

.lsat-wrap .lsat-hl {
	color: #38bdf8 !important;
	white-space: nowrap;
	padding: 0 .06em;
	background-image: linear-gradient(180deg, transparent 68%, rgba(56, 189, 248, .32) 68%, rgba(167, 139, 250, .32) 100%);
}

.lsat-theme--light .lsat-hl {
	color: #1d4ed8 !important;
	background-image: linear-gradient(180deg, transparent 68%, rgba(37, 99, 235, .18) 68%);
}

.lsat-form__subtitle {
	margin: 0 !important;
	max-width: 58ch;
	font-size: 16px;
}

.lsat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.lsat-chips li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 !important;
	padding: 6px 13px 6px 10px;
	border: 1px solid var(--lsat-line);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	background: rgba(255, 255, 255, .045);
}

.lsat-theme--light .lsat-chips li { background: #fff; }

.lsat-chips svg { width: 14px; height: 14px; color: #22c55e; stroke-width: 2.6; }

/* ---------- fields ---------- */

.lsat-form__body { padding: 28px 34px 32px; }

.lsat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

.lsat-field { margin: 0 0 18px !important; }

.lsat-wrap .lsat-field > label {
	display: block;
	margin-bottom: 8px;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .005em;
}

.lsat-req { color: #f87171 !important; }

.lsat-input {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 0 15px;
	border: 1px solid var(--lsat-line);
	border-radius: 14px;
	background: var(--lsat-field) !important;
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.lsat-input:hover { border-color: rgba(56, 189, 248, .45); }

.lsat-input svg {
	flex: 0 0 19px;
	width: 19px;
	height: 19px;
	color: #64748b;
}

.lsat-input:focus-within svg { color: #38bdf8; }

.lsat-wrap .lsat-input input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 0 !important;
	padding: 14px 0 !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	color: var(--lsat-text) !important;
	font-size: 15.5px !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

.lsat-wrap .lsat-input input::placeholder { color: var(--lsat-soft) !important; opacity: .7; }

.lsat-input:focus-within {
	border-color: #38bdf8;
	box-shadow: 0 0 0 4px rgba(56, 189, 248, .18);
}

.lsat-input.lsat-invalid,
.lsat-field.lsat-invalid .lsat-input {
	border-color: #f87171;
	box-shadow: 0 0 0 4px rgba(248, 113, 113, .16);
}

.lsat-hint {
	display: block;
	margin-top: 7px;
	font-size: 12.5px;
	line-height: 1.5;
}

.lsat-field--check > label {
	display: flex !important;
	align-items: flex-start;
	gap: 11px;
	padding: 12px 14px;
	border: 1px solid var(--lsat-line-soft);
	border-radius: 12px;
	background: var(--lsat-field);
	font-weight: 500 !important;
	font-size: 13.5px !important;
}

.lsat-wrap .lsat-field--check input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0 !important;
	accent-color: #2563eb;
}

.lsat-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- buttons ---------- */

.lsat-wrap .lsat-btn {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 14px 24px;
	border-radius: 14px;
	border: 2px solid transparent;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-align: center;
	cursor: pointer;
	transition: transform .14s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.lsat-wrap .lsat-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.lsat-wrap .lsat-btn:hover { transform: translateY(-2px); }
.lsat-wrap .lsat-btn:active { transform: translateY(0); }
.lsat-wrap .lsat-btn:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
.lsat-wrap .lsat-btn--lg { padding: 17px 30px; font-size: 16.5px !important; }

.lsat-wrap .lsat-btn--primary {
	background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: 0 14px 30px -12px var(--lsat-glow);
}

.lsat-wrap .lsat-btn--primary:hover { box-shadow: 0 20px 38px -14px var(--lsat-glow); }

.lsat-wrap .lsat-btn--solid {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #0b1220 !important;
}

.lsat-theme--light .lsat-btn--solid {
	background: #0b1220 !important;
	border-color: #0b1220 !important;
	color: #fff !important;
}

.lsat-wrap .lsat-btn--ghost {
	background: transparent !important;
	border-color: var(--lsat-line) !important;
	color: var(--lsat-text) !important;
}

.lsat-wrap .lsat-btn--ghost:hover {
	border-color: #38bdf8 !important;
	color: #38bdf8 !important;
}

.lsat-wrap .lsat-btn:disabled { opacity: .6 !important; cursor: progress; transform: none; }

.lsat-btn__arrow { transition: transform .18s ease; }
.lsat-btn:hover .lsat-btn__arrow { transform: translateX(4px); }

.lsat-submit {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 24px 0 0;
}

.lsat-microcopy {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 16px 0 0 !important;
	font-size: 12.5px;
	line-height: 1.5;
}

.lsat-microcopy svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; color: var(--lsat-soft); }

.lsat-status {
	margin-top: 16px;
	min-height: 22px;
	font-size: 14px;
	font-weight: 600;
}

.lsat-wrap .lsat-status--working { color: #38bdf8 !important; }

.lsat-status--working::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-right: 9px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: lsat-spin .75s linear infinite;
	vertical-align: -1px;
}

.lsat-wrap .lsat-status--error { color: #fca5a5 !important; }
.lsat-theme--light .lsat-status--error { color: #dc2626 !important; }

@keyframes lsat-spin { to { transform: rotate(360deg); } }

/* ---------- result ---------- */

.lsat-output:not(:empty) { margin-top: 24px; }
.lsat-result { animation: lsat-rise .5s ease both; }

@keyframes lsat-rise { from { opacity: 0; transform: translateY(16px); } }

.lsat-result__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	padding: 38px 34px;
	border-bottom: 1px solid var(--lsat-line);
}

.lsat-gauge {
	position: relative;
	flex: 0 0 176px;
	width: 176px;
	height: 176px;
}

.lsat-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lsat-gauge__track { stroke: var(--lsat-line); stroke-width: 11; }

.lsat-gauge__value {
	stroke: var(--lsat-gauge, #16a34a);
	stroke-width: 11;
	stroke-linecap: round;
	transition: stroke-dashoffset 1.5s cubic-bezier(.22, .8, .3, 1);
}

.lsat-gauge__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.lsat-wrap .lsat-gauge__num {
	font-size: 54px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.035em;
	color: var(--lsat-gauge, #16a34a) !important;
	font-variant-numeric: tabular-nums;
}

.lsat-gauge__out {
	margin-top: 5px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.lsat-result__intro { flex: 1 1 320px; }

.lsat-wrap .lsat-result__intro h3 {
	margin: 15px 0 9px !important;
	font-size: clamp(22px, 3vw, 29px) !important;
	line-height: 1.18 !important;
	font-weight: 800 !important;
	letter-spacing: -.024em;
}

.lsat-result__intro p { margin: 0 !important; font-size: 15px; }

.lsat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lsat-note { margin: 14px 0 0 !important; font-size: 13px; }

.lsat-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-bottom: 1px solid var(--lsat-line);
	background: var(--lsat-bg);
}

.lsat-stats li {
	margin: 0 !important;
	padding: 20px 14px;
	text-align: center;
	border-right: 1px solid var(--lsat-line-soft);
}

.lsat-stats li:last-child { border-right: 0; }

.lsat-wrap .lsat-stats strong {
	display: block;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
}

.lsat-stats span { font-size: 12.5px; }

.lsat-block { padding: 30px 34px; border-bottom: 1px solid var(--lsat-line); }

.lsat-wrap .lsat-block__title {
	margin: 0 0 5px !important;
	font-size: 19px !important;
	font-weight: 800 !important;
	letter-spacing: -.015em;
}

.lsat-block__hint { margin: 0 0 18px !important; font-size: 13.5px; }

/* priorities */

.lsat-priorities { margin: 16px 0 0 !important; padding: 0 !important; list-style: none !important; }

.lsat-priorities li {
	display: flex;
	gap: 15px;
	margin: 0 0 12px !important;
	padding: 16px 18px;
	border: 1px solid var(--lsat-line);
	border-radius: 16px;
	background: var(--lsat-bg-2);
}

.lsat-priorities__num {
	flex: 0 0 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
}

.lsat-priorities__body { display: block; }
.lsat-priorities__label { display: block; font-weight: 700; margin-bottom: 4px; }

.lsat-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	color: #fff !important;
	vertical-align: 2px;
	white-space: nowrap;
}

.lsat-priorities__text { display: block; font-size: 14px; }

.lsat-priorities__fix {
	display: block;
	margin-top: 10px;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(37, 99, 235, .14);
	font-size: 13.5px;
}

.lsat-theme--light .lsat-priorities__fix { background: #eaf0ff; }

/* accordion */

.lsat-cats { margin-top: 16px; }

.lsat-acc {
	border: 1px solid var(--lsat-line);
	border-radius: 16px;
	background: var(--lsat-bg-2);
	margin-bottom: 10px;
	overflow: hidden;
}

.lsat-acc[open] { border-color: rgba(56, 189, 248, .55); }

.lsat-acc__head {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.lsat-acc__head::-webkit-details-marker { display: none; }
.lsat-acc__head:hover { background: rgba(255, 255, 255, .04); }
.lsat-theme--light .lsat-acc__head:hover { background: #eaf0f8; }

.lsat-acc__title { flex: 1 1 40%; font-weight: 700; font-size: 14.5px; }

.lsat-acc__bar {
	flex: 1 1 26%;
	height: 9px;
	min-width: 70px;
	border-radius: 6px;
	background: var(--lsat-line);
	overflow: hidden;
}

.lsat-acc__bar span {
	display: block;
	height: 100%;
	border-radius: 6px;
	transition: width 1.1s cubic-bezier(.22, .8, .3, 1);
}

.lsat-acc__val { flex: 0 0 auto; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.lsat-wrap .lsat-acc__val small { font-weight: 600; color: var(--lsat-soft) !important; }

.lsat-acc__chev { flex: 0 0 18px; color: var(--lsat-soft); transition: transform .22s ease; }
.lsat-acc__chev svg { width: 18px; height: 18px; }
.lsat-acc[open] .lsat-acc__chev { transform: rotate(180deg); }

.lsat-acc__body { padding: 4px 18px 20px; border-top: 1px solid var(--lsat-line); }
.lsat-acc__intro { margin: 15px 0 16px !important; font-size: 13.5px; }

.lsat-checks { margin: 0 !important; padding: 0 !important; list-style: none !important; }

.lsat-check {
	display: flex;
	gap: 13px;
	margin: 0 !important;
	padding: 13px 0;
	border-top: 1px solid var(--lsat-line-soft);
}

.lsat-check:first-child { border-top: 0; }

.lsat-check__mark {
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-top: 6px;
	border-radius: 50%;
}

.lsat-check__body { display: block; }
.lsat-check__label { display: block; font-weight: 700; font-size: 14px; }

.lsat-check__status {
	display: inline-block;
	margin-left: 9px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.lsat-check__finding { display: block; margin-top: 3px; font-size: 13.5px; }

.lsat-check__fix {
	display: block;
	margin-top: 8px;
	padding: 10px 13px;
	border-radius: 11px;
	background: rgba(37, 99, 235, .13);
	font-size: 13px;
}

.lsat-theme--light .lsat-check__fix { background: #eef3ff; }
.lsat-acc__manual { margin: 15px 0 0 !important; font-size: 13px; }

/* booking band */

.lsat-booking {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding: 30px 34px;
}

.lsat-booking__text { flex: 1 1 320px; }

.lsat-wrap .lsat-booking h4 {
	margin: 0 0 9px !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	letter-spacing: -.018em;
}

.lsat-booking p { margin: 0 !important; font-size: 14.5px; }
.lsat-booking__note { margin-top: 9px !important; font-size: 13px !important; }
.lsat-booking__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
	.lsat-grid { grid-template-columns: 1fr; }
	.lsat-form__head { padding: 26px 20px 22px; }
	.lsat-form__body { padding: 24px 20px 28px; }
	.lsat-result__hero { padding: 28px 20px; gap: 24px; }
	.lsat-block, .lsat-booking { padding: 24px 20px; }
	.lsat-stats { grid-template-columns: 1fr 1fr; }
	.lsat-stats li:nth-child(2) { border-right: 0; }
	.lsat-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--lsat-line-soft); }
	.lsat-gauge { flex: 0 0 140px; width: 140px; height: 140px; }
	.lsat-wrap .lsat-gauge__num { font-size: 42px; }
	.lsat-wrap .lsat-btn { width: 100%; }
	.lsat-acc__bar { display: none; }
	.lsat-wrap .lsat-hl { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.lsat-wrap *,
	.lsat-wrap *::before {
		animation: none !important;
		transition: none !important;
	}
}
