/* ReadNow: starting styles only (light "paper" direction from the brief, serif for
   reading; not an approved design). Own file, nothing shared with BlogsHQ or WatchOrder.
   Contrast on #faf7f0: text #1f1b16 about 16:1, muted #5a5248 about 7:1, accent #2f5d50
   about 7:1 (WCAG AAA for body text). */

:root {
  --paper: #faf7f0;
  --card: #fffdf8;
  --rule: #e4dccb;
  --ink: #1f1b16;
  --muted: #5a5248;
  --accent: #2f5d50;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 38rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:focus-visible,
main:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--sans);
}

.skip-link:focus {
  top: 1rem;
}

/* Header: a quiet wordmark, centred like a book's title page. */
.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 2rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  color: var(--ink);
  font-size: 1.9rem;
  font-style: italic;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.top nav a {
  display: inline-block;
  padding: 0.6rem 0.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--ink);
}

/* Intro */
.intro,
.column {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(2.5rem, 8vw, 5rem) 1.25rem 2rem;
}

.intro {
  text-align: center;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro h1,
.column h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
}

.intro__lead {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
}

/* The four lanes: equal shelves. */
.lanes {
  max-width: 64rem;
  margin-inline: auto;
  padding: 2rem 1.25rem;
}

.lanes h2 {
  text-align: center;
}

.shelf {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.shelf__item {
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  background: var(--card);
}

.shelf__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.shelf__item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.questions {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.questions li + li {
  margin-top: 0.4rem;
}

/* Footer */
.foot {
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  text-align: center;
}

.foot p {
  max-width: 44rem;
  margin: 0 auto;
}
