/* first-steps-shell.css - The Excellent Reader global header, First Steps sub-bar and quiet footer,
   shared by every page under /first-steps/ (greg-read-right-web-system docs/site-navigation.md, Section 5). */
:root {
  --fs-paper: #fffdf8;
  --fs-ink: #1e2927;
  --fs-muted: #516560;
  --fs-forest: #1f5c51;
  --fs-forest-soft: #e3f1ed;
  --fs-gold: #b88943;
  --fs-line: #dbe2d9;
  --fs-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.rr-global-header { background: #fffdf8; border-bottom: 1px solid var(--fs-line); color: var(--fs-ink); font-family: var(--fs-font-sans); }
.rr-global-header *, .rr-section-nav *, .rr-global-footer * { box-sizing: border-box; }
.rr-global-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rr-global-brand { font: 700 1.55rem/1.2 var(--fs-font-serif); letter-spacing: -0.03em; color: var(--fs-forest); text-decoration: none; white-space: nowrap; }
.rr-global-menu { display: flex; align-items: center; gap: 20px; flex: 1; flex-wrap: wrap; font-size: 0.96rem; line-height: 1.4; font-weight: 700; }
.rr-global-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.rr-global-adults { margin-left: auto; border-left: 1px solid var(--fs-line); padding-left: 18px; gap: 6px 12px; }
.rr-global-menu a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; white-space: nowrap; text-decoration: none; color: #314b45; border-bottom: 2px solid transparent; }
.rr-global-menu a:hover { color: var(--fs-forest); }
.rr-global-menu a[aria-current="page"] { color: var(--fs-forest); border-bottom-color: currentColor; }
.rr-global-menu a.rr-adult-link { font-size: 0.86rem; font-weight: 650; color: var(--fs-muted); padding: 6px 12px; border-radius: 999px; background: #eef3eb; border-bottom: 0; }
.rr-global-menu a.rr-adult-link:hover, .rr-global-menu a.rr-adult-link[aria-current="page"] { color: var(--fs-forest); background: var(--fs-forest-soft); }
.rr-global-menu a.rr-adult-link[aria-current="page"] { box-shadow: inset 0 -2px 0 currentColor; }
.rr-nav-icon { display: block; flex-shrink: 0; }
.rr-global-header a:focus-visible, .rr-section-nav a:focus-visible, .rr-global-footer a:focus-visible { outline: 3px solid var(--fs-gold); outline-offset: 3px; }
.rr-section-nav { background: #eef3eb; border-bottom: 1px solid var(--fs-line); padding: 10px 24px; display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; font: 600 0.9rem/1.5 var(--fs-font-sans); }
.rr-section-nav a { color: var(--fs-forest); text-decoration: none; }
.rr-section-nav a:hover, .rr-section-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; font-weight: 750; }
.rr-global-footer { margin-top: auto; background: #fffdf8; border-top: 1px solid var(--fs-line); padding: 18px 0; color: var(--fs-muted); font: 400 0.84rem/1.5 var(--fs-font-sans); }
.rr-footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.rr-footer-brand strong { font-family: var(--fs-font-serif); color: var(--fs-ink); }
.rr-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.rr-footer-label { font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; }
.rr-footer-links a { color: var(--fs-muted); text-decoration: none; }
.rr-footer-links a:hover { color: var(--fs-forest); text-decoration: underline; }
@media (max-width: 820px) { .rr-global-inner { gap: 12px; } .rr-global-menu { gap: 12px; } .rr-global-adults { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .rr-global-inner { padding: 12px 16px; } .rr-global-menu { flex-basis: 100%; font-size: 0.88rem; justify-content: space-between; } .rr-global-group { gap: 4px 14px; } .rr-section-nav { padding: 10px 16px; gap: 8px 16px; } .rr-footer-inner { padding: 0 16px; } }
@media (forced-colors: active) { .rr-global-menu a[aria-current="page"] { border-bottom-color: LinkText; } .rr-global-menu a.rr-adult-link[aria-current="page"] { outline: 2px solid LinkText; } }
