/* Public pages of Pure Cleaners Lead Assistant (pure.atworks.dev).
   Colours come from the Pure Cleaners logo: its blue on white. No scripts,
   no web fonts, nothing loaded from another host. */

:root {
  /* The logo blue. 3.4:1 on white: decoration only, never body text. */
  --brand: #0092dd;
  /* A darker shade of the same hue for links and headings: 5.2:1 on white. */
  --brand-strong: #0073ad;
  --ink: #1b2a3a;
  --muted: #55667a;
  --line: #d4e5f0;
  --tint: #f2f8fc;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  border-top: 6px solid var(--brand);
  background: #fff;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  /* The email address must wrap on a narrow phone, not stick out of its box. */
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Header: the logo and the three pages. */

.site-header {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.site-header img {
  display: block;
  width: 15rem;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  border-bottom-color: var(--line);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
  color: var(--ink);
}

/* Content. */

main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  color: var(--brand-strong);
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.4rem;
}

li::marker {
  color: var(--brand);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

/* The three things the tool does, marked with the sparkle from the logo. */

.features {
  padding-left: 0;
  list-style: none;
}

.features li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1.9rem;
}

.features li::before {
  content: "\2726";
  position: absolute;
  left: 0.15rem;
  color: var(--brand);
}

.contact {
  margin-top: 2.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--tint);
}

.contact h2 {
  margin-top: 0;
}

.contact p:last-child {
  margin-bottom: 0;
}

/* The OAuth stub and the 404 page: one short message. */

.notice {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

/* Every page ends with the links to the privacy policy and the terms. */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

@media (max-width: 30rem) {
  h1 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}
