/* Extras for the guides, layered on top of legal.css — which already carries
   the tokens, the document card, headings, tables, .note and .toc. */

.crumb { font-size: .82rem; color: var(--muted); margin: 0 0 1rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); text-decoration: underline; }
.crumb span { margin: 0 .4rem; opacity: .6; }

/* The hub */
.grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
.gcard {
  display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.1rem;
  background: var(--paper); text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.gcard:hover { transform: translateY(-2px); border-color: #c8d6f5; box-shadow: 0 18px 40px -26px rgb(11 26 74 / .35); }
.gcard h2 { font-size: 1.08rem; margin: .5rem 0 .4rem; }
.gcard p { color: var(--muted); font-size: .94rem; margin: 0; max-width: none; }
.gcard .tagline { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

/* A call to action that does not shout */
.cta {
  margin: 3rem 0 0; padding: 1.75rem; border-radius: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--navy), #143a8f);
}
.cta h2 { color: #fff; margin: 0 0 .4rem; font-size: 1.15rem; }
.cta p { color: rgb(255 255 255 / .82); margin: 0 0 1.1rem; max-width: 38rem; }
.cta a.btn {
  display: inline-block; background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem;
  padding: .7rem 1.2rem; border-radius: .7rem; text-decoration: none;
}
.cta a.btn:hover { filter: brightness(.96); }
.cta .alt { display: inline-block; margin-left: .9rem; color: rgb(255 255 255 / .85); font-size: .9rem; }

/* Questions at the foot of a guide */
.faq { margin-top: 1rem; }
.faq details { border-top: 1px solid var(--line); padding: .85rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--brand); font-weight: 800; margin-right: .6rem; }
.faq details[open] summary::before { content: "\2013"; }
.faq p { margin: .6rem 0 0; color: var(--muted); }

.related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related h2 { font-size: .95rem; }
.related ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.related li { margin: .45rem 0; }

/* Tables are wide; let them scroll on a phone rather than squash. */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll table { min-width: 34rem; }

.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); background: var(--surface); border: 1px solid var(--line);
  padding: .2rem .55rem; border-radius: .4rem;
}
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .95em; }
