/* BeanThere website. One stylesheet for every page. */

:root {
  --brown: #623315;
  --brown-light: #8a4d24;
  --ink: #1f1f1f;
  --muted: #6b625b;
  --cream: #f4efea;
  --card: #ffffff;
  --line: #e7ddd4;
  --radius: 14px;
  --max: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3efec;
    --muted: #b6aca4;
    --cream: #171310;
    --card: #221c18;
    --line: #362c25;
    --brown-light: #d9a06a;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brown-light);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  padding: 40px 0 8px;
  text-align: center;
}

header.site img {
  width: 120px;
  height: auto;
  /* The logo is artwork on white, so it keeps its own panel in dark mode
     rather than sitting as a white block on a dark page. */
  background: #fff;
  border-radius: 18px;
  padding: 10px;
}

header.site .name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: bold;
  color: var(--brown);
  margin: 12px 0 0;
  letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
  header.site .name {
    color: var(--brown-light);
  }
}

header.site .tagline {
  color: var(--muted);
  margin: 6px 0 0;
}

main {
  padding: 24px 0 64px;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 24px 0 8px;
}

h2 {
  font-size: 21px;
  margin: 32px 0 8px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}

p,
li {
  color: var(--ink);
}

.lede {
  font-size: 19px;
  color: var(--muted);
}

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

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 24px 0;
}

@media (min-width: 620px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.button {
  display: inline-block;
  background: var(--brown);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
}

.button:hover {
  background: var(--brown-light);
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

.contact {
  font-size: 18px;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

footer.site a {
  margin: 0 8px;
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
}

footer.site .company {
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.5;
}
