/* The guides at /guides/ (app/lib/guides/guides.server.js). Built on
   site.css's tokens: a reading column, the short answer first, then the
   page's contents, the text, the questions, one call to install, sources. */
.g-main { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.g-wrap { max-width: 760px; }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.g-crumbs a { color: var(--muted); text-decoration: none; }
.g-crumbs a:hover { color: var(--ink); }
.g-title { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin: 0 0 12px; }
.g-meta { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.g-lede { font-size: 18px; line-height: 1.55; color: var(--muted); margin: 0 0 32px; }
.g-answer { border: 1px solid var(--line); border-left: 4px solid var(--gst); border-radius: var(--r); background: var(--surface); padding: 18px 20px; margin: 0 0 28px; box-shadow: var(--shadow-sm); }
.g-answer strong { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--gst); margin-bottom: 6px; }
.g-answer p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.g-toc { background: var(--bg-2); border-radius: var(--r); padding: 16px 20px; margin: 0 0 32px; font-size: 15px; }
.g-toc strong { display: block; margin-bottom: 8px; }
.g-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.g-toc a { color: var(--ink-2); text-decoration: none; }
.g-toc a:hover { color: var(--gst); text-decoration: underline; }
.g-body-text { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.g-body-text h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 90px; }
.g-body-text h3 { font-size: 20px; line-height: 1.3; color: var(--ink); margin: 30px 0 10px; scroll-margin-top: 90px; }
.g-body-text p { margin: 0 0 16px; }
/* site.css takes list markers off every ul (its nav and card lists); prose wants them back. */
.g-body-text ul, .g-body-text ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 6px; }
.g-body-text ul { list-style: disc; }
.g-body-text ol { list-style: decimal; }
.g-body-text li::marker { color: var(--muted); }
.g-body-text a, .g-sources a, .g-faq a { color: var(--gst); }
.g-body-text code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); padding: 1px 6px; border-radius: 6px; }
.g-body-text hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.g-note { border-radius: var(--r); background: var(--gst-soft); padding: 14px 18px; margin: 0 0 20px; }
.g-note p { margin: 0 0 8px; color: var(--ink); }
.g-note p:last-child { margin: 0; }
.g-table { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.g-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.g-table th, .g-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.g-table th { background: var(--bg-2); font-weight: 600; color: var(--ink); }
.g-table tr:last-child td { border-bottom: 0; }
.g-faq { margin-top: 44px; }
.g-faq h2, .g-sources h2, .g-related h2 { font-size: 22px; margin: 0 0 14px; color: var(--ink); }
.g-faq details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 10px; background: var(--surface); }
.g-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.g-faq details p { margin: 10px 0 0; line-height: 1.6; color: var(--ink-2); }
.g-cta { margin: 44px 0 0; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.g-cta strong { display: block; font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.g-cta p { margin: 0 0 16px; color: rgba(255,255,255,.78); line-height: 1.6; }
.g-sources { margin-top: 40px; font-size: 15px; }
.g-sources ul { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 10px; list-style: disc; }
.g-sources p { color: var(--muted); font-size: 13px; margin: 0; }
.g-related { margin-top: 40px; }
.g-related ul, .g-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.g-related a, .g-cards a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); }
.g-related a:hover, .g-cards a:hover { border-color: var(--gst); }
.g-related span, .g-cards span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.g-cards em { font-style: normal; font-size: 12px; color: var(--faint); margin-top: auto; padding-top: 6px; }
/* Cards in a row share a height. */
.g-cards li { display: flex; }
.g-cards li > a { flex: 1; align-content: start; }
.g-hub { max-width: 920px; }
.g-hub section { margin-bottom: 40px; }
.g-hub h2 { font-size: 22px; margin: 0 0 14px; }
.g-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.g-empty { font-size: 17px; color: var(--muted); }
.g-preview { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: 14px; padding: 10px 16px; margin: -24px 0 24px; }
@media (max-width: 640px) { .g-body-text { font-size: 16px; } .g-answer p { font-size: 16px; } }
