/* ==========================================================================
   HELPY — tutorial (se suma a legal.css)
   ========================================================================== */

.toc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 32px;
}
.toc h2 { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { padding-left: 22px; }
.toc li + li { margin-top: 4px; }

.tut-section { margin-bottom: 40px; scroll-margin-top: 16px; }
.tut-section > h2 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.tut-section h3 { font-size: 18px; margin: 20px 0 8px; }
.tut-section p + p { margin-top: 10px; }

.steps-list { padding-left: 0; list-style: none; counter-reset: paso; margin-top: 12px; }
.steps-list > li {
  counter-increment: paso;
  position: relative;
  padding: 0 0 14px 44px;
}
.steps-list > li::before {
  content: counter(paso);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: #000; color: var(--brand);
  font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps-list ul { padding-left: 20px; margin-top: 4px; }

.note {
  border-radius: 12px; padding: 14px 16px; margin: 16px 0;
  background: #fff; border: 1px solid var(--line);
}
.note-buy { border-left: 6px solid #1d4ed8; }
.note-warn { border-left: 6px solid #e0b400; background: #fffbea; }
.note strong:first-child { display: block; margin-bottom: 4px; }

.need {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
  list-style: none; padding: 0; margin-top: 12px;
}
.need li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 15px; }
.need li span { display: block; font-size: 22px; margin-bottom: 4px; }
.need small { color: var(--muted); }

table.specs { width: 100%; border-collapse: collapse; margin: 12px 0; background: #fff; font-size: 15px; }
table.specs th, table.specs td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.specs th { background: #f0f0ea; }

.figure { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 16px 0; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px;
  background: #000; color: var(--brand); font-weight: 700; text-decoration: none;
}
.btn-dl.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn-cta { display: inline-block; margin-top: 8px; }

details.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
details.faq + details.faq { margin-top: 8px; }
details.faq summary { font-weight: 700; cursor: pointer; }
details.faq p { margin-top: 8px; }
