/* =========================================================
   Growing Minds Science: claims.css
   The Evidence-Graded Claims Library (body.claims), generated by
   scripts/build-claims.mjs. Primitives from fg-base.css, the hub title
   block from hubs.css. A claim page is the claim in Newsreader with its
   grade and verdict on sage mist beside it, then one reading column: the
   summary, the sources in the research-blue module, the method on sage
   mist. The hub lists the claims as rows under quiet rules.
   Tokens from tokens-field-guide.css.
   ========================================================= */

/* ---------- Claim page: title block ---------- */
.cl-title { padding-block: clamp(32px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.cl-title__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.cl-title h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 22ch; }
.claims .cl-meta { margin-top: 16px; font-size: 15px; color: var(--ink-muted); }
.cl-meta a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-soft); }
.cl-grade { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--sage-mist); }
.cl-grade__labels { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink-soft); }
.claims .cl-verdict { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--sage-mist-2); font-family: var(--font-display); font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
@media (max-width: 900px) { .cl-title__grid { grid-template-columns: minmax(0, 1fr); } }

/* The strength label: forest when the evidence holds, clay when it
   contradicts the claim, muted when it is thin. Words carry the grade;
   the color only repeats it. */
.cl-grade--solid { color: var(--forest); }
.cl-grade--contra { color: var(--clay-text); }
.cl-grade--thin { color: var(--ink-muted); }

/* ---------- One reading column ---------- */
.cl-body { padding-block: 0 clamp(72px, 9vw, 128px); }
.cl-body > .cl-narrow { border-top: 1px solid var(--border-soft); padding-top: clamp(40px, 5vw, 72px); }
.cl-narrow > * { max-width: 880px; }
.claims .cl-summary { max-width: 64ch; font-size: 1.125rem; line-height: 1.7; color: var(--ink); text-wrap: pretty; }

/* Sources: the research-blue module. */
.cl-sources { margin-top: 2.5em; padding-top: 20px; border-top: 2px solid var(--research); }
.claims .cl-sources h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--research); }
.claims .cl-sources ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.cl-sources li { padding-block: 12px; border-top: 1px solid var(--border-soft); font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.cl-sources li:first-child { border-top: 0; padding-top: 0; }
.cl-sources em { color: var(--ink-muted); }

.cl-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 640px) { .cl-related .hb-btn { width: 100%; } }

/* The method: an explanatory panel on sage mist. */
.cl-method { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--sage-mist); }
.claims .cl-method h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -0.015em; }
.claims .cl-method p { margin-top: 12px; max-width: 64ch; color: var(--ink-soft); line-height: 1.65; }
.claims .cl-method h2 + p { margin-top: 14px; }
.cl-method strong { color: var(--ink); font-weight: 600; }
.claims .cl-note { margin-top: 24px; max-width: 64ch; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }

/* ---------- Hub: the claims as rows ---------- */
.cl-body--hub { padding-top: 0; }
.cl-body--hub > .hb-container { border-top: 1px solid var(--border-soft); padding-top: clamp(40px, 5vw, 72px); }
.cl-rows { display: grid; }
.cl-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--border-soft); align-items: baseline; }
.cl-row:first-child { border-top: 0; padding-top: 0; }
.claims .cl-row__claim { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); line-height: 1.18; letter-spacing: -0.01em; text-wrap: pretty; }
.claims .cl-row__meta { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.cl-row__verdict { color: var(--ink-soft); }
.cl-row__go { white-space: nowrap; font-size: 15px; }
.cl-row__go a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
.cl-body--hub .cl-method { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 760px) {
  .cl-row { grid-template-columns: minmax(0, 1fr); }
}
