:root {
  --ground: #0b0c0e;
  --text: #e8e6e1;
  --dim: #8b8a86;
  --quiet: #c9c6bf;
  --rule: #2a2c30;
  --spine: #1e2022;
  color-scheme: dark;
}

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

body {
  background: var(--ground);
  color: var(--text);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
  padding: 2.5rem 2rem 7rem;
}

.wrap {
  max-width: 36rem;
  margin: 0 auto;
}

.has-spine .wrap {
  padding-left: 1.75rem;
  border-left: 1px solid var(--spine);
}

/* Nav */
nav {
  margin-bottom: 3.5rem;
}

nav a {
  display: inline-block;
  color: var(--dim);
  text-decoration: none;
  font-size: .83rem;
  letter-spacing: .04em;
  margin-right: 1.1rem;
  margin-bottom: .3rem;
}

nav a:hover { color: var(--quiet); }
nav a[aria-current] { color: var(--text); }

/* Typography */
p {
  margin-bottom: 1.25rem;
}

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

h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--quiet);
  margin-bottom: 1.5rem;
}

.label {
  color: var(--dim);
  font-size: .8rem;
  letter-spacing: .06em;
  margin-top: 2rem;
  margin-bottom: .75rem;
}

/* Seam block */
.seam {
  border-left: 1px solid var(--rule);
  padding-left: 1.25rem;
  color: var(--quiet);
  font-style: italic;
  margin: 2rem 0;
  line-height: 1.7;
}

.seam p { margin-bottom: .6rem; }
.seam p:last-child { margin-bottom: 0; }

/* Rule / threshold */
hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* Dim / secondary */
.dim {
  color: var(--dim);
  font-size: .9rem;
}

/* Questions list */
.questions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.questions li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.7;
}

.questions li:first-child {
  border-top: 1px solid var(--rule);
}

/* Today */
.today-idea {
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 2rem 0;
}

/* Seam log entries */
.entry {
  margin-bottom: 3rem;
}

.entry-meta {
  color: var(--dim);
  font-size: .83rem;
  letter-spacing: .03em;
  margin-bottom: 1.25rem;
}

.entry-body ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.entry-body ul li {
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.65;
}

.entry-body ul li:first-child {
  border-top: 1px solid var(--rule);
}

.entry-body ul li strong {
  display: block;
  margin-bottom: .2rem;
}

/* Door / disposition log */
.disposition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.disposition-table th {
  text-align: left;
  color: var(--dim);
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .04em;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}

.disposition-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--quiet);
  font-style: italic;
  padding-right: 1rem;
}

.disposition-table td:first-child {
  color: var(--dim);
  font-style: normal;
  white-space: nowrap;
  width: 5.5rem;
}

/* Links */
a {
  color: var(--quiet);
  text-decoration: none;
}

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