/* Organizer guide (/docs/). Flat surfaces, large type, screenshots. */

.docs-nav-link.is-active {
  background: #8b5cf6;
  color: #fff;
  font-weight: 700;
}

.docs-prose > *:first-child { margin-top: 0; }

.docs-prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 0.95;
  color: #fff;
}
.docs-prose h2:first-child { margin-top: 0; }

.docs-prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.docs-prose p,
.docs-prose li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 1.0625rem;
}
.docs-prose p + p { margin-top: 1rem; }

.docs-prose ul,
.docs-prose ol {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  padding-left: 1.35rem;
}
.docs-prose ul { list-style: disc; }
.docs-prose ol { list-style: decimal; }
.docs-prose li + li { margin-top: 0.5rem; }
.docs-prose li::marker { color: #a78bfa; }

.docs-prose strong { color: #fff; font-weight: 700; }

.docs-prose a {
  color: #c4b5fd;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 181, 253, 0.5);
}
.docs-prose a:hover { color: #fff; text-decoration-color: #fff; }

/* Callouts: a tone step, no border, no gradient */
.docs-callout {
  margin: 1.5rem 0;
  border-radius: 1.25rem;
  background: rgba(139, 92, 246, 0.16);
  padding: 1.1rem 1.3rem;
  color: #f5f3ff;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.docs-callout.docs-warn { background: rgba(245, 158, 11, 0.14); color: #fef3c7; }
.docs-callout.docs-info { background: rgba(56, 189, 248, 0.12); color: #e0f2fe; }
.docs-callout-title { display: block; margin-bottom: 0.25rem; font-weight: 800; }

/* Numbered steps */
.docs-steps { counter-reset: docs-step; list-style: none !important; padding-left: 0 !important; margin-top: 1rem; display: grid; gap: 0.5rem; }
.docs-steps > li {
  counter-increment: docs-step;
  position: relative;
  margin: 0 !important;
  padding: 1rem 1.1rem 1rem 3.75rem;
  border-radius: 1rem;
  background: #1c1c2b;
}
.docs-steps > li::before {
  content: counter(docs-step);
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8b5cf6;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
}

/* Key / button names */
.docs-kbd {
  display: inline-block;
  border-radius: 999px;
  background: #262638;
  padding: 0.05rem 0.65rem;
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.docs-grid-2 { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 640px) { .docs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.docs-mini-card { border-radius: 1.25rem; background: #1c1c2b; padding: 1.1rem 1.25rem; }
.docs-mini-card h3 { margin: 0 0 0.35rem; font-size: 1.0625rem; color: #fff; }
.docs-mini-card p { margin: 0; font-size: 1rem; line-height: 1.6; }

.docs-fees-table { width: 100%; margin-top: 1rem; border-collapse: separate; border-spacing: 0 0.35rem; font-size: 1rem; }
.docs-fees-table th, .docs-fees-table td { padding: 0.8rem 0.95rem; text-align: left; vertical-align: top; }
.docs-fees-table th { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; font-weight: 700; }
.docs-fees-table td { background: #1c1c2b; color: rgba(255, 255, 255, 0.85); }
.docs-fees-table td:first-child { border-radius: 0.85rem 0 0 0.85rem; color: #fff; font-weight: 700; white-space: nowrap; }
.docs-fees-table td:last-child { border-radius: 0 0.85rem 0.85rem 0; }

.docs-faq details { margin-top: 0.5rem; border-radius: 1.1rem; background: #1c1c2b; overflow: hidden; transition: background-color 0.2s; }
.docs-faq details[open] { background: #262638; }
.docs-faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.25rem; font-weight: 700; font-size: 1.0625rem; color: #fff; }
.docs-faq summary::-webkit-details-marker { display: none; }
.docs-faq details p { margin: 0; padding: 0 1.25rem 1.1rem; }

/* Screenshots */
.docs-shot { margin: 1.5rem 0 2rem; }
.docs-shot-frame {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0b0b12;
  outline: 6px solid #262638;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.docs-prose .docs-shot-frame { text-decoration: none; }
.docs-shot-frame:hover { transform: translateY(-3px); }
.docs-shot-frame:focus-visible { outline-color: #a78bfa; }
.docs-shot img { display: block; width: 100%; height: auto; }
.docs-shot figcaption { margin-top: 0.85rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.65); }
.docs-shot-phone { max-width: 300px; }
.docs-shot-phone .docs-shot-frame { border-radius: 2rem; outline-width: 8px; }

/* Step with picture: text left, screenshot right on wide screens */
.docs-walk { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.docs-walk-step {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: #1c1c2b;
}
@media (min-width: 1100px) {
  .docs-walk-step { grid-template-columns: 0.8fr 1.2fr; gap: 2rem; padding: 2rem; }
}
.docs-walk-step .docs-shot { margin: 0; }
.docs-walk-num {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #8b5cf6;
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
}
.docs-prose .docs-walk-step h3 { margin-top: 0.85rem; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 0.95; }
.docs-walk-step p { font-size: 1.0625rem; }
.docs-walk-step .docs-cta { margin-top: 1rem; display: inline-flex; }

.docs-prose ol.docs-path { list-style: none; padding-left: 0; }
