/* LectioDive site — "Linen" identity: cream grounds, burlap surfaces, gold
   accent, near-black text; candlelit espresso in dark mode. Quiet, bookish,
   restrained. */
:root {
  --bg: #faf7f0;
  --surface: #f2ecdf;
  --text: #1a1610;
  --muted: #6e6353;
  --accent: #7e6329;
  --border: #dcd1b5;
  --maxw: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171310;
    --surface: #231d15;
    --text: #f4efe4;
    --muted: #c0b49c;
    --accent: #d9b25f;
    --border: #493e2a;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header */
.site-header {
  padding: 2rem 0 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: block;
}
.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

/* hero */
.hero {
  padding: 3rem 0 1rem;
  text-align: center;
}
.hero .mark {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  margin: 0 auto 1.75rem;
  display: block;
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.45);
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  text-wrap: balance;
}
.intro {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto;
}

/* status pill */
.status {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

/* features */
.features {
  margin: 3.5rem 0 1rem;
  display: grid;
  gap: 1rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
}
.feature h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* legal / prose pages */
.page {
  padding: 2.5rem 0 1rem;
}
.page h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
  text-align: left;
  margin-bottom: 0.5rem;
}
.page .updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 2rem;
}
.page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2.25rem 0 0.5rem;
}
.page p,
.page li {
  color: var(--text);
}
.page p {
  margin: 0.75rem 0;
}
.page ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}
.page li {
  margin: 0.4rem 0;
}
.page a {
  color: var(--accent);
}
.back {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* footer */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer nav {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--text);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
}

a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
