/* Website Checkup public page. Inherits the theme's fonts; colors are tokens a theme can override. */
.wcu {
	--wcu-accent: #5F0041;
	--wcu-ink: #18222B;
	--wcu-soft: #5E6B70;
	--wcu-line: #D6DDDC;
	--wcu-paper: #F1F3F2;
	--wcu-card: #FFFFFF;
	--wcu-good: #2F7A57;
	--wcu-fair: #B7841E;
	--wcu-warn: #C0632A;
	--wcu-bad: #A8322B;
	--wcu-radius: 14px;
	color: var(--wcu-ink);
	background: var(--wcu-paper);
	padding: clamp(32px, 6vw, 88px) 16px;
	font-size: 16px;
	line-height: 1.55;
}
.wcu p, .wcu li, .wcu label, .wcu input, .wcu button { letter-spacing: normal; }
.wcu *, .wcu *::before, .wcu *::after { box-sizing: border-box; }
.wcu-hero {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.wcu-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; color: var(--wcu-ink); }
.wcu-intro { font-size: 1.12rem; line-height: 1.6; color: #34434B; max-width: 34em; }
.wcu-intro p { margin: 0 0 1em; }
.wcu-areas { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--wcu-line); max-width: 34em; }
.wcu-areas li { font-size: 0.98rem; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--wcu-line); position: relative; color: var(--wcu-soft); line-height: 1.45; }
.wcu-areas li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border: 2px solid var(--wcu-accent); border-radius: 50%; }
.wcu-areas strong { color: var(--wcu-ink); display: block; }

.wcu-panel { background: var(--wcu-card); border: 1px solid var(--wcu-line); border-radius: var(--wcu-radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 var(--wcu-line), 0 24px 48px -32px rgba(24, 34, 43, 0.35); }
.wcu-form__title, .wcu-progress h2, .wcu-result h2 { font-size: 1.35rem; margin: 0 0 18px; line-height: 1.2; color: var(--wcu-ink); }
.wcu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wcu-field { margin-bottom: 14px; }
.wcu-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.wcu-optional { font-weight: 400; color: var(--wcu-soft); font-size: 0.85rem; }
.wcu-field input[type="text"], .wcu-field input[type="email"], .wcu-field input[type="tel"] {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--wcu-ink);
	background: #fff; border: 1.5px solid #B9C4C3; border-radius: 10px;
}
.wcu-field--url input { min-height: 56px; font-size: 1.1rem; }
.wcu-field input:focus { outline: 3px solid color-mix(in srgb, var(--wcu-accent) 35%, transparent); outline-offset: 1px; border-color: var(--wcu-accent); }
.wcu-field input[aria-invalid="true"] { border-color: var(--wcu-bad); }
.wcu-error { color: var(--wcu-bad); font-size: 0.88rem; margin: 6px 0 0; }
.wcu-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #34434B; }
.wcu-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--wcu-accent); }
.wcu-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wcu-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
	background: var(--wcu-accent); color: #fff; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1.02rem;
	cursor: pointer; text-decoration: none; width: 100%;
}
.wcu-button:hover { filter: brightness(1.12); color: #fff; }
.wcu-button:focus-visible { outline: 3px solid var(--wcu-ink); outline-offset: 3px; }
.wcu-button:disabled { opacity: 0.6; cursor: progress; }
.wcu-form__status { min-height: 1.4em; margin: 10px 0 0; color: var(--wcu-soft); }
.wcu-fine { font-size: 0.85rem; color: var(--wcu-soft); margin: 4px 0 0; }

.wcu-progress__domain { font-weight: 600; margin: -10px 0 18px; color: var(--wcu-accent); overflow-wrap: anywhere; }
.wcu-steps { list-style: none; margin: 0 0 18px; padding: 0; }
.wcu-steps li { position: relative; padding: 10px 0 10px 34px; color: var(--wcu-soft); border-bottom: 1px dashed var(--wcu-line); }
.wcu-steps li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--wcu-line); }
.wcu-steps li.is-active { color: var(--wcu-ink); font-weight: 600; }
.wcu-steps li.is-active::before { border-color: var(--wcu-accent); border-top-color: transparent; animation: wcu-spin 0.9s linear infinite; }
.wcu-steps li.is-done { color: var(--wcu-ink); }
.wcu-steps li.is-done::before { background: var(--wcu-good); border-color: var(--wcu-good); }
.wcu-steps li.is-done::after { content: ""; position: absolute; left: 7px; top: 15px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wcu-progress__note { font-size: 0.92rem; color: var(--wcu-soft); margin: 0; }
@keyframes wcu-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wcu-steps li.is-active::before { animation: none; border-top-color: var(--wcu-accent); } }

