/* Free Website Check. RCCGD pastel palette, same as Manage4U. */
:root {
	--blue: #B7D6F4;
	--green: #C8E9C9;
	--orange: #FFD6A6;
	--red: #F6C6C6;
	--navy-light: #DDE4EC;
	--sage: #E3EADF;
	--card: #F7F8FA;
	--page: #FAF9F6;
	--text: #1B2A41;
	--muted: #4a5568;
	--white: #ffffff;
	--focus: #2b6cb0;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
	margin: 0;
	background: var(--page);
	color: var(--text);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--white); border-bottom: 4px solid var(--blue); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
.logo img { display: block; height: auto; max-width: 200px; }

.hero { padding: 40px 0 16px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; }
.lead { font-size: 1.15rem; margin: 0 0 24px; max-width: 680px; }

.check-form { background: var(--white); border: 1px solid var(--navy-light); border-top: 6px solid var(--blue); border-radius: 10px; padding: 20px; }
.check-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.input-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.input-row input { flex: 1 1 240px; min-width: 0; }

input[type="text"], input[type="email"] {
	font: inherit;
	color: var(--text);
	padding: 12px 14px;
	border: 2px solid var(--navy-light);
	border-radius: 8px;
	background: var(--white);
	width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus { border-color: var(--focus); }

.button {
	display: inline-block;
	font: inherit;
	font-weight: 700;
	color: var(--text);
	background: var(--orange);
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}
.button:hover { filter: brightness(0.96); }
.button:disabled { opacity: 0.6; cursor: wait; }

.form-hint { font-size: 0.92rem; color: var(--muted); margin: 8px 0 0; }
.form-error { background: var(--red); border-radius: 8px; padding: 10px 14px; margin: 12px 0 0; }
.form-done { background: var(--green); border-radius: 8px; padding: 12px 14px; margin: 0; }

.progress { display: flex; align-items: center; gap: 14px; padding: 24px 0; font-weight: 600; }
.spinner { width: 28px; height: 28px; border: 4px solid var(--navy-light); border-top-color: var(--text); border-radius: 50%; animation: spin 0.9s linear infinite; flex: none; }
.spinner-small { display: inline-block; width: 16px; height: 16px; border-width: 3px; vertical-align: -3px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

.results { padding-top: 8px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; }
.button-light { background: var(--white); border: 2px solid var(--blue); padding: 10px 18px; }
.share-status { margin: 0; font-size: 0.95rem; }
.share-link { flex: 1 1 100%; }
.summary { background: var(--white); border: 1px solid var(--navy-light); border-radius: 10px; padding: 18px 20px; margin: 16px 0; }
.summary-title { font-size: 1.15rem; margin: 0 0 10px; overflow-wrap: anywhere; }
.summary-counts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; }
.summary-counts .chip { font-size: 0.95rem; padding: 4px 12px; }
.summary-date { font-size: 0.9rem; color: var(--muted); margin: 0; }

.card { background: var(--card); border: 1px solid var(--navy-light); border-radius: 10px; padding: 18px 20px; margin: 16px 0; }
.section-note { color: var(--muted); margin: 0 0 8px; font-size: 0.97rem; }

.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--navy-light); }
.item:first-child { border-top: 0; }
.item-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.item-label { font-weight: 700; }
.item-label::after { content: ":"; }
.item-note { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.item-note-locked { font-style: italic; }

.chip { display: inline-block; flex: none; min-width: 58px; text-align: center; font-size: 0.8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--navy-light); }
.chip-good { background: var(--green); }
.chip-warn { background: var(--orange); }
.chip-bad { background: var(--red); }
.chip-info { background: var(--navy-light); }

.card-cta { background: var(--white); border-top: 6px solid var(--orange); }
.card-call { background: var(--sage); }
.email-form .field { margin-bottom: 14px; }
.email-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin: 4px 0 16px; font-size: 0.95rem; }
.checkbox input { margin-top: 5px; width: 18px; height: 18px; flex: none; }

.site-footer { margin-top: 40px; padding: 24px 0 32px; border-top: 1px solid var(--navy-light); font-size: 0.88rem; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }

@media (max-width: 520px) {
	h1 { font-size: 1.7rem; }
	.hero { padding-top: 24px; }
	.button { width: 100%; text-align: center; }
	.item { flex-direction: column; gap: 6px; }
}
