/* Public /guides/ pages (hub + detail). Page-scoped `guide-*` classes on the
   shared design tokens, same visual language as /methodology/ and the reports. */

.guide { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; }

.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-decoration: none;
}
.guide-back:hover { color: var(--text-secondary); }

.guide-head { margin-bottom: 34px; }
.guide-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.guide-h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.14;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.guide-answer {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text-secondary);
}
.guide-method-link {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.guide-method-link a, .guide-p a, .guide-table a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.guide-method-link a:hover, .guide-p a:hover, .guide-table a:hover { border-bottom-color: var(--accent); }

.guide-sec { margin-top: 38px; }
.guide-h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.guide-p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-secondary);
}
.guide-note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* comparison table */
.guide-table-wrap { overflow-x: auto; margin: 16px 0 6px; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.guide-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.guide-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.guide-table td:first-child { font-family: var(--font-display); white-space: normal; }
.guide-table td.is-up { color: var(--accent); }

/* closing CTA */
.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding: 24px 26px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}
.guide-cta-copy { flex: 1; min-width: 240px; }
.guide-cta-h {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.guide-cta-p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.guide-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--surface-base, #050807);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: filter 120ms ease;
}
.guide-cta-btn:hover { filter: brightness(1.08); }

/* practical takeaways */
.guide-takeaways {
  margin: 4px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-takeaways li {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-secondary);
}
.guide-takeaways li::marker { color: var(--accent); }

/* visible FAQ (mirrors the JSON-LD) */
.guide-faqs { display: flex; flex-direction: column; gap: 22px; }
.guide-faq-q {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.guide-faq-a {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-secondary);
}

/* hub list */
.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 120ms ease;
}
.guide-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border-subtle)); }
.guide-card-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
.guide-card-d { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }

@media (max-width: 640px) {
  .guide-h1 { font-size: 26px; }
}
