:root {
  --ink: #08090a;
  --muted: #555b65;
  --line: #ccd0d6;
  --soft: #f0f1f3;
  --blue: #246fd8;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--blue); text-underline-offset: 3px; }

.page-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-nav a { font-weight: 700; }

.page-nav > a:first-child { color: var(--ink); text-decoration: none; }

.page-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }

.page-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 100px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.025em; }

h1 { max-width: 880px; margin: 0; font-size: clamp(46px, 7vw, 76px); }

h2 { margin: 72px 0 22px; font-size: clamp(32px, 4vw, 46px); }

h3 { margin: 32px 0 10px; font-size: 24px; }

.lede { max-width: 820px; margin: 24px 0 0; color: var(--muted); font-size: 22px; line-height: 1.45; }

.notice {
  margin: 34px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.session,
.assignment,
.worksheet-section {
  scroll-margin-top: 30px;
  padding-top: 1px;
}

.time-grid,
.deliverable-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
}

.time-item,
.deliverable,
.project-card {
  padding: 22px;
  border-top: 2px solid var(--ink);
  background: var(--soft);
}

.time-item strong,
.deliverable strong { display: block; margin-bottom: 7px; }

ul, ol { padding-left: 1.25em; }

li + li { margin-top: 7px; }

code {
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--soft);
  font-size: 0.92em;
}

pre {
  overflow-x: auto;
  padding: 20px;
  background: #101114;
  color: #f4f5f7;
  line-height: 1.45;
}

table { width: 100%; border-collapse: collapse; }

th, td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

th { background: var(--ink); color: #fff; }

.question-list {
  counter-reset: questions;
  list-style: none;
  padding: 0;
}

.question-list > li {
  counter-increment: questions;
  position: relative;
  padding: 18px 18px 18px 58px;
  border-top: 1px solid var(--line);
}

.question-list > li::before {
  content: counter(questions, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.page-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 700px) {
  .page-nav { align-items: flex-start; }
  .page-links a:not(:last-child) { display: none; }
  .page-main { padding-top: 42px; }
  .time-grid, .deliverable-grid, .project-grid { grid-template-columns: 1fr; }
  h2 { margin-top: 56px; }
  table { display: block; overflow-x: auto; }
}

