/* =========================================================
   Growing Minds Science: rightnow.css
   "It's hard right now" (body.rn-body) on the annotated-observation system.
   The page stays chrome-less on purpose: one bar with the wordmark and a way
   back, one question, then a short answer. The router script renders the
   steps (rn-*); tools.css keeps their base rules and the pocket card's print
   sheet, and this file restyles them: Newsreader for the question and the
   answer, choices as calm rows, the try-this line on sage mist, numbered
   steps under a quiet rule. Tokens from tokens-field-guide.css.
   ========================================================= */

.fg.rn-body { background: var(--paper); }

/* ---------- The bar: wordmark and a way back ---------- */
.fg .rn-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(100% - 2 * var(--hb-gutter, 16px), 720px); max-width: none; margin-inline: auto; padding: 18px 0; }
.rn-bar .brand { display: inline-flex; align-items: center; min-height: 44px; gap: 0.6em; color: var(--ink); text-decoration: none; }
.rn-bar .brand__mark { display: block; width: 32px; height: 32px; flex-shrink: 0; color: var(--ink); overflow: visible; }
.rn-bar .brand__leaf { fill: var(--sage-deep); }
[data-theme="dark"] .rn-bar .brand__mark { color: var(--sage); }
[data-theme="dark"] .rn-bar .brand__leaf { fill: var(--sage-mist-2); }
.rn-bar .brand__name { margin-left: 0.1em; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.rn-bar .brand__desc { position: relative; top: 0.22em; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.fg .rn-bar > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.16em; }
.fg .rn-bar a:hover { color: var(--forest); }
.rn-bar :focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
@media (max-width: 420px) { .rn-bar .brand__desc { display: none; } }

/* ---------- The question ---------- */
.fg .rn-main { width: min(100% - 2 * var(--hb-gutter, 16px), 720px); max-width: none; margin-inline: auto; padding: clamp(24px, 6vw, 72px) 0 clamp(72px, 10vw, 128px); }
/* The page has no footer, so the safety line and disclaimer sit under every step. */
.fg .rn-safety { width: min(100% - 2 * var(--hb-gutter, 16px), 720px); margin-inline: auto; padding: 20px 0 48px; border-top: 1px solid var(--border-soft); font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.fg .rn-safety__fine { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
/* The page name reads as the question's subline, not a kicker above it. */
.rn-step { display: flex; flex-direction: column; }
.rn-step__title { order: -1; }
.fg .rn-step__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.fg .rn-step__eyebrow { margin: 10px 0 28px; font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.rn-choices { display: grid; gap: 0; }
.fg .rn-choice { display: block; width: 100%; padding: 18px 4px; border: 0; border-top: 1px solid var(--border-soft); border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font: inherit; font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; text-align: left; text-decoration: none; cursor: pointer; transition: background-color 160ms ease; }
.fg .rn-choice:last-child { border-bottom: 1px solid var(--border-soft); }
.fg .rn-choice:hover { background: var(--sage-mist); color: var(--ink); }
.fg .rn-choice:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.fg .rn-choice__hint { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 15px; line-height: 1.45; letter-spacing: 0; color: var(--ink-muted); }

/* ---------- The answer ---------- */
/* The router moves focus to each new heading for screen readers; no ring for that. */
.rn-main [tabindex="-1"]:focus { outline: none; }
.fg .rn-answer { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fg .rn-answer__state { font-size: 15px; font-weight: 500; color: var(--forest); }
.fg .rn-answer__title { margin: 8px 0 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.fg .rn-answer__body { max-width: 60ch; font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }
.fg .rn-seq { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.fg .rn-seq li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--border-soft); color: var(--ink-soft); line-height: 1.55; }
/* The script marks each step with a dot; the steps are an order, so they count. */
.fg .rn-seq { counter-reset: rn-step; }
.fg .rn-seq li { counter-increment: rn-step; }
.fg .rn-seq b { width: auto; height: auto; border-radius: 0; display: block; background: none; font-size: 0; line-height: 1; }
.fg .rn-seq b::before { content: counter(rn-step); color: var(--forest); font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.fg .rn-answer__try { margin-top: 28px; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--radius-lg); background: var(--sage-mist); font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.3; color: var(--ink); }
.fg .rn-answer__try strong { display: block; margin-bottom: 6px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--forest); }
.fg .rn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fg .rn-why { margin-top: 24px; border-top: 1px solid var(--border-soft); }
.fg .rn-why summary { display: flex; align-items: center; min-height: 52px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--forest); }
.fg .rn-why summary:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.fg .rn-why__body { margin: 0 0 16px; max-width: 60ch; color: var(--ink-soft); }
.fg .rn-back { margin-top: 28px; }
.fg .rn-back a, .fg .rn-actions .gms-link { display: inline-flex; align-items: center; min-height: 44px; }

/* The script's own buttons, in the system's two shapes. */
.fg.rn-body .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: var(--radius); background: var(--forest); color: var(--on-forest); font: inherit; font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.fg.rn-body .btn:hover { background: var(--forest-deep); color: var(--on-forest); }
.fg.rn-body .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.fg.rn-body .btn--ghost:hover { background: var(--sage-mist); color: var(--ink); }
.fg.rn-body .btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
@media (max-width: 560px) { .fg .rn-actions .btn { width: 100%; } }
