/* Plain and legible. A legal page people actually read is worth more than one
   that looks designed, so this does little beyond setting a comfortable
   measure and getting out of the way. */

:root {
  --ground: #ffffff;
  --ink: #1c1c1e;
  --muted: #6c6c70;
  --rule: #e5e5ea;
  --accent: #a0522d;
  --note: #f7f5f2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000;
    --ink: #f2f2f7;
    --muted: #98989f;
    --rule: #2c2c2e;
    --accent: #d8a06a;
    --note: #151515;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

h1 {
  font-size: 2.125rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

h2 {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.4rem;
}

p, li { margin: 0 0 0.9rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

a { color: var(--accent); }

strong { font-weight: 600; }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
}

/* Anything the reader must not skim past. */
.callout {
  background: var(--note);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

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

/* Placeholders the owner still has to fill in. Deliberately loud. */
.fill {
  background: #ffd60a;
  color: #1c1c1e;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}

th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Screens from the app itself. Used on the company page so that anyone
   reviewing us can see the product exists, not just read that it does. */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.shots li { margin: 0; }

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
}

.shots figcaption,
.shots .caption {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
