/* Guides (/guides/): the extras on top of site.css. Loaded only by guide pages and the hub.
   Same palette and type as site.css; ochre only as fills and rules, never as text on light. */

.g-crumbs { color: var(--stone); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.g-crumbs a { color: var(--stone); text-decoration: none; }
.g-crumbs a:hover { color: var(--chalk); text-decoration: underline; }

/* The direct answer, first thing under the byline. */
.prose .answer {
  background: var(--concrete); border-left: 10px solid var(--ink);
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.75rem);
  font-size: 1.1875rem;
}
.answer > * + * { margin-top: .8rem; }
.answer .label { color: var(--muted); display: block; }
.answer strong { font-weight: 600; }

/* Big numbers row, using .stats from site.css; a four-up variant. */
.prose .stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-4 .stat .n { font-size: clamp(2.1rem, 1.5rem + 1.6vw, 3rem); white-space: nowrap; }

/* Tables: .spec and .compare from site.css; a narrow variant that fits a phone without scrolling. */
.prose .table-scroll { margin-top: 1.5rem; }
.g-table { border-collapse: collapse; width: 100%; font-size: 1rem; border-top: 6px solid var(--ink); }
.g-table caption { text-align: left; caption-side: bottom; padding: .8rem 0 0; font-size: .95rem; color: var(--muted); }
.g-table th, .g-table td { text-align: left; vertical-align: top; padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--rule-light); }
.g-table thead th { font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--muted); }
.g-table td.n, .g-table th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-table tbody th { font-weight: 600; }
.g-table td.tel { white-space: nowrap; }

/* A diagram or figure inside the prose. */
.prose .g-fig { margin: 2rem 0; }
.g-fig svg { width: 100%; height: auto; max-width: 34rem; }
.g-fig figcaption { color: var(--muted); font-size: .95rem; margin-top: .75rem; }

/* Warnings that matter for safety (CO, food you must throw out). */
.prose .g-warn {
  background: var(--basalt); color: var(--chalk); border-left: 10px solid var(--ochre);
  padding: 1.1rem 1.35rem;
}
.g-warn > * + * { margin-top: .6rem; }
.g-warn strong { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.35rem; display: block; line-height: 1.05; }
.g-warn a { color: var(--chalk); text-decoration-color: var(--ochre); }
.g-warn sup.cite a { color: var(--chalk); }

/* FAQ: question as h3, a short answer under it. */
.prose .faq h3 { font-family: var(--text); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1.2rem; line-height: 1.35; margin-top: 1.75rem; }
.prose .faq h3 + p { margin-top: .45rem; }

/* Count your days + email list, before Sources. */
.prose .g-cta { margin-top: clamp(2.75rem, 6vw, 4rem); display: grid; gap: 0; }
.g-cta .daycheck { margin: 0; }
.g-signup { max-width: none; margin-top: 0; background: var(--concrete); padding: clamp(1.25rem, 3vw, 1.75rem); }
.prose .g-inline { margin: 2.25rem 0; }

/* Related guides and the hub's lists. */
.g-related h2, .g-hub-sec h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.prose .g-related ul, .prose .g-list { list-style: none; padding: 0; border-top: 6px solid var(--ink); }
.prose .g-related li + li, .prose .g-list li + li { margin-top: 0; }
.g-related li a, .g-list li a { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-light); text-decoration: none; }
.g-rel-t { font-weight: 600; font-size: 1.15rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.g-rel-d { color: var(--muted); font-size: 1rem; }
.g-related li a:hover .g-rel-t, .g-list li a:hover .g-rel-t { text-decoration-thickness: 3px; }
.prose .g-related > p { margin-top: 1rem; }
.g-hub-sec { margin-top: clamp(2rem, 5vw, 3rem); }
.g-hub-sec:first-child { margin-top: 0; }
.prose .g-hub-sec h2 { margin-top: 0; padding-top: 0; border-top: 0; margin-bottom: 1rem; }

@media (max-width: 640px) {
  .prose .stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .stats-4 .stat { padding: 1rem .75rem 1rem 0; border-right: 0; border-bottom: 1px solid var(--rule-chalk); }
  .prose .stats-4 .stat:nth-child(even) { padding-left: .75rem; border-left: 1px solid var(--rule-chalk); }
  .g-table { font-size: .95rem; }
}
