body {
  overflow-x: hidden;
  overflow-y: auto;
  align-items: flex-start;
}

#essay {
  width: 100%;
  max-width: 1100px;
  padding: 40px 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.85;
}

html.light #essay h1              { color: #111; }
html.light #essay strong          { color: #000; }
html.light #essay a:hover         { color: #000; }
html.light #essay .highlight      { color: #111; border-left-color: rgba(0,0,0,0.3); }

#essay h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.4;
  color: #fff;
}

#essay p {
  margin-bottom: 18px;
}

#essay ul,
#essay ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

#essay li {
  margin-bottom: 6px;
}

#essay a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#essay a:hover {
  color: #fff;
}

#essay em {
  font-style: italic;
}

#essay strong {
  color: #fff;
  font-weight: 700;
}

#essay .highlight {
  color: #fff;
  font-weight: 600;
  font-style: italic;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  padding-left: 16px;
  margin: 24px 0;
}

#essay figure {
  margin: 30px 0;
  text-align: center;
}

#essay figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

#essay figcaption {
  color: var(--text-tertiary);
  font-size: 10px;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.tut-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
html.light .tut-nav { border-top-color: rgba(0,0,0,0.1); }

.tut-nav-step {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
}

.tut-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.tut-btn-next {
  background: #2979ff;
  color: #fff;
  border: 2px solid #2979ff;
}
.tut-btn-next:hover {
  background: #2962ff;
  box-shadow: 0 0 20px rgba(41,121,255,0.45);
  color: #fff;
}
.tut-btn-prev {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid rgba(255,255,255,0.15);
}
html.light .tut-btn-prev { border-color: rgba(0,0,0,0.15); }
.tut-btn-prev:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
html.light .tut-btn-prev:hover { border-color: rgba(0,0,0,0.35); color: #000; }
.tut-btn-placeholder { min-width: 120px; }
