/*
 * The public site for Sharp Enterprises and FoxLead.
 *
 * Deliberately one small stylesheet and no build step. These three pages exist to be read by a
 * Meta reviewer, by a broker checking who they are dealing with, and by a lawyer; none of that is
 * helped by a framework, and a site with a build step is a site that eventually stops building.
 *
 * The palette is the product's, sampled from the logo artwork: #FC2426 red, #3A3A3A charcoal,
 * warm paper rather than white.
 */

:root {
  --brand: #fc2426;
  --ink: #26252a;
  --muted: #6b6862;
  --paper: #f8f6f3;
  --card: #ffffff;
  --line: #e6e1da;
  --sidebar: #201f22;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

header.site {
  background: var(--sidebar);
  padding: 1.5rem 0;
}

header.site img {
  height: 34px;
  width: auto;
  display: block;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

header.site nav a {
  color: #e8e6e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 1.25rem;
}

header.site nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

main {
  padding: 3rem 0 4rem;
}

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

h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  color: #35343a;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

dl.facts {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.6rem 1.5rem;
  margin: 0;
}

dl.facts dt {
  color: var(--muted);
  font-size: 0.9rem;
}

dl.facts dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 34rem) {
  dl.facts {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  dl.facts dd {
    margin-bottom: 0.75rem;
  }
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

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

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site a {
  color: var(--muted);
}

code {
  background: #f1eeea;
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  font-size: 0.9em;
}
