/* Foundational Minds elevation layer for the inner pages.
   Loaded after the original page stylesheet. It changes the finish, not the structure:
   - no small tracked capitals (labels become sentence case at a readable size)
   - no italic or colour split accents inside headings
   - no arrow glyphs on links and buttons
   - lighter, larger headings and the 2.4px steel seam under the hero, matching the home page
   - CorePBS added to the Foundations First Group map in the menu */

/* 1. Labels: sentence case, readable size, no tracking */
#fm-site .eyebrow,
#fm-site .srow .ix small,
#fm-site .scene .tag,
#fm-site .ask .q,
#fm-site .tenet .lab,
#fm-site .prog .pcat,
#fm-site .snip .scr .k,
#fm-site .rmeta .lbl,
#fm-site .rform label,
#fm-site .gform label,
#fm-site .badge .mlbl,
#fm-site .mlab,
#fm-site .mpc span,
#fm-site .brand span,
#fm-site .scard .slab,
#fm-site .tcard .slab,
#fm-site .rbody .slab,
#fm-site .rcmeta,
#fm-site .snip.maw .dom b,
#fm-site .snip.posu .ph b,
#fm-site .ddphoto figcaption,
#fm-site .dpill,
#fm-site .dstat span,
#fm-site .mcard .lab,
#fm-site .rdl .lab,
#fm-site .gbk,
#fm-site.vault .tdom,
#fm-site.vault .vhero .eyebrow {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#fm-site .eyebrow { font-size: 14.5px !important; font-weight: 500 !important; }
#fm-site .hero .eyebrow { font-size: 15px !important; }
#fm-site .srow .ix small,
#fm-site .scene .tag,
#fm-site .ask .q,
#fm-site .tenet .lab,
#fm-site .prog .pcat,
#fm-site .rmeta .lbl,
#fm-site .badge .mlbl,
#fm-site .mcard .lab,
#fm-site .rdl .lab,
#fm-site .scard .slab,
#fm-site .tcard .slab,
#fm-site .rbody .slab,
#fm-site .gbk { font-size: 13.5px !important; font-weight: 500 !important; }
#fm-site .rform label,
#fm-site .gform label { font-size: 14px !important; font-weight: 500 !important; }
#fm-site .snip .scr .k,
#fm-site .snip.maw .dom b,
#fm-site .snip.posu .ph b,
#fm-site .dpill,
#fm-site .dstat span,
#fm-site .rcmeta,
#fm-site .ddphoto figcaption { font-size: 12.5px !important; font-weight: 500 !important; }
#fm-site .mlab,
#fm-site .mpc span { font-size: 14px !important; font-weight: 500 !important; }
#fm-site .brand span { font-size: 13.5px !important; font-weight: 500 !important; }
#fm-site.vault .tdom { font-size: 14px !important; }

/* Navigation: sentence case to match the home page */
#fm-site .nlink,
#fm-site .mbtn {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* The map labels in the menu */
#fm-site .wlines text { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; font-weight: 500 !important; }
#fm-site .web .wc span { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 500 !important; }

/* 2. Headings: light and large, no accent words */
#fm-site h1 { font-weight: 300 !important; letter-spacing: -0.04em !important; }
#fm-site h2 { font-weight: 300 !important; letter-spacing: -0.03em !important; }
#fm-site h3 { font-weight: 400 !important; letter-spacing: -0.01em !important; }
#fm-site h1 em,
#fm-site h2 em,
#fm-site h3 em,
#fm-site .hero p em,
#fm-site .scene .txt em,
#fm-site .lede-em {
  font-style: normal !important;
  font-weight: inherit !important;
  color: inherit !important;
}

/* 3. No arrow glyphs on links or buttons */
#fm-site svg:has(> path[d="M5 12h14M13 6l6 6-6 6"]),
#fm-site svg:has(> path[d="M7 17L17 7M9 7h8v8"]) {
  display: none !important;
}

/* 4. Quieter hero strip and the steel seam */
#fm-site .htrust { display: none !important; }
#fm-site .hero { border-bottom: 2.4px solid #AEC4D6; }

/* 5. Footer partner line */
#fm-site .badge .wm.it { font-weight: 500; color: #E9EFF4; text-decoration: none; }

/* 6. CorePBS on the group map */
#fm-site .web .w-core { left: 58%; top: 90%; font-family: 'Outfit', 'Hanken Grotesk', sans-serif; }
@media (min-width: 641px) and (max-width: 900px) { #fm-site .web .w-core { left: 60%; } }
@media (max-width: 640px) { #fm-site .web .w-core { position: static; transform: none; } }

/* 7. Program and sample pages (Your Brain User Manual and the samples).
   They keep their own Fredoka warmth and colours; only the small tracked capitals go. */
body:not(:has(#fm-site)) :is(.eyebrow, .rail-title, .why .w .k, .zone h5, .chain-out .k, .seg button, .rung .k, .fastest .k, .entry .m span b, .exp .pill, .exp .pred b, .proof .t .k, .manual .mh .meta, .mf .k, .prac .body h5, .prac .data .t .k, .prac th, .top .pt small, .chip .st, .ladder button, .plan small, .group .lbl, label.field span) {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body:not(:has(#fm-site)) :is(.eyebrow, .rail-title, .zone h5, .prac .body h5, .group .lbl, label.field span) {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}
body:not(:has(#fm-site)) :is(.why .w .k, .chain-out .k, .rung .k, .fastest .k, .entry .m span b, .exp .pill, .exp .pred b, .proof .t .k, .manual .mh .meta, .mf .k, .prac .data .t .k, .prac th, .top .pt small, .chip .st, .plan small) {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

/* 8. The Road Builder Method: lockup, signature row, and the step letters */
#fm-site .rbm-lock { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--navy-soft, #4F6A85); }
#fm-site .rbm-dots { width: 58px; height: 8px; fill: currentColor; flex: none; }
#fm-site .rbm-sign { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(21,39,63,.14); }
#fm-site .rbm-sign .rbm-who { color: #56616F; font-size: 15px; font-weight: 300; }
#fm-site #roads .srow .ix { font-weight: 300 !important; }
#fm-site footer .rbm-lock { color: #8BA6BC; }
#fm-site .fbot .fbot-lock { margin-right: auto; }
#fm-site .rbm-lock.pill { background: #F2C84D; color: #0B1E3D; padding: 10px 18px; border-radius: 999px; font-family: 'Fredoka', 'Hanken Grotesk', sans-serif; font-weight: 600; }
#fm-site .rbm-lower .rbm-lock { text-transform: none; }
