:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --surface: #fffdf8;
  --surface-2: #f1ece1;
  --border: #e0d8c8;
  --border-strong: #cfc4ad;
  --text: #262320;
  --muted: #7c7364;
  --muted-2: #4a463f;
  --accent: #6a3a2b;
  --accent-strong: #55301f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* Breadcrumb / top nav */
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--muted); }

/* Headings */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 2.75rem 0 0.75rem; }
.lede { color: var(--muted); margin: 0.4rem 0 0; }

/* Landing hero */
.hero { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

/* Card list (classes / sessions) */
.list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.5rem; }
.card {
  display: flex;
  align-items: baseline;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.card:hover { border-color: var(--border-strong); background: #fffef9; text-decoration: none; }
.card .num {
  color: var(--muted); font-variant-numeric: tabular-nums;
  margin-right: 0.9rem; font-family: var(--serif); font-size: 0.95rem;
}
.card .title { color: var(--text); font-weight: 500; }
.card .meta { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }

/* Session sections */
.section {
  padding: 0.5rem 0 0;
  margin-top: 0.5rem;
}
.section h2 {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.section .placeholder { color: var(--muted); font-style: italic; }

/* Video block */
.video-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  background: var(--accent); color: #fbf6ee;
  border-radius: 5px; font-weight: 500;
}
.video-link:hover { background: var(--accent-strong); text-decoration: none; }
.video-note { color: var(--muted); font-size: 0.85rem; margin: 0.75rem 0 0; }

/* Prose (AI summary / notes) */
.section h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text); }
.section p { margin: 0.85rem 0; color: var(--muted-2); }
.section p:first-of-type { margin-top: 0.25rem; }
.section ol.steps, .section ul.bullets { margin: 0.85rem 0; padding-left: 1.3rem; color: var(--muted-2); }
.section ol.steps li, .section ul.bullets li { margin: 0.4rem 0; }
.section .prose strong { color: var(--text); font-weight: 600; }
.prose { max-width: 62ch; }

/* AI questions */
ol.questions { margin: 0; padding-left: 1.3rem; }
ol.questions li { margin: 0.65rem 0; color: var(--muted-2); padding-left: 0.25rem; }
ol.questions li strong { color: var(--muted-2); font-weight: 600; }

/* Prev / next pager */
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.pager a {
  flex: 1; padding: 0.8rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px; color: var(--muted-2);
}
.pager a:hover { border-color: var(--border-strong); text-decoration: none; }
.pager a.next { text-align: right; }
.pager a .dir { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.1rem; }
.pager .spacer { flex: 1; }

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