/* Layout only: colors and typography follow the shared Everix theme. */
.guide-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 46rem);
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 7rem);
}
.guide-index { position: sticky; top: 3rem; align-self: start; }
.guide-index h2 { font-size: 1rem; letter-spacing: normal; margin: 0 0 1rem; }
.guide-index ul { list-style: none; padding: 0; margin: 0; }
.guide-index a { display: block; padding: .45rem 0; color: var(--muted); line-height: 1.5; }
.guide-index a:hover, .guide-index a:focus-visible { color: var(--paper); text-decoration: underline; }
.guide-chapter + .guide-chapter { margin-top: clamp(3rem, 6vw, 5rem); }
.guide-chapter h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.guide-topic { border-top: 1px solid var(--line); }
.guide-topic summary { align-items: center; padding: 1.1rem 0; }
.guide-topic summary::-webkit-details-marker { display: none; }
.guide-topic summary::after { content: ''; width: .45rem; height: .45rem; flex: none; margin-right: .3rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.guide-topic[open] summary::after { transform: rotate(225deg); }
.guide-topic h3 { margin: 0; font-size: 1.06rem; line-height: 1.45; font-weight: 600; }
.guide-topic p, .guide-topic blockquote { max-width: 66ch; padding: 0; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.75; color: var(--muted); opacity: 1; }
.guide-topic blockquote { padding-left: 1rem; border-left: 2px solid var(--line); }
.guide-topic blockquote strong { display: block; color: var(--paper); }
@media (max-width: 800px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-index { position: static; }
}
