/* Standalone feature directory. */
.functions-intro { padding: 64px 0 52px; background: #edf3e8; }
.functions-intro h1 { margin: 0 0 16px; color: #173d2e; font: 800 clamp(34px, 5vw, 56px)/1.15 'Manrope', sans-serif; }
.functions-intro > .wrap > p:not(.section-kicker) { max-width: 650px; color: #52675b; }
.function-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.function-jumps a { padding: 10px 18px; border: 1px solid #b6cbb8; border-radius: 5px; color: #173d2e; background: #fff; font-size: 14px; font-weight: 700; }
.function-jumps a:hover { background: #dfeada; }
.function-section { background: #fff; }
.function-section + .function-section { background: #f5f7f2; }
.function-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding: 0; margin: 0; list-style: none; counter-reset: feature; }
.function-list li { position: relative; padding: 24px 0 24px 46px; border-top: 1px solid #dce5d8; counter-increment: feature; }
.function-list li::before { position: absolute; left: 0; top: 27px; content: counter(feature, decimal-leading-zero); color: #39734d; font-size: 13px; font-weight: 800; }
.function-list h3 { margin: 0 0 8px; color: #173d2e; font: 800 18px/1.4 'Manrope', sans-serif; }
.function-list p { margin: 0; color: #52675b; font-size: 15px; line-height: 1.75; }
nav a[aria-current="page"] { color: #106040; text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 780px) { .function-list { grid-template-columns: 1fr; } .functions-intro { padding: 44px 0; } }

.role-directory { padding-block: 36px 64px; }
.role-functions { padding-block: 26px; border-bottom: 1px solid #dce5d8; scroll-margin-top: 100px; }
.role-functions h2 { margin: 0 0 14px; color: #173d2e; font: 800 clamp(24px, 3vw, 32px)/1.3 'Manrope', sans-serif; }
.role-functions summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #173d2e; background: #edf3e8; border-radius: 5px; cursor: pointer; font-weight: 700; list-style: none; }
.role-functions summary::-webkit-details-marker { display: none; }
.role-functions details[open] > summary { margin-bottom: 20px; }
.role-functions details[open] > summary span { transform: rotate(45deg); }
.role-functions:target { border-top: 3px solid #106040; }