.wcu-result:focus { outline: none; }
.wcu-result__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.wcu-result__head h2 { margin: 0 0 4px; }
.wcu-result__domain { margin: 0; color: var(--wcu-soft); overflow-wrap: anywhere; }
.wcu-seal { width: 118px; height: 118px; flex: none; }
.wcu-seal__track { fill: none; stroke: #E3E8E7; stroke-width: 10; }
.wcu-seal__meter { fill: none; stroke: var(--wcu-accent); stroke-width: 10; stroke-linecap: round; }
.wcu-seal__grade { font-size: 44px; font-weight: 800; text-anchor: middle; fill: var(--wcu-ink); }
.wcu-seal__score { font-size: 13px; text-anchor: middle; fill: var(--wcu-soft); }
.wcu-bars { list-style: none; padding: 0; margin: 0 0 22px; }
.wcu-bar { display: grid; grid-template-columns: 130px 1fr 110px; gap: 12px; align-items: center; padding: 7px 0; font-size: 0.95rem; }
.wcu-bar__track { height: 8px; background: #E3E8E7; border-radius: 8px; overflow: hidden; }
.wcu-bar__track i { display: block; height: 100%; border-radius: 8px; background: var(--wcu-soft); }
.wcu-bar__value { text-align: right; font-weight: 700; }
.wcu-bar__value small { font-weight: 500; color: var(--wcu-soft); }
.wcu-tone-good .wcu-bar__track i { background: var(--wcu-good); }
.wcu-tone-fair .wcu-bar__track i { background: var(--wcu-fair); }
.wcu-tone-warn .wcu-bar__track i { background: var(--wcu-warn); }
.wcu-tone-bad .wcu-bar__track i { background: var(--wcu-bad); }
.wcu-result h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.wcu-top { margin: 0 0 8px; padding-left: 22px; }
.wcu-top li { margin-bottom: 10px; line-height: 1.45; font-size: 1rem; }
.wcu-top li strong { display: block; }
.wcu-top li span { display: block; color: var(--wcu-soft); font-size: 0.92rem; line-height: 1.45; }
.wcu-more { color: var(--wcu-soft); font-size: 0.92rem; }
.wcu-next { margin-top: 18px; padding: 18px; border-radius: 12px; background: color-mix(in srgb, var(--wcu-accent) 7%, #fff); border: 1px solid color-mix(in srgb, var(--wcu-accent) 22%, #fff); }
.wcu-next p { margin: 0 0 12px; line-height: 1.5; font-size: 1rem; }
.wcu-next__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wcu-next__actions .wcu-button { width: auto; }
.wcu-link { color: var(--wcu-accent); font-weight: 600; }

@media (max-width: 900px) {
	.wcu-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	/* On phones the form follows the intro; the "what I check" list moves below it. */
	.wcu-hero__copy { display: contents; }
	.wcu-title { order: 1; margin-bottom: 0; }
	.wcu-intro { order: 2; }
	.wcu-panel { order: 3; }
	.wcu-areas { order: 4; margin-top: 0; }
}
@media (max-width: 520px) {
	.wcu-row { grid-template-columns: 1fr; gap: 0; }
	.wcu-bar { grid-template-columns: 1fr 96px; }
	.wcu-bar__track { grid-column: 1 / -1; order: 3; }
	.wcu-result__head { flex-direction: column; align-items: flex-start; }
}
