/* ==========================================================================
   Guide e FAQ — estende legal.css: stesso documento su carta, stesso accento.
   ========================================================================== */

.guide-nav { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 12.5px; }
.guide-nav a { color: #cdd6dc; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.guide-nav a:hover { color: var(--accent); border-color: var(--accent); }
a.legal-brand { text-decoration: none; }

.crumbs { font-family: var(--font-mono); font-size: 12px; color: var(--mono); margin-bottom: 14px; }
.crumbs a { color: var(--mono); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--accent); border-color: var(--accent); }

.guide-doc h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 14px; }
.guide-doc ol { padding-left: 22px; margin-top: 8px; }
.guide-doc ol li::marker { color: var(--accent); font-weight: 700; }
.guide-doc ul.checklist { list-style: none; padding-left: 0; }
.guide-doc ul.checklist li { position: relative; padding-left: 28px; }
.guide-doc ul.checklist li::before {
  content: ''; position: absolute; left: 0; top: .28em; width: 15px; height: 15px;
  border: 1.5px solid var(--navy); border-radius: 3px; background: var(--white);
}

.guide-cta {
  margin: 38px 0 8px; padding: 22px 24px;
  background: var(--navy); color: #fff; border-radius: var(--radius-md);
}
.guide-cta-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px !important; }
.guide-cta-t { color: #fff !important; font-size: 1.05rem !important; margin: 0 0 16px !important; }
.guide-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.guide-cta .btn-text { color: #fff; border-color: #5a6b78; }
.guide-cta .btn-text:hover { color: var(--accent); border-color: var(--accent); }
.guide-cta-s { font-family: var(--font-mono); font-size: 12px !important; color: #cdd6dc !important; margin: 14px 0 0 !important; }
.legal-doc .guide-cta a { text-decoration: none; }
.legal-shell > .guide-cta { margin-top: 28px; }

.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 24px 12px 0; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 0 14px; margin: 0; }

.guide-related { margin-top: 36px; }
.guide-related h2 { font-size: 1.1rem; margin-bottom: 14px; }
.guide-related ul, .hub-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.guide-related a, .hub-list a {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px 18px; color: var(--ink); text-decoration: none;
}
.guide-related a:hover, .hub-list a:hover { border-color: var(--accent); }
.guide-related strong, .hub-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.guide-related span, .hub-list span { font-size: .9rem; color: var(--mono); }
.hub-list .hub-k { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hub-lede { margin-bottom: 24px; }
.hub-more { margin-top: 22px; font-size: .95rem; }
.hub-more a { text-decoration: underline; text-underline-offset: 2px; }

.home-guides { background: var(--paper-raised); }
.home-guides .hub-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }

@media (max-width: 560px) {
  .guide-nav { gap: 14px; }
  .guide-cta { padding: 18px; }
}
