/* Quillbrook Plumbing: the LG-222 test site for ssr-test.sitescanreport.com.
   Every colour pair here clears WCAG AA (4.5:1) EXCEPT .fine-print, which is
   deliberate issue 1 of 3. See test-site/README.md before changing a colour. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1f2933;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: #0b5394;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid #12355b;
  outline-offset: 2px;
}

.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Skip link: off-screen until focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: #12355b;
  padding: 0.5rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  background: #12355b;
  color: #ffffff;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header a:focus-visible {
  outline-color: #ffffff;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #d9e8f6;
  text-decoration: underline;
}

/* Main content */
main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1,
h2 {
  line-height: 1.25;
  color: #12355b;
}

h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}

.lead {
  font-size: 1.125rem;
}

.muted {
  color: #52606d;
}

.callout {
  background: #e8f1fa;
  border-left: 4px solid #0b5394;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* LG-222 deliberate issue 1 of 3: light grey #b8b8b8 on the white page
   background is about 1.98:1, below the WCAG AA 4.5:1 minimum for normal-size
   text. Do not "fix" it; the Monitoring walkthrough depends on it. */
.fine-print {
  color: #b8b8b8;
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  background: #f2f4f7;
  color: #3e4c59;
  padding: 1.5rem 0;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.site-footer p {
  margin: 0;
}
