/* OTB Industries site. Colors follow docs/brand.md. No web fonts or scripts, so the
   site loads nothing from third parties. */
:root {
  --bg: #fbfaf5;
  --surface: #f1efe6;
  --text: #1f2a22;
  --muted: #56615a;
  --accent: #2e5e3e;
  --gold: #8a6510;
  --brown: #6e4b2e;
  --line: #dcd8ca;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121714;
    --surface: #1b221d;
    --text: #e7ebe5;
    --muted: #a3ada5;
    --accent: #6fb283;
    --gold: #e5b53e;
    --brown: #b5845a;
    --line: #2c352f;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 2px;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}
nav.site a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}
nav.site a:first-child {
  margin-left: 0;
}
nav.site a:hover,
nav.site a[aria-current='page'] {
  color: var(--accent);
}

main.wrap {
  padding-top: 40px;
  padding-bottom: 56px;
}
h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.3rem;
  margin: 40px 0 8px;
}
h3 {
  font-size: 1.05rem;
  margin: 24px 0 4px;
}
p,
ul,
ol {
  margin: 0 0 14px;
}
li {
  margin-bottom: 6px;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
}
.updated {
  color: var(--brown);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.hero img.mascot {
  width: 140px;
  height: auto;
}
.wordmark {
  display: block;
  width: 220px;
  max-width: 70%;
  height: auto;
  margin: 8px 0 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
}
.card h2 {
  margin-top: 0;
}
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  list-style: none;
}

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap {
  padding-top: 20px;
  padding-bottom: 32px;
}
footer.site a {
  color: var(--muted);
}

@media (max-width: 560px) {
  h1 {
    font-size: 1.6rem;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero img.mascot {
    width: 96px;
    order: -1;
  }
}

address {
  font-style: normal;
  margin: 0 0 1em;
}

footer.site .links {
  margin: 0;
}

footer.site address {
  margin: 8px 0 0;
}

footer.site address + .links {
  margin-top: 14px;
}
