.faq-list {
  margin-top: 0.5rem;
}

.faq-list details {
  margin-bottom: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
}

.faq-list summary {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 0.85rem 1rem;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--muted);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list details p {
  padding: 0.85rem 1rem 1rem;
  margin: 0;
}

.guide-main {
  flex: 1;
  overflow: auto;
  padding: 2rem 1.25rem 3rem;
}

.guide-article {
  max-width: 42rem;
  margin: 0 auto;
}

.guide-article h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.guide-article .guide-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}

.guide-article h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.5rem;
  color: var(--text);
}

.guide-article h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.guide-article p,
.guide-article li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.guide-article p {
  margin-bottom: 0.85rem;
}

.guide-article ul,
.guide-article ol {
  margin: 0 0 1rem 1.25rem;
}

.guide-article li {
  margin-bottom: 0.35rem;
}

.guide-article a {
  color: var(--link);
}

.guide-article code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85em;
  background: var(--editor-bg);
  color: var(--editor-text);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.guide-article pre {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--editor-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.guide-article pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--editor-text);
}

.guide-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.guide-steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.75rem;
}

.guide-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--accent);
  color: white;
  border-radius: 50%;
}

.guide-callout {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
}

.guide-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.guide-article th,
.guide-article td {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.guide-article th {
  background: var(--panel);
  font-weight: 600;
}

.guide-article a.guide-cta {
  display: inline-block;
  margin: 0.5rem 0.75rem 1rem 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.guide-article a.guide-cta:hover {
  opacity: 0.92;
  color: #fff;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
