/*
 * Safe-Desk guides, industry pages and the comparison (/guides, /ai-for/*,
 * /compare): breadcrumbs, the short answer, the sample policy and the related
 * links, on top of site.css and docs/docs.css. No inline styles in the pages.
 *
 * @author Thomas G. and Sophia, SOPHIA XT LLC (sophiaxt.com)
 */

/* Breadcrumbs: a mono trail above the kicker. */
.gx-crumbs { font: 12px var(--mono); letter-spacing: .06em; color: var(--muted); margin: 0 0 28px; }
.gx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.gx-crumbs li { display: inline-flex; align-items: center; max-width: 100%; }
.gx-crumbs li + li::before { content: "/"; margin: 0 8px; color: rgba(255,255,255,0.3); }
.gx-crumbs a { color: var(--muted); text-decoration: none; }
.gx-crumbs a:hover { color: var(--cyan); }
.gx-crumbs [aria-current="page"] { color: var(--text); overflow-wrap: anywhere; }

/* The short answer: the first thing on the page, framed so it reads as the answer. */
.gx-answer { margin-top: 26px; border: 1px solid rgba(0,212,255,0.35); border-left: 2px solid var(--cyan); background: rgba(0,212,255,0.05); padding: 16px 18px; clip-path: var(--cut); }
.gx-answer .gx-label { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0; }
.gx-answer p { margin-top: 8px; max-width: none; }
.gx-updated { font: 12px var(--mono); color: var(--muted); margin-top: 18px; }

/* FAQ inside a document page: the landing's look, without its wide wrapper. */
.gx-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.gx-faq details:first-of-type { margin-top: 18px; }
.gx-faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::before { content: "+"; font-family: var(--mono); color: var(--cyan); margin-right: 12px; }
.gx-faq details[open] summary::before { content: "\2212"; }
.gx-faq p { color: #c9d5e2; }

/* The copyable sample policy. */
.gx-policy { margin-top: 18px; border: 1px solid var(--line); background: rgba(4,10,20,0.85); padding: 18px 20px; }
.gx-policy h3 { margin-top: 18px; font-size: 1rem; }
.gx-policy h3:first-child { margin-top: 0; }
.gx-policy p, .gx-policy li { color: #d5dee8; }

/* Related pages and the hub's cards. */
.gx-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; padding: 0; list-style: none; }
.gx-links li { margin: 0; max-width: none; }
.gx-links a { display: block; height: 100%; border: 1px solid var(--line); padding: 14px 16px; text-decoration: none; color: var(--text); background: var(--panel); clip-path: var(--cut); }
.gx-links a:hover { border-color: rgba(0,212,255,0.5); }
.gx-links strong { display: block; color: var(--cyan); font-weight: 600; }
.gx-links span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* The closing call. */
.gx-cta { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.gx-cta .btn { margin: 14px 12px 0 0; }
.gx-cta .fine { color: var(--muted); font-size: 14px; }

/* Worked example: what staff type, what the AI sees. */
.gx-example { margin-top: 18px; display: grid; gap: 10px; }
.gx-example div { border: 1px solid var(--line); padding: 12px 14px; background: rgba(4,10,20,0.6); }
.gx-example .gx-label { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.gx-example p { margin-top: 6px; overflow-wrap: anywhere; }
.gx-example b { color: var(--mint); font-weight: 600; }

/* The landing's guides block. */
.gx-home { margin-top: 28px; }

@media (max-width: 640px) {
  .gx-answer { padding: 14px; }
  .gx-policy { padding: 14px; }
}
